]> source.dussan.org Git - redmine.git/log
redmine.git
2 months agoFix RuboCop offense Style/EmptyLiteral (#39887).
Go MAEDA [Sun, 1 Sep 2024 00:42:33 +0000 (00:42 +0000)]
Fix RuboCop offense Style/EmptyLiteral (#39887).

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

2 months agoFix RuboCop offense Style/RedundantInterpolationUnfreeze (#39887).
Go MAEDA [Sun, 1 Sep 2024 00:38:01 +0000 (00:38 +0000)]
Fix RuboCop offense Style/RedundantInterpolationUnfreeze (#39887).

Since interpolated strings are always unfrozen in Ruby 3.0 and later, the use of `+""` is now redundant.

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

2 months agoFix precision issues in TimeEntry#hours calculation by returning Rational instead...
Go MAEDA [Sat, 31 Aug 2024 09:26:50 +0000 (09:26 +0000)]
Fix precision issues in TimeEntry#hours calculation by returning Rational instead of Float (#40914).

Patch by Go MAEDA (user:maeda).

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

2 months agoReplaces icon-email and icon-passwd icons with SVG icons (#23980).
Marius Balteanu [Sat, 31 Aug 2024 08:11:18 +0000 (08:11 +0000)]
Replaces icon-email and icon-passwd icons with SVG icons (#23980).

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

2 months agoFixes icon-multiple (#23980).
Marius Balteanu [Sat, 31 Aug 2024 08:10:48 +0000 (08:10 +0000)]
Fixes icon-multiple (#23980).

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

2 months agoDo not show icon-cancel backgrond icon if element contains a SVG element (#23980).
Marius Balteanu [Sat, 31 Aug 2024 07:48:19 +0000 (07:48 +0000)]
Do not show icon-cancel backgrond icon if element contains a SVG element (#23980).

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

2 months agoReplaces zoom-in icon with SVG icon in ssues report (#23980).
Marius Balteanu [Sat, 31 Aug 2024 07:41:55 +0000 (07:41 +0000)]
Replaces zoom-in icon with SVG icon in ssues report (#23980).

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

2 months agoDo not show fav/fav-off backgrond icon if element contains a SVG element (#23980)."
Marius Balteanu [Sat, 31 Aug 2024 07:34:57 +0000 (07:34 +0000)]
Do not show fav/fav-off backgrond icon if element contains a SVG element (#23980)."

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

2 months agoReplaces zoom-in and zoom-out icons with SVG icons in Gantt (#23980).
Marius Balteanu [Sat, 31 Aug 2024 07:33:34 +0000 (07:33 +0000)]
Replaces zoom-in and zoom-out icons with SVG icons in Gantt (#23980).

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

2 months agoRemoves extra spaces in icon classes introduced by r22988 (#23980).
Marius Balteanu [Sat, 31 Aug 2024 07:24:16 +0000 (07:24 +0000)]
Removes extra spaces in icon classes introduced by r22988 (#23980).

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

2 months agoFixes rubocop offenses introduced by r22991 (#23980).
Marius Balteanu [Fri, 30 Aug 2024 15:59:59 +0000 (15:59 +0000)]
Fixes rubocop offenses introduced by r22991 (#23980).

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

2 months agoFixes more tests.
Marius Balteanu [Fri, 30 Aug 2024 15:50:22 +0000 (15:50 +0000)]
Fixes more tests.

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

2 months agoAdd icon to attachment link only when icon variable is passed.
Marius Balteanu [Fri, 30 Aug 2024 15:50:08 +0000 (15:50 +0000)]
Add icon to attachment link only when icon variable is passed.

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

2 months agoFix failing tests by including IconsHelper in ApplicationHelper (#23980).
Marius Balteanu [Fri, 30 Aug 2024 06:25:08 +0000 (06:25 +0000)]
Fix failing tests by including IconsHelper in ApplicationHelper (#23980).

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

2 months agoStart working on replacing old icons with SVG icons (#23980):
Marius Balteanu [Thu, 29 Aug 2024 21:46:40 +0000 (21:46 +0000)]
Start working on replacing old icons with SVG icons (#23980):
* Introduces IconsHelper with methods to render SVG icon from a sprite file.
* Adds SVG sprite file with icons mainly from Font Awesome, but also from Material Design Icons and Fluent UI System Icons (based on the work made by Takashi Kato (@tohosaku)).
* Replaces specific icons with new SVG icons.
* Temporarily keep all old CSS icon definitions for backard compatibility.

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

2 months agoFix RuboCop offenses Style/NegatedIf and Style/NegatedWhile (#39887, #7770).
Go MAEDA [Sun, 25 Aug 2024 08:44:33 +0000 (08:44 +0000)]
Fix RuboCop offenses Style/NegatedIf and Style/NegatedWhile (#39887, #7770).

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

2 months agoUpdate RuboCop Rails to 2.26 (#39889).
Go MAEDA [Sun, 25 Aug 2024 05:09:37 +0000 (05:09 +0000)]
Update RuboCop Rails to 2.26 (#39889).

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

2 months agoFix RuboCop offense Rails/PluralizationGrammar (#39889).
Go MAEDA [Sun, 25 Aug 2024 05:08:12 +0000 (05:08 +0000)]
Fix RuboCop offense Rails/PluralizationGrammar (#39889).

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

3 months agoFix untranslated string "OK" in repositories diff view (#39778).
Go MAEDA [Sat, 24 Aug 2024 05:54:29 +0000 (05:54 +0000)]
Fix untranslated string "OK" in repositories diff view (#39778).

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

3 months agoRevert r22981: Incorrect issue number #39887 referenced
Go MAEDA [Sat, 24 Aug 2024 05:53:06 +0000 (05:53 +0000)]
Revert r22981: Incorrect issue number #39887 referenced

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

3 months agoFix untranslated string "OK" in repositories diff view (#39887).
Go MAEDA [Sat, 24 Aug 2024 05:48:56 +0000 (05:48 +0000)]
Fix untranslated string "OK" in repositories diff view (#39887).

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

3 months agoFix RuboCop offense Lint/SendWithMixinArgument (#39887).
Go MAEDA [Sat, 24 Aug 2024 05:40:20 +0000 (05:40 +0000)]
Fix RuboCop offense Lint/SendWithMixinArgument (#39887).

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

3 months agoUpgrade to Rails 7.2.1 (#36320).
Go MAEDA [Fri, 23 Aug 2024 06:59:58 +0000 (06:59 +0000)]
Upgrade to Rails 7.2.1 (#36320).

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

3 months agoFix RuboCop offense Style/ClassEqualityComparison (#39887).
Go MAEDA [Wed, 21 Aug 2024 13:45:13 +0000 (13:45 +0000)]
Fix RuboCop offense Style/ClassEqualityComparison (#39887).

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

3 months agoAdd placeholder "h:mm" to hours field for better user guidance (#2464).
Go MAEDA [Wed, 21 Aug 2024 08:40:04 +0000 (08:40 +0000)]
Add placeholder "h:mm" to hours field for better user guidance (#2464).

Patch by Go MAEDA (user:maeda).

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

3 months agoIntroduce `active?` method to Group via Principal model (#27510).
Go MAEDA [Wed, 21 Aug 2024 08:05:59 +0000 (08:05 +0000)]
Introduce `active?` method to Group via Principal model (#27510).

Patch by Go MAEDA (user:maeda).

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

3 months agoAdd filters for "Author's group" and "Author's role" to issues list (#7867).
Go MAEDA [Wed, 21 Aug 2024 07:47:27 +0000 (07:47 +0000)]
Add filters for "Author's group" and "Author's role" to issues list (#7867).

Patch by Takenori TAKAKI (user:takenory).

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

3 months agoSet Rubocop TargetRubyVersion to 3.1 (#38585).
Go MAEDA [Wed, 21 Aug 2024 00:58:24 +0000 (00:58 +0000)]
Set Rubocop TargetRubyVersion to 3.1 (#38585).

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

3 months agoUse anonymous block forwarding introduced in Ruby 3.1 (#38585).
Go MAEDA [Wed, 21 Aug 2024 00:46:15 +0000 (00:46 +0000)]
Use anonymous block forwarding introduced in Ruby 3.1 (#38585).

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

3 months agoUse Array#intersect? introduced in Ruby 3.1 (#38585).
Go MAEDA [Tue, 20 Aug 2024 23:40:58 +0000 (23:40 +0000)]
Use Array#intersect? introduced in Ruby 3.1 (#38585).

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

3 months agoDrop support for Ruby 3.0 due to Rails 7.2 update (#38585, #36320).
Go MAEDA [Tue, 20 Aug 2024 09:25:34 +0000 (09:25 +0000)]
Drop support for Ruby 3.0 due to Rails 7.2 update (#38585, #36320).

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

3 months agoUpdate RuboCop target Rails version to 7.2 (#36320).
Go MAEDA [Tue, 20 Aug 2024 09:15:56 +0000 (09:15 +0000)]
Update RuboCop target Rails version to 7.2 (#36320).

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

3 months agoFix "missing assertions" warning in test_search_should_be_case_and_accent_insensitive...
Go MAEDA [Tue, 20 Aug 2024 09:09:59 +0000 (09:09 +0000)]
Fix "missing assertions" warning in test_search_should_be_case_and_accent_insensitive_with_postgresql_and_noaccent_extension (#36320).

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

3 months agoFix RuboCop offense Style/UnlessElse (#36320).
Go MAEDA [Tue, 20 Aug 2024 09:04:05 +0000 (09:04 +0000)]
Fix RuboCop offense Style/UnlessElse (#36320).

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

3 months agoFix RuboCop offense Layout/EmptyLineAfterMagicComment (#36320).
Go MAEDA [Tue, 20 Aug 2024 08:41:19 +0000 (08:41 +0000)]
Fix RuboCop offense Layout/EmptyLineAfterMagicComment (#36320).

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

3 months agoFix RuboCop offense Layout/EmptyLinesAroundClassBody (#36320).
Go MAEDA [Tue, 20 Aug 2024 08:39:40 +0000 (08:39 +0000)]
Fix RuboCop offense Layout/EmptyLinesAroundClassBody (#36320).

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

3 months agoUpdates activerecord-sqlserver-adapter gem to 7.2.0 (#36320).
Marius Balteanu [Tue, 20 Aug 2024 06:09:05 +0000 (06:09 +0000)]
Updates activerecord-sqlserver-adapter gem to 7.2.0 (#36320).

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

3 months agoFix flacky test after Rails 7 update which fails occasionally because database record...
Marius Balteanu [Tue, 20 Aug 2024 06:06:27 +0000 (06:06 +0000)]
Fix flacky test after Rails 7 update which fails occasionally because database records are not ordered, so it is necessary to specify the sort order when testing (#36320).

Patch by Takashi Kato (user:tohosaku).

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

3 months agoEnsures desired test adapter is used in Active Job tests (#36320).
Marius Balteanu [Tue, 20 Aug 2024 06:04:41 +0000 (06:04 +0000)]
Ensures desired test adapter is used in Active Job tests (#36320).

Patch by Takashi Kato (user:tohosaku).

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

3 months agoUpdates test environment config to mark assertionless tests as failed (#36320).
Marius Balteanu [Tue, 20 Aug 2024 06:02:05 +0000 (06:02 +0000)]
Updates test environment config to mark assertionless tests as failed (#36320).

Patch by Takashi Kato (user:tohosaku).

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

3 months agoReplaces removed `ActiveSupport::Deprecation.warn` with custom deprecators (#41141...
Marius Balteanu [Tue, 20 Aug 2024 05:58:38 +0000 (05:58 +0000)]
Replaces removed `ActiveSupport::Deprecation.warn` with custom deprecators (#41141, #36320).

Patch by Takashi Kato (user:tohosaku).

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

3 months agoUpgrade to Rails 7.2.0 (#36320).
Marius Balteanu [Tue, 20 Aug 2024 05:54:30 +0000 (05:54 +0000)]
Upgrade to Rails 7.2.0 (#36320).

Patch by Takashi Kato (user:tohosaku).

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

3 months agoAdd support for quoted arguments containing commas in wiki macros (#40014).
Go MAEDA [Tue, 20 Aug 2024 02:13:21 +0000 (02:13 +0000)]
Add support for quoted arguments containing commas in wiki macros (#40014).

Patch by Yasu Saku (user:skys).

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

3 months agoAdd filters for "User's group" and "User's role" to Spent time list (#41053).
Go MAEDA [Fri, 16 Aug 2024 02:05:25 +0000 (02:05 +0000)]
Add filters for "User's group" and "User's role" to Spent time list (#41053).

Patch by Takenori TAKAKI (user:takenory).

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

3 months agoAdd missing assertion in Redmine::MenuManager::MapperTest#test_push_onto_root (#41142).
Go MAEDA [Mon, 12 Aug 2024 09:05:31 +0000 (09:05 +0000)]
Add missing assertion in Redmine::MenuManager::MapperTest#test_push_onto_root (#41142).

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

3 months agoFix RuboCop offense Lint/RedundantStringCoercion, one of the offenses enabled in...
Go MAEDA [Mon, 12 Aug 2024 08:51:02 +0000 (08:51 +0000)]
Fix RuboCop offense Lint/RedundantStringCoercion, one of the offenses enabled in rubocop-rails-omakase (#39887).

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

3 months agoFix RuboCop offense Layout/SpaceInsideParens, one of the offenses enabled in rubocop...
Go MAEDA [Mon, 12 Aug 2024 08:45:54 +0000 (08:45 +0000)]
Fix RuboCop offense Layout/SpaceInsideParens, one of the offenses enabled in rubocop-rails-omakase (#39887).

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

3 months agoFix RuboCop offense Layout/SpaceAfterComma, one of the offenses enabled in rubocop...
Go MAEDA [Mon, 12 Aug 2024 08:36:05 +0000 (08:36 +0000)]
Fix RuboCop offense Layout/SpaceAfterComma, one of the offenses enabled in rubocop-rails-omakase (#39887).

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

3 months agoRemove commented-out dead code and fix RuboCop offense Layout/LeadingCommentSpace...
Go MAEDA [Mon, 12 Aug 2024 08:11:12 +0000 (08:11 +0000)]
Remove commented-out dead code and fix RuboCop offense Layout/LeadingCommentSpace (#39887).

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

3 months agoFix RuboCop offense Layout/EmptyLinesAroundModuleBody, one of the offenses enabled...
Go MAEDA [Mon, 12 Aug 2024 07:51:45 +0000 (07:51 +0000)]
Fix RuboCop offense Layout/EmptyLinesAroundModuleBody, one of the offenses enabled in rubocop-rails-omakase (#39887).

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

3 months agoFix RuboCop offense Layout/EmptyLinesAroundMethodBody, one of the offenses enabled...
Go MAEDA [Mon, 12 Aug 2024 07:46:58 +0000 (07:46 +0000)]
Fix RuboCop offense Layout/EmptyLinesAroundMethodBody, one of the offenses enabled in rubocop-rails-omakase (#39887).

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

3 months agoFix RuboCop offense Layout/EmptyLinesAroundClassBody, one of the offenses enabled...
Go MAEDA [Mon, 12 Aug 2024 07:42:12 +0000 (07:42 +0000)]
Fix RuboCop offense Layout/EmptyLinesAroundClassBody, one of the offenses enabled in rubocop-rails-omakase (#39887).

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

3 months agoAdd test for r22947 (#41079).
Go MAEDA [Sun, 11 Aug 2024 08:33:21 +0000 (08:33 +0000)]
Add test for r22947 (#41079).

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

3 months agoFix incorrect sorting of users grouped by status in issue filters for administrators...
Go MAEDA [Sun, 11 Aug 2024 08:30:40 +0000 (08:30 +0000)]
Fix incorrect sorting of users grouped by status in issue filters for administrators (#41079).

Patch by Vladislav Moiseev (user:vladdy.moses).

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

3 months agoFix issue where minutes part of a time entry is displayed as 60 instead of being...
Go MAEDA [Thu, 8 Aug 2024 04:24:44 +0000 (04:24 +0000)]
Fix issue where minutes part of a time entry is displayed as 60 instead of being carried over (#36897).

Patch by Go MAEDA (user:maeda).

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

3 months agoAdd SSL enforcement and Inline job adapter examples to config/additional_environment...
Go MAEDA [Fri, 26 Jul 2024 10:00:41 +0000 (10:00 +0000)]
Add SSL enforcement and Inline job adapter examples to config/additional_environment.rb.example (#41011).

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

3 months agoAdd project identifier to List-Id header in notification emails (#13359).
Go MAEDA [Fri, 26 Jul 2024 03:19:22 +0000 (03:19 +0000)]
Add project identifier to List-Id header in notification emails (#13359).

Patch by Go MAEDA (user:maeda).

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

4 months agoDisable RuboCop Style/FormatString (#39887).
Go MAEDA [Mon, 22 Jul 2024 08:17:27 +0000 (08:17 +0000)]
Disable RuboCop Style/FormatString (#39887).

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

4 months agoTraditional Chinese translation update (#41045).
Go MAEDA [Mon, 22 Jul 2024 07:57:54 +0000 (07:57 +0000)]
Traditional Chinese translation update (#41045).

Patch by ChunChang (Nagaharu) Lo (user:shortie).

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

4 months agoFix RuboCop offense Layout/EmptyLineBetweenDefs (#39887).
Go MAEDA [Fri, 19 Jul 2024 08:47:05 +0000 (08:47 +0000)]
Fix RuboCop offense Layout/EmptyLineBetweenDefs (#39887).

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

4 months agoSet default age parameter for User.prune method to 30 days (#41023).
Go MAEDA [Fri, 19 Jul 2024 08:26:13 +0000 (08:26 +0000)]
Set default age parameter for User.prune method to 30 days (#41023).

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

4 months agoJapanese translation update (#41039).
Go MAEDA [Thu, 18 Jul 2024 06:27:42 +0000 (06:27 +0000)]
Japanese translation update (#41039).

Patch by Go MAEDA (user:maeda).

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

4 months agoUpdate locales (#39997).
Go MAEDA [Thu, 18 Jul 2024 05:25:41 +0000 (05:25 +0000)]
Update locales (#39997).

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

4 months agoAdd an option to render Integer and Float custom fields with thousands delimiters...
Go MAEDA [Thu, 18 Jul 2024 04:56:20 +0000 (04:56 +0000)]
Add an option to render Integer and Float custom fields with thousands delimiters (#39997).

Patch by Go MAEDA (user:maeda).

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

4 months agoUpdated `number.format.delimiter` values in locale files based on rails-i18n (#39997).
Go MAEDA [Thu, 18 Jul 2024 04:30:51 +0000 (04:30 +0000)]
Updated `number.format.delimiter` values in locale files based on rails-i18n (#39997).

* Referenced the `rails/locales/*.yml` files from the rails-i18n library.
* Updated the `number.format.delimiter` values for various locales in Redmine.
* Skipped updates where `number.format.separator` values differ between Redmine and rails-i18n.

Patch by Go MAEDA (user:maeda).

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

4 months agoRefactor ApplicationHelper#format_object to accept options as a hash (#39997).
Go MAEDA [Thu, 18 Jul 2024 04:26:49 +0000 (04:26 +0000)]
Refactor ApplicationHelper#format_object to accept options as a hash (#39997).

Patch by Go MAEDA (user:maeda).

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

4 months agoJapanese translation update (#41027).
Go MAEDA [Tue, 16 Jul 2024 15:14:41 +0000 (15:14 +0000)]
Japanese translation update (#41027).

Patch by Go MAEDA (user:maeda).

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

4 months agoUpdate users routing test to include assertions for bulk actions (delete, lock and...
Marius Balteanu [Sun, 14 Jul 2024 10:43:31 +0000 (10:43 +0000)]
Update users routing test to include assertions for bulk actions (delete, lock and unlock) (#40913).

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

4 months agoAdds test for bulk unlock users (#40913).
Marius Balteanu [Sun, 14 Jul 2024 10:35:51 +0000 (10:35 +0000)]
Adds test for bulk unlock users (#40913).

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

4 months agoFix tests for updated git repository (#40948).
Marius Balteanu [Sun, 14 Jul 2024 10:16:39 +0000 (10:16 +0000)]
Fix tests for updated git repository (#40948).

Patch by Holger Just (@hjust).

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

4 months agoUpdates broken git repository archive introduced in r22910 (#40948).
Marius Balteanu [Sun, 14 Jul 2024 10:14:59 +0000 (10:14 +0000)]
Updates broken git repository archive introduced in r22910 (#40948).

Patch by Holger Just (@hjust).

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

4 months agoUpdate locales (#36197).
Go MAEDA [Sun, 14 Jul 2024 01:52:53 +0000 (01:52 +0000)]
Update locales (#36197).

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

4 months agoAdd configurable setting for copying attachments when copying an issue (#36197).
Go MAEDA [Sun, 14 Jul 2024 01:49:53 +0000 (01:49 +0000)]
Add configurable setting for copying attachments when copying an issue (#36197).

Patch by Yuichi HARADA (user:yui.har).

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

4 months agoAdd bulk unlock to user list context menu (#40913).
Marius Balteanu [Sat, 13 Jul 2024 10:21:49 +0000 (10:21 +0000)]
Add bulk unlock to user list context menu (#40913).

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

4 months agoIncreases number of revisions and fileschanges in test/unit/repository_git_test.rb...
Marius Balteanu [Sat, 13 Jul 2024 09:34:40 +0000 (09:34 +0000)]
Increases number of revisions and fileschanges in test/unit/repository_git_test.rb (#40948).

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

4 months agoFix RuboCop offense Style/CollectionCompact (#39887).
Go MAEDA [Thu, 11 Jul 2024 09:35:32 +0000 (09:35 +0000)]
Fix RuboCop offense Style/CollectionCompact (#39887).

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

4 months agoUpdate RuboCop to 1.65 (#39887).
Go MAEDA [Thu, 11 Jul 2024 08:58:21 +0000 (08:58 +0000)]
Update RuboCop to 1.65 (#39887).

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

4 months agoFix RuboCop offense Style/MapCompactWithConditionalBlock (#39887).
Go MAEDA [Thu, 11 Jul 2024 08:48:35 +0000 (08:48 +0000)]
Fix RuboCop offense Style/MapCompactWithConditionalBlock (#39887).

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

4 months agoFixes rubocop offenses (#40946).
Marius Balteanu [Mon, 8 Jul 2024 21:56:03 +0000 (21:56 +0000)]
Fixes rubocop offenses (#40946).

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

4 months agoIntroduces @valid_watcher?@ check on watchables (@40946).
Marius Balteanu [Mon, 8 Jul 2024 21:33:50 +0000 (21:33 +0000)]
Introduces @valid_watcher?@ check on watchables (@40946).

Patch by Jens Krämer (@jkraemer).

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

4 months agoPermission check based on the type of @watchables@ (#40946).
Marius Balteanu [Mon, 8 Jul 2024 21:32:15 +0000 (21:32 +0000)]
Permission check based on the type of @watchables@ (#40946).

Patch by Jens Krämer (@jkraemer).

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

4 months agoCheck view watchers permission when copying issues (#40946).
Marius Balteanu [Mon, 8 Jul 2024 21:30:36 +0000 (21:30 +0000)]
Check view watchers permission when copying issues (#40946).

Patch by Jens Kraemer (@jkraemer).

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

4 months agoImprove watcher list permissions check to explicitly require @view_issue_watchers...
Marius Balteanu [Mon, 8 Jul 2024 21:28:24 +0000 (21:28 +0000)]
Improve watcher list permissions check to explicitly require @view_issue_watchers@ permission (#40946).

Patch by Felix Schäfer (@felix).

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

4 months agoUpdate all locales for @notice_invalid_watcher@ that are using the english translatio...
Marius Balteanu [Mon, 8 Jul 2024 20:52:03 +0000 (20:52 +0000)]
Update all locales for @notice_invalid_watcher@ that are using the english translation (#40950).

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

4 months agoImprove english translation for @notice_invalid_watcher@ (#40950).
Marius Balteanu [Mon, 8 Jul 2024 20:44:00 +0000 (20:44 +0000)]
Improve english translation for @notice_invalid_watcher@ (#40950).

Patch by Holger Just (@hjust).

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

4 months agoTruncate git authors to 255 characters (#40948).
Marius Balteanu [Mon, 8 Jul 2024 20:35:16 +0000 (20:35 +0000)]
Truncate git authors to 255 characters (#40948).

The committer column in the database allows max 255 characters. With longer authors, this would result in a schema violation. By manually truncating the author field, we can avoid this.

Patch by Holger Just (@hjust).

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

4 months agoGalician translation update (#40940).
Go MAEDA [Mon, 8 Jul 2024 02:06:45 +0000 (02:06 +0000)]
Galician translation update (#40940).

Patch by Guillermo ML (user:guillermoml).

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

4 months agoDisable RuboCop Style/PerlBackrefs (#39887).
Go MAEDA [Sat, 6 Jul 2024 08:04:22 +0000 (08:04 +0000)]
Disable RuboCop Style/PerlBackrefs (#39887).

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

4 months agoAdd test for r22906 (#40716).
Go MAEDA [Sat, 6 Jul 2024 07:46:47 +0000 (07:46 +0000)]
Add test for r22906 (#40716).

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

4 months agoPrevent issue links with double hash (##nnn) from being recognized as ATX headings...
Go MAEDA [Sat, 6 Jul 2024 07:44:05 +0000 (07:44 +0000)]
Prevent issue links with double hash (##nnn) from being recognized as ATX headings (#40716).

Patch by daijiro fukuda (user:daipom).

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

4 months agoFix RuboCop offense Style/RedundantRegexpEscape in lib/redmine/wiki_formatting/sectio...
Go MAEDA [Sat, 6 Jul 2024 07:35:10 +0000 (07:35 +0000)]
Fix RuboCop offense Style/RedundantRegexpEscape in lib/redmine/wiki_formatting/section_helper.rb (#40716).

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

4 months agoSpent hours ignoring "Time Span Format" Setting on several pages (#40924).
Go MAEDA [Sun, 30 Jun 2024 14:37:12 +0000 (14:37 +0000)]
Spent hours ignoring "Time Span Format" Setting on several pages (#40924).

Patch by Go MAEDA (@maeda).

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

4 months agoDisable custom query links while loading to prevent multiple requests (#40901).
Go MAEDA [Thu, 27 Jun 2024 08:41:45 +0000 (08:41 +0000)]
Disable custom query links while loading to prevent multiple requests (#40901).

Patch by Mizuki ISHIKAWA (@ishikawa999).

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

4 months agoExpose project updated_on column and filter in project query (#40829).
Go MAEDA [Thu, 27 Jun 2024 04:46:27 +0000 (04:46 +0000)]
Expose project updated_on column and filter in project query (#40829).

Patch by Felix Schäfer (@felix).

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

4 months agoAdd bulk lock feature to user list context menu (#40913).
Marius Balteanu [Tue, 25 Jun 2024 19:03:36 +0000 (19:03 +0000)]
Add bulk lock feature to user list context menu (#40913).

Patch by Mizuki ISHIKAWA (@ishikawa999).

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

5 months agoRemove unused "label_browse" from all locales (#40882).
Go MAEDA [Tue, 25 Jun 2024 05:52:23 +0000 (05:52 +0000)]
Remove unused "label_browse" from all locales (#40882).

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

5 months agoAdd test for r22895 (#40860).
Go MAEDA [Tue, 25 Jun 2024 02:15:35 +0000 (02:15 +0000)]
Add test for r22895 (#40860).

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

5 months agoCreating a new issue fails with an internal error if no issue priorities are defined...
Go MAEDA [Tue, 25 Jun 2024 02:09:40 +0000 (02:09 +0000)]
Creating a new issue fails with an internal error if no issue priorities are defined (#40860).

Patch by Holger Just (@hjust).

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

5 months agoJapanese translation update (#40880).
Go MAEDA [Sun, 23 Jun 2024 01:06:25 +0000 (01:06 +0000)]
Japanese translation update (#40880).

Patch by Go MAEDA.

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

5 months agoUpdate locales (#37279).
Go MAEDA [Sat, 22 Jun 2024 07:35:47 +0000 (07:35 +0000)]
Update locales (#37279).

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