diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-04-01 16:52:36 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-04-01 16:52:36 +0200 |
commit | ab229b9a828b77f8a3b9ce215f0dfed4c84d4ae5 (patch) | |
tree | 483da9c8b66f4444bb8a410e3d599c7484ad721e /template | |
parent | daa2d6b1c40354ecce0e48e6c5ee686efe642c4b (diff) | |
parent | 2f8b999750cc700faf03c6aee1c53d1fc4df767f (diff) | |
download | bugzilla-ab229b9a828b77f8a3b9ce215f0dfed4c84d4ae5.tar.gz bugzilla-ab229b9a828b77f8a3b9ce215f0dfed4c84d4ae5.tar.xz |
Merge branch 'master' into unstable
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/account/auth/login.html.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/account/prefs/mfa.html.tmpl | 6 | ||||
-rw-r--r-- | template/en/default/admin/admin.html.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/bug/activity/table.html.tmpl | 1 | ||||
-rw-r--r-- | template/en/default/email/new-api-key.txt.tmpl | 8 | ||||
-rw-r--r-- | template/en/default/setup/strings.txt.pl | 6 |
6 files changed, 20 insertions, 5 deletions
diff --git a/template/en/default/account/auth/login.html.tmpl b/template/en/default/account/auth/login.html.tmpl index 160fad43b..8cf5e85ef 100644 --- a/template/en/default/account/auth/login.html.tmpl +++ b/template/en/default/account/auth/login.html.tmpl @@ -42,7 +42,7 @@ </p> <div id="login" class="login-form"> - <form name="login" action="[% target FILTER html %]" method="POST" + <form name="login" action="[% urlbase FILTER html %][% target FILTER uri FILTER html %]" method="POST" [%- IF Bugzilla.cgi.param("data") %] enctype="multipart/form-data"[% END %]> <div class="field-login"> <label for="Bugzilla_login">Email Address:</label> diff --git a/template/en/default/account/prefs/mfa.html.tmpl b/template/en/default/account/prefs/mfa.html.tmpl index f75320892..973d38432 100644 --- a/template/en/default/account/prefs/mfa.html.tmpl +++ b/template/en/default/account/prefs/mfa.html.tmpl @@ -91,7 +91,7 @@ [% END %] </p> - [% IF user.mfa && user.in_group("mozilla-employee-confidential") %] + [% IF user.mfa %] <p class="mfa-disable-blurb"> You will need to disable your two-factor authentication in order to change to a different method. There will be a small amount of time when your account will not be as secure, so you may use the @@ -178,7 +178,7 @@ or <a href="https://freeotp.github.io/" target="_blank" rel="noopener noreferrer">Red Hat FreeOTP</a>), </blockquote> - [% IF Param("duo_host") && user.in_group("mozilla-employee-confidential") %] + [% IF Param("duo_host") %] <button type="button" id="mfa-select-duo">Duo Security</button><br> <blockquote> Requires a <a href="https://mana.mozilla.org/wiki/display/SD/DuoSecurity" target="_blank" rel="noopener noreferrer">Duo Security</a> @@ -245,7 +245,7 @@ </div> - [% IF Param("duo_host") && user.in_group("mozilla-employee-confidential") %] + [% IF Param("duo_host") %] [%# enable - duo %] <div id="mfa-enable-duo" style="display:none"> diff --git a/template/en/default/admin/admin.html.tmpl b/template/en/default/admin/admin.html.tmpl index 86bd8b973..62a246ceb 100644 --- a/template/en/default/admin/admin.html.tmpl +++ b/template/en/default/admin/admin.html.tmpl @@ -127,7 +127,7 @@ and time, and get the result of these queries directly per email. This is a good way to create reminders and to keep track of the activity in your installation.</dd> - [% IF Param('use_mailer_queue') %] + [% IF Bugzilla.localconfig.param_override.use_mailer_queue OR Param('use_mailer_queue') %] [% class = user.in_group('admin') ? "" : "forbidden" %] <dt id="view_job_queue" class="[% class %]"><a href="view_job_queue.cgi">Job Queue</a></dt> <dd class="[% class %]">View the queue of undelivered/deferred jobs/emails.</dd> diff --git a/template/en/default/bug/activity/table.html.tmpl b/template/en/default/bug/activity/table.html.tmpl index 50193f894..101e43546 100644 --- a/template/en/default/bug/activity/table.html.tmpl +++ b/template/en/default/bug/activity/table.html.tmpl @@ -107,6 +107,7 @@ change.fieldname == 'reporter' || change.fieldname == 'qa_contact' || change.fieldname == 'cc' || + change.fieldname == 'bug_mentor' || change.fieldname == 'flagtypes.name' %] [% display_value(change.fieldname, change_type) FILTER email FILTER html %] [% ELSE %] diff --git a/template/en/default/email/new-api-key.txt.tmpl b/template/en/default/email/new-api-key.txt.tmpl index 4a03fe800..aed904def 100644 --- a/template/en/default/email/new-api-key.txt.tmpl +++ b/template/en/default/email/new-api-key.txt.tmpl @@ -26,9 +26,17 @@ or update the key at the following URL: [%+ urlbase %]userprefs.cgi?tab=apikey +[% IF new_key.app_id == Param('mozreview_app_id') %] +This API key was automatically created by MozReview. If you did not recently log in to +MozReview, please disable the key at the above URL, and change your password immediately. +[% ELSIF new_key.app_id == Param('phabricator_app_id') %] +This API key was automatically created by Mozilla's Phabricator instance. If you did not recently +log in to Phabricator, please disable the key at the above URL, and change your password immediately. +[% ELSE %] IMPORTANT: If you did not request a new key, your [% terms.Bugzilla %] account may have been compromised. In this case, please disable the key at the above URL, and change your password immediately. +[% END %] For security reasons, we have not included your new key in this e-mail. diff --git a/template/en/default/setup/strings.txt.pl b/template/en/default/setup/strings.txt.pl index 9de426972..5fc860519 100644 --- a/template/en/default/setup/strings.txt.pl +++ b/template/en/default/setup/strings.txt.pl @@ -269,6 +269,12 @@ END This is the max amount of unshared memory the apache process is allowed to use before Apache::SizeLimit kills it. This is only applicable when run under mod_perl. EOT + localconfig_shadowdb_user => <<EOT, +The username used to authenticate to the shadow db. +EOT + localconfig_shadowdb_pass => <<EOT, +The password used to authenticate to the shadow db. +EOT max_allowed_packet => <<EOT, WARNING: You need to set the max_allowed_packet parameter in your MySQL configuration to at least ##needed##. Currently it is set to ##current##. |