summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix random test failure in ProjectAdminQueryTest due to missing language ↵Go MAEDA2025-04-111-0/+1
| | | | | | setting (#41884). git-svn-id: https://svn.redmine.org/redmine/trunk@23629 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop Lint/SuppressedExceptionInNumberConversion (#41884).Go MAEDA2025-04-111-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23626 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop Style/RedundantFormat by renaming custom `format` method to ↵Go MAEDA2025-04-111-32/+32
| | | | | | `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
* Improve role deletion error message to display projects containing members ↵Go MAEDA2025-04-101-5/+27
| | | | | | | | | 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
* Skip repository tests when the SCM client command is unavailable (#42500).Go MAEDA2025-04-1017-13/+21
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23618 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Configurable columns for related and sub issues lists (#42477).Go MAEDA2025-04-022-2/+13
| | | | | | | Patch by Jens Krämer (user:jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@23596 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add administration setting to allow time logging on closed issues. By ↵Marius Balteanu2025-03-302-0/+73
| | | | | | default, the setting is enabled (#13596). git-svn-id: https://svn.redmine.org/redmine/trunk@23586 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update tests assertions after r23581 (#42394).Marius Balteanu2025-03-292-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23582 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Force format to html for the download_named_attachment route (#42394).Marius Balteanu2025-03-281-0/+10
| | | | | | Patch by Jens Krämer (user:jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@23581 e93f8b46-1217-0410-a6f0-8f06a7374b81
* "For all projects" checkbox should be disabled when editing an existing ↵Go MAEDA2025-03-271-0/+40
| | | | | | | | | 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
* "Progress bar" custom field format (#42335).Go MAEDA2025-03-261-0/+85
| | | | | | | Patch by Jens Krämer (user:jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@23560 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Missing thousands separator in Integer and Float custom field totals (#42342).Go MAEDA2025-03-261-4/+26
| | | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23559 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Changes issue watch button icon to eye image to align icon with function and ↵Go MAEDA2025-03-251-4/+4
| | | | | | | | | 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
* Adds missing files (#42352).Marius Balteanu2025-03-101-0/+137
| | | | | | Patch by Holger Just (user:hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@23532 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extract project query for admins to a separate ProjectAdminQuery model (#42352).Marius Balteanu2025-03-092-39/+11
| | | | | | Patch by Holger Just (user:hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@23531 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ensure that a UserQuery can only be viewed or edited by admins (#42352).Marius Balteanu2025-03-091-0/+24
| | | | | | Patch by Holger Just (user:hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@23530 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes typo in query name fixture.Marius Balteanu2025-03-073-3/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23521 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes the request method filtering in sudo mode (#42194),Marius Balteanu2025-03-061-1/+1
| | | | | | | Patch by Holger Just (user:hjust), git-svn-id: https://svn.redmine.org/redmine/trunk@23520 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Correctly handle exception messages in macros (#42326).Marius Balteanu2025-03-061-2/+2
| | | | | | | Patch by Holger Just (user:hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@23519 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update Mercurial repository support to be compatible with Python 3 and ↵Go MAEDA2025-02-161-5/+5
| | | | | | | | | 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
* Add missing assertions to InlineAutocompleteTest (#42200).Go MAEDA2025-02-111-6/+6
| | | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23506 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random failures in InlineAutocompleteTest due to interference from ↵Go MAEDA2025-02-111-14/+21
| | | | | | | | | 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
* Fix random failures in `IssuesTest#test_bulk_copy` due to ↵Go MAEDA2025-02-111-2/+3
| | | | | | | | | StaleElementReferenceError (#42244). Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23503 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix: Float custom values with ',' as decimal separator are not converted to ↵Go MAEDA2025-02-081-5/+13
| | | | | | | | | '.' 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
* `format_hours` method produces incorrect output for negative time values ↵Go MAEDA2025-01-301-0/+4
| | | | | | | | | 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
* Redirection after signing in fails when the back_url includes a port number ↵Go MAEDA2025-01-281-0/+18
| | | | | | | | | (#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
* Refactor thumbnail markup for improved structure and semantics (#42133).Go MAEDA2025-01-231-5/+6
| | | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23460 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix rapid flickering of placeholder icon for non-existent thumbnails on ↵Go MAEDA2025-01-211-2/+2
| | | | | | | | | hover (#42084). Patch by Mizuki ISHIKAWA (user:ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@23452 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Member roles are incorrectly added when a user's memberships are updated ↵Go MAEDA2025-01-191-0/+33
| | | | | | | | | (#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
* Remove navigation parameters from issue detail URLs after updates (#42073).Go MAEDA2025-01-071-30/+44
| | | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23433 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix NoMethodError in IssuePriority#high and #low when no default or active ↵Go MAEDA2025-01-051-0/+16
| | | | | | | | | priorities exist (#42066). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23431 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Abbreviate quoted text in descriptions in Activity view (#42043).Go MAEDA2025-01-021-0/+29
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23428 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Temporarily skip Latin1 output tests for RepositoryBazaarTest on Ubuntu ↵Go MAEDA2024-12-291-0/+25
| | | | | | | | | | | 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
* Use `fixtures :all` to ensure consistent test data and improve test ↵Go MAEDA2024-12-11241-1378/+2
| | | | | | | | | reliability (#41961). Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23391 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces warning icon with SVG in watcher list and workflow warnings (#41918).Marius Balteanu2024-12-111-1/+4
| | | | | | Patch by Takenori TAKAKI (user:takenory). git-svn-id: https://svn.redmine.org/redmine/trunk@23388 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes group icons not displayed only using the SVG icon (#41853).Marius Balteanu2024-12-104-9/+17
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23379 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random test failure in IssueTest due to unsorted expected_statuses (#41951).Go MAEDA2024-12-091-1/+1
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23370 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds system test for #40301.Marius Balteanu2024-12-081-0/+49
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23362 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable browser autocomplete for login input fields (#41937).Go MAEDA2024-12-083-7/+7
| | | | | | | Contributed by Thomas Butz (user:otbutz). git-svn-id: https://svn.redmine.org/redmine/trunk@23361 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random test failure in ↵Go MAEDA2024-12-041-1/+1
| | | | | | | | | 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
* Fix: Spent time CSV report returning `hours` as Rational instead of Float ↵Go MAEDA2024-12-041-0/+10
| | | | | | | | | (#41895). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23351 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random failures in ↵Go MAEDA2024-12-041-16/+18
| | | | | | | | | 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
* Fix random test failure in UserTest#test_validate_password_complexity due to ↵Go MAEDA2024-12-021-0/+1
| | | | | | | | | 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
* Improve error messages for test failures by using `assert_includes` instead ↵Go MAEDA2024-12-011-1/+1
| | | | | | of `assert` in UserTest#test_validate_password_complexity (#41914). git-svn-id: https://svn.redmine.org/redmine/trunk@23343 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r23328 (#41853).Marius Balteanu2024-11-302-49/+5
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes class name to match file name in keyboard_shortcuts_test.rb (#41902).Marius Balteanu2024-11-291-1/+1
| | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya) git-svn-id: https://svn.redmine.org/redmine/trunk@23330 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes random test failure in DestroyProjectsJobTest due to unsorted ↵Marius Balteanu2024-11-291-1/+1
| | | | | | | | @projects (#41901). Patch by Katsuya HIDAKA (user:hidakatsuya) git-svn-id: https://svn.redmine.org/redmine/trunk@23329 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes that group icons in Watchers box have both the old and the new icon ↵Marius Balteanu2024-11-292-5/+49
| | | | | | style (#41853). git-svn-id: https://svn.redmine.org/redmine/trunk@23328 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random test failures in Redmine::Acts::MentionableTest due to unsorted ↵Go MAEDA2024-11-291-3/+3
| | | | | | | | | mentioned_users (#41889). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23322 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix test failures due to custom_fields deletion leaving orphaned ↵Go MAEDA2024-11-281-1/+1
| | | | | | | | | 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