Commit graph

102 commits

Author SHA1 Message Date
Lance Edgar bf09071e1d Make product field renderer allow override of link text rendering 2017-08-12 20:26:11 -05:00
Lance Edgar 09ffdba9ef Allow product field renderer to suppress hyperlink 2017-08-02 12:04:03 -05:00
Lance Edgar 581ced2990 Switch license to GPL v3 (no longer Affero)
refs #2
2017-07-06 23:47:56 -05:00
Lance Edgar 8014e60d14 Add webhelpers2 dependency, use it for most things
still using webhelpers for certain things yet, hopefully can get rid of that soon
2017-07-06 20:13:42 -05:00
Lance Edgar 0b68d56ddb Add basic versioning history support for master view
as with actual data versioning, we only support Person thus far
2017-07-05 03:07:35 -05:00
Lance Edgar 7340ef1f9b Rearrange some imports to ensure rattail.db.model comes last
this is necessary for Continuum versioning
2017-07-03 23:52:48 -05:00
Lance Edgar 4aa91414a5 Tweak how customer/person relationships are displayed
expose just a little more to make it easier to track down a data issue i had
2017-07-03 16:58:30 -05:00
Lance Edgar 24a2c15850 Make hyperlink optional for employee field renderer 2017-07-03 15:52:41 -05:00
Lance Edgar a63f2e3623 Tweak display of inventory/label batches to reflect multiple handheld batches 2017-06-21 15:36:32 -05:00
Lance Edgar eb272bf7f9 Tweak some customer view/field rendering, to allow more customization 2017-05-11 13:54:23 -05:00
Lance Edgar d373eb9ac1 Broad refactor to improve customization of purchase order form etc.
* add dropdown alternative for autocomplete renderer
* auto-enhance some common dropdowns
* refactor new purchase batch, order form view/templates
2017-03-24 17:22:12 -05:00
Lance Edgar 3dfe3dfa28 Add CostFieldRenderer and tweak product view template
latter being for easier customization
2017-03-23 20:32:56 -05:00
Lance Edgar 6adb99003d Add basic master view for Report Output data model 2017-03-22 14:27:59 -05:00
Lance Edgar 43022c3205 Refactor the batch file field renderer somewhat
try to leverage the "common" file field renderer some more...
2017-03-21 13:16:48 -05:00
Lance Edgar 9808bb3a91 Fix behavior of default email/phone field with empty value 2017-03-17 18:15:54 -05:00
Lance Edgar 15eae8b2c7 Various tweaks to the customer and person views/forms
These things still need plenty more help...
2017-03-17 15:52:26 -05:00
Lance Edgar ac8c63219c Fix bug in DateFieldRenderer when no format specified 2017-02-21 11:58:21 -06:00
Lance Edgar e0521ba8c5 Add initial/basic views for customer orders data 2017-02-19 14:22:35 -06:00
Lance Edgar 13ff58a4fa Don't render user field as hyperlink unless so configured 2017-02-09 17:08:30 -06:00
Lance Edgar 8b02fd3d38 Add hyperlink to EmployeeFieldRenderer 2017-02-04 12:32:12 -06:00
Lance Edgar 2ab2dfe26b Add hyperlink to User field renderer 2017-01-29 22:52:36 -06:00
Lance Edgar aa99f3b506 Add QuantityFieldRenderer 2016-12-19 12:26:16 -06:00
Lance Edgar 9a6ad16e2f Overhaul product views a little, per customization needs 2016-12-15 15:11:15 -06:00
Lance Edgar f7267597ee Tweak the CustomFieldRenderer base class a bit
Not sure who all's using this now..hopefully this breaks nothing
2016-12-15 00:36:58 -06:00
Lance Edgar d40d5e3f6b Tweak some field renderers for sake of product view 2016-12-14 23:27:45 -06:00
Lance Edgar 4ed522ae47 Add global CSRF protection 2016-12-14 18:37:17 -06:00
Lance Edgar ab09314ed3 Add initial support for CSRF token protection 2016-12-14 15:41:15 -06:00
Lance Edgar acbb3d289c Add ValidGPC formencode validator 2016-12-13 22:27:52 -06:00
Lance Edgar 79e63571e3 Make CurrencyFieldRenderer inherit from FloatFieldRenderer
Also cleanup some code generally..
2016-12-12 12:13:59 -06:00
Lance Edgar 6389481cea Remove some deprecated field renderers 2016-12-10 10:14:52 -06:00
Lance Edgar c73ba56505 Add support for 'department' field in purchases / batches
Also fix logic for deleting a purchase (delete its batches first)
2016-12-09 14:01:06 -06:00
Lance Edgar 6c3d221e98 Add new 'receiving form' for purchase batches 2016-12-09 12:09:18 -06:00
Lance Edgar 4a2ba3925d Use master view's session when creating form
Needed when allowing create for models from non-rattail database
2016-12-05 21:01:30 -06:00
Lance Edgar 948987232a Tweak some fields for Product view 2016-11-27 14:17:42 -06:00
Lance Edgar fdd0b6ec3b Add some links between employees / people / customers views 2016-11-21 17:47:24 -06:00
Lance Edgar 67f6c11307 Add support for 'receiving' mode for purchase batches 2016-11-21 01:07:35 -06:00
Lance Edgar d46b0cbc70 Add support for mode, purchase relation for purchase batches 2016-11-20 17:48:04 -06:00
Lance Edgar 11b4cf9616 Add support for more cases + units, more vendor fields, for new purchase batches 2016-11-11 01:56:37 -06:00
Lance Edgar 4cfd3aa00e Add basic views for label batches 2016-11-06 20:53:50 -06:00
Lance Edgar 8fe0e96273 Remove unused (I think?) VendorFieldRenderer 2016-11-05 02:08:10 -05:00
Lance Edgar 6bf60365ba Let any 'admin' user elevate to 'root' for full system access
But otherwise, let the Administrator role be "normal" and have perms of
its own.  Hopefully cuts down on unwanted screen noise for admins.
2016-10-18 16:59:38 -05:00
Lance Edgar 4757a56002 Fix bug in batch ID field renderer, when displayed for new batch
Hopefully this is a good idea..
2016-10-16 03:32:56 -05:00
Lance Edgar b157b79938 Remove last references to 'edbob' package 2016-10-09 21:12:13 -05:00
Lance Edgar cff19f38a3 Improve validation for FormAlchemy date field renderer 2016-09-19 13:13:53 -05:00
Lance Edgar 65661a03f5 Add FormAlchemy-compatible validators for email address, phone number 2016-09-18 17:16:17 -05:00
Lance Edgar 94a7a15e6d Add basic form validation when sending new messages
This avoids the message body for now, since that's implemented a couple
different ways in the real world...
2016-09-13 20:23:51 -05:00
Lance Edgar cf1b9acfb1 Add support for system-unique ID in batch views etc. 2016-08-17 16:50:00 -05:00
Lance Edgar 343f9bde1b Add "empty" option to enum field renderers, if field allows empty value 2016-08-17 16:45:54 -05:00
Lance Edgar a6438e4bb5 Add permissions field when viewing user details
About damn time I'm sure...
2016-08-12 01:58:07 -05:00
Lance Edgar c38535e4c0 Add hopefully generic FileFieldRenderer
Eventually should refactor other (batch) things to use this.
2016-08-09 19:50:24 -05:00