Commit graph

1709 commits

Author SHA1 Message Date
Lance Edgar 685b391dd2 Added products.search route/view.
This is for simple AJAX uses.
2013-09-20 14:54:27 -07:00
Lance Edgar ba5dc6ab02 Added some autocomplete Javascript magic.
Not sure how this got missed the first time around.
2013-09-12 06:51:00 -07:00
Lance Edgar fab49e6b20 update changelog 2013-09-10 20:38:31 -07:00
Lance Edgar 857a4b88e5 Fixed change password template/form. 2013-09-10 20:37:19 -07:00
Lance Edgar 6b5ca78a83 update changelog 2013-09-10 09:55:11 -07:00
Lance Edgar 332122a4e9 Added progress template. 2013-09-10 09:54:11 -07:00
Lance Edgar 73686b822f Added forms.alchemy module and changed CRUD view to use it. 2013-09-10 09:45:01 -07:00
Lance Edgar 716f3cbd71 update changelog 2013-09-10 06:38:30 -07:00
Lance Edgar 047c35ab75 Changed vendor filter in product search to find "any vendor".
I.e. the current filter is ''not'' restricted to the preferred vendor only.
Probably should still add one (back) for preferred only as well; hence the
commented code.
2013-09-10 06:35:17 -07:00
Lance Edgar 88adfe5d85 update changelog 2013-09-09 22:05:20 -07:00
Lance Edgar 017815a9e2 Made logo more easily customizable in login template. 2013-09-09 21:57:35 -07:00
Lance Edgar 2e84873666 Added global_title() to base template. 2013-09-06 04:13:50 -07:00
Lance Edgar 0d0445592e Fix authorization policy bug.
This was really an edge case, but in any event the problem would occur when a
user was logged in, and then that user account was deleted.
2013-09-06 04:12:21 -07:00
Lance Edgar 9a956e66f5 Change trove classifier for framework. 2013-09-06 04:12:02 -07:00
Lance Edgar 7d19700c3c More standalone operation stuff.
Stop using `edbob.db.engine`, stop using all edbob templates, etc.
2013-09-01 20:25:34 -07:00
Lance Edgar 2a50e704ef Major overhaul for standalone operation.
This removes some of the `edbob` reliance, as well as borrowing some templates
and styling etc. from Dtail.
2013-09-01 15:31:50 -07:00
Lance Edgar b9f61e6a47 fixed bug in fabfile 2013-09-01 09:19:24 -07:00
Lance Edgar 9f02ec593d update changelog 2013-09-01 08:24:01 -07:00
Lance Edgar 40efd8a3bc Rebranded to Tailbone. 2013-09-01 08:18:37 -07:00
Lance Edgar 47944767dc update changelog 2013-08-30 20:17:03 -07:00
Lance Edgar 9b1579f587 renamed CHANGES file 2013-08-30 20:11:42 -07:00
Lance Edgar 6921f20fed Fixed import issue with views.reports module. 2013-08-23 14:52:07 -07:00
Lance Edgar bb67fd3c32 Fixed bug in batch rows grid view. 2013-08-19 22:51:18 -07:00
Lance Edgar d1b2983a9b Improved product UPC search so check digit is optional. 2013-08-17 18:31:26 -07:00
Lance Edgar 1ade594046 Overhauled report views to allow easier template customization. 2013-08-17 08:36:56 -07:00
Lance Edgar dc44bbac67 Moved GPCFieldRenderer to products module. 2013-08-17 08:36:17 -07:00
Lance Edgar 6b1d1c3336 Bugfix in common renderers. 2013-08-17 08:35:42 -07:00
Lance Edgar d7d7d870ab Improved query modification logic in alchemy grid views. 2013-08-16 16:07:16 -07:00
Lance Edgar 8812b74460 Added grid sort arrow images. 2013-08-10 11:58:06 -07:00
Lance Edgar c2b2601103 Fixed FormAlchemy table rendering when underlying session is not primary.
This was needed for a grid based on a LOC SMS session.
2013-08-10 11:57:03 -07:00
Lance Edgar 42d0e52b89 Added style for grid checkbox cells. 2013-07-22 21:50:30 -07:00
Lance Edgar b7fdd1f797 Replaced Grid.clickable with .viewable.
Clickable grid rows seemed to be more irritating than useful.  Now a view icon
is shown instead.
2013-07-22 21:32:54 -07:00
Lance Edgar 134613aadd Moved tests out of package dir. 2013-07-22 19:22:18 -07:00
Lance Edgar 68650a5488 Removed several references to edbob. 2013-07-19 15:57:53 -07:00
Lance Edgar 578e4bde2a Stole grids and grid-based views from edbob. 2013-07-19 15:04:03 -07:00
Lance Edgar aad5e6e2bd Fixed customer group deletion.
Now any customer associations are dropped first, to avoid database integrity
errors.
2013-07-05 12:04:48 -07:00
Lance Edgar a681b4f872 Fixed bug with helpers.pretty_date(). 2013-07-05 10:52:47 -07:00
Lance Edgar 094e77d06a Added autocomplete view and template. 2013-06-19 22:37:11 -07:00
Lance Edgar 81b181f128 Added simpleform wildcard import to forms module. 2013-06-19 22:32:20 -07:00
Lance Edgar 4cb09d903e Added helpers module.
Also added a Pyramid subscriber hook to add the module to the template renderer
context with a key of `h`.  This is nothing really new, but it overrides the
helper provided by `edbob`, and adds a `pretty_date()` function (which maybe
isn't a good idea anyway..?).
2013-06-19 22:29:57 -07:00
Lance Edgar d07aee345a Added some tests. 2013-06-19 22:26:34 -07:00
Lance Edgar 84225f00e1 Initial tests.
This doesn't add much in the way of useful tests but it should pave the way for
more. Tests may be run like so:

{{{
python setup.py nosetests --with-coverage
}}}
2013-06-19 14:21:45 -07:00
Lance Edgar 4174e6d77d update changelog 2013-06-09 13:46:20 -07:00
Lance Edgar fec34d8290 Added support for product codes.
These are shown when viewing a product, and may be used to locate a product via
search filters.
2013-06-09 13:03:42 -07:00
Lance Edgar c7995c5241 Fixed bugs where edit links were appearing for unprivileged users. 2013-06-07 08:52:57 -07:00
Lance Edgar 6440319bb0 Tweaked Fabric release command. 2013-05-22 18:10:55 -07:00
Lance Edgar a45f31cb59 update changelog 2013-05-21 22:39:35 -07:00
Lance Edgar c422b900c6 Extensive commit; see notes.
* Replaced `forms` module with subpackage; added some initial goodies (many of
  which are currently just imports from `edbob`).

* Added/edited various CRUD templates for consistency.

* Renamed `customer_groups` module and template folder to `customergroups`.

* Modified several view modules so their Pyramid configuration is more
  "extensible."  This just means routes and views are defined as two separate
  steps, so that derived applications may inherit the route definitions if they
  so choose.

* Added Employee CRUD views; added Email Address field to index view.

* Updated `people` view module so it no longer derives from that of `edbob`.

* Added support for, and some implementations of, extra key lookup abilities to
  CRUD views.  This allows URLs to use a "natural" key (e.g. Customer ID
  instead of UUID), for cases where that is more helpful.

* Product CRUD now uses autocomplete for Brand field.  Also, price fields no
  longer appear within an editable fieldset.

* Within Store index view, default sort is now ID instead of Name.

* Added Contact and Phone Number fields to Vendor CRUD views; added Contact and
  Email Address fields to index view.
2013-05-21 21:51:41 -07:00
Lance Edgar 931700131f Added extra key lookups for customer and product routes.
Now the CRUD routes for these objects can leverage UUIDs of various related
objects in addition to the primary object.  More should be done with this, but
at least we have a start.
2013-05-17 23:32:57 -07:00
Lance Edgar 5f3b91826a Added email address to vendor CRUD views. 2013-05-17 23:32:17 -07:00