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
Go MAEDA
65597ec1cf
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
2024-08-16 02:05:25 +00:00
Go MAEDA
d7db0e4790
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
2024-08-12 09:05:31 +00:00
Go MAEDA
095cc967cc
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
2024-08-12 08:51:02 +00:00
Go MAEDA
b3d1deeece
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
2024-08-12 08:45:54 +00:00
Go MAEDA
6e21ae7209
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
2024-08-12 08:36:05 +00:00
Go MAEDA
b224d878c3
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
2024-08-12 08:11:12 +00:00
Go MAEDA
79873291d7
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
2024-08-12 07:51:45 +00:00
Go MAEDA
74e2262efb
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
2024-08-12 07:46:58 +00:00
Go MAEDA
de76bb3a4a
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
2024-08-12 07:42:12 +00:00
Go MAEDA
0c28b0974a
Add test for r22947 ( #41079 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-11 08:33:21 +00:00
Go MAEDA
174c237c70
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
2024-08-11 08:30:40 +00:00
Go MAEDA
c96ef014dd
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
2024-08-08 04:24:44 +00:00
Go MAEDA
2bc9048bb1
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
2024-07-26 10:00:41 +00:00
Go MAEDA
fded8025d5
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
2024-07-26 03:19:22 +00:00
Go MAEDA
acd1e2def8
Disable RuboCop Style/FormatString ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22943 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-22 08:17:27 +00:00
Go MAEDA
789a5cd377
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
2024-07-22 07:57:54 +00:00
Go MAEDA
0ddcb9afff
Fix RuboCop offense Layout/EmptyLineBetweenDefs ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-19 08:47:05 +00:00
Go MAEDA
0247ebb394
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
2024-07-19 08:26:13 +00:00
Go MAEDA
8a6a7e4edf
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
2024-07-18 06:27:42 +00:00
Go MAEDA
f812055a18
Update locales ( #39997 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-18 05:25:41 +00:00
Go MAEDA
ee31bf8fe9
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
2024-07-18 04:56:20 +00:00
Go MAEDA
b374db2fdb
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
2024-07-18 04:30:51 +00:00
Go MAEDA
4879302930
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
2024-07-18 04:26:49 +00:00
Go MAEDA
2e0b20de8f
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
2024-07-16 15:14:41 +00:00
Marius Balteanu
a08f31ca28
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
2024-07-14 10:43:31 +00:00
Marius Balteanu
42b01c19ca
Adds test for bulk unlock users ( #40913 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22930 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-14 10:35:51 +00:00
Marius Balteanu
d22c55fafa
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
2024-07-14 10:16:39 +00:00
Marius Balteanu
ac16961a97
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
2024-07-14 10:14:59 +00:00
Go MAEDA
770d1c864d
Update locales ( #36197 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22927 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-14 01:52:53 +00:00
Go MAEDA
6c8b04d6d5
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
2024-07-14 01:49:53 +00:00