Commit graph

32 commits

Author SHA1 Message Date
Lance Edgar 827cc592b4 Make CSRF protection optional (but on by default) 2017-10-11 15:57:34 -07:00
Lance Edgar 63e336d4bb Override deform template for checkbox field; fix label behavior 2017-08-17 17:21:07 -05:00
Lance Edgar b309df005c Tweak how pyramid config is created during app startup, for tests
still not sure if this is quite right, but seems to work for now
2017-08-15 16:13:35 -05:00
Lance Edgar 7d0bb80a90 Merge 'better' theme into base templates
i.e. for now there is no 'better' (or any other) theme
2017-08-13 19:11:53 -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 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 f02d6d4b16 Add basic support for Trainwreck database connectivity 2017-05-12 23:14:30 -05:00
Lance Edgar 1adcb98f11 Various template standardization tweaks 2017-03-29 00:21:10 -05:00
Lance Edgar b2e21b8e74 Add basic support for per-user session timeout 2017-02-02 21:44:13 -06:00
Lance Edgar 4ed522ae47 Add global CSRF protection 2016-12-14 18:37:17 -06:00
Lance Edgar 8674cf1650 Refactor tempmon views to leverage rattail-tempmon database 2016-12-05 19:14:20 -06: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 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