diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-02-05 08:50:21 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-02-05 08:50:21 +0000 |
commit | b5366eb3079c46f4fcfbe8a4172732f2abeeed96 (patch) | |
tree | d358339c3245fa0d4a4f0d886ffa55d958344f20 /config | |
parent | c46c0e7452a1792d11a186d1059bef52a4867cf4 (diff) | |
download | redmine-b5366eb3079c46f4fcfbe8a4172732f2abeeed96.tar.gz redmine-b5366eb3079c46f4fcfbe8a4172732f2abeeed96.zip |
Send a notification when security settings are changed (#21421).
git-svn-id: http://svn.redmine.org/redmine/trunk@15148 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config')
-rw-r--r-- | config/locales/en.yml | 1 | ||||
-rw-r--r-- | config/locales/fr.yml | 1 | ||||
-rw-r--r-- | config/settings.yml | 16 |
3 files changed, 18 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml index 8a314511a..a2ac47903 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -235,6 +235,7 @@ en: mail_body_security_notification_remove: "%{field} %{value} was removed." mail_body_security_notification_notify_enabled: "Email address %{value} now receives notifications." mail_body_security_notification_notify_disabled: "Email address %{value} no longer receives notifications." + mail_body_settings_updated: "The following settings were changed:" field_name: Name field_description: Description diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 90984c871..41cfd55c9 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -248,6 +248,7 @@ fr: mail_body_wiki_content_added: "La page wiki '%{id}' a été ajoutée par %{author}." mail_subject_wiki_content_updated: "Page wiki '%{id}' mise à jour" mail_body_wiki_content_updated: "La page wiki '%{id}' a été mise à jour par %{author}." + mail_body_settings_updated: "Les paramètres suivants ont été modifiés :" field_name: Nom field_description: Description diff --git a/config/settings.yml b/config/settings.yml index 5031b68d3..49e1edcd3 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -27,19 +27,24 @@ welcome_text: default: login_required: default: 0 + security_notifications: 1 self_registration: default: '2' + security_notifications: 1 lost_password: default: 1 + security_notifications: 1 unsubscribe: default: 1 password_min_length: format: int default: 8 + security_notifications: 1 # Maximum password age in days password_max_age: format: int default: 0 + security_notifications: 1 # Maximum number of additional email addresses per user max_additional_emails: format: int @@ -48,10 +53,12 @@ max_additional_emails: session_lifetime: format: int default: 0 + security_notifications: 1 # User session timeout in minutes session_timeout: format: int default: 0 + security_notifications: 1 attachment_max_size: format: int default: 5120 @@ -91,6 +98,7 @@ host_name: default: localhost:3000 protocol: default: http + security_notifications: 1 feeds_limit: format: int default: 15 @@ -114,12 +122,15 @@ enabled_scm: - Cvs - Bazaar - Git + security_notifications: 1 autofetch_changesets: default: 1 sys_api_enabled: default: 0 + security_notifications: 1 sys_api_key: default: '' + security_notifications: 1 commit_cross_project_ref: default: 0 commit_ref_keywords: @@ -173,8 +184,10 @@ mail_handler_excluded_filenames: default: '' mail_handler_api_enabled: default: 0 + security_notifications: 1 mail_handler_api_key: default: + security_notifications: 1 issue_list_default_columns: serialized: true default: @@ -237,14 +250,17 @@ gravatar_enabled: default: 0 openid: default: 0 + security_notifications: 1 gravatar_default: default: '' start_of_week: default: '' rest_api_enabled: default: 0 + security_notifications: 1 jsonp_enabled: default: 0 + security_notifications: 1 default_notification_option: default: 'only_my_events' emails_header: |