##// 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:

r2564:146d08cc default
r2572:5b07455a default
Show More
repo_edit_remote.mako
68 lines | 3.1 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 <div class="panel panel-default">
<div class="panel-heading">
repositories: allow properly updating repository push url.
r2562 <h3 class="panel-title">${_('Remote Sync')}</h3>
templating: use .mako as extensions for template files.
r1282 </div>
<div class="panel-body">
repositories: allow properly updating repository push url.
r2562 <h4>${_('Manually pull/push changes from/to external URLs.')}</h4>
settings-pages: replaced hardcoded api calls examples with introduced...
r1741
repo-remote: updated remote template to indicate pull/push remote sync differences.
r2564 <table>
repositories: allow properly updating repository push url.
r2562 <tr>
<td><div style="min-width: 80px"><strong>${_('Pull url')}</strong></div></td>
repo-remote: updated remote template to indicate pull/push remote sync differences.
r2564 <td>
% if c.rhodecode_db_repo.clone_uri:
<a href="${c.rhodecode_db_repo.clone_uri}">${c.rhodecode_db_repo.clone_uri_hidden}</a>
% else:
${_('This repository does not have any pull url set.')}
<a href="${h.route_path('edit_repo', repo_name=c.rhodecode_db_repo.repo_name)}">${_('Set remote url.')}</a>
% endif
</td>
repositories: allow properly updating repository push url.
r2562 </tr>
repo-remote: updated remote template to indicate pull/push remote sync differences.
r2564 % if c.rhodecode_db_repo.clone_uri:
repositories: allow properly updating repository push url.
r2562 <tr>
<td></td>
<td>
<p>
${_('Pull can be automated by such api call. Can be called periodically in crontab etc.')}
<br/>
<code>
${h.api_call_example(method='pull', args={"repoid": c.rhodecode_db_repo.repo_name})}
</code>
</p>
</td>
</tr>
<tr>
<td></td>
<td>
${h.secure_form(h.route_path('edit_repo_remote_pull', repo_name=c.repo_name), request=request)}
<div class="form">
<div class="fields">
${h.submit('remote_pull_%s' % c.rhodecode_db_repo.repo_name,_('Pull changes from remote location'),class_="btn btn-small",onclick="return confirm('"+_('Confirm to pull changes from remote side')+"');")}
</div>
</div>
${h.end_form()}
</td>
</tr>
repo-remote: updated remote template to indicate pull/push remote sync differences.
r2564 % endif
templating: use .mako as extensions for template files.
r1282
repositories: allow properly updating repository push url.
r2562 <tr>
<td><div style="min-width: 80px"><strong>${_('Push url')}</strong></div></td>
repo-remote: updated remote template to indicate pull/push remote sync differences.
r2564 <td>
% if c.rhodecode_db_repo.push_uri:
<a href="${c.rhodecode_db_repo.push_uri_hidden}">${c.rhodecode_db_repo.push_uri_hidden}</a>
% else:
${_('This repository does not have any push url set.')}
<a href="${h.route_path('edit_repo', repo_name=c.rhodecode_db_repo.repo_name)}">${_('Set remote url.')}</a>
% endif
</td>
repositories: allow properly updating repository push url.
r2562 </tr>
<tr>
<td></td>
<td>
${_('This feature is available in RhodeCode EE edition only. Contact {sales_email} to obtain a trial license.').format(sales_email='<a href="mailto:sales@rhodecode.com">sales@rhodecode.com</a>')|n}
</td>
</tr>
</table>
templating: use .mako as extensions for template files.
r1282 </div>
</div>