Marius Balteanu
77c6556ea7
Adds missing files ( #42352 ).
...
Patch by Holger Just (user:hjust).
git-svn-id: https://svn.redmine.org/redmine/trunk@23532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-10 00:32:13 +00:00
Marius Balteanu
1f46b0b236
Extract project query for admins to a separate ProjectAdminQuery model ( #42352 ).
...
Patch by Holger Just (user:hjust).
git-svn-id: https://svn.redmine.org/redmine/trunk@23531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-09 23:25:12 +00:00
Marius Balteanu
3c5f0af44d
Ensure that a UserQuery can only be viewed or edited by admins ( #42352 ).
...
Patch by Holger Just (user:hjust).
git-svn-id: https://svn.redmine.org/redmine/trunk@23530 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-09 23:22:46 +00:00
Marius Balteanu
028125e0f1
Fixes typo in query name fixture.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-07 07:37:14 +00:00
Marius Balteanu
4fd86cc7c1
Fixes the request method filtering in sudo mode ( #42194 ),
...
Patch by Holger Just (user:hjust),
git-svn-id: https://svn.redmine.org/redmine/trunk@23520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-06 21:45:46 +00:00
Marius Balteanu
40b6dce2de
Correctly handle exception messages in macros ( #42326 ).
...
Patch by Holger Just (user:hjust).
git-svn-id: https://svn.redmine.org/redmine/trunk@23519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-06 21:42:27 +00:00
Go MAEDA
7ff2e37c46
Update Mercurial repository support to be compatible with Python 3 and remove support for Mercurial < 5.1 ( #33784 ).
...
Patch by Harald Klimach (user:haraldkl), Olivier Houdas (user:olivier.houdas@geoconcept.com), Jakob Haufe (user:sur5r), and Sean Baggaley (user:NotTheActualSean).
git-svn-id: https://svn.redmine.org/redmine/trunk@23513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-02-16 08:43:24 +00:00
Go MAEDA
bc90e0670d
Add missing assertions to InlineAutocompleteTest ( #42200 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-02-11 03:24:48 +00:00
Go MAEDA
fb5c2395b2
Fix random failures in InlineAutocompleteTest due to interference from requests in the previous test ( #42200 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-02-11 03:22:04 +00:00
Go MAEDA
9aa00d6f16
Fix random failures in IssuesTest#test_bulk_copy due to StaleElementReferenceError ( #42244 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-02-11 02:58:22 +00:00
Go MAEDA
005f7d2166
Fix: Float custom values with ',' as decimal separator are not converted to '.' and cause SQL errors when sorting or summing ( #42233 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-02-08 06:42:11 +00:00
Go MAEDA
09167d0b32
format_hours method produces incorrect output for negative time values when Setting.timespan_format is "minutes" (#42172 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-01-30 22:11:19 +00:00
Go MAEDA
7ccf349e36
Redirection after signing in fails when the back_url includes a port number ( #41930 ).
...
Patch by Kenta Kumojima (user:kumojima) and Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-01-28 05:49:12 +00:00
Go MAEDA
0e9753c9fd
Refactor thumbnail markup for improved structure and semantics ( #42133 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23460 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-01-23 01:41:22 +00:00
Go MAEDA
880e7a50b2
Fix rapid flickering of placeholder icon for non-existent thumbnails on hover ( #42084 ).
...
Patch by Mizuki ISHIKAWA (user:ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@23452 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-01-21 08:58:17 +00:00
Go MAEDA
382ff17fa4
Member roles are incorrectly added when a user's memberships are updated ( #42106 ).
...
Patch by Thomas Löber (user:tloeber) and Mizuki ISHIKAWA (user:ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@23449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-01-19 07:32:26 +00:00
Go MAEDA
9fccf787a4
Remove navigation parameters from issue detail URLs after updates ( #42073 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23433 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-01-07 07:18:32 +00:00
Go MAEDA
3712ecb01f
Fix NoMethodError in IssuePriority#high and #low when no default or active priorities exist ( #42066 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23431 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-01-05 03:04:59 +00:00
Go MAEDA
9e80ee95e1
Abbreviate quoted text in descriptions in Activity view ( #42043 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-01-02 02:44:39 +00:00
Go MAEDA
a56f43f045
Temporarily skip Latin1 output tests for RepositoryBazaarTest on Ubuntu 24.04 ( #42024 ).
...
This commit addresses test failures in the "Latin1 output tests" for RepositoryBazaarTest observed when running tests on Ubuntu 24.04. The affected tests are skipped on this specific OS version. This is a temporary workaround until the root cause is resolved.
Contributed by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23421 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-29 05:33:10 +00:00
Go MAEDA
4fb1e4bea0
Use fixtures :all to ensure consistent test data and improve test reliability ( #41961 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23391 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-11 10:17:57 +00:00
Marius Balteanu
7ae0427c9e
Replaces warning icon with SVG in watcher list and workflow warnings ( #41918 ).
...
Patch by Takenori TAKAKI (user:takenory).
git-svn-id: https://svn.redmine.org/redmine/trunk@23388 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-11 06:37:58 +00:00
Marius Balteanu
910842a157
Fixes group icons not displayed only using the SVG icon ( #41853 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-10 23:31:14 +00:00
Go MAEDA
e6f8fe77cb
Fix random test failure in IssueTest due to unsorted expected_statuses ( #41951 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23370 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-09 00:45:33 +00:00
Marius Balteanu
c7509aebc2
Adds system test for #40301 .
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23362 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-08 23:27:24 +00:00
Go MAEDA
4f761e34e8
Enable browser autocomplete for login input fields ( #41937 ).
...
Contributed by Thomas Butz (user:otbutz).
git-svn-id: https://svn.redmine.org/redmine/trunk@23361 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-08 06:40:47 +00:00
Go MAEDA
2f817fc51c
Fix random test failure in ProjectsControllerTest::test_post_copy_should_copy_requested_items due to missing :issue_categories fixture ( #41934 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23352 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-04 02:38:29 +00:00
Go MAEDA
81291bb25e
Fix: Spent time CSV report returning hours as Rational instead of Float ( #41895 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23351 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-04 01:58:51 +00:00
Go MAEDA
2f5d543234
Fix random failures in IssueRelationTest#test_create_with_initialized_journals due to ambiguous conditions for retrieving the expected detail ( #41931 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23350 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-04 01:47:46 +00:00
Go MAEDA
935df66094
Fix random test failure in UserTest#test_validate_password_complexity due to missing explicit language setting ( #41914 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23345 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-02 00:18:36 +00:00
Go MAEDA
d99b67467d
Improve error messages for test failures by using assert_includes instead of assert in UserTest#test_validate_password_complexity ( #41914 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23343 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-01 04:46:15 +00:00
Marius Balteanu
9c5199f5f5
Reverts r23328 ( #41853 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-30 10:51:51 +00:00
Marius Balteanu
62ed68323c
Fixes class name to match file name in keyboard_shortcuts_test.rb ( #41902 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya)
git-svn-id: https://svn.redmine.org/redmine/trunk@23330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-29 16:55:36 +00:00
Marius Balteanu
7658997150
Fixes random test failure in DestroyProjectsJobTest due to unsorted @projects ( #41901 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya)
git-svn-id: https://svn.redmine.org/redmine/trunk@23329 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-29 16:54:49 +00:00
Marius Balteanu
018d89bf8a
Fixes that group icons in Watchers box have both the old and the new icon style ( #41853 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23328 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-29 07:58:59 +00:00
Go MAEDA
8d218ba6b9
Fix random test failures in Redmine::Acts::MentionableTest due to unsorted mentioned_users ( #41889 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23322 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-29 01:15:14 +00:00
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
Go MAEDA
d8cb8b20f4
Fix: Time entry API returning hours as Rational instead of Float ( #41819 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-24 07:04:17 +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
d951636a01
Replaces two more occurrences of CommonMarker ( #40197 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23251 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-11 19:48:32 +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
d3d07db129
Fix failing test after r23230 ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23235 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-10 20:12:34 +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
6d0eba75e9
@principal_icon@ method should accept a Principal as argument ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-10 15:31:46 +00:00
Marius Balteanu
ecee8ccaba
Fixes broken @link_to_principal@ helper test caused by r23222 ( #41711 , #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-10 11:36:23 +00:00
Go MAEDA
624f9bf3d1
Fixed duplicate "disabled" class in the context_menus_helper result ( #23980 , #41720 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-10 06:45:26 +00:00