##// END OF EJS Templates
caches: use individual namespaces per user to prevent beaker caching problems....
caches: use individual namespaces per user to prevent beaker caching problems. - especially for mysql in case large number of data in caches there could be critical errors storing cache, and thus preventing users from authentication. This is caused by the fact that we used single namespace for ALL users. It means it grew as number of users grew reaching mysql single column limit. This changes the behaviour and now we use namespace per-user it means that each user-id will have it's own cache namespace fragmenting maximum column data to a single user cache. Which we should never reach.

File last commit:

r1927:e6df2b71 default
r2572:5b07455a default
Show More
bookmarks_data.mako
33 lines | 1.1 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 ## DATA TABLE RE USABLE ELEMENTS FOR BOOKMARKS
## usage:
## <%namespace name="bookmarks" file="/bookmarks/bookmarks_data.mako"/>
## bookmarks.<func_name>(arg,arg2)
<%def name="compare(commit_id)">
<input class="compare-radio-button" type="radio" name="compare_source" value="${commit_id}"/>
<input class="compare-radio-button" type="radio" name="compare_target" value="${commit_id}"/>
</%def>
refs: refactored references code to remove any pylons elements....
r1898 <%def name="name(name, files_url, closed)">
dan
tooltip: use consistent h.tooltip usage to set tooltips.
r1843 <span class="tag booktag" title="${h.tooltip(_('Bookmark %s') % (name,))}">
templating: use .mako as extensions for template files.
r1282 <a href="${files_url}">
<i class="icon-bookmark"></i>
${name}
</a>
</span>
</%def>
<%def name="date(date)">
${h.age_component(date)}
</%def>
<%def name="author(author)">
dan
tooltip: use consistent h.tooltip usage to set tooltips.
r1843 <span class="tooltip" title="${h.tooltip(author)}">${h.link_to_user(author)}</span>
templating: use .mako as extensions for template files.
r1282 </%def>
<%def name="commit(message, commit_id, commit_idx)">
<div>
files: ported repository files controllers to pyramid views.
r1927 <pre><a title="${h.tooltip(message)}" href="${h.route_path('repo_files:default_path',repo_name=c.repo_name,commit_id=commit_id)}">r${commit_idx}:${h.short_id(commit_id)}</a></pre>
templating: use .mako as extensions for template files.
r1282 </div>
</%def>