summaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
* Adds method @initials@ to @Principal@ and return @nil@ by default (#42623).Marius Balteanu10 days1-0/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23888 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reimplement partial quote feature using Stimulus JS (#42515).Marius Balteanu2025-07-041-7/+7
| | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23854 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add OAuth2 provider capability using doorkeeper gem (#24808).Marius Balteanu2025-06-122-0/+87
| | | | | | Patch by Jens Krämer (user:jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@23837 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r23835 due to wrong issue ID (#40856).Marius Balteanu2025-06-122-87/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23836 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add OAuth2 provider capability using doorkeeper gem (#40856).Marius Balteanu2025-06-112-0/+87
| | | | | | Patch by Jens Krämer (user:jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@23835 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop Style/RedundantArrayFlatten (#41884).Go MAEDA2025-06-073-8/+8
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23823 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set default for "Javascript based table sorting in wiki content" to disabled ↵Marius Balteanu2025-06-011-0/+4
| | | | | | for new installations (#40588). git-svn-id: https://svn.redmine.org/redmine/trunk@23813 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r23811 (#31531).Marius Balteanu2025-06-011-4/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23812 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change quote note icon to quotation marks (#31531).Marius Balteanu2025-06-011-0/+4
| | | | | | Patch by Mizuki ISHIKAWA (user:ishikawa999) and Marius BALTEANU (user:marius.balteanu). git-svn-id: https://svn.redmine.org/redmine/trunk@23811 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change quote note icon to quotation marks (#31531).Marius Balteanu2025-05-301-1/+1
| | | | | | Patch by Mizuki ISHIKAWA (user:ishikawa999) and Marius BALTEANU (user:marius.balteanu). git-svn-id: https://svn.redmine.org/redmine/trunk@23809 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds icons to commonmark alerts (#42603).Marius Balteanu2025-05-241-1/+5
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23796 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Avoid adding "%" suffix in CSV export for Progress Bar custom fields to ↵Go MAEDA2025-05-171-0/+12
| | | | | | | | | prevent import errors (#42335, #42706). Patch by Kenta Kumojima (user:kumojima). git-svn-id: https://svn.redmine.org/redmine/trunk@23780 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Improve method and variable naming for clarity and consistency (#42630).Go MAEDA2025-05-151-8/+8
| | | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23769 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show reaction counts and user names only for reactions visible to the ↵Go MAEDA2025-05-152-6/+0
| | | | | | | | | logged-in user (#42630). Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23768 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds Initials to the list of default gratavar options (#42623).Marius Balteanu2025-05-141-0/+21
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23767 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Introduce reactions feature (so-called "like button") to issues, notes, ↵Go MAEDA2025-05-113-0/+325
| | | | | | | | | news, and forums (#42630). Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23755 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes rubocop offenses (#42648, #42603).Marius Balteanu2025-04-301-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23728 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes rubocop offense "Prefer assert_not_includes over refute_includes" ↵Marius Balteanu2025-04-301-1/+1
| | | | | | (#42603). git-svn-id: https://svn.redmine.org/redmine/trunk@23727 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes broken references for multiple footnote usage (#42648).Marius Balteanu2025-04-301-4/+8
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23726 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes failing test (#42603).Marius Balteanu2025-04-301-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23725 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable CommonMark alert extension (#42603).Marius Balteanu2025-04-292-9/+74
| | | | | | Patch by Mizuki ISHIKAWA (user:ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@23724 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop Layout/EmptyLinesAroundMethodBody (#42602).Go MAEDA2025-04-271-1/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23723 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces deckar01-task_list gem with commonmarks tasklist extension (#42602).Marius Balteanu2025-04-272-1/+22
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23718 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds interval ratio setting to progressbar custom field (#42335).Go MAEDA2025-04-191-1/+36
| | | | | | | Patch by Marius BĂLTEANU (user:marius.balteanu) and Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23686 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix tests after r23672 (#42545).Marius Balteanu2025-04-182-6/+6
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23675 e93f8b46-1217-0410-a6f0-8f06a7374b81
* NoMethodError when creating a user with an invalid email address and domain ↵Go MAEDA2025-04-181-0/+6
| | | | | | | | | restrictions are enabled (#42584). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23666 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random test failure in MemberTest#test_update_roles_with_inherited_roles ↵Go MAEDA2025-04-121-2/+2
| | | | | | due to non-deterministic ordering (#42572). git-svn-id: https://svn.redmine.org/redmine/trunk@23641 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop Style/ComparableBetween (#41884).Go MAEDA2025-04-111-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23634 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random test failure in ProjectAdminQueryTest due to missing language ↵Go MAEDA2025-04-111-0/+1
| | | | | | setting (#42562). git-svn-id: https://svn.redmine.org/redmine/trunk@23631 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Revert r23629: incorrect issue number (#41884) in commit messageGo MAEDA2025-04-111-1/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23630 e93f8b46-1217-0410-a6f0-8f06a7374b81
* 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
* Skip repository tests when the SCM client command is unavailable (#42500).Go MAEDA2025-04-1010-13/+12
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23618 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add administration setting to allow time logging on closed issues. By ↵Marius Balteanu2025-03-301-0/+12
| | | | | | default, the setting is enabled (#13596). git-svn-id: https://svn.redmine.org/redmine/trunk@23586 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
* 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-091-30/+4
| | | | | | 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
* 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
* 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
* 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
* 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
* 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-1197-521/+0
| | | | | | | | | reliability (#41961). Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23391 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
* 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