Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug #685: only provide CSRF token if it exists | Elrond | 2011-12-03 | 1 | -1/+3 |
| | | | | | | | | | | | | | This was suggested by Nathan Yergler in the bug logs. Just implementing it. - Let render_csrf_form_token return None, if the CSRF_TOKEN is not available in the environ, because the process_request part of the meddleware has not yet run. - In render_template: If the returned value from above is None, then do not add the csrf_token to the templates context. | ||||
* | Rename MediaGoblin middleware to meddleware to avoid confusion w/ wsgi ↵ | Christopher Allan Webber | 2011-11-25 | 1 | -1/+1 |
| | | | | | | middleware hehehehehe, "meddleware" | ||||
* | Add app_config and global_config to the template environment | Christopher Allan Webber | 2011-11-19 | 1 | -0/+1 |
| | |||||
* | Adding app_config and global_config to the template environment | Christopher Allan Webber | 2011-11-19 | 1 | -0/+2 |
| | |||||
* | Merge remote-tracking branch 'remotes/nyergler/pep8-ification' | Christopher Allan Webber | 2011-11-13 | 1 | -4/+7 |
| | | | | | | | | Conflicts: mediagoblin/db/migrations.py mediagoblin/db/models.py mediagoblin/user_pages/views.py mediagoblin/util.py | ||||
* | Merge remote branch 'remotes/aaronw/bug444_fix_utils_py_redux' | Christopher Allan Webber | 2011-10-01 | 1 | -0/+2 |
| | | | | | Conflicts: mediagoblin/util.py | ||||
* | Moved common, translation, template, and url code out of util.py and into ↵ | Aaron Williamson | 2011-10-01 | 1 | -0/+114 |
tools/[file].py |