]> source.dussan.org Git - redmine.git/log
redmine.git
21 months agoUpdate RuboCop to 1.44 (#36919).
Go MAEDA [Wed, 25 Jan 2023 03:10:14 +0000 (03:10 +0000)]
Update RuboCop to 1.44 (#36919).

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

21 months agoFix RuboCop offense Style/MethodCallWithoutArgsParentheses (#36919).
Go MAEDA [Wed, 25 Jan 2023 02:14:28 +0000 (02:14 +0000)]
Fix RuboCop offense Style/MethodCallWithoutArgsParentheses (#36919).

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

21 months agoFix the migration version of 20221214173537_add_select_project_publicity_permission...
Go MAEDA [Wed, 25 Jan 2023 01:57:13 +0000 (01:57 +0000)]
Fix the migration version of 20221214173537_add_select_project_publicity_permission.rb (#38048, #38210).

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

22 months agoJapanese translation update (#38208).
Go MAEDA [Mon, 23 Jan 2023 09:25:37 +0000 (09:25 +0000)]
Japanese translation update (#38208).

Patch by  Go MAEDA.

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

22 months agoFix robots.txt to disallow issue lists with a sort or query_id parameter in any posit...
Go MAEDA [Mon, 23 Jan 2023 08:08:21 +0000 (08:08 +0000)]
Fix robots.txt to disallow issue lists with a sort or query_id parameter in any position, not just first (#38201).

Patch by Felix Schäfer.

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

22 months agoImprove index usability for Project#project_condition (#38198).
Go MAEDA [Sat, 21 Jan 2023 08:50:12 +0000 (08:50 +0000)]
Improve index usability for Project#project_condition (#38198).

Patch by Holger Just.

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

22 months agoAvoid double-render error with ApplicationController#find_optional_project (#38063).
Go MAEDA [Fri, 20 Jan 2023 03:31:41 +0000 (03:31 +0000)]
Avoid double-render error with ApplicationController#find_optional_project (#38063).

Patch by Holger Just.

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

22 months agoEnsure that the base permission is set for Role#permissions_tracker? and related...
Go MAEDA [Thu, 19 Jan 2023 11:54:03 +0000 (11:54 +0000)]
Ensure that the base permission is set for Role#permissions_tracker? and related (#38070).

Patch by Holger Just.

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

22 months agoTraditional Chinese translation (#38192).
Go MAEDA [Wed, 18 Jan 2023 13:34:54 +0000 (13:34 +0000)]
Traditional Chinese translation (#38192).

Patch by ChunChang Lo.

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

22 months agoUpdate Rails to 6.1.7.1 (#38191).
Go MAEDA [Wed, 18 Jan 2023 01:32:59 +0000 (01:32 +0000)]
Update Rails to 6.1.7.1 (#38191).

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

22 months agoUpdate SQLite3 gem to 1.6 (#38187).
Go MAEDA [Tue, 17 Jan 2023 02:52:11 +0000 (02:52 +0000)]
Update SQLite3 gem to 1.6 (#38187).

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

22 months agoUpdate Rouge to 4.0 (#37236).
Go MAEDA [Tue, 17 Jan 2023 02:07:53 +0000 (02:07 +0000)]
Update Rouge to 4.0 (#37236).

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

22 months agoSet RuboCop TargetRubyVersion to 2.7 (#38134).
Go MAEDA [Tue, 17 Jan 2023 01:46:29 +0000 (01:46 +0000)]
Set RuboCop TargetRubyVersion to 2.7 (#38134).

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

22 months agoRuby 2.7: Fix RuboCop offense Performance/BindCall (#38134).
Go MAEDA [Tue, 17 Jan 2023 01:40:01 +0000 (01:40 +0000)]
Ruby 2.7: Fix RuboCop offense Performance/BindCall (#38134).

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

22 months agoRuby 2.7: Fix RuboCop offense Performance/MapCompact (#38134).
Go MAEDA [Tue, 17 Jan 2023 01:38:27 +0000 (01:38 +0000)]
Ruby 2.7: Fix RuboCop offense Performance/MapCompact (#38134).

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

22 months agoRuby 2.7: Fix RuboCop offense Style/ArgumentsForwarding (#38134).
Go MAEDA [Tue, 17 Jan 2023 01:31:06 +0000 (01:31 +0000)]
Ruby 2.7: Fix RuboCop offense Style/ArgumentsForwarding (#38134).

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

22 months agoDrop Ruby 2.6 support (#38134).
Go MAEDA [Tue, 17 Jan 2023 00:23:48 +0000 (00:23 +0000)]
Drop Ruby 2.6 support (#38134).

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

22 months agoUse `require_relative` instead of `File.dirname(__FILE__) + ...` (#38093).
Go MAEDA [Mon, 16 Jan 2023 21:55:30 +0000 (21:55 +0000)]
Use `require_relative` instead of `File.dirname(__FILE__) + ...` (#38093).

Patch by Go MAEDA.

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

22 months agoTurkish translation update (#38092).
Go MAEDA [Mon, 16 Jan 2023 13:58:59 +0000 (13:58 +0000)]
Turkish translation update (#38092).

Patch by Ömer Taha ÖZTOP.

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

22 months agoReverts r22049.
Go MAEDA [Mon, 16 Jan 2023 13:57:17 +0000 (13:57 +0000)]
Reverts r22049.

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

22 months agoTurkish translation update (#38185).
Go MAEDA [Mon, 16 Jan 2023 13:54:43 +0000 (13:54 +0000)]
Turkish translation update (#38185).

Patch by Ömer Taha ÖZTOP.

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

22 months agoGalician translation update (#38171).
Go MAEDA [Mon, 16 Jan 2023 09:01:56 +0000 (09:01 +0000)]
Galician translation update (#38171).

Patch by Guillermo ML.

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

22 months agoRemove code no longer necessary due to r21823 (#37674).
Go MAEDA [Mon, 16 Jan 2023 08:46:18 +0000 (08:46 +0000)]
Remove code no longer necessary due to r21823 (#37674).

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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

22 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

23 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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