Files
@ 8b7294a804a0
Branch filter:
Location: kallithea/rhodecode/templates/admin/settings/settings.html - annotation
8b7294a804a0
15.2 KiB
text/html
Update CONTRIBUTORS with new contributors from RhodeCode v2.2.5
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 | 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1f334a68d057 1e757ac98988 1e757ac98988 1e757ac98988 f74be3359044 f74be3359044 ec6354949623 1e757ac98988 1e757ac98988 1e757ac98988 b4f401524060 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 f91d3f9b7230 1e757ac98988 1e757ac98988 f91d3f9b7230 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 f91d3f9b7230 1e757ac98988 b4f401524060 b4f401524060 aa8ec270178b b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 b4f401524060 aa8ec270178b b4f401524060 9378d8640a4b 9378d8640a4b 9378d8640a4b 9378d8640a4b 9378d8640a4b 9378d8640a4b 64bb1c46c861 b4f401524060 b4f401524060 f91d3f9b7230 1e757ac98988 7ae36df760ce f91d3f9b7230 1e757ac98988 f91d3f9b7230 1e757ac98988 f91d3f9b7230 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 f91d3f9b7230 1e757ac98988 1e757ac98988 1e757ac98988 aa8ec270178b 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 a61ac64c6d43 1e757ac98988 1e757ac98988 1e757ac98988 f91d3f9b7230 1e757ac98988 7ae36df760ce f91d3f9b7230 1e757ac98988 f91d3f9b7230 1e757ac98988 f91d3f9b7230 f91d3f9b7230 1e757ac98988 1e757ac98988 1e757ac98988 f91d3f9b7230 1e757ac98988 f91d3f9b7230 1e757ac98988 1e757ac98988 a61ac64c6d43 1e757ac98988 1e757ac98988 b75b77ef649d 1e757ac98988 1e757ac98988 f91d3f9b7230 1e757ac98988 1e757ac98988 a61ac64c6d43 1e757ac98988 1e757ac98988 b75b77ef649d 1e757ac98988 1e757ac98988 f91d3f9b7230 042d38683d42 042d38683d42 a61ac64c6d43 042d38683d42 042d38683d42 cca7286401b3 042d38683d42 042d38683d42 f91d3f9b7230 1e757ac98988 7ae36df760ce 7ae36df760ce f91d3f9b7230 1e757ac98988 f91d3f9b7230 1e757ac98988 1e757ac98988 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 62e493c7f436 62e493c7f436 62e493c7f436 62e493c7f436 62e493c7f436 62e493c7f436 72a91632b731 72a91632b731 72a91632b731 fe053a42c4ce 36f7562a5919 36f7562a5919 36f7562a5919 36f7562a5919 36f7562a5919 fc08484c5bf3 62e493c7f436 fe053a42c4ce fe053a42c4ce fe053a42c4ce fe053a42c4ce fe053a42c4ce fe053a42c4ce fe053a42c4ce fe053a42c4ce fe053a42c4ce a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 fe053a42c4ce a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 acc05c33cc0c a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 a221706dab50 91c442a489bb 91c442a489bb 1e757ac98988 1e757ac98988 f91d3f9b7230 1e757ac98988 f91d3f9b7230 aa8ec270178b 1e757ac98988 e0b069468de0 1e757ac98988 1e757ac98988 aa8ec270178b aa8ec270178b aa8ec270178b aa8ec270178b 64bb1c46c861 aa8ec270178b f91d3f9b7230 1e757ac98988 1e757ac98988 1e757ac98988 e0b069468de0 1e757ac98988 1e757ac98988 aa8ec270178b aa8ec270178b aa8ec270178b aa8ec270178b aa8ec270178b aa8ec270178b aa8ec270178b aa8ec270178b 673de12e6bf6 8a68e0292232 8a68e0292232 673de12e6bf6 673de12e6bf6 aa17c7a1b8a5 aa17c7a1b8a5 f91d3f9b7230 aa8ec270178b 07c8838ebfd3 db62c05837e5 f91d3f9b7230 f91d3f9b7230 9bce679a3f49 9bce679a3f49 9bce679a3f49 9bce679a3f49 9bce679a3f49 9bce679a3f49 9bce679a3f49 aa8ec270178b 9bce679a3f49 9bce679a3f49 9bce679a3f49 aa8ec270178b 9bce679a3f49 aa8ec270178b 9bce679a3f49 9bce679a3f49 aa8ec270178b 9bce679a3f49 aa8ec270178b 9bce679a3f49 aa8ec270178b 985db7f7b9b2 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 1e757ac98988 985db7f7b9b2 985db7f7b9b2 985db7f7b9b2 ec6354949623 aa8ec270178b 64bb1c46c861 1e757ac98988 1e757ac98988 38ab60c1fb2b 38ab60c1fb2b 38ab60c1fb2b 985db7f7b9b2 1e757ac98988 7ae36df760ce 7ae36df760ce f91d3f9b7230 1e757ac98988 f91d3f9b7230 1e757ac98988 f91d3f9b7230 1e757ac98988 1e757ac98988 985db7f7b9b2 985db7f7b9b2 985db7f7b9b2 1e757ac98988 1e757ac98988 1e757ac98988 f91d3f9b7230 333b3e7c991f 333b3e7c991f 333b3e7c991f 333b3e7c991f f91d3f9b7230 333b3e7c991f 333b3e7c991f 333b3e7c991f 333b3e7c991f 333b3e7c991f 333b3e7c991f 333b3e7c991f 333b3e7c991f 333b3e7c991f f91d3f9b7230 333b3e7c991f 7ae36df760ce f91d3f9b7230 333b3e7c991f f91d3f9b7230 f91d3f9b7230 f91d3f9b7230 a801c4542f48 a801c4542f48 aa8ec270178b aa8ec270178b aa8ec270178b a801c4542f48 a801c4542f48 a801c4542f48 17ff5693566b a801c4542f48 a801c4542f48 a801c4542f48 a801c4542f48 a801c4542f48 a801c4542f48 a801c4542f48 528f987f2459 a801c4542f48 a801c4542f48 a801c4542f48 a801c4542f48 a801c4542f48 17ff5693566b a801c4542f48 17ff5693566b a801c4542f48 a801c4542f48 c20adbaf16af c20adbaf16af a801c4542f48 a801c4542f48 17ff5693566b 1e757ac98988 f91d3f9b7230 | ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
${_('Settings administration')} · ${c.rhodecode_name}
</%def>
<%def name="breadcrumbs_links()">
${h.link_to(_('Admin'),h.url('admin_home'))}
»
${_('Settings')}
</%def>
<%def name="page_nav()">
${self.menu('admin')}
</%def>
<%def name="main()">
<div class="box">
<!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<!-- end box / title -->
<h3>${_('Remap and rescan repositories')}</h3>
${h.form(url('admin_setting', setting_id='mapping'),method='put')}
<div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label label-checkbox">
<label for="destroy">${_('Rescan option')}:</label>
</div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('destroy',True)}
<label for="destroy">
<span class="tooltip" title="${h.tooltip(_('In case a repository was deleted from filesystem and there are leftovers in the database check this option to scan obsolete data in database and remove it.'))}">
${_('Destroy old data')}</span> </label>
</div>
<div class="checkbox">
${h.checkbox('invalidate',True)}
<label for="invalidate">
<span class="tooltip" title="${h.tooltip(_('Invalidate cache for all repositories during scan'))}">
${_('Invalidate cache for all repositories')}</span> </label>
</div>
<span class="help-block">${_('Rescan repositories location for new repositories. Also deletes obsolete if `destroy` flag is checked ')}</span>
</div>
</div>
<div class="buttons">
${h.submit('rescan',_('Rescan repositories'),class_="ui-btn large")}
</div>
</div>
</div>
${h.end_form()}
<h3>${_('Whoosh indexing')}</h3>
${h.form(url('admin_setting', setting_id='whoosh'),method='put')}
<div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label label-checkbox">
<label>${_('Index build option')}:</label>
</div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('full_index',True)}
<label for="full_index">${_('Build from scratch')}</label>
</div>
</div>
</div>
<div class="buttons">
${h.submit('reindex',_('Reindex'),class_="ui-btn large")}
</div>
</div>
</div>
${h.end_form()}
<h3>${_('Global application settings')}</h3>
${h.form(url('admin_setting', setting_id='global'),method='put')}
<div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label">
<label for="rhodecode_title">${_('Site branding')}:</label>
</div>
<div class="input">
${h.text('rhodecode_title',size=30)}
</div>
</div>
<div class="field">
<div class="label">
<label for="rhodecode_realm">${_('HTTP authentication realm')}:</label>
</div>
<div class="input">
${h.text('rhodecode_realm',size=30)}
</div>
</div>
<div class="field">
<div class="label">
<label for="rhodecode_ga_code">${_('Google Analytics code')}:</label>
</div>
<div class="input">
${h.text('rhodecode_ga_code',size=30)}
</div>
</div>
<div class="buttons">
${h.submit('save',_('Save settings'),class_="ui-btn large")}
${h.reset('reset',_('Reset'),class_="ui-btn large")}
</div>
</div>
</div>
${h.end_form()}
<h3>${_('Visualisation settings')}</h3>
${h.form(url('admin_setting', setting_id='visual'),method='put')}
<div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label label-checkbox">
<label>${_('General')}:</label>
</div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('rhodecode_repository_fields','True')}
<label for="rhodecode_repository_fields">${_('Use repository extra fields')}</label>
</div>
<span class="help-block">${_('Allows storing additional customized fields per repository.')}</span>
<div class="checkbox">
${h.checkbox('rhodecode_show_version','True')}
<label for="rhodecode_show_version">${_('Show RhodeCode version')}</label>
</div>
<span class="help-block">${_('Shows or hides displayed version of RhodeCode in the footer')}</span>
</div>
</div>
<div class="field">
<div class="label">
<label for="rhodecode_realm">${_('Dashboard items')}:</label>
</div>
<div class="input">
${h.text('rhodecode_dashboard_items',size=5)}
<span class="help-block">${_('Number of items displayed in lightweight dashboard before pagination is shown.')}</span>
</div>
</div>
<div class="field">
<div class="label label-checkbox">
<label>${_('Icons')}:</label>
</div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('rhodecode_show_public_icon','True')}
<label for="rhodecode_show_public_icon">${_('Show public repo icon on repositories')}</label>
</div>
<div class="checkbox">
${h.checkbox('rhodecode_show_private_icon','True')}
<label for="rhodecode_show_private_icon">${_('Show private repo icon on repositories')}</label>
</div>
<span class="help-block">${_('Show public/private icons next to repositories names')}</span>
</div>
</div>
<div class="field">
<div class="label label-checkbox">
<label>${_('Meta-Tagging')}:</label>
</div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('rhodecode_stylify_metatags','True')}
<label for="rhodecode_stylify_metatags">${_('Stylify recognised metatags:')}</label>
</div>
<div style="padding-left: 20px;">
<ul> <!-- Fix style here -->
<li>[featured] <span class="metatag" tag="featured">featured</span></li>
<li>[stale] <span class="metatag" tag="stale">stale</span></li>
<li>[dead] <span class="metatag" tag="dead">dead</span></li>
<li>[lang => lang] <span class="metatag" tag="lang" >lang</span></li>
<li>[license => License] <span class="metatag" tag="license"><a href="http://www.opensource.org/licenses/License" >License</a></span></li>
<li>[requires => Repo] <span class="metatag" tag="requires" >requires => <a href="#" >Repo</a></span></li>
<li>[recommends => Repo] <span class="metatag" tag="recommends" >recommends => <a href="#" >Repo</a></span></li>
<li>[see => URI] <span class="metatag" tag="see">see => <a href="#">URI</a> </span></li>
</ul>
</div>
</div>
</div>
<div class="buttons">
${h.submit('save',_('Save settings'),class_="ui-btn large")}
${h.reset('reset',_('Reset'),class_="ui-btn large")}
</div>
</div>
</div>
${h.end_form()}
<h3>${_('VCS settings')}</h3>
${h.form(url('admin_setting', setting_id='vcs'),method='put')}
<div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label label-checkbox">
<label>${_('Web')}:</label>
</div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('web_push_ssl', 'True')}
<label for="web_push_ssl">${_('Require SSL for vcs operations')}</label>
</div>
<span class="help-block">${_('RhodeCode will require SSL for pushing or pulling. If SSL is missing it will return HTTP Error 406: Not Acceptable')}</span>
</div>
</div>
<div class="field">
<div class="label label-checkbox">
<label>${_('Hooks')}:</label>
</div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('hooks_changegroup_update','True')}
<label for="hooks_changegroup_update">${_('Update repository after push (hg update)')}</label>
</div>
<div class="checkbox">
${h.checkbox('hooks_changegroup_repo_size','True')}
<label for="hooks_changegroup_repo_size">${_('Show repository size after push')}</label>
</div>
<div class="checkbox">
${h.checkbox('hooks_changegroup_push_logger','True')}
<label for="hooks_changegroup_push_logger">${_('Log user push commands')}</label>
</div>
<div class="checkbox">
${h.checkbox('hooks_outgoing_pull_logger','True')}
<label for="hooks_outgoing_pull_logger">${_('Log user pull commands')}</label>
</div>
</div>
<div class="input" style="margin-top:10px">
${h.link_to(_('Advanced setup'),url('admin_edit_setting',setting_id='hooks'))}
</div>
</div>
<div class="field">
<div class="label label-checkbox">
<label>${_('Mercurial Extensions')}:</label>
</div>
<div class="checkboxes">
<div class="checkbox">
${h.checkbox('extensions_largefiles','True')}
<label for="extensions_largefiles">${_('Enable largefiles extension')}</label>
</div>
<div class="checkbox">
${h.checkbox('extensions_hgsubversion','True')}
<label for="extensions_hgsubversion">${_('Enable hgsubversion extension')}</label>
</div>
<span class="help-block">${_('Requires hgsubversion library installed. Allows cloning from svn remote locations')}</span>
##<div class="checkbox">
## ${h.checkbox('extensions_hggit','True')}
## <label for="extensions_hggit">${_('Enable hg-git extension')}</label>
##</div>
##<span class="help-block">${_('Requires hg-git library installed. Allows cloning from git remote locations')}</span>
</div>
</div>
%if c.visual.allow_repo_location_change:
<div class="field">
<div class="label">
<label for="paths_root_path">${_('Repositories location')}:</label>
</div>
<div class="input">
${h.text('paths_root_path',size=30,readonly="readonly", class_="disabled")}
<span id="path_unlock" class="tooltip" style="cursor: pointer"
title="${h.tooltip(_('Click to unlock. You must restart RhodeCode in order to make this setting take effect.'))}">
${_('Unlock')}
</span>
<span class="help-block">${_('Location where repositories are stored. After changing this value a restart, and rescan is required')}</span>
</div>
</div>
%else:
## form still requires this but we cannot internally change it anyway
${h.hidden('paths_root_path',size=30,readonly="readonly", class_="disabled")}
%endif
<div class="buttons">
${h.submit('save',_('Save settings'),class_="ui-btn large")}
${h.reset('reset',_('Reset'),class_="ui-btn large")}
</div>
</div>
</div>
${h.end_form()}
<script type="text/javascript">
YAHOO.util.Event.onDOMReady(function(){
YUE.on('path_unlock','click',function(){
YUD.get('paths_root_path').removeAttribute('readonly');
YUD.removeClass('paths_root_path', 'disabled')
});
});
</script>
<h3>${_('Test Email')}</h3>
${h.form(url('admin_setting', setting_id='email'),method='put')}
<div class="form">
<!-- fields -->
<div class="fields">
<div class="field">
<div class="label">
<label for="test_email">${_('Email to')}:</label>
</div>
<div class="input">
${h.text('test_email',size=30)}
</div>
</div>
<div class="buttons">
${h.submit('send',_('Send'),class_="ui-btn large")}
</div>
</div>
</div>
${h.end_form()}
<h3>${_('System Info and Packages')}</h3>
<div class="form">
<div>
<h5 id="expand_modules" style="cursor: pointer">↓ ${_('Show')} ↓</h5>
</div>
<div id="expand_modules_table" style="display:none">
<h5>Python - ${c.py_version}</h5>
<h5>System - ${c.platform}</h5>
<table class="table" style="margin:0px 0px 0px 20px">
<colgroup>
<col style="width:220px">
</colgroup>
<tbody>
%for key, value in c.modules:
<tr>
<th style="text-align: right;padding-right:5px;">${key}</th>
<td>${value}</td>
</tr>
%endfor
</tbody>
</table>
</div>
</div>
<script type="text/javascript">
YUE.on('expand_modules','click',function(e){
YUD.setStyle('expand_modules_table','display','');
YUD.setStyle('expand_modules','display','none');
})
</script>
</div>
</%def>
|