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
Lance Edgar
e15888ffcd
Add render_progress()
method to core view class
2016-08-09 19:46:49 -05:00
Lance Edgar
fdf1419ea2
Add CodeTextAreaFieldRenderer
, refactor label profile form to use it
2016-07-13 11:04:23 -05:00
Lance Edgar
e0bd20ee23
Always strip whitespace from label profile 'spec' field input
...
Otherwise we can't properly load (import) the spec object...
2016-06-29 18:59:56 -05:00
Lance Edgar
123f5ce0c6
Add support for "full" schedule and time sheet views
...
Temporarily removes support for viewing current user's time sheet; that
will be added back in soon.
2016-05-10 13:08:32 -05:00
Lance Edgar
dc2104d430
Refactor some common FormEncode validators, plus add some more
2016-05-06 11:38:01 -05:00
Lance Edgar
aaa1d17507
Add hyperlinks to product UPC and description, within main grid
...
These won't honor the indexing scheme yet, still need to think about
that.
2016-05-03 22:10:54 -05:00
Lance Edgar
1c0c148294
Add initial/basic user feedback form support
2016-05-01 20:39:05 -05:00
Lance Edgar
eb64e709c4
Make currency field renderer display negative amounts in parentheses
...
Also remove space between amount and dollar sign.
2016-04-21 13:43:08 -05:00
Lance Edgar
30e6b6e29c
Add flag for rendering key value, for enum field renderers
...
Only valid during the readonly rendering. Not sure how useful this will
be in the long run...
2016-04-06 21:17:02 -05:00
Lance Edgar
0f3f39d5c6
Add new TimeFieldRenderer, make it default for Time fields
...
Uses a jQuery UI widget similar to datepicker:
https://fgelinas.com/code/timepicker/
2016-03-24 00:06:04 -05:00
Lance Edgar
12e8b662a8
Add comma magic back to CurrencyFieldRenderer
...
No longer concerned with Python 2.6.
2016-03-24 00:03:42 -05:00
Lance Edgar
a22f50850f
Add 'executed' to old batches grid view, make timestamps show "raw" by default.
2016-03-11 11:35:00 -06:00
Lance Edgar
4cbdb51545
Fix bug when rendering email bounce links.
2016-02-26 13:06:36 -06:00
Lance Edgar
62221a1a25
Add new BatchMasterView
for new-style batches.
2016-02-14 16:47:35 -06:00
Lance Edgar
a341acb4f0
Make our DateTimeFieldRenderer
the default for datetime fields.
2016-02-14 16:34:39 -06:00
Lance Edgar
0a223ac4f9
Add autocomplete vendor field renderer.
2016-01-21 20:04:28 -06:00
Lance Edgar
bcb5176718
Rearrange the 'user' form renderer(s) a bit.
2016-01-13 02:39:27 -06:00
Lance Edgar
36c710e0fa
Fix label prettify-er for generic fieldset.
2016-01-10 17:53:04 -06:00
Lance Edgar
1956c4c9cf
Add edit mode for email "profile" settings.
...
Plus some related tweaks, needed to make that happen.
2016-01-10 17:35:34 -06:00
Lance Edgar
707b933553
Fix some route names.
2015-12-08 16:18:29 -06:00
Lance Edgar
fee00b96a2
Convert 'people' view to use MasterView pattern.
2015-12-06 18:04:23 -06:00
Lance Edgar
ef40af814a
Add readonly support for email profile settings.
...
More to come... Also this required some form tweaking/overhaul(s).
2015-12-04 17:25:52 -06:00
Lance Edgar
d1d905c570
Remove format hack which isn't py2.6-friendly.
2015-10-13 20:49:43 -05:00
Lance Edgar
6ac13286cb
Fix some bugs with new CustomFieldRenderer
.
2015-08-19 17:15:02 -05:00
Lance Edgar
3d44e3e857
Add CustomFieldRenderer
and DateFieldRenderer
.
2015-08-18 23:47:42 -05:00
Lance Edgar
e79531fda8
Add CurrencyFieldRenderer
.
...
Also clean up the subpackage root a little bit.
2015-08-14 15:27:52 -05:00
Lance Edgar
585eb09bec
Add support for "new-style grids" and "model master views".
...
Finally, an API that makes some sense... We don't yet have feature parity
with the old-style grids and CRUD views, but this is already a significant
improvement to the design. Still needs a lot of docs though...
2015-08-10 18:58:31 -05:00
Lance Edgar
ea9a9ad5bc
Tweak renderer import, for clarity.
2015-08-08 17:20:42 -05:00
Lance Edgar
f523146a4b
Add initial support for email bounce management.
2015-07-22 20:01:16 -05:00
Lance Edgar
ab23a8067c
Add DecimalFieldRenderer
.
2015-07-20 12:47:37 -05:00
Lance Edgar
a992a34fdf
Add some custom FormEncode validators.
2015-07-20 09:57:41 -05:00
Lance Edgar
21486a5e55
Add StoreFieldRenderer
.
...
Also try to set a good pattern for going forward..
2015-07-15 23:18:53 -05:00
Lance Edgar
8c5f03da8c
Add autocomplete employee field renderer.
2015-04-11 00:23:54 -05:00
Lance Edgar
d8ee09916a
Make vendor field renderer show ID in readonly mode.
2015-04-10 20:25:45 -05:00
Lance Edgar
d8790c7c4f
Tweak display for some product fields.
2015-03-23 17:23:24 -05:00
Lance Edgar
84c5f0a327
Add dept. number and friends to product details page.
2015-03-23 02:36:18 -05:00
Lance Edgar
364a38a936
Make readonly version of batch file field not show download link.
2015-02-24 22:51:13 -06:00
Lance Edgar
3614254804
Improve data file handling for file batches.
...
Leverages a FormAlchemy "extension" of sorts.
2015-02-22 00:00:00 -06:00
Lance Edgar
eedbc5fb9a
Various grid and form tweaks.
2015-02-09 13:20:34 -06:00
Lance Edgar
86507cf660
Tweak CRUD form buttons a little.
...
Change submit button wording for edit forms, from "Update" to "Save". Also
show Cancel as a link instead of button.
2014-11-23 14:25:13 -06:00
Lance Edgar
8bf292ebac
Remove some more edbob cruft.
2014-11-18 23:00:24 -06:00
Lance Edgar
9806c7a0a2
Add DateTimeFieldRenderer
to show human-friendly timestamps.
...
This leverages the `humanize` package to do so. Unfortunately that doesn't
seem to handle tz-aware times though, so we may need to revisit that at
some point...?
2014-11-18 19:37:52 -06:00
Lance Edgar
2326482bb6
Make GPCFieldRenderer
display check digit separate from main barcode data.
...
It is presumed that this is a good idea in general; I guess we'll see.
2014-11-18 19:36:55 -06:00
Lance Edgar
dfb5e83c7e
Add support for Product.not_for_sale
flag.
...
This involved a couple of ancillary changes:
* The price field renderer will not display a price for products marked not
for sale.
* The "grid" class now allows specifying a custom callable to provide
additional CSS class for table rows.
* The products grid uses this to add a "not-for-sale" class to table rows
for products which are marked thusly.
2014-09-10 19:38:49 -07:00
Lance Edgar
d838203ec7
Changed UserFieldRenderer
to leverage User.display_name
.
2013-11-22 14:39:47 -08:00
Lance Edgar
0ac0ef4079
Don't sort values in EnumFieldRenderer
.
...
The dictionaries used to supply enumeration values should be `OrderedDict`
instances if sorting is needed.
2013-10-04 11:37:47 -07:00
Lance Edgar
3070c280cc
Made EnumFieldRenderer
a proper class.
2013-09-27 08:16:22 -07:00
Lance Edgar
a11b8d9ff2
Allow overriding form class/factory for CRUD views.
2013-09-21 17:09:10 -07:00
Lance Edgar
9f8a3d3a5c
Refactored AutocompleteFieldRenderer
.
...
Also improved some organization of renderers.
2013-09-21 15:02:55 -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
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
40efd8a3bc
Rebranded to Tailbone.
2013-09-01 08:18:37 -07:00