Christopher Allan Webber
|
753cfc3bb9
Reforming get_jinja_env to make better use of the MediaGoblinApp
|
před 10 roky |
Berker Peksag
|
cf3b5926f4
Cleanup mediagoblin._compat and fix translation tests.
|
před 10 roky |
Berker Peksag
|
a80c74bbcc
Add ugettext and ungettext helpers to mediagoblin._compat.
|
před 10 roky |
Christopher Allan Webber
|
408aa9cf3b
Merge remote-tracking branch 'remotes/jiyda/220_rtl_language_support'
|
před 11 roky |
Christopher Allan Webber
|
29cd702e47
Fix notifications, which I broke.
|
před 11 roky |
Christopher Allan Webber
|
7949d88a75
Avoiding the celery warnings that we seem to be confusing people lately.
|
před 11 roky |
Kenneth Dombrowski
|
155d234d95
* create config option for optional jinja2 extensions
|
před 11 roky |
Rodney Ewing
|
744f1c83b9
add a check for authentication plugin on startup and respond according to no_auth config option. allows instance to be run w/o authentication
|
před 11 roky |
Christopher Allan Webber
|
1c6d2e87f7
Oh right, actually add that hook we just documented, "template_context_prerender" :)
|
před 11 roky |
Christopher Allan Webber
|
f7a5c7c78c
Fully working context hooks, both template/view and global level, with tests
|
před 11 roky |
Christopher Allan Webber
|
98dacfe67e
Use the controller's symbolic/lookup name as part of the key for context hooks
|
před 11 roky |
Christopher Allan Webber
|
3810309443
The beginning of context hooks.
|
před 11 roky |
Jiyda Mint Moussa
|
4a4e4e4ae8
Added rtl language support
|
před 11 roky |
Elrond
|
50cb512220
Create set_thread_locale and use it.
|
před 12 roky |
Jessica T
|
f1c3807db7
Adds the timesince ability which fixes #394
|
před 12 roky |
pythonsnake
|
2a0aed84a6
Fix bug 537
|
před 12 roky |
Christopher Allan Webber
|
8a4d0dbc07
Switching set syntax to python2.6 compatible
|
před 12 roky |
Christopher Allan Webber
|
46da25827f
No need for an __init__ at all in the TemplateHookExtension, really.
|
před 12 roky |
Christopher Allan Webber
|
927be5e8ca
Move template hook over to a template_hook tag. Seems to work! :)
|
před 12 roky |
Christopher Allan Webber
|
a3f811a6e8
Geolocation stuff, including including templates seems to be working-ish
|
před 12 roky |
Elrond
|
04453ccf42
Better Py3 compat: d.has_key(k) -> k in d
|
před 12 roky |
Sebastian Spaeth
|
2222278dcd
Remove gridify_*
|
před 12 roky |
Sebastian Spaeth
|
620e4e1b6e
Provide jinja2 urlencode filter
|
před 12 roky |
Sebastian Spaeth
|
6ef75af50e
Honor user's browser language (#558)
|
před 12 roky |
Jakob Kramer
|
c80982c7a0
make mg_globals.translations thread-safe
|
před 12 roky |
Christopher Allan Webber
|
cf29e8a824
It's 2012 all up in here
|
před 13 roky |
Elrond
|
f1cdd278e7
f691: Use StrictUndefined for templates and fix some issues
|
před 13 roky |
Elrond
|
71c6c432a5
Bug #685: only provide CSRF token if it exists
|
před 13 roky |
Christopher Allan Webber
|
ce5ae8da19
Rename MediaGoblin middleware to meddleware to avoid confusion w/ wsgi middleware
|
před 13 roky |
Christopher Allan Webber
|
53bc39755b
Add app_config and global_config to the template environment
|
před 13 roky |