Go MAEDA
4675febf31
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
2024-09-07 06:34:35 +00:00
Go MAEDA
9e28bebbfc
Fix RuboCop offense Layout/EndAlignment ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-07 04:07:41 +00:00
Marius Balteanu
a26d885a3a
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
2024-09-06 20:48:16 +00:00
Marius Balteanu
794fe6a7cd
Replaces icons in administration menu with SVG icons ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23028 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-06 20:40:27 +00:00
Go MAEDA
7ec182925e
Disable RuboCop Rails/SkipsModelValidations ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-06 05:24:25 +00:00
Go MAEDA
d46ca0e46f
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
2024-09-06 02:57:40 +00:00
Go MAEDA
d06e63cd96
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
2024-09-06 00:53:04 +00:00
Marius Balteanu
cc50cfc324
Replaces icons in calendar view with SVG icons ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23024 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-05 21:32:22 +00:00
Marius Balteanu
ed866a45c5
Fixed tests ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23023 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-05 20:56:39 +00:00
Marius Balteanu
e8114b6a57
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
2024-09-05 20:50:12 +00:00
Marius Balteanu
7aeebede74
Replaces more icons with SVG icongs ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23021 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-05 20:35:12 +00:00
Marius Balteanu
59323aecf2
Replaces activity events icons with SVG icons ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23020 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-05 20:08:00 +00:00
Marius Balteanu
4bc9306d4b
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
2024-09-05 20:07:31 +00:00
Marius Balteanu
fe5e8da96a
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
2024-09-05 20:06:57 +00:00
Marius Balteanu
31c4eddfbf
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
2024-09-05 20:06:04 +00:00
Go MAEDA
622bfcde9d
Refactor: Remove jQuery usage in inlineAutoComplete function ( #41096 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-05 06:06:58 +00:00
Go MAEDA
b7120cfe3a
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
2024-09-05 00:49:54 +00:00
Marius Balteanu
7841e933d4
Replaces news icon with SVG icon ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23012 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-03 05:35:14 +00:00
Marius Balteanu
f2639e9038
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
2024-09-02 20:48:40 +00:00
Marius Balteanu
bcb9a1cd33
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
2024-09-02 20:47:55 +00:00
Go MAEDA
d24d11a682
Fix RuboCop offense Style/StringChars ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23009 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-01 06:05:39 +00:00
Go MAEDA
ab4eac416a
"##" 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
2024-09-01 05:15:09 +00:00
Go MAEDA
e26ae4f5be
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
2024-09-01 04:25:23 +00:00
Go MAEDA
eee5d73ee1
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
2024-09-01 01:33:00 +00:00
Go MAEDA
2190a4b417
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
2024-09-01 01:02:38 +00:00
Go MAEDA
9f1059c13d
Update RuboCop to 1.65 ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23004 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-01 00:49:27 +00:00
Go MAEDA
ba30a2d35f
Regenerate .rubocop_todo.yml ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23003 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-01 00:46:53 +00:00
Go MAEDA
987a36281a
Fix RuboCop offense Style/EmptyLiteral ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23002 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-01 00:42:33 +00:00
Go MAEDA
2fe36c4128
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
2024-09-01 00:38:01 +00:00
Go MAEDA
8da72cb712
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
2024-08-31 09:26:50 +00:00
Marius Balteanu
1bf607edb9
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
2024-08-31 08:11:18 +00:00
Marius Balteanu
cafb610b7f
Fixes icon-multiple ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22998 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-31 08:10:48 +00:00
Marius Balteanu
565ed934a5
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
2024-08-31 07:48:19 +00:00
Marius Balteanu
6d7c7cda6e
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
2024-08-31 07:41:55 +00:00
Marius Balteanu
6beb892c5f
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
2024-08-31 07:34:57 +00:00
Marius Balteanu
93080bd1bb
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
2024-08-31 07:33:34 +00:00
Marius Balteanu
768511f7cb
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
2024-08-31 07:24:16 +00:00
Marius Balteanu
b2a9928c3a
Fixes rubocop offenses introduced by r22991 ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22992 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-30 15:59:59 +00:00
Marius Balteanu
dc68230e05
Fixes more tests.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-30 15:50:22 +00:00
Marius Balteanu
6b327b8852
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
2024-08-30 15:50:08 +00:00
Marius Balteanu
ee54f091cb
Fix failing tests by including IconsHelper in ApplicationHelper ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22989 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-30 06:25:08 +00:00
Marius Balteanu
ffce07e785
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
2024-08-29 21:46:40 +00:00
Go MAEDA
fdd90bab2b
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
2024-08-25 08:44:33 +00:00
Go MAEDA
fd83e97b13
Update RuboCop Rails to 2.26 ( #39889 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22986 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-25 05:09:37 +00:00
Go MAEDA
b1767ab637
Fix RuboCop offense Rails/PluralizationGrammar ( #39889 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-25 05:08:12 +00:00
Go MAEDA
9c2bcfea29
Fix untranslated string "OK" in repositories diff view ( #39778 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-24 05:54:29 +00:00
Go MAEDA
e874a53d01
Revert r22981: Incorrect issue number #39887 referenced
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22982 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-24 05:53:06 +00:00
Go MAEDA
546c1c0349
Fix untranslated string "OK" in repositories diff view ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-24 05:48:56 +00:00
Go MAEDA
6cc799ac29
Fix RuboCop offense Lint/SendWithMixinArgument ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22980 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-24 05:40:20 +00:00
Go MAEDA
1daa6937ac
Upgrade to Rails 7.2.1 ( #36320 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22979 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-23 06:59:58 +00:00