Custom Query (1173 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (214 - 216 of 1173)

Ticket Resolution Summary Owner Reporter
#621 fixed template hook stops string extraction Elrond Elrond
Description

I have no exact idea what is going wrong, but:

  1. media.html is not any more extracted by pybabel.
  2. git bisect tells me, that it is 927be5e8cafbf561ee6ff6a6d74ad566fa3402f0 which switches the macro based template hooks over into a jinja extension.
  3. Adding mediagoblin.tools.template.TemplateHookExtension to babel.ini currently breaks for me.

I have stopped here.

#622 fixed MediaGoblin outdated on PyPi Christopher Allan Webber warp
Description

http://pypi.python.org/pypi/mediagoblin/ is very outdated.

If the release process is documented that should probably include pushing to PyPi.

#623 fixed Easy context hooks for plugins Christopher Allan Webber
Description

We now have template hook support. But maybe you want to add things to the context!

We'd like to make this fairly easy. One way to do it is probably make it so you can lazily attach plugins to the context, even without making an extra call.

This might work like so:

  • Extend the MediaGoblinApp to attach request.view_name onto the request, which is the path to the view (maybe even its "logical name" used to look up that view name in the routing, or just the pythonpath to that view)
  • Whenever render_to_response is called, it checks to see if there's a hook for that view name and template, like so: PluginApi.get_hook_callables("some.view.name-mediagoblin/something/template.html-context") (yes, this is overly-verbose, one other option is to start namespacing hooks and use a tuple of (view_name, template_name) as the key)
  • Iterate through each of those functions passing in the context so plugins can mess with the context dict.
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.