Commit Graph

7 Commits

Author SHA1 Message Date
Brian Simpson
d990533d0b Upgrade pylons from 0.9.7 to 1.0.
http://pylons-webframework.readthedocs.org/en/latest/upgrading.html

This requires several code changes:
* pylons `config` option must be explicitly passed during setup
* the pylons global has been renamed from `g` to `app_globals`
* the pylons global has been renamed from `c` to `tmpl_context`
* set pylons.strict_tmpl_context = False (instead of pylons.strict_c)
* redirect_to() has been swapped for redirect()
* must implement `ErrorDocuments` middleware ourselves

pylons 1.0 also required an upgrade of routes from 1.11 to 1.12. This
required the following changes:
* set Mapper.minimization = True (the default value changed)
* set Mapper.explicit = False (the default value changed)
2015-09-15 06:35:31 -04:00
xiongchiamiov
fb507e59a6 TryLater: use more generic parameter name
`mature_items` made sense in the original context, but now that I'm stealing it
for other uses it's really just some set of some sort of data.
2015-03-03 15:50:04 -08:00
Neil Williams
af09fa8dee Update license headers to 2015.
The highlight of each year for me.
2015-01-08 13:35:03 -08:00
umbrae
9361596d68 Register hooks on app load rather than inline 2014-08-23 00:09:05 -07:00
Roger Ostrander
dc68b16776 Trylater: Enable temporary subreddit bans 2014-06-05 14:45:28 -07:00
Neil Williams
d2ccc40733 Automatically delete password hashes of deleted accounts.
The password hash is no longer necessary once an account is deleted (and
after a period of time for safety in case it needs to be restored)
2014-02-26 12:45:55 -08:00
Roger Ostrander
89762c93f0 Add TryLater: a system for scheduling events. 2014-02-26 12:45:55 -08:00