Go MAEDA
2a2c12f5b0
Fix test failures due to custom_fields deletion leaving orphaned custom_values in IssueNestedSetConcurrencyTest ( #41881 ).
...
Patch by Kenta Kumojima (user:kumojima).
git-svn-id: https://svn.redmine.org/redmine/trunk@23319 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-28 10:11:49 +00:00
Marius Balteanu
db0ac01d3d
Fixes project query scope that does not take into account limit and offset options ( #41791 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23300 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-23 11:17:54 +00:00
Marius Balteanu
7579df28c0
Adds missing fixture to mailer_test ( #41795 ).
...
Patch by Vincent Robert (user:Nanego).
git-svn-id: https://svn.redmine.org/redmine/trunk@23299 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-22 07:58:02 +00:00
Marius Balteanu
a6f1be6270
Update Rouge gem version to 4.5 ( #41728 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23252 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-11 19:58:42 +00:00
Marius Balteanu
a5d263dba8
Updates commonmark gem version to 1.1.5 which switches from libcmark-gfm to comrak/Rust ( #40197 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23247 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-11 18:28:41 +00:00
Go MAEDA
0abf7105da
Fix random test failures due to missing fixtures ( #41623 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23246 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-11 01:46:04 +00:00
Marius Balteanu
3ff8031094
Fix RuboCop Layout/SpaceAfterComma in test/unit/lib/redmine/menu_manager/menu_helper_test.rb.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23242 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-10 23:10:26 +00:00
Marius Balteanu
d8fa577550
Allows plugins to add custom SVG icons for menu items added by the plugin ( #23980 ).
...
Patch by Takenori TAKAKI (user:takenory).
git-svn-id: https://svn.redmine.org/redmine/trunk@23234 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-10 15:54:34 +00:00
Marius Balteanu
39401e4b95
Reverts r23190-r23187 because the CI build fails with error "ERROR: Failed to build gem native extension" ( #40197 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 18:34:06 +00:00
Marius Balteanu
da87320ebc
Updates commonmark gem version to 1.1.5 which switches from libcmark-gfm to comrak/Rust.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 12:02:39 +00:00
Marius Balteanu
bb0e2114a0
Adds test for #41678 ( #23954 ).
...
Patch by Mizuki ISHIKAWA (user:ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@23186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 11:53:53 +00:00
Marius Balteanu
826980bc40
Upgrades propshaft to 1.1.0 ( #39111 ).
...
Patch by Takashi Kato (user:tohosaku).
git-svn-id: https://svn.redmine.org/redmine/trunk@23174 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-31 08:17:01 +00:00
Go MAEDA
a253cd1636
Fix: updated_by_id in Journal points to a deleted user instead of an anonymous user ( #41572 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-29 01:02:04 +00:00
Go MAEDA
2e4c0df758
Fix tests for the partial quoting feature that randomly fail ( #41294 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23162 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-26 02:29:09 +00:00
Go MAEDA
55c7a3177f
Fix missing deletion of custom field attachments upon issue deletion ( #38966 ).
...
Patch by Takenori TAKAKI (user:takenory).
git-svn-id: https://svn.redmine.org/redmine/trunk@23161 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-26 02:14:09 +00:00
Go MAEDA
5407fea873
Drop deprecated Redcarpet based Markdown formatter ( #40149 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-20 07:51:38 +00:00
Go MAEDA
1d46be8b0f
Fix CSV import file encoding auto-detection failure with multibyte characters ( #41464 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23150 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-20 06:47:28 +00:00
Marius Balteanu
30ce29456f
Fixes tests after r23104 ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23114 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-11 06:48:26 +00:00
Go MAEDA
8ca5d2fa1a
Partial quoting feature for Issues and Forums ( #41294 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23107 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-09 21:51:52 +00:00
Go MAEDA
55b0664b4c
Fix test to use correct IANA timezone name "Asia/Hong_Kong" instead of deprecated "Hongkong" ( #41313 ).
...
Patch by Soren Stoutner (user:sorenstoutner).
git-svn-id: https://svn.redmine.org/redmine/trunk@23079 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-25 21:31:24 +00:00
Go MAEDA
94d9a2337b
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
2024-09-15 06:31:30 +00:00
Go MAEDA
68121841b5
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
2024-09-10 00:55:32 +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
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
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
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
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
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
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
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
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
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
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
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
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
20dcd39f42
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
2024-07-13 09:34:40 +00:00
Go MAEDA
32b5992c22
Fix RuboCop offense Style/MapCompactWithConditionalBlock ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22919 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-11 08:48:35 +00:00