1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-15 20:02:54 +00:00

6844 Commits

Author SHA1 Message Date
Go MAEDA
923918542b Fix random test failure in MemberTest#test_update_roles_with_inherited_roles due to non-deterministic ordering (#42572).
git-svn-id: https://svn.redmine.org/redmine/trunk@23641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-12 04:10:48 +00:00
Go MAEDA
626bd9efe2 Fix RuboCop Style/ComparableBetween (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23634 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 10:11:44 +00:00
Go MAEDA
54285f461c Fix random test failure in ProjectAdminQueryTest due to missing language setting (#42562).
git-svn-id: https://svn.redmine.org/redmine/trunk@23631 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 09:50:45 +00:00
Go MAEDA
5528c81022 Revert r23629: incorrect issue number (#41884) in commit message
git-svn-id: https://svn.redmine.org/redmine/trunk@23630 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 09:49:32 +00:00
Go MAEDA
42dbfd3c9f Fix random test failure in ProjectAdminQueryTest due to missing language setting (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 09:44:07 +00:00
Go MAEDA
5668aa651f Fix RuboCop Lint/SuppressedExceptionInNumberConversion (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 09:00:58 +00:00
Go MAEDA
15d33f6827 Fix RuboCop Style/RedundantFormat by renaming custom format method to to_html to avoid name conflict with Kernel#format (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 08:37:27 +00:00
Go MAEDA
630f2863ba Improve role deletion error message to display projects containing members under the role (#42441).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-10 10:14:30 +00:00
Go MAEDA
1e9f1229e6 Skip repository tests when the SCM client command is unavailable (#42500).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-10 09:42:10 +00:00
Go MAEDA
c447e12274 Configurable columns for related and sub issues lists (#42477).
Patch by Jens Krämer (user:jkraemer).


git-svn-id: https://svn.redmine.org/redmine/trunk@23596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-02 10:14:41 +00:00
Marius Balteanu
3c57eaffd4 Add administration setting to allow time logging on closed issues. By default, the setting is enabled (#13596).
git-svn-id: https://svn.redmine.org/redmine/trunk@23586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-30 07:48:53 +00:00
Marius Balteanu
f4e5e36dec Update tests assertions after r23581 (#42394).
git-svn-id: https://svn.redmine.org/redmine/trunk@23582 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-29 13:05:08 +00:00
Marius Balteanu
62fee35f00 Force format to html for the download_named_attachment route (#42394).
Patch by Jens Krämer (user:jkraemer).

git-svn-id: https://svn.redmine.org/redmine/trunk@23581 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-28 07:48:48 +00:00
Go MAEDA
e0e0be4928 "For all projects" checkbox should be disabled when editing an existing query in which the checkbox is already checked (#42458).
Patch by [Agileware] nusohiro (user:nusohiro).


git-svn-id: https://svn.redmine.org/redmine/trunk@23573 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-27 01:07:48 +00:00
Go MAEDA
2b26027982 "Progress bar" custom field format (#42335).
Patch by Jens Krämer (user:jkraemer).


git-svn-id: https://svn.redmine.org/redmine/trunk@23560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-26 10:33:46 +00:00
Go MAEDA
bacdb72670 Missing thousands separator in Integer and Float custom field totals (#42342).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-26 02:38:56 +00:00
Go MAEDA
e02d265f2c Changes issue watch button icon to eye image to align icon with function and improve visual clarity (#42305).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23557 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-25 08:44:23 +00:00
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