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
Go MAEDA
c2eb20e434
Fix RuboCop offense Style/ClassEqualityComparison ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-21 13:45:13 +00:00
Go MAEDA
7cc62836b5
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
2024-08-21 08:40:04 +00:00
Go MAEDA
9cc3542fa1
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
2024-08-21 08:05:59 +00:00
Go MAEDA
643b4ebb08
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
2024-08-21 07:47:27 +00:00
Go MAEDA
8c148bf6d0
Set Rubocop TargetRubyVersion to 3.1 ( #38585 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22974 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-21 00:58:24 +00:00
Go MAEDA
93645a279e
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
2024-08-21 00:46:15 +00:00
Go MAEDA
c069ea3a24
Use Array#intersect? introduced in Ruby 3.1 ( #38585 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-20 23:40:58 +00:00
Go MAEDA
86d262d5c5
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
2024-08-20 09:25:34 +00:00
Go MAEDA
218b1ecae5
Update RuboCop target Rails version to 7.2 ( #36320 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-20 09:15:56 +00:00
Go MAEDA
7545c82fd3
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
2024-08-20 09:09:59 +00:00
Go MAEDA
e2daacfa34
Fix RuboCop offense Style/UnlessElse ( #36320 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22968 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-20 09:04:05 +00:00
Go MAEDA
f1d4201311
Fix RuboCop offense Layout/EmptyLineAfterMagicComment ( #36320 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22967 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-20 08:41:19 +00:00
Go MAEDA
9b1cb0eea3
Fix RuboCop offense Layout/EmptyLinesAroundClassBody ( #36320 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22966 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-20 08:39:40 +00:00
Marius Balteanu
7f3b5e5634
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
2024-08-20 06:09:05 +00:00
Marius Balteanu
218218b783
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
2024-08-20 06:06:27 +00:00
Marius Balteanu
bfcddc2692
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
2024-08-20 06:04:41 +00:00
Marius Balteanu
3ac9d0d75e
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
2024-08-20 06:02:05 +00:00
Marius Balteanu
9d50075279
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
2024-08-20 05:58:38 +00:00
Marius Balteanu
fb37d2e4fa
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
2024-08-20 05:54:30 +00:00
Go MAEDA
578360fdab
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
2024-08-20 02:13:21 +00:00