##// END OF EJS Templates
db: move Session.remove to outer wsgi layer and also add it...
db: move Session.remove to outer wsgi layer and also add it to hooks daemon to avoid leaving connections open in the db pool fixes #4173, refs #4166

File last commit:

r526:1b57d2ee default
r669:d3c76065 stable
Show More
plugins_base.html
14 lines | 556 B | text/html | HtmlLexer
frontend: prepare for plugin registration and life-cycle handling
r373 <%
from pyramid.renderers import render as pyramid_render
from pyramid.threadlocal import get_current_registry, get_current_request
pyramid_registry = get_current_registry()
%>
notifications: support real-time notifications with websockets via channelstream
r526 % for plugin, config in getattr(pyramid_registry, 'rhodecode_plugins', {}).items():
frontend: prepare for plugin registration and life-cycle handling
r373 % if config['template_hooks'].get('plugin_init_template'):
${pyramid_render(config['template_hooks'].get('plugin_init_template'),
{'config':config}, request=get_current_request(), package='rc_ae')|n}
% endif
% endfor
<script>
topics: improve handling topics without callbacks subscribed
r451 $.Topic('/plugins/__REGISTER__').prepareOrPublish({});
frontend: prepare for plugin registration and life-cycle handling
r373 </script>