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
b157b79938
Remove last references to 'edbob' package
2016-10-09 21:12:13 -05:00
Lance Edgar
9b50067bd7
Issue proper warning if old 'edbob.config' setting is found
2016-10-09 19:44:45 -05:00
Lance Edgar
b5cea62de7
Tweak how tailbone finds rattail config from pyramid settings
...
Eventually need to stop supporting the old 'edbob.config' setting, for
now keep it as a fallback.
2016-10-08 14:29:23 -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
a341acb4f0
Make our DateTimeFieldRenderer
the default for datetime fields.
2016-02-14 16:34:39 -06:00
Lance Edgar
6c8425b06d
Make rattail config object use our scoped session, when consulting db.
...
Whoops, apparently we were previously creating a new session for each
config check? Hopefully this helps...
2016-02-08 19:45:06 -06:00
Lance Edgar
89b443c442
Tweak some things to get Tailbonen working on its own.
2015-11-15 21:06:21 -06:00
Lance Edgar
8ec6a18cdc
Fix bug when 'edbob.permissions' setting is empty.
...
Which, it ought to be forever, soon...
2015-11-15 20:51:09 -06:00
Lance Edgar
8928d03cef
Work around formalchemy config bug, caused by edbob.
2015-11-04 22:30:30 -06:00
Lance Edgar
8a6958775d
Configure logging when starting up.
...
Whoops, missed that.
2015-08-20 21:17:01 -05:00
Lance Edgar
3d44e3e857
Add CustomFieldRenderer
and DateFieldRenderer
.
2015-08-18 23:47:42 -05:00
Lance Edgar
f5b22b1256
Refactor app configuration to use rattail.config.make_config()
.
...
Yay, one step closer to removing edbob completely.
2015-08-16 19:55:00 -05:00
Lance Edgar
af07f477dc
Convert User pages to use master view.
...
And of course make some more tweaks to new grids etc.
2015-08-11 23:24:02 -05:00
Lance Edgar
9cfbc918e7
Overhaul how available permissions are registered in app config.
...
Permissions must now be regsistered just like routes and views. This
should make things much nicer going forward.
2015-08-11 17:26:04 -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
4f5c0e6bd8
Tweak app.make_rattail_config()
to allow caller to define some settings.
...
This is mostly for the sake of tests etc.
2015-05-03 19:36:19 -05:00
Lance Edgar
ae5ff89c7f
Refactor app
module to promote code sharing.
...
Hopefully this is a good approach, we'll see.
2015-02-13 21:22:01 -06:00
Lance Edgar
c4a19f279b
Remove some edbob, unicode tweak, etc.
...
In particular it was noticed that edbob has been configuring FormAlchemy
all this time, whoops. That's still partially the case but now at least
it's explicit.
2015-01-19 00:49:07 -06: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