Lance Edgar
a0bb481a43
Use AuthHandler.get_permissions()
...
instead of deprecated `cache_permissions()`
2022-01-03 15:34:00 -06:00
Lance Edgar
3aac855fa1
Add basic configure page for Trainwreck
...
also the beginnings of a "yearly rollover" page which hopefully will
prove useful for helping to automate that, once i figure out how best
to go about it...
2022-01-01 19:12:46 -06:00
Lance Edgar
da6c782ac3
Fix how fallback/default buefy and vue.js versions are used
2021-12-16 20:05:56 -06:00
Lance Edgar
e99c001673
Let config decide which versions of vue.js and buefy to use
2021-12-16 14:58:25 -06:00
Lance Edgar
232a02b944
Refactor to leverage all existing methods of auth handler
...
instead of importing and calling functions from core rattail
2021-10-14 23:30:26 -04:00
Lance Edgar
22aa55c24b
Invoke the auth handler to cache user permissions etc.
...
various changes for sake of "synced" roles feature
2021-10-14 10:39:54 -04:00
Lance Edgar
241747b967
Allow per-user stylesheet for Buefy themes
...
there is not yet a way for user to select from available options though
2021-03-05 12:02:32 -06:00
Lance Edgar
708641a8f1
Purge things for legacy (jquery) mobile, and unused template themes
...
gosh it feels good to get rid of this stuff... fingers crossed that nothing
was broken, but am thinking it's safe
2021-01-30 15:52:47 -06:00
Lance Edgar
cc833c52b6
Add common "form poster" logic, to make CSRF token/header names configurable
...
also refactor the Feedback logic to use it
2020-12-16 14:28:41 -06:00
Lance Edgar
4371574403
Add model
to global template context, plus h.maxlen()
...
sometimes it's nice to just add a `maxlength="100"` or whatever to an input tag
within some random template. that should "just be possible" with no extra
effort
2020-08-09 14:03:28 -05:00
Lance Edgar
77f26f01d4
Make sure falafel theme is somewhat available by default
2020-01-29 22:01:44 -06:00
Lance Edgar
48e28a1ba4
Assign client IP address to session, for sake of data versioning
2019-06-15 19:02:51 -05:00
Lance Edgar
d7c8b80da5
Fix Buefy "row grids" when viewing parent; add basic file upload support
2019-05-23 16:29:29 -05:00
Lance Edgar
e9976635ba
Align pseudo-columns for grid filters; let app settings define widths
2019-05-08 17:13:01 -05:00
Lance Edgar
2bdcc4fe47
Can finally assume "simple" menus by default
...
all apps in the wild already using them
2019-04-02 21:55:54 -05:00
Lance Edgar
5d04de936b
Allow apps to set background color per request
2019-03-10 16:36:16 -05:00
Lance Edgar
05bb8a2df0
Add support for background color app setting
2019-02-03 14:40:21 -06:00
Lance Edgar
b333b3f083
Turn off messaging-related menus by default
...
i.e. unless config declares support for messaging. this can cause errors
though, if menus try to link to non-existing view routes
2019-01-07 16:18:45 -06:00
Lance Edgar
c1eaf28812
Add support for top-level links for simple menus
...
also add 'messaging_enabled' to global template context, so can include (or
not) that stuff in the user menu
2018-11-29 14:51:57 -06:00
Lance Edgar
b5083d32db
Add basic support for "simple menus"
...
for sake of keeping those in common across various themes
2018-11-29 01:39:20 -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
79e71ec4ab
Cache user permissions upon "new request" event
...
this avoids a ton of (often redundant) SQL queries when checking permissions
2018-10-17 12:50:02 -05:00
Lance Edgar
d8b45db331
Improve support for "receive from scratch" workflow, esp. for mobile
...
also try harder to make certain aspects easier to enable/disable via handler,
e.g. whether cases should be allowed as quantity input, or expired credits
should be a thing etc.
2018-07-17 19:55:15 -05:00
Lance Edgar
1453d33123
Add support for extra column(s) in timesheet view table
2018-01-25 17:02:53 -06:00
Lance Edgar
46293546b6
Add json
to global template context
...
just seems like a useful thing to have around...
2017-11-02 21:38:16 -07:00
Lance Edgar
5b1ae27a10
Add new "v3" grids, refactor all views to use them
...
or at least that's the idea..hopefully we caught them all
2017-07-14 03:57:36 -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
e3ec3be03b
Add support for client-side session timeout warning
2017-02-16 13:32:20 -06:00
Lance Edgar
b2e21b8e74
Add basic support for per-user session timeout
2017-02-02 21:44:13 -06:00
Lance Edgar
67f6c11307
Add support for 'receiving' mode for purchase batches
2016-11-21 01:07:35 -06:00
Lance Edgar
2c27120eb4
Update references to request.authenticated_userid
...
Per warnings from Pyramid, old method will go away in 1.8
2016-10-18 17:54:41 -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
fca95ae8c0
Add 'tailbone' to global template context, update 'better' template footer
2016-10-07 19:33:41 -05:00
Lance Edgar
7649bf142b
Add subscriber hook for setting inbox count in template context.
2016-02-11 18:47:17 -06:00
Lance Edgar
a7ecf445db
Fix login redirect if referrer is not internal to site.
2015-03-05 16:55:09 -06:00
Lance Edgar
def466935b
Add initial versioning support with SQLAlchemy-Continuum.
2015-02-09 23:36:40 -06:00
Lance Edgar
a958a7b285
Add event hook for attaching Rattail config
to new requests.
2014-02-21 10:10:10 -08:00
Lance Edgar
e58f8594c4
Fixed bug with request.has_any_perm()
.
2013-09-20 20:21:59 -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
40efd8a3bc
Rebranded to Tailbone.
2013-09-01 08:18:37 -07:00