##// END OF EJS Templates
db: adjust beaker_cache column size. If this column is created via Beaker itself it uses...
db: adjust beaker_cache column size. If this column is created via Beaker itself it uses BLOB for mysql, this can cause some issues with cache sizes not fitting. We move the creation into our script, then it uses proper size.

File last commit:

r2725:c0939830 default
r2734:caa42fff default
Show More
settings_email.mako
60 lines | 2.2 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 <div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Email Configuration')}</h3>
</div>
<div class="panel-body">
<%
elems = [
(_('Email prefix'), c.rhodecode_ini.get('email_prefix'), ''),
(_('RhodeCode email from'), c.rhodecode_ini.get('app_email_from'), ''),
(_('Error email from'), c.rhodecode_ini.get('error_email_from'), ''),
(_('Error email recipients'), c.rhodecode_ini.get('email_to'), ''),
(_('SMTP server'), c.rhodecode_ini.get('smtp_server'), ''),
(_('SMTP username'), c.rhodecode_ini.get('smtp_username'), ''),
(_('SMTP password'), '%s chars' % len(c.rhodecode_ini.get('smtp_password', '')), ''),
(_('SMTP port'), c.rhodecode_ini.get('smtp_port'), ''),
(_('SMTP use TLS'), c.rhodecode_ini.get('smtp_use_tls'), ''),
(_('SMTP use SSL'), c.rhodecode_ini.get('smtp_use_ssl'), ''),
(_('SMTP auth'), c.rhodecode_ini.get('smtp_auth'), ''),
]
%>
sessions: added interface to show, and cleanup user auth sessions.
r1295 <dl class="dl-horizontal settings">
templating: use .mako as extensions for template files.
r1282 %for dt, dd, tt in elems:
<dt >${dt}:</dt>
dan
tooltip: use consistent h.tooltip usage to set tooltips.
r1843 <dd title="${h.tooltip(tt)}">${dd}</dd>
templating: use .mako as extensions for template files.
r1282 %endfor
</dl>
email: added help block on where to change email settings
r2725 <span class="help-block">
${_('You can adjust those settings in [DEFAULT] section of .ini file located at')}: <br/>
${c.rhodecode_ini.get('__file__')}
</span>
templating: use .mako as extensions for template files.
r1282 </div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">${_('Test Email')}</h3>
</div>
<div class="panel-body">
admin: ported settings controller to pyramid....
r2333 ${h.secure_form(h.route_path('admin_settings_email_update'), request=request)}
templating: use .mako as extensions for template files.
r1282
<div class="field input">
${h.text('test_email', size=60, placeholder=_('enter valid email'))}
</div>
<div class="field">
<span class="help-block">
${_('Send an auto-generated email from this server to above email...')}
</span>
</div>
<div class="buttons">
${h.submit('send',_('Send'),class_="btn")}
</div>
${h.end_form()}
</div>
</div>