]> source.dussan.org Git - redmine.git/log
redmine.git
21 months agoRemove unused i18n keys label_sort_highest, label_sort_higher, label_sort_lower,...
Go MAEDA [Wed, 21 Dec 2022 01:43:40 +0000 (01:43 +0000)]
Remove unused i18n keys label_sort_highest, label_sort_higher, label_sort_lower, and label_sort_lowest (#38054).

Patch by Go MAEDA.

git-svn-id: https://svn.redmine.org/redmine/trunk@21993 e93f8b46-1217-0410-a6f0-8f06a7374b81

21 months agoModifying the source code of a plugin does not reload it after r21295 ( #36273).
Go MAEDA [Wed, 21 Dec 2022 01:36:45 +0000 (01:36 +0000)]
Modifying the source code of a plugin does not reload it after r21295 ( #36273).

Patch by Takashi Kato.

git-svn-id: https://svn.redmine.org/redmine/trunk@21992 e93f8b46-1217-0410-a6f0-8f06a7374b81

22 months agoFix shadowing variable in ApplicationHelper#textilizable (#15667).
Go MAEDA [Fri, 16 Dec 2022 07:59:35 +0000 (07:59 +0000)]
Fix shadowing variable in ApplicationHelper#textilizable (#15667).

Patch by Ilya S.

git-svn-id: https://svn.redmine.org/redmine/trunk@21991 e93f8b46-1217-0410-a6f0-8f06a7374b81

22 months agoFix test failure when running with PostgreSQL (#20042).
Go MAEDA [Fri, 9 Dec 2022 05:57:50 +0000 (05:57 +0000)]
Fix test failure when running with PostgreSQL (#20042).

Patch by Ko Nagase.

git-svn-id: https://svn.redmine.org/redmine/trunk@21990 e93f8b46-1217-0410-a6f0-8f06a7374b81

22 months agoFix RuboCop offense Style/RedundantConstantBase (#36919).
Go MAEDA [Fri, 9 Dec 2022 05:42:57 +0000 (05:42 +0000)]
Fix RuboCop offense Style/RedundantConstantBase (#36919).

git-svn-id: https://svn.redmine.org/redmine/trunk@21989 e93f8b46-1217-0410-a6f0-8f06a7374b81

22 months agoUpdate Stylelint to 14.16.0 (#37987).
Go MAEDA [Sun, 4 Dec 2022 06:42:45 +0000 (06:42 +0000)]
Update Stylelint to 14.16.0 (#37987).

git-svn-id: https://svn.redmine.org/redmine/trunk@21987 e93f8b46-1217-0410-a6f0-8f06a7374b81

22 months agoFix mentioning users with certain characters renders incorrectly (#37755).
Marius Balteanu [Sat, 3 Dec 2022 13:21:17 +0000 (13:21 +0000)]
Fix mentioning users with certain characters renders incorrectly (#37755).

Patch Mizuki ISHIKAWA.

git-svn-id: https://svn.redmine.org/redmine/trunk@21986 e93f8b46-1217-0410-a6f0-8f06a7374b81

22 months agoUpdates for 5.0.4 release.
Marius Balteanu [Thu, 1 Dec 2022 15:31:03 +0000 (15:31 +0000)]
Updates for 5.0.4 release.

git-svn-id: https://svn.redmine.org/redmine/trunk@21981 e93f8b46-1217-0410-a6f0-8f06a7374b81

22 months agoAdd tests for #37772.
Marius Balteanu [Thu, 1 Dec 2022 15:27:17 +0000 (15:27 +0000)]
Add tests for #37772.

Patch by Holger Just.

git-svn-id: https://svn.redmine.org/redmine/trunk@21979 e93f8b46-1217-0410-a6f0-8f06a7374b81

22 months agoRevert r21975.
Marius Balteanu [Thu, 1 Dec 2022 15:21:37 +0000 (15:21 +0000)]
Revert r21975.

git-svn-id: https://svn.redmine.org/redmine/trunk@21977 e93f8b46-1217-0410-a6f0-8f06a7374b81

22 months agoAdd tests for #37772.
Marius Balteanu [Thu, 1 Dec 2022 15:18:04 +0000 (15:18 +0000)]
Add tests for #37772.

Patch by Holger Just.

git-svn-id: https://svn.redmine.org/redmine/trunk@21975 e93f8b46-1217-0410-a6f0-8f06a7374b81

22 months agoFix duplicate vertical-align property in wiki_syntax.css (#37983).
Go MAEDA [Thu, 1 Dec 2022 04:09:57 +0000 (04:09 +0000)]
Fix duplicate vertical-align property in wiki_syntax.css (#37983).

Patch by Go MAEDA.

git-svn-id: https://svn.redmine.org/redmine/trunk@21972 e93f8b46-1217-0410-a6f0-8f06a7374b81

22 months agoFix groups added to watchers are not shown as links (#37958).
Marius Balteanu [Mon, 28 Nov 2022 22:59:05 +0000 (22:59 +0000)]
Fix groups added to watchers are not shown as links (#37958).

Patch by Mizuki ISHIKAWA.

git-svn-id: https://svn.redmine.org/redmine/trunk@21967 e93f8b46-1217-0410-a6f0-8f06a7374b81

22 months agoRemove unused mention_users permission (#37938).
Marius Balteanu [Mon, 28 Nov 2022 22:53:56 +0000 (22:53 +0000)]
Remove unused mention_users permission (#37938).

git-svn-id: https://svn.redmine.org/redmine/trunk@21966 e93f8b46-1217-0410-a6f0-8f06a7374b81

22 months agoQuery display types should accept only known types (#37925).
Marius Balteanu [Mon, 28 Nov 2022 22:41:53 +0000 (22:41 +0000)]
Query display types should accept only known types (#37925).

Patch by Alexander Meindl.

git-svn-id: https://svn.redmine.org/redmine/trunk@21965 e93f8b46-1217-0410-a6f0-8f06a7374b81

22 months agoFix failing test by removing bad assertion (#34863).
Marius Balteanu [Mon, 28 Nov 2022 22:33:12 +0000 (22:33 +0000)]
Fix failing test by removing bad assertion (#34863).

git-svn-id: https://svn.redmine.org/redmine/trunk@21962 e93f8b46-1217-0410-a6f0-8f06a7374b81

22 months agoReverts r21958 and r21959 (#1739).
Go MAEDA [Fri, 18 Nov 2022 08:17:50 +0000 (08:17 +0000)]
Reverts r21958 and r21959 (#1739).

git-svn-id: https://svn.redmine.org/redmine/trunk@21960 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoUpdate locales (#1739).
Go MAEDA [Wed, 16 Nov 2022 09:44:51 +0000 (09:44 +0000)]
Update locales (#1739).

git-svn-id: https://svn.redmine.org/redmine/trunk@21959 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoAdd the ability to change the author of an issue (#1739).
Go MAEDA [Wed, 16 Nov 2022 09:24:17 +0000 (09:24 +0000)]
Add the ability to change the author of an issue (#1739).

Patch by Vladimir Kovacik, Jiri Stepanek, Aighan Pacobilch, Olivier Houdas, Takenori TAKAKI, and Mizuki ISHIKAWA.

git-svn-id: https://svn.redmine.org/redmine/trunk@21958 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoUpdate RuboCop to 1.39 (#36919).
Go MAEDA [Mon, 14 Nov 2022 09:57:24 +0000 (09:57 +0000)]
Update RuboCop to 1.39 (#36919).

git-svn-id: https://svn.redmine.org/redmine/trunk@21957 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoUpdate commonmarker gem to ~> 0.23.6 (#37872).
Go MAEDA [Sun, 13 Nov 2022 08:53:31 +0000 (08:53 +0000)]
Update commonmarker gem to ~> 0.23.6 (#37872).

Patch by Holger Just.

git-svn-id: https://svn.redmine.org/redmine/trunk@21956 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoAdd an index to improve the performance of issue queries involving custom fields...
Go MAEDA [Thu, 10 Nov 2022 23:49:02 +0000 (23:49 +0000)]
Add an index to improve the performance of issue queries involving custom fields (#29171).

Contributed by Stephane Evr.

git-svn-id: https://svn.redmine.org/redmine/trunk@21955 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoAllow using ideographic space (U+3000) as a separator for search terms (#37878).
Go MAEDA [Thu, 3 Nov 2022 12:43:28 +0000 (12:43 +0000)]
Allow using ideographic space (U+3000) as a separator for search terms (#37878).

Patch by Go MAEDA.

git-svn-id: https://svn.redmine.org/redmine/trunk@21952 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoRedirect to container URL in case of error in attachments#download_all (#37880).
Go MAEDA [Thu, 3 Nov 2022 05:17:48 +0000 (05:17 +0000)]
Redirect to container URL in case of error in attachments#download_all (#37880).

Patch by Holger Just.

git-svn-id: https://svn.redmine.org/redmine/trunk@21948 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoLimit mocha version to < 2.0.0 when Ruby version is < 2.7 to avoid test error "cannot...
Go MAEDA [Thu, 3 Nov 2022 03:51:15 +0000 (03:51 +0000)]
Limit mocha version to < 2.0.0 when Ruby version is < 2.7 to avoid test error "cannot load such file -- ruby2_keywords" (#37883).

Patch by Ko Nagase.

git-svn-id: https://svn.redmine.org/redmine/trunk@21945 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoDon't display an unnecessary closing li element when there is no "Next" button on...
Go MAEDA [Wed, 2 Nov 2022 01:47:32 +0000 (01:47 +0000)]
Don't display an unnecessary closing li element when there is no "Next" button on the activity page. (#37875).

Patch by Alexander Meindl.

git-svn-id: https://svn.redmine.org/redmine/trunk@21942 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoUpdate RuboCop to 1.38 (#36919).
Go MAEDA [Wed, 2 Nov 2022 01:02:59 +0000 (01:02 +0000)]
Update RuboCop to 1.38 (#36919).

git-svn-id: https://svn.redmine.org/redmine/trunk@21941 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoDisallow all in /robots.txt if login is required (#37807).
Go MAEDA [Tue, 1 Nov 2022 03:28:08 +0000 (03:28 +0000)]
Disallow all in /robots.txt if login is required (#37807).

Patch by Holger Just.

git-svn-id: https://svn.redmine.org/redmine/trunk@21940 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoAlways allow access to /robots.txt for Anonymous (#37807).
Go MAEDA [Tue, 1 Nov 2022 03:26:15 +0000 (03:26 +0000)]
Always allow access to /robots.txt for Anonymous (#37807).

Patch by Holger Just.

git-svn-id: https://svn.redmine.org/redmine/trunk@21939 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoRender all visible projects in robots.txt (including closed projects) (#37807).
Go MAEDA [Tue, 1 Nov 2022 03:24:17 +0000 (03:24 +0000)]
Render all visible projects in robots.txt (including closed projects) (#37807).

Patch by Holger Just.

git-svn-id: https://svn.redmine.org/redmine/trunk@21938 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoRead-only field permission for the project field is ignored if the current project...
Go MAEDA [Mon, 31 Oct 2022 09:04:46 +0000 (09:04 +0000)]
Read-only field permission for the project field is ignored if the current project has subprojects (#37685).

Patch by salman mp.

git-svn-id: https://svn.redmine.org/redmine/trunk@21937 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoLimit puma < 6.0.0 to avoid system test error (#37867).
Go MAEDA [Mon, 31 Oct 2022 03:34:34 +0000 (03:34 +0000)]
Limit puma < 6.0.0 to avoid system test error (#37867).

Patch by Ko Nagase.

git-svn-id: https://svn.redmine.org/redmine/trunk@21934 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoDatabase migrations don't run correctly for plugins when specifying the `VERSION...
Go MAEDA [Sun, 30 Oct 2022 06:26:02 +0000 (06:26 +0000)]
Database migrations don't run correctly for plugins when specifying the `VERSION` env variable (#31116).

Contributed by crypto gopher.

git-svn-id: https://svn.redmine.org/redmine/trunk@21933 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoAdd missing fixture to test/integration/issue_test.rb (#37851).
Go MAEDA [Sat, 29 Oct 2022 08:24:03 +0000 (08:24 +0000)]
Add missing fixture to test/integration/issue_test.rb (#37851).

Patch by Dmitry Makurin.

git-svn-id: https://svn.redmine.org/redmine/trunk@21932 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoUpdate RuboCop Rails to 2.17 (#37248).
Go MAEDA [Sat, 29 Oct 2022 08:06:14 +0000 (08:06 +0000)]
Update RuboCop Rails to 2.17 (#37248).

git-svn-id: https://svn.redmine.org/redmine/trunk@21931 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoRemove unnecessary disabling of RuboCop Rails/Pluck (#37248).
Go MAEDA [Sat, 29 Oct 2022 07:42:03 +0000 (07:42 +0000)]
Remove unnecessary disabling of RuboCop Rails/Pluck (#37248).

git-svn-id: https://svn.redmine.org/redmine/trunk@21930 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoRegenerate .rubocop_todo.yml (#37248).
Go MAEDA [Sat, 29 Oct 2022 07:34:22 +0000 (07:34 +0000)]
Regenerate .rubocop_todo.yml (#37248).

git-svn-id: https://svn.redmine.org/redmine/trunk@21929 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoFix RuboCop offense Rails/Pluck (#37248).
Go MAEDA [Fri, 28 Oct 2022 07:50:11 +0000 (07:50 +0000)]
Fix RuboCop offense Rails/Pluck (#37248).

git-svn-id: https://svn.redmine.org/redmine/trunk@21928 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoFix RuboCop offense Rails/WhereMissing (#37248).
Go MAEDA [Fri, 28 Oct 2022 00:47:56 +0000 (00:47 +0000)]
Fix RuboCop offense Rails/WhereMissing (#37248).

git-svn-id: https://svn.redmine.org/redmine/trunk@21927 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoFix RuboCop offense Rails/FreezeTime (#37248).
Go MAEDA [Thu, 27 Oct 2022 23:42:31 +0000 (23:42 +0000)]
Fix RuboCop offense Rails/FreezeTime (#37248).

git-svn-id: https://svn.redmine.org/redmine/trunk@21926 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoAdd Date and Time classes to yaml_column_permitted_classes (#37814).
Go MAEDA [Wed, 26 Oct 2022 14:04:46 +0000 (14:04 +0000)]
Add Date and Time classes to yaml_column_permitted_classes (#37814).

Patch by Felix Schäfer.

git-svn-id: https://svn.redmine.org/redmine/trunk@21923 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoUpdate RuboCop to 1.37 (#36919).
Go MAEDA [Wed, 26 Oct 2022 13:28:53 +0000 (13:28 +0000)]
Update RuboCop to 1.37 (#36919).

git-svn-id: https://svn.redmine.org/redmine/trunk@21922 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoFix RuboCop offense Lint/RedundantRequireStatement (#36919).
Go MAEDA [Wed, 26 Oct 2022 13:19:52 +0000 (13:19 +0000)]
Fix RuboCop offense Lint/RedundantRequireStatement (#36919).

git-svn-id: https://svn.redmine.org/redmine/trunk@21921 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoFix RuboCop offense Style/RedundantStringEscape (#36919).
Go MAEDA [Wed, 26 Oct 2022 13:14:08 +0000 (13:14 +0000)]
Fix RuboCop offense Style/RedundantStringEscape (#36919).

git-svn-id: https://svn.redmine.org/redmine/trunk@21920 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoRegenerate .rubocop_todo.yml (#36919).
Go MAEDA [Wed, 26 Oct 2022 13:06:38 +0000 (13:06 +0000)]
Regenerate .rubocop_todo.yml (#36919).

git-svn-id: https://svn.redmine.org/redmine/trunk@21919 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoFix swapped general_text_Yes and general_text_No in Polish translation (#37812).
Go MAEDA [Sat, 22 Oct 2022 06:54:39 +0000 (06:54 +0000)]
Fix swapped general_text_Yes and general_text_No in Polish translation (#37812).

Patch by Robert Korulczyk.

git-svn-id: https://svn.redmine.org/redmine/trunk@21917 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoDisable RuboCop Rails/WhereExists (#36919).
Go MAEDA [Thu, 20 Oct 2022 08:39:24 +0000 (08:39 +0000)]
Disable RuboCop Rails/WhereExists (#36919).

git-svn-id: https://svn.redmine.org/redmine/trunk@21916 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoFix RuboCop offense Layout/FirstHashElementIndentation due to r21894 (#37751).
Go MAEDA [Thu, 20 Oct 2022 08:10:59 +0000 (08:10 +0000)]
Fix RuboCop offense Layout/FirstHashElementIndentation due to r21894 (#37751).

git-svn-id: https://svn.redmine.org/redmine/trunk@21915 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoFix RuboCop offenses Layout/EmptyLinesAroundClassBody and Layout/TrailingEmptyLines...
Go MAEDA [Thu, 20 Oct 2022 07:57:02 +0000 (07:57 +0000)]
Fix RuboCop offenses Layout/EmptyLinesAroundClassBody and Layout/TrailingEmptyLines in html_sanitizer_test.rb (#37750).

git-svn-id: https://svn.redmine.org/redmine/trunk@21914 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoFix RuboCop offense Layout/FirstArrayElementIndentation in html_sanitizer.rb (#37750).
Go MAEDA [Thu, 20 Oct 2022 07:48:27 +0000 (07:48 +0000)]
Fix RuboCop offense Layout/FirstArrayElementIndentation in html_sanitizer.rb (#37750).

git-svn-id: https://svn.redmine.org/redmine/trunk@21913 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoFix RuboCop offenses Layout/EmptyLinesAroundModuleBody, Layout/EmptyLinesAroundClassB...
Go MAEDA [Thu, 20 Oct 2022 07:34:21 +0000 (07:34 +0000)]
Fix RuboCop offenses Layout/EmptyLinesAroundModuleBody, Layout/EmptyLinesAroundClassBody, and Layout/TrailingEmptyLines in html_sanitizer.rb (#37750).

git-svn-id: https://svn.redmine.org/redmine/trunk@21912 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoAdd a copyright header (#37750).
Go MAEDA [Thu, 20 Oct 2022 07:23:01 +0000 (07:23 +0000)]
Add a copyright header (#37750).

git-svn-id: https://svn.redmine.org/redmine/trunk@21911 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoSimplify AttachmentsController#find_container (#37772).
Go MAEDA [Thu, 20 Oct 2022 04:14:26 +0000 (04:14 +0000)]
Simplify AttachmentsController#find_container (#37772).

Patch by  Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@21907 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoConstraints *_all attachments routes to actually supported values of container_type...
Go MAEDA [Thu, 20 Oct 2022 04:13:21 +0000 (04:13 +0000)]
Constraints *_all attachments routes to actually supported values of container_type (#37772).

Patch by  Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@21906 e93f8b46-1217-0410-a6f0-8f06a7374b81

23 months agoAdds visible? method to journal (#37772).
Go MAEDA [Thu, 20 Oct 2022 04:11:58 +0000 (04:11 +0000)]
Adds visible? method to journal (#37772).

Patch by  Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@21905 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoEscape tags that start with pre (#37767).
Go MAEDA [Mon, 17 Oct 2022 13:35:20 +0000 (13:35 +0000)]
Escape tags that start with pre (#37767).

Patch by Holger Just.

git-svn-id: https://svn.redmine.org/redmine/trunk@21902 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUses the new html sanitizer for links rendered by custom fields (#37750).
Marius Balteanu [Tue, 4 Oct 2022 19:50:01 +0000 (19:50 +0000)]
Uses the new html sanitizer for links rendered by custom fields (#37750).

Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@21901 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoIntroduces a standalone html sanitizer class (#37750).
Marius Balteanu [Tue, 4 Oct 2022 19:49:00 +0000 (19:49 +0000)]
Introduces a standalone html sanitizer class (#37750).

Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@21900 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAlways bundle html-pipeline and sanitizer gems (#37750).
Marius Balteanu [Tue, 4 Oct 2022 19:46:11 +0000 (19:46 +0000)]
Always bundle html-pipeline and sanitizer gems (#37750).

Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@21899 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoMark legacy Markdown text formatting option as deprecated (#36807).
Marius Balteanu [Tue, 4 Oct 2022 19:41:07 +0000 (19:41 +0000)]
Mark legacy Markdown text formatting option as deprecated (#36807).

git-svn-id: https://svn.redmine.org/redmine/trunk@21898 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoMake common_mark the default text formatting for new installations (#34863).
Marius Balteanu [Tue, 4 Oct 2022 19:19:15 +0000 (19:19 +0000)]
Make common_mark the default text formatting for new installations (#34863).

git-svn-id: https://svn.redmine.org/redmine/trunk@21897 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoEscape blockquote citation in textile formatting (#37751).
Marius Balteanu [Tue, 4 Oct 2022 18:58:37 +0000 (18:58 +0000)]
Escape blockquote citation in textile formatting (#37751).

Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@21894 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoDelete orphaned query and role ids from habtm join table (#36844).
Marius Balteanu [Sun, 2 Oct 2022 20:39:06 +0000 (20:39 +0000)]
Delete orphaned query and role ids from habtm join table (#36844).

git-svn-id: https://svn.redmine.org/redmine/trunk@21893 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUpdates for 5.0.3 release.
Marius Balteanu [Sun, 2 Oct 2022 19:58:58 +0000 (19:58 +0000)]
Updates for 5.0.3 release.

git-svn-id: https://svn.redmine.org/redmine/trunk@21888 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix rubocop warning (#37626).
Marius Balteanu [Sun, 2 Oct 2022 12:47:33 +0000 (12:47 +0000)]
Fix rubocop warning (#37626).

git-svn-id: https://svn.redmine.org/redmine/trunk@21886 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd to do to fix the deprecation warning (#37626).
Marius Balteanu [Sun, 2 Oct 2022 09:59:11 +0000 (09:59 +0000)]
Add to do to fix the deprecation warning (#37626).

git-svn-id: https://svn.redmine.org/redmine/trunk@21884 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix show diff of a javascript file in repository module is displayed without layout...
Marius Balteanu [Sun, 2 Oct 2022 08:53:09 +0000 (08:53 +0000)]
Fix show diff of a javascript file in repository module is displayed without layout (#37626).

Patch by Trang Tran Thi Quynh.

git-svn-id: https://svn.redmine.org/redmine/trunk@21883 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix repository browser does not show \"+\" (plus sign) in filename (#37718).
Marius Balteanu [Sun, 2 Oct 2022 07:14:37 +0000 (07:14 +0000)]
Fix repository browser does not show \"+\" (plus sign) in filename (#37718).

Patch by Go MAEDA.

git-svn-id: https://svn.redmine.org/redmine/trunk@21880 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd table header in Plugins page (#37692).
Go MAEDA [Sat, 1 Oct 2022 06:54:27 +0000 (06:54 +0000)]
Add table header in Plugins page (#37692).

Patch by Go MAEDA.

git-svn-id: https://svn.redmine.org/redmine/trunk@21879 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoJump to project is misaligned in Safari 15.4 and later (#36901).
Go MAEDA [Sat, 1 Oct 2022 05:21:03 +0000 (05:21 +0000)]
Jump to project is misaligned in Safari 15.4 and later (#36901).

Patch by Vitaly vit9696.

git-svn-id: https://svn.redmine.org/redmine/trunk@21876 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoRemove comment (#37282).
Marius Balteanu [Fri, 30 Sep 2022 15:22:14 +0000 (15:22 +0000)]
Remove comment (#37282).

git-svn-id: https://svn.redmine.org/redmine/trunk@21873 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix subtask list is not properly displayed (#37282).
Marius Balteanu [Fri, 30 Sep 2022 15:17:58 +0000 (15:17 +0000)]
Fix subtask list is not properly displayed (#37282).

git-svn-id: https://svn.redmine.org/redmine/trunk@21872 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoIssue ID field does not get focus when adding a related issue (#37473).
Go MAEDA [Wed, 28 Sep 2022 09:18:31 +0000 (09:18 +0000)]
Issue ID field does not get focus when adding a related issue (#37473).

Patch by Mizuki ISHIKAWA.

git-svn-id: https://svn.redmine.org/redmine/trunk@21867 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix RuboCop offense Layout/LineLength due to r21849 (#37713).
Go MAEDA [Wed, 28 Sep 2022 09:00:45 +0000 (09:00 +0000)]
Fix RuboCop offense Layout/LineLength due to r21849 (#37713).

git-svn-id: https://svn.redmine.org/redmine/trunk@21865 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix Psych::DisallowedClass exception when loading plugin settings saved with Rails...
Go MAEDA [Wed, 28 Sep 2022 06:36:07 +0000 (06:36 +0000)]
Fix Psych::DisallowedClass exception when loading plugin settings saved with Rails 4.2 (#37452, #37719).

Patch by Alexander Meindl.

git-svn-id: https://svn.redmine.org/redmine/trunk@21863 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix random system test failure by adding a missing fixture.
Marius Balteanu [Tue, 27 Sep 2022 20:49:44 +0000 (20:49 +0000)]
Fix random system test failure by adding a missing fixture.

git-svn-id: https://svn.redmine.org/redmine/trunk@21862 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix undefined method when auth source name column is added as column (#37674).
Marius Balteanu [Tue, 27 Sep 2022 19:55:09 +0000 (19:55 +0000)]
Fix undefined method  when auth source name column is added as column (#37674).

git-svn-id: https://svn.redmine.org/redmine/trunk@21861 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix failing test on PostgreSQL by ordering by only non null values (#37674).
Marius Balteanu [Tue, 27 Sep 2022 19:36:52 +0000 (19:36 +0000)]
Fix failing test on PostgreSQL by ordering by only non null values (#37674).

git-svn-id: https://svn.redmine.org/redmine/trunk@21860 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdds missing join when ordering by authsource (#37674).
Go MAEDA [Tue, 27 Sep 2022 09:30:07 +0000 (09:30 +0000)]
Adds missing join when ordering by authsource (#37674).

Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@21856 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoDisable RuboCop Style/SoleNestedConditional (#36919).
Go MAEDA [Tue, 27 Sep 2022 09:11:10 +0000 (09:11 +0000)]
Disable RuboCop Style/SoleNestedConditional (#36919).

git-svn-id: https://svn.redmine.org/redmine/trunk@21855 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix random test failure (#33953).
Go MAEDA [Tue, 27 Sep 2022 08:23:53 +0000 (08:23 +0000)]
Fix random test failure (#33953).

git-svn-id: https://svn.redmine.org/redmine/trunk@21854 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd a test for #37369.
Marius Balteanu [Mon, 26 Sep 2022 22:39:23 +0000 (22:39 +0000)]
Add a test for #37369.

git-svn-id: https://svn.redmine.org/redmine/trunk@21852 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdds info about custom CSS to commonmark markdown help (#37237).
Marius Balteanu [Mon, 26 Sep 2022 22:36:54 +0000 (22:36 +0000)]
Adds info about custom CSS to commonmark markdown help (#37237).

Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@21851 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAllow select custom CSS properties (#37237).
Marius Balteanu [Mon, 26 Sep 2022 22:35:48 +0000 (22:35 +0000)]
Allow select custom CSS properties (#37237).

Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@21850 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd rel="noopener" to all external links with a target attribute (#37713).
Marius Balteanu [Mon, 26 Sep 2022 22:34:44 +0000 (22:34 +0000)]
Add rel="noopener" to all external links with a target attribute (#37713).

Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@21849 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoRegenerate .rubocop_todo.yml (#37614).
Go MAEDA [Sun, 25 Sep 2022 05:22:32 +0000 (05:22 +0000)]
Regenerate .rubocop_todo.yml (#37614).

git-svn-id: https://svn.redmine.org/redmine/trunk@21846 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoCleanup Repository::Git#clear_extra_info_of_changesets (#37614).
Go MAEDA [Sun, 25 Sep 2022 05:08:32 +0000 (05:08 +0000)]
Cleanup Repository::Git#clear_extra_info_of_changesets (#37614).

Patch by Go MAEDA.

git-svn-id: https://svn.redmine.org/redmine/trunk@21845 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUse the safe navigation operator instead of checking if an object is nil (#37614).
Go MAEDA [Sun, 25 Sep 2022 05:07:09 +0000 (05:07 +0000)]
Use the safe navigation operator instead of checking if an object is nil (#37614).

Patch by Go MAEDA.

git-svn-id: https://svn.redmine.org/redmine/trunk@21844 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix RuboCop offense Style/GuardClause (#37614).
Go MAEDA [Sun, 25 Sep 2022 05:00:29 +0000 (05:00 +0000)]
Fix RuboCop offense Style/GuardClause (#37614).

git-svn-id: https://svn.redmine.org/redmine/trunk@21843 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix RuboCop offense Style/IfUnlessModifier (#37614).
Go MAEDA [Sun, 25 Sep 2022 04:58:53 +0000 (04:58 +0000)]
Fix RuboCop offense Style/IfUnlessModifier (#37614).

git-svn-id: https://svn.redmine.org/redmine/trunk@21842 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix RuboCop offense Style/SymbolProc (#37614).
Go MAEDA [Sun, 25 Sep 2022 04:57:21 +0000 (04:57 +0000)]
Fix RuboCop offense Style/SymbolProc (#37614).

git-svn-id: https://svn.redmine.org/redmine/trunk@21841 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix RuboCop offense Rails/Blank (#37614).
Go MAEDA [Sun, 25 Sep 2022 04:56:16 +0000 (04:56 +0000)]
Fix RuboCop offense Rails/Blank (#37614).

git-svn-id: https://svn.redmine.org/redmine/trunk@21840 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoReorder keys in the same order as en.yml (#37698).
Go MAEDA [Sun, 25 Sep 2022 02:46:57 +0000 (02:46 +0000)]
Reorder keys in the same order as en.yml (#37698).

Patch by salman mp.

git-svn-id: https://svn.redmine.org/redmine/trunk@21839 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoPersian translation update for 4.2-stable (#37698).
Go MAEDA [Sun, 25 Sep 2022 02:33:01 +0000 (02:33 +0000)]
Persian translation update for 4.2-stable (#37698).

Patch by salman mp.

git-svn-id: https://svn.redmine.org/redmine/trunk@21836 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix random test failure (#37674).
Go MAEDA [Sat, 24 Sep 2022 04:54:54 +0000 (04:54 +0000)]
Fix random test failure (#37674).

git-svn-id: https://svn.redmine.org/redmine/trunk@21835 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoEnable user auto-complete in issues bulk edit (#37369).
Marius Balteanu [Fri, 23 Sep 2022 05:58:19 +0000 (05:58 +0000)]
Enable user auto-complete in issues bulk edit (#37369).

git-svn-id: https://svn.redmine.org/redmine/trunk@21834 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoFix perfomance issue when objects are filtered by custom field values (#37268).
Marius Balteanu [Fri, 23 Sep 2022 05:51:59 +0000 (05:51 +0000)]
Fix perfomance issue when objects are filtered by custom field values (#37268).

git-svn-id: https://svn.redmine.org/redmine/trunk@21833 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoUnify duplicate codes (#37687).
Go MAEDA [Fri, 23 Sep 2022 04:47:49 +0000 (04:47 +0000)]
Unify duplicate codes (#37687).

Patch by Go MAEDA.

git-svn-id: https://svn.redmine.org/redmine/trunk@21832 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoRetrieve attachments with a single query when rendering a journal (#37687).
Go MAEDA [Fri, 23 Sep 2022 04:46:39 +0000 (04:46 +0000)]
Retrieve attachments with a single query when rendering a journal (#37687).

Patch by Go MAEDA.

git-svn-id: https://svn.redmine.org/redmine/trunk@21831 e93f8b46-1217-0410-a6f0-8f06a7374b81

2 years agoAdd the `# frozen_string_literal: true` magic comment to config/initializers/secret_t...
Go MAEDA [Wed, 21 Sep 2022 06:58:10 +0000 (06:58 +0000)]
Add the `# frozen_string_literal: true` magic comment to config/initializers/secret_token.rb (#37682).

Patch by Go MAEDA.

git-svn-id: https://svn.redmine.org/redmine/trunk@21830 e93f8b46-1217-0410-a6f0-8f06a7374b81