- Use '/' key to quickly access this field.
- Enter a name of repository, or repository group for quick search.
- Prefix query to allow special search:
user:admin, to search for usernames, always global
user_group:devops, to search for user groups, always global
pr:303, to search for pull request number, title, or description, always global
commit:efced4, to search for commits, scoped to repositories or groups
file:models.py, to search for file paths, scoped to repositories or groups
For advanced full text search visit: repository search
fix(permissions): added a common way to update private flag via repo model...
fix(permissions): added a common way to update private flag via repo model
- this allows to have a one and only one way to control the flag with the business logic shared
- added test for that
- changed view to use this method instead of DB update and custom permissions flush
- fixed a case when update of repo settings didn't flush permissions actually while it should when private flag changed
<divclass="alert-warning"style="margin:0px 0px 20px 0px; padding: 10px">
<strong>${_('This user was created from external source (%s). Editing some of the settings is limited.'%c.extern_type)}</strong>
</div>
<divstyle="margin:-10px 0px 20px 0px;">
${_('For VCS access please generate')}
<ahref="${h.route_path('my_account_auth_tokens',_query={'token_role':'token_role_vcs'})}">Authentication Token</a> or <ahref="${h.route_path('my_account_ssh_keys_generate')}">SSH Key</a>.
</div>
%endif
%ifc.extern_type!='rhodecode':
<divclass="infoform">
<divclass="fields">
<divclass="field">
<divclass="label">
<labelfor="username">${_('Username')}:</label>
</div>
<divclass="input">
${c.user.username}
</div>
</div>
<divclass="field">
<divclass="label">
<labelfor="name">${_('First Name')}:</label>
</div>
<divclass="input">
${c.user.firstname}
</div>
</div>
<divclass="field">
<divclass="label">
<labelfor="lastname">${_('Last Name')}:</label>
</div>
<divclass="input-valuedisplay">
${c.user.lastname}
</div>
</div>
</div>
</div>
%else:
<divclass="form">
<divclass="fields">
<divclass="field">
<divclass="label photo">
${_('Photo')}:
</div>
<divclass="input profile">
%ifc.visual.use_gravatar:
${base.gravatar(c.user.email,100)}
<pclass="help-block">${_('Change your avatar at')}<ahref="http://gravatar.com">gravatar.com</a>.</p>