]> source.dussan.org Git - redmine.git/log
redmine.git
2 months agoUpdate locales (#16045).
Go MAEDA [Sun, 15 Sep 2024 06:33:12 +0000 (06:33 +0000)]
Update locales (#16045).

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

2 months agoAdd "Author / Previous assignee" group to assignee dropdown in issue form (#16045).
Go MAEDA [Sun, 15 Sep 2024 06:31:30 +0000 (06:31 +0000)]
Add "Author / Previous assignee" group to assignee dropdown in issue form (#16045).

Patch by Luka Lüdicke (user:dkd-luedicke), Mizuki ISHIKAWA (user:ishikawa999), and Go MAEDA (user:maeda).

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

2 months agoBrazilian Portuguese jstoolbar translation update (#41249).
Go MAEDA [Sat, 14 Sep 2024 06:07:33 +0000 (06:07 +0000)]
Brazilian Portuguese jstoolbar translation update (#41249).

Patch by Rodrigo Candido (user:rodrigo_candido).

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

2 months agoBrazilian Portuguese translation update (#41249).
Go MAEDA [Sat, 14 Sep 2024 06:06:31 +0000 (06:06 +0000)]
Brazilian Portuguese translation update (#41249).

Patch by Rodrigo Candido (user:rodrigo_candido).

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

2 months agoRevert r23046 (#32523).
Go MAEDA [Thu, 12 Sep 2024 01:55:53 +0000 (01:55 +0000)]
Revert r23046 (#32523).

The change broke filters.

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

2 months agoFixes the width of the message subject field (#41234).
Go MAEDA [Thu, 12 Sep 2024 01:12:36 +0000 (01:12 +0000)]
Fixes the width of the message subject field (#41234).

Patch by Katsuya HIDAKA (user:hidakatsuya).

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

2 months agoDo not show legacy icon-bookmarked-project in projects-index (#23980).
Marius Balteanu [Wed, 11 Sep 2024 19:35:13 +0000 (19:35 +0000)]
Do not show legacy icon-bookmarked-project in projects-index (#23980).

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

2 months agoFix test failure in IssuesSystemTest due to incorrect attachment count expectation...
Go MAEDA [Wed, 11 Sep 2024 08:13:32 +0000 (08:13 +0000)]
Fix test failure in IssuesSystemTest due to incorrect attachment count expectation (#41238).

Patch by Katsuya HIDAKA (user:hidakatsuya).

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

2 months agoFix NoMethodError in Issue#blocked? due to invalid issue_from_id in Issue#relations_f...
Go MAEDA [Tue, 10 Sep 2024 00:55:32 +0000 (00:55 +0000)]
Fix NoMethodError in Issue#blocked? due to invalid issue_from_id in Issue#relations_from (#8539).

Patch by Go MAEDA (user:maeda).

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

2 months agoRefactors toggle checkboxes link and switch to SVG icon (#23980).
Marius Balteanu [Mon, 9 Sep 2024 15:50:37 +0000 (15:50 +0000)]
Refactors toggle checkboxes link and switch to SVG icon (#23980).

Patch by Mizuki ISHIKAWA (user:ishikawa999)

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

2 months agoReplace `for` loops with `forEach` in `buildFilterRow` function (#32523).
Go MAEDA [Mon, 9 Sep 2024 14:31:23 +0000 (14:31 +0000)]
Replace `for` loops with `forEach` in `buildFilterRow` function (#32523).

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

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

2 months agoFix display issue of "h:mm" placeholder in estimated hours input field by expanding...
Go MAEDA [Mon, 9 Sep 2024 07:50:33 +0000 (07:50 +0000)]
Fix display issue of "h:mm" placeholder in estimated hours input field by expanding its width (#2464, #41231).

Patch by Mizuki ISHIKAWA (user:ishikawa999).

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

2 months agoFixes SVG icon padding on collapsible fieldset legend (#23980).
Marius Balteanu [Sun, 8 Sep 2024 21:27:53 +0000 (21:27 +0000)]
Fixes SVG icon padding on collapsible fieldset legend (#23980).

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

2 months agoFixes rubocop warning (#23980).
Marius Balteanu [Sun, 8 Sep 2024 20:55:22 +0000 (20:55 +0000)]
Fixes rubocop warning (#23980).

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

2 months agoReplaces icon-sorted-asc and icon-sorted-desc with SVG icons (#23980).
Marius Balteanu [Sun, 8 Sep 2024 17:25:49 +0000 (17:25 +0000)]
Replaces icon-sorted-asc and icon-sorted-desc with SVG icons (#23980).

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

2 months agoReplaces icon-expanded and icon-collapsed with SVG icons (#23980).
Marius Balteanu [Sun, 8 Sep 2024 17:25:02 +0000 (17:25 +0000)]
Replaces icon-expanded and icon-collapsed with SVG icons (#23980).

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

2 months agoReplaces not-ok icon from workflows without any transitions with 0 highlighted with...
Marius Balteanu [Sun, 8 Sep 2024 17:24:00 +0000 (17:24 +0000)]
Replaces not-ok icon from workflows without any transitions with 0 highlighted with red (#23980).

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

2 months agoReplaces various icons with SVG icons (#23980).
Marius Balteanu [Sun, 8 Sep 2024 17:23:06 +0000 (17:23 +0000)]
Replaces various icons with SVG icons (#23980).

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

2 months agoRemoves unused SVG icon--true icon (#23980).
Marius Balteanu [Sun, 8 Sep 2024 15:11:19 +0000 (15:11 +0000)]
Removes unused SVG icon--true icon (#23980).

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

2 months agoRemove unsed JS toolbar SVG icons from sprite (#23980).
Marius Balteanu [Sun, 8 Sep 2024 10:17:44 +0000 (10:17 +0000)]
Remove unsed JS toolbar SVG icons from sprite (#23980).

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

2 months agoAdd view hooks in My page (#41044).
Go MAEDA [Sun, 8 Sep 2024 07:14:50 +0000 (07:14 +0000)]
Add view hooks in My page (#41044).

Patch by Akihiro Sada (user:sada4).

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

2 months agoFixes typo in plugins icon ID (#23980).
Marius Balteanu [Sat, 7 Sep 2024 11:57:27 +0000 (11:57 +0000)]
Fixes typo in plugins icon ID (#23980).

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

2 months agoReplaces two more occurences of del and attachment icons (#23980).
Marius Balteanu [Sat, 7 Sep 2024 11:54:02 +0000 (11:54 +0000)]
Replaces two more occurences of del and attachment icons (#23980).

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

2 months agoReplaces background images for JS toolbar buttons with SVG icons except for inline...
Marius Balteanu [Sat, 7 Sep 2024 11:22:51 +0000 (11:22 +0000)]
Replaces background images for JS toolbar buttons with SVG icons except for inline code and preformattted code which are now text (#23980).

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

2 months agoRefactor Calendar#first_wday method for improved readability and efficiency (#41188).
Go MAEDA [Sat, 7 Sep 2024 06:34:35 +0000 (06:34 +0000)]
Refactor Calendar#first_wday method for improved readability and efficiency (#41188).

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

2 months agoFix RuboCop offense Layout/EndAlignment (#23980).
Go MAEDA [Sat, 7 Sep 2024 04:07:41 +0000 (04:07 +0000)]
Fix RuboCop offense Layout/EndAlignment (#23980).

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

2 months agoReplaces project, version and issue icons from Gantt view with SVG icons (#23980).
Marius Balteanu [Fri, 6 Sep 2024 20:48:16 +0000 (20:48 +0000)]
Replaces project, version and issue icons from Gantt view with SVG icons (#23980).

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

2 months agoReplaces icons in administration menu with SVG icons (#23980).
Marius Balteanu [Fri, 6 Sep 2024 20:40:27 +0000 (20:40 +0000)]
Replaces icons in administration menu with SVG icons (#23980).

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

2 months agoDisable RuboCop Rails/SkipsModelValidations (#39887).
Go MAEDA [Fri, 6 Sep 2024 05:24:25 +0000 (05:24 +0000)]
Disable RuboCop Rails/SkipsModelValidations (#39887).

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

2 months agoFix broken project list layout for projects scheduled for deletion (#41217).
Go MAEDA [Fri, 6 Sep 2024 02:57:40 +0000 (02:57 +0000)]
Fix broken project list layout for projects scheduled for deletion (#41217).

Patch by Liane Hampe (user:liane_hampe).

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

2 months agoUpdate Stylelint usage in doc/RUNNING_TESTS (#39111).
Go MAEDA [Fri, 6 Sep 2024 00:53:04 +0000 (00:53 +0000)]
Update Stylelint usage in doc/RUNNING_TESTS (#39111).

The path to stylesheets was updated to app/assets/stylesheets in r22696 due to the introduction of Propshaft.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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