]> source.dussan.org Git - redmine.git/log
redmine.git
5 weeks agoReplaces icons in calendar view with SVG icons (#23980).
Marius Balteanu [Thu, 5 Sep 2024 21:32:22 +0000 (21:32 +0000)]
Replaces icons in calendar view with SVG icons (#23980).

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

5 weeks agoFixed tests (#23980).
Marius Balteanu [Thu, 5 Sep 2024 20:56:39 +0000 (20:56 +0000)]
Fixed tests (#23980).

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

5 weeks agoReplaces Users and Projects context menu icons with SVG icons (#23980).
Marius Balteanu [Thu, 5 Sep 2024 20:50:12 +0000 (20:50 +0000)]
Replaces Users and Projects context menu icons with SVG icons (#23980).

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

5 weeks agoReplaces more icons with SVG icongs (#23980).
Marius Balteanu [Thu, 5 Sep 2024 20:35:12 +0000 (20:35 +0000)]
Replaces more icons with SVG icongs (#23980).

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

5 weeks agoReplaces activity events icons with SVG icons (#23980).
Marius Balteanu [Thu, 5 Sep 2024 20:08:00 +0000 (20:08 +0000)]
Replaces activity events icons with SVG icons (#23980).

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

5 weeks agoReplaces edit icons in version page with SVG icons (#23980).
Marius Balteanu [Thu, 5 Sep 2024 20:07:31 +0000 (20:07 +0000)]
Replaces edit icons in version page with SVG icons (#23980).

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

5 weeks agoReplaces icon-package in Versions index with SVG icon (#23980).
Marius Balteanu [Thu, 5 Sep 2024 20:06:57 +0000 (20:06 +0000)]
Replaces icon-package in Versions index with SVG icon (#23980).

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

5 weeks agoReplaces icons from projects listing and project overview tab with SVG icons (#23980).
Marius Balteanu [Thu, 5 Sep 2024 20:06:04 +0000 (20:06 +0000)]
Replaces icons from projects listing and project overview tab with SVG icons (#23980).

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

5 weeks agoRefactor: Remove jQuery usage in inlineAutoComplete function (#41096).
Go MAEDA [Thu, 5 Sep 2024 06:06:58 +0000 (06:06 +0000)]
Refactor: Remove jQuery usage in inlineAutoComplete function (#41096).

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

5 weeks agoRemove unnecessary rubocop:disable directive for Style/EmptyLiteral (#39887).
Go MAEDA [Thu, 5 Sep 2024 00:49:54 +0000 (00:49 +0000)]
Remove unnecessary rubocop:disable directive for Style/EmptyLiteral (#39887).

RuboCop’s Style/EmptyLiteral false positive for `Hash.new([])` was resolved in RuboCop 1.66.1. This commit updates the RuboCop version to 1.66.1 and removes the now-unnecessary `rubocop:disable` directives.

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

6 weeks agoReplaces news icon with SVG icon (#23980).
Marius Balteanu [Tue, 3 Sep 2024 05:35:14 +0000 (05:35 +0000)]
Replaces news icon with SVG icon (#23980).

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

6 weeks agoReplace icons for files in repository view with SVG icons (#23980).
Marius Balteanu [Mon, 2 Sep 2024 20:48:40 +0000 (20:48 +0000)]
Replace icons for files in repository view with SVG icons (#23980).

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

6 weeks agoReplaces icon-folder and icon-folder-open in repository view with SVG icons (#23980).
Marius Balteanu [Mon, 2 Sep 2024 20:47:55 +0000 (20:47 +0000)]
Replaces icon-folder and icon-folder-open in repository view with SVG icons (#23980).

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

6 weeks agoFix RuboCop offense Style/StringChars (#39887).
Go MAEDA [Sun, 1 Sep 2024 06:05:39 +0000 (06:05 +0000)]
Fix RuboCop offense Style/StringChars (#39887).

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

6 weeks ago"##" syntax auto complete does not work (#41096).
Go MAEDA [Sun, 1 Sep 2024 05:15:09 +0000 (05:15 +0000)]
"##" syntax auto complete does not work (#41096).

Patch by Katsuya HIDAKA (user:hidakatsuya).

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

6 weeks agoSet UTF-8 as the default CSV export encoding (#41202).
Go MAEDA [Sun, 1 Sep 2024 04:25:23 +0000 (04:25 +0000)]
Set UTF-8 as the default CSV export encoding (#41202).

Patch by Go MAEDA (user:maeda).

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

6 weeks agoRevert r23002 (#39887).
Go MAEDA [Sun, 1 Sep 2024 01:33:00 +0000 (01:33 +0000)]
Revert r23002 (#39887).

The change caused a test failure:

```
Failure:
UserTest#test_accessing_projects_by_role_with_no_projects_should_return_an_empty_array [test/unit/user_test.rb:1048]:
Expected: []
  Actual: nil
```

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

6 weeks agoDisable RuboCop Lint/InterpolationCheck for USER_FORMATS in app/models/user.rb (...
Go MAEDA [Sun, 1 Sep 2024 01:02:38 +0000 (01:02 +0000)]
Disable RuboCop Lint/InterpolationCheck for USER_FORMATS in app/models/user.rb (#39887).

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

6 weeks agoUpdate RuboCop to 1.65 (#39887).
Go MAEDA [Sun, 1 Sep 2024 00:49:27 +0000 (00:49 +0000)]
Update RuboCop to 1.65 (#39887).

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

6 weeks agoRegenerate .rubocop_todo.yml (#39887).
Go MAEDA [Sun, 1 Sep 2024 00:46:53 +0000 (00:46 +0000)]
Regenerate .rubocop_todo.yml (#39887).

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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

6 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

8 weeks 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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