##// END OF EJS Templates
bleach: moved clean out of the catch context, so we no longer allow sanitizer to be bypassed....
bleach: moved clean out of the catch context, so we no longer allow sanitizer to be bypassed. - in addition we bumped bleach to fix the error that allowed bypass

File last commit:

r2807:f77aceaf default
r2992:63458594 default
Show More
repo_edit_audit.mako
24 lines | 1010 B | application/x-mako | MakoHtmlLexer
audit-logs: expose tailoed audit logs in repository view
r2156 ## -*- coding: utf-8 -*-
<%namespace name="base" file="/base/base.mako"/>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Repository Audit Logs')} -
${_ungettext('%s entry', '%s entries', c.audit_logs.item_count) % (c.audit_logs.item_count)}
</h3>
</div>
<div class="panel-body">
${h.form(None, id_="filter_form", method="get")}
<input class="q_filter_box ${'' if c.filter_term else 'initial'}" id="j_filter" size="15" type="text" name="filter" value="${c.filter_term or ''}" placeholder="${_('audit filter...')}"/>
<input type='submit' value="${_('filter')}" class="btn" />
${h.end_form()}
audit-logs: improve help text, and expose all audit commands for easier filtering +ui fixes
r2807
<p class="filterexample" style="position: inherit" onclick="$('#search-help').toggle()">${_('Example Queries')}</p>
<pre id="search-help" style="display: none">${h.tooltip(h.journal_filter_help(request))}</pre>
audit-logs: expose tailoed audit logs in repository view
r2156
<%include file="/admin/admin_log_base.mako" />
</div>
</div>