From: Jean-Philippe Lang
+<%= hidden_field_tag 'settings[default_projects_modules][]', '' %> +<% Redmine::AccessControl.available_project_modules.each do |m| %> + +<% end %> +
+<%= hidden_field_tag 'settings[sequential_project_identifiers]', 0 %> <%= check_box_tag 'settings[sequential_project_identifiers]', 1, Setting.sequential_project_identifiers? %> diff --git a/config/locales/bg.yml b/config/locales/bg.yml index 69662dba..bd0243a5 100644 --- a/config/locales/bg.yml +++ b/config/locales/bg.yml @@ -833,3 +833,4 @@ bg: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/bs.yml b/config/locales/bs.yml index 716df438..b2d29ddf 100644 --- a/config/locales/bs.yml +++ b/config/locales/bs.yml @@ -857,3 +857,4 @@ bs: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/ca.yml b/config/locales/ca.yml index 966df9a8..12a21200 100644 --- a/config/locales/ca.yml +++ b/config/locales/ca.yml @@ -836,3 +836,4 @@ ca: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/cs.yml b/config/locales/cs.yml index c1533f62..af8b16eb 100644 --- a/config/locales/cs.yml +++ b/config/locales/cs.yml @@ -839,3 +839,4 @@ cs: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/da.yml b/config/locales/da.yml index 4d433f44..4028ad2d 100644 --- a/config/locales/da.yml +++ b/config/locales/da.yml @@ -859,3 +859,4 @@ da: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/de.yml b/config/locales/de.yml index 425bcb57..dfe22ae8 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -859,3 +859,4 @@ de: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/el.yml b/config/locales/el.yml index 032fa1ca..ed31de7b 100644 --- a/config/locales/el.yml +++ b/config/locales/el.yml @@ -839,3 +839,4 @@ el: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/en.yml b/config/locales/en.yml index 5bd70a42..0000e427 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -312,6 +312,7 @@ en: setting_openid: Allow OpenID login and registration setting_password_min_length: Minimum password length setting_new_project_user_role_id: Role given to a non-admin user who creates a project + setting_default_projects_modules: Default enabled modules for new projects permission_add_project: Create project permission_edit_project: Edit project diff --git a/config/locales/es.yml b/config/locales/es.yml index d03088d5..2f8a764f 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -880,3 +880,4 @@ es: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/fi.yml b/config/locales/fi.yml index acdee65a..3745f6cf 100644 --- a/config/locales/fi.yml +++ b/config/locales/fi.yml @@ -869,3 +869,4 @@ fi: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/fr.yml b/config/locales/fr.yml index aaa858af..4a32fc37 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -334,6 +334,7 @@ fr: setting_openid: "Autoriser l'authentification et l'enregistrement OpenID" setting_password_min_length: Longueur minimum des mots de passe setting_new_project_user_role_id: Rôle donné à un utilisateur non-administrateur qui crée un projet + setting_default_projects_modules: Modules activés par défaut pour les nouveaux projets permission_add_project: Créer un projet permission_edit_project: Modifier le projet diff --git a/config/locales/gl.yml b/config/locales/gl.yml index e6f260ae..99154d39 100644 --- a/config/locales/gl.yml +++ b/config/locales/gl.yml @@ -859,3 +859,4 @@ gl: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/he.yml b/config/locales/he.yml index 16d6800d..d9096865 100644 --- a/config/locales/he.yml +++ b/config/locales/he.yml @@ -843,3 +843,4 @@ he: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/hu.yml b/config/locales/hu.yml index 1c9f7f0c..c6839561 100644 --- a/config/locales/hu.yml +++ b/config/locales/hu.yml @@ -864,3 +864,4 @@ error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/it.yml b/config/locales/it.yml index 74132a60..781ad30e 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -846,3 +846,4 @@ it: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/ja.yml b/config/locales/ja.yml index 1cdb14f8..4f9ab13d 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -868,3 +868,4 @@ ja: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/ko.yml b/config/locales/ko.yml index a5b08607..ec2330e4 100644 --- a/config/locales/ko.yml +++ b/config/locales/ko.yml @@ -899,3 +899,4 @@ ko: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/lt.yml b/config/locales/lt.yml index 67e65a57..269f7338 100644 --- a/config/locales/lt.yml +++ b/config/locales/lt.yml @@ -869,3 +869,4 @@ lt: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/nl.yml b/config/locales/nl.yml index 191738fd..9ef2162b 100644 --- a/config/locales/nl.yml +++ b/config/locales/nl.yml @@ -821,3 +821,4 @@ nl: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/no.yml b/config/locales/no.yml index 6fa2be0f..4c1f326f 100644 --- a/config/locales/no.yml +++ b/config/locales/no.yml @@ -834,3 +834,4 @@ error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/pl.yml b/config/locales/pl.yml index 104a568a..12649ac3 100644 --- a/config/locales/pl.yml +++ b/config/locales/pl.yml @@ -862,3 +862,4 @@ pl: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/pt-BR.yml b/config/locales/pt-BR.yml index 10d43a66..88fa840d 100644 --- a/config/locales/pt-BR.yml +++ b/config/locales/pt-BR.yml @@ -865,3 +865,4 @@ pt-BR: error_can_not_reopen_issue_on_closed_version: Uma tarefa atribuÃda a uma versão fechada não pode ser reaberta label_user_anonymous: Anônimo button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/pt.yml b/config/locales/pt.yml index c0133116..3e5bd81a 100644 --- a/config/locales/pt.yml +++ b/config/locales/pt.yml @@ -851,3 +851,4 @@ pt: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/ro.yml b/config/locales/ro.yml index 9a97febd..c3d1e116 100644 --- a/config/locales/ro.yml +++ b/config/locales/ro.yml @@ -836,3 +836,4 @@ ro: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/ru.yml b/config/locales/ru.yml index 84f06e8f..1f0d01c1 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -947,3 +947,4 @@ ru: error_can_not_reopen_issue_on_closed_version: ÐадаÑа, назнаÑÐµÐ½Ð½Ð°Ñ Ðº закÑÑÑой веÑÑии, не ÑÐ¼Ð¾Ð¶ÐµÑ Ð±ÑÑÑ Ð¾ÑкÑÑÑа Ñнова label_user_anonymous: Ðноним button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/sk.yml b/config/locales/sk.yml index 8f79cb36..cd19e91b 100644 --- a/config/locales/sk.yml +++ b/config/locales/sk.yml @@ -838,3 +838,4 @@ sk: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/sl.yml b/config/locales/sl.yml index 9ebcb6c4..5f3db50c 100644 --- a/config/locales/sl.yml +++ b/config/locales/sl.yml @@ -835,3 +835,4 @@ sl: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/sr.yml b/config/locales/sr.yml index dbd0c316..38d501e4 100644 --- a/config/locales/sr.yml +++ b/config/locales/sr.yml @@ -854,3 +854,4 @@ error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/sv.yml b/config/locales/sv.yml index 807db8db..d82d2209 100644 --- a/config/locales/sv.yml +++ b/config/locales/sv.yml @@ -887,3 +887,4 @@ sv: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/th.yml b/config/locales/th.yml index 3ca9c46f..c4474ccc 100644 --- a/config/locales/th.yml +++ b/config/locales/th.yml @@ -836,3 +836,4 @@ th: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/tr.yml b/config/locales/tr.yml index 01e28439..0ae8c544 100644 --- a/config/locales/tr.yml +++ b/config/locales/tr.yml @@ -866,3 +866,4 @@ tr: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/uk.yml b/config/locales/uk.yml index f7f2a66f..93b37226 100644 --- a/config/locales/uk.yml +++ b/config/locales/uk.yml @@ -835,3 +835,4 @@ uk: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/vi.yml b/config/locales/vi.yml index b12cba75..28c7ab69 100644 --- a/config/locales/vi.yml +++ b/config/locales/vi.yml @@ -898,3 +898,4 @@ vi: error_can_not_reopen_issue_on_closed_version: An issue assigned to a closed version can not be reopened label_user_anonymous: Anonymous button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/zh-TW.yml b/config/locales/zh-TW.yml index 494e5c80..c63674fd 100644 --- a/config/locales/zh-TW.yml +++ b/config/locales/zh-TW.yml @@ -930,3 +930,4 @@ enumeration_activities: æ´»å (æé追蹤) enumeration_system_activity: 系統活å button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/locales/zh.yml b/config/locales/zh.yml index f1c772fc..ecd1408d 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -863,3 +863,4 @@ zh: enumeration_activities: æ´»å¨ï¼æ¶é´è·è¸ªï¼ enumeration_system_activity: ç³»ç»æ´»å¨ button_move_and_follow: Move and follow + setting_default_projects_modules: Default enabled modules for new projects diff --git a/config/settings.yml b/config/settings.yml index e0950c51..f529d020 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -131,6 +131,17 @@ display_subprojects_issues: default: 1 default_projects_public: default: 1 +default_projects_modules: + serialized: true + default: + - issue_tracking + - time_tracking + - news + - documents + - files + - wiki + - repository + - boards # Role given to a non-admin user who creates a project new_project_user_role_id: format: int diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 5042c128..cf344900 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -325,7 +325,7 @@ width: 270px; .tabular label.block{ font-weight: normal; -margin-left: 0px; +margin-left: 0px !important; text-align: left; float: none; display: block;