]> source.dussan.org Git - redmine.git/log
redmine.git
21 months agoSupport for WebP images (#38168).
Go MAEDA [Mon, 16 Jan 2023 01:23:36 +0000 (01:23 +0000)]
Support for WebP images (#38168).

* Inline image
* Thumbnail
* Inserting markup for an image uploaded by drag and drop

Patch by Go MAEDA.

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

21 months agoAdd Ruby 3.2 to the supported Ruby versions (#38099).
Go MAEDA [Sun, 15 Jan 2023 06:13:43 +0000 (06:13 +0000)]
Add Ruby 3.2 to the supported Ruby versions (#38099).

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

21 months agoUpdate Nokogiri to 1.14.0 (#38181).
Go MAEDA [Sun, 15 Jan 2023 06:02:40 +0000 (06:02 +0000)]
Update Nokogiri to 1.14.0 (#38181).

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

21 months agoUpdate jQuery UI Datepicker i18n files to 1.13.2 (#38162).
Go MAEDA [Thu, 12 Jan 2023 07:21:45 +0000 (07:21 +0000)]
Update jQuery UI Datepicker i18n files to 1.13.2 (#38162).

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

21 months agoUnreachable branch in ApplicationHelper#format_object due to the use of the deprecate...
Go MAEDA [Thu, 12 Jan 2023 04:04:22 +0000 (04:04 +0000)]
Unreachable branch in ApplicationHelper#format_object due to the use of the deprecated Fixnum class (#38145).

Patch by Go MAEDA.

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

21 months agoFix redundant 'private' modifier in repositories_git_controller_test.rb (#38091).
Go MAEDA [Thu, 12 Jan 2023 03:07:39 +0000 (03:07 +0000)]
Fix redundant 'private' modifier in repositories_git_controller_test.rb (#38091).

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

21 months agoUpdate locales (#38048).
Go MAEDA [Thu, 12 Jan 2023 03:01:32 +0000 (03:01 +0000)]
Update locales (#38048).

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

21 months agoIntroduce permission to set a project public (#38048).
Go MAEDA [Thu, 12 Jan 2023 02:59:54 +0000 (02:59 +0000)]
Introduce permission to set a project public (#38048).

Patch by Felix Schäfer.

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

21 months agoUpdate RuboCop to 1.43 (#36919).
Go MAEDA [Wed, 11 Jan 2023 14:20:52 +0000 (14:20 +0000)]
Update RuboCop to 1.43 (#36919).

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

21 months agoRegenerate .rubocop_todo.yml (#36919).
Go MAEDA [Wed, 11 Jan 2023 14:11:52 +0000 (14:11 +0000)]
Regenerate .rubocop_todo.yml (#36919).

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

21 months agoFix RuboCop offense Lint/UselessRescue (#36919).
Go MAEDA [Wed, 11 Jan 2023 14:03:28 +0000 (14:03 +0000)]
Fix RuboCop offense Lint/UselessRescue (#36919).

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

21 months agoDisable RuboCop offense Performance/Sum in IssueFieldsRows#to_html (#38146).
Go MAEDA [Wed, 11 Jan 2023 13:36:36 +0000 (13:36 +0000)]
Disable RuboCop offense Performance/Sum in IssueFieldsRows#to_html (#38146).

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

21 months agoFix RuboCop offense Performance/RedundantSplitRegexpArgument (#38146).
Go MAEDA [Wed, 11 Jan 2023 13:33:32 +0000 (13:33 +0000)]
Fix RuboCop offense Performance/RedundantSplitRegexpArgument (#38146).

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

21 months agoFix RuboCop offense Performance/RedundantMatch (#38146).
Go MAEDA [Wed, 11 Jan 2023 13:31:57 +0000 (13:31 +0000)]
Fix RuboCop offense Performance/RedundantMatch (#38146).

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

21 months agoFix RuboCop offense Performance/RedundantEqualityComparisonBlock (#38146).
Go MAEDA [Wed, 11 Jan 2023 13:30:25 +0000 (13:30 +0000)]
Fix RuboCop offense Performance/RedundantEqualityComparisonBlock (#38146).

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

21 months agoFix RuboCop offense Performance/FixedSize (#38146).
Go MAEDA [Wed, 11 Jan 2023 13:29:11 +0000 (13:29 +0000)]
Fix RuboCop offense Performance/FixedSize (#38146).

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

21 months agoFix RuboCop offense Performance/ConstantRegexp (#38146).
Go MAEDA [Wed, 11 Jan 2023 13:26:31 +0000 (13:26 +0000)]
Fix RuboCop offense Performance/ConstantRegexp (#38146).

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

21 months agoRaise MinSize for RuboCop Performance/CollectionLiteralInLoop to 4 (#38146).
Go MAEDA [Wed, 11 Jan 2023 13:25:07 +0000 (13:25 +0000)]
Raise MinSize for RuboCop Performance/CollectionLiteralInLoop to 4 (#38146).

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

21 months agoFix RuboCop offense Performance/BlockGivenWithExplicitBlock (#38146).
Go MAEDA [Wed, 11 Jan 2023 13:20:52 +0000 (13:20 +0000)]
Fix RuboCop offense Performance/BlockGivenWithExplicitBlock (#38146).

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

21 months agoFix RuboCop offense Performance/AncestorsInclude (#38146).
Go MAEDA [Wed, 11 Jan 2023 13:18:06 +0000 (13:18 +0000)]
Fix RuboCop offense Performance/AncestorsInclude (#38146).

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

21 months agoCommonMark Markdown formatter does not support min-width, max-width, min-height,...
Go MAEDA [Wed, 11 Jan 2023 13:11:04 +0000 (13:11 +0000)]
CommonMark Markdown formatter does not support min-width, max-width, min-height, and max-height CSS properties (#38073).

Patch by Go MAEDA.

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

21 months agoUse Group.visible instead of manual visibility check in GroupsController (#38144).
Go MAEDA [Wed, 4 Jan 2023 01:05:20 +0000 (01:05 +0000)]
Use Group.visible instead of manual visibility check in GroupsController (#38144).

Patch by Holger Just.

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

21 months agoAdd guard clause to time_tag method to handle nil time (#38139).
Go MAEDA [Mon, 2 Jan 2023 06:56:47 +0000 (06:56 +0000)]
Add guard clause to time_tag method to handle nil time (#38139).

Patch by Go MAEDA.

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

21 months agoUpdate RuboCop to 1.42 (#36919).
Go MAEDA [Mon, 2 Jan 2023 06:32:18 +0000 (06:32 +0000)]
Update RuboCop to 1.42 (#36919).

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

21 months agoRegenerate .rubocop_todo.yml (#36919).
Go MAEDA [Mon, 2 Jan 2023 06:23:50 +0000 (06:23 +0000)]
Regenerate .rubocop_todo.yml (#36919).

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

21 months agoFix RuboCop offense Style/MinMaxComparison (#36919).
Go MAEDA [Mon, 2 Jan 2023 06:10:53 +0000 (06:10 +0000)]
Fix RuboCop offense Style/MinMaxComparison (#36919).

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

21 months agoUse `require_relative` instead of `require File.expand_path(..., __FILE__)` (#38093).
Go MAEDA [Sun, 1 Jan 2023 07:13:39 +0000 (07:13 +0000)]
Use `require_relative` instead of `require File.expand_path(..., __FILE__)` (#38093).

Patch by Go MAEDA.

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

21 months agoUpdate copyright year to 2023 (#38141).
Go MAEDA [Sun, 1 Jan 2023 06:19:35 +0000 (06:19 +0000)]
Update copyright year to 2023 (#38141).

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

21 months agoFix `{{thumbnail}}` macro in an issue note cannot fetch an image attached in a differ...
Go MAEDA [Fri, 30 Dec 2022 09:00:14 +0000 (09:00 +0000)]
Fix `{{thumbnail}}` macro in an issue note cannot fetch an image attached in a different note (#37881).

Patch by Mizuki ISHIKAWA.

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

21 months agoAllow use of Puma 6.0.0 or later (#38135).
Go MAEDA [Thu, 29 Dec 2022 05:51:23 +0000 (05:51 +0000)]
Allow use of Puma 6.0.0 or later (#38135).

Capybara >= 3.39.0 supports Puma 6.0.

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

21 months agoUpdate SimpleCov to 0.22 (#38137).
Go MAEDA [Thu, 29 Dec 2022 05:36:05 +0000 (05:36 +0000)]
Update SimpleCov to 0.22 (#38137).

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

21 months agoUpdate csv, net-imap, net-pop, and net-smtp gems to the same versions shipped with...
Go MAEDA [Wed, 28 Dec 2022 03:05:05 +0000 (03:05 +0000)]
Update csv, net-imap, net-pop, and net-smtp gems to the same versions shipped with Ruby 3.2.0 (#38124).

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

21 months agoUpdate Nokogiri to 1.13.10 (#38133).
Go MAEDA [Wed, 28 Dec 2022 01:00:22 +0000 (01:00 +0000)]
Update Nokogiri to 1.13.10 (#38133).

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

21 months agoRemove Bundler from Requirements (#38122).
Go MAEDA [Wed, 28 Dec 2022 00:35:46 +0000 (00:35 +0000)]
Remove Bundler from Requirements (#38122).

Patch by Go MAEDA.

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

21 months agoUpdate MiniMagick to 4.12 (#38121).
Go MAEDA [Tue, 27 Dec 2022 01:04:28 +0000 (01:04 +0000)]
Update MiniMagick to 4.12 (#38121).

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

21 months agoFix RuboCop offense Performance/StringInclude (#37247).
Go MAEDA [Mon, 26 Dec 2022 02:46:53 +0000 (02:46 +0000)]
Fix RuboCop offense Performance/StringInclude (#37247).

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

21 months agoRegenerate .rubocop_todo.yml (#36919).
Go MAEDA [Mon, 26 Dec 2022 02:22:46 +0000 (02:22 +0000)]
Regenerate .rubocop_todo.yml (#36919).

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

21 months agoUpdate Gemfile to allow using Ruby 3.2 (#38099).
Go MAEDA [Mon, 26 Dec 2022 01:47:30 +0000 (01:47 +0000)]
Update Gemfile to allow using Ruby 3.2 (#38099).

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

21 months agoRuby 3.2: `Changeset.normalize_comments` raises Encoding::CompatibilityError if the...
Go MAEDA [Mon, 26 Dec 2022 01:36:44 +0000 (01:36 +0000)]
Ruby 3.2: `Changeset.normalize_comments` raises Encoding::CompatibilityError if the string contains an invalid UTF-8 byte sequence (#38099, #38100).

Patch by Go MAEDA.

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

21 months agoFix RuboCop offense Performance/StringInclude in app/controllers/imports_controller...
Go MAEDA [Sun, 25 Dec 2022 07:55:14 +0000 (07:55 +0000)]
Fix RuboCop offense Performance/StringInclude in app/controllers/imports_controller.rb (#37247).

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

21 months agoUpdate RuboCop to 1.41 (#36919).
Go MAEDA [Fri, 23 Dec 2022 02:23:23 +0000 (02:23 +0000)]
Update RuboCop to 1.41 (#36919).

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

21 months agoDo not break when setting enabled_module_names on a project without a default_member_...
Go MAEDA [Wed, 21 Dec 2022 02:25:47 +0000 (02:25 +0000)]
Do not break when setting enabled_module_names on a project without a default_member_role (#38064).

Patch by Holger Just.

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

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