Lance Edgar
793022b92f
Misc. tweaks for vendor catalog batch
...
per rattail changes, in particular for sake of Corporal, to allow for
non-native vendor and product associations
2021-02-15 12:57:35 -06:00
Lance Edgar
c14ecd2948
Add helper function, get_csrf_token()
2020-03-24 18:19:05 -05:00
Lance Edgar
99f69c13d2
Allow rendering of "raw" datetime as ISO date
...
sometimes a full timestamp isn't that helpful
2019-11-05 15:11:07 -06:00
Lance Edgar
0f0b32d797
Move logic used to determine if current request should use Buefy
...
so that function-based views can leverage it also
2019-05-21 12:34:18 -05:00
Lance Edgar
f61cf318ae
Add verbose
flag for util.raw_datetime()
rendering
...
just seems like could be useful somewhere...though not used yet
2019-05-14 15:58:43 -05:00
Lance Edgar
684363bcde
Add basic/generic email validator logic
...
for use mostly in non-web scenarios, probably
2019-05-09 12:28:57 -05:00
Lance Edgar
a76a7dd54c
Add support for new Bulma 'navbar' menu for bobcat theme
...
unfortunately the /menu.mako can't be shared (yet?) so apps must maintain a
separate one if they wish to support this new theme.
also, now when changing app theme we totally clear the lookup object's template
cache. this was necessary for sake of /menu.mako but seems to be 'safe' so far
2018-11-28 23:50:50 -06:00
Lance Edgar
ea0dc1ea19
Add template "theme" feature, albeit global
...
would be even better to let each user session have something different, but
alas this is all-or-nothing for now
2018-11-27 17:52:02 -06:00
Lance Edgar
ee35cc6f22
Misc. cleanup for Python 3
2018-02-12 14:41:40 -06: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
4ed522ae47
Add global CSRF protection
2016-12-14 18:37:17 -06:00
Lance Edgar
c7c2fecec0
Add workarounds for certain display bugs when rendering datetimes
2016-04-21 13:42:20 -05:00
Lance Edgar
68f7c418d6
Tweak "raw" string for datetime field renderers.
2016-03-11 13:21:36 -06: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
50e8637b71
Fix timezone issues with util.pretty_datetime()
function.
...
Seems we should just calculate the "time ago" value instead of just
providing a "then" timestamp and expecting the humanize library to
understand exactly what we meant.
2015-07-20 09:52:24 -05:00
Lance Edgar
8bf292ebac
Remove some more edbob cruft.
2014-11-18 23:00:24 -06:00