summaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
* Escape blockquote citation in textile formatting (#37751).Marius Balteanu2022-10-041-0/+7
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21894 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix repository browser does not show \"+\" (plus sign) in filename (#37718).Marius Balteanu2022-10-021-2/+2
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21880 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/LineLength due to r21849 (#37713).Go MAEDA2022-09-281-2/+8
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21865 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix failing test on PostgreSQL by ordering by only non null values (#37674).Marius Balteanu2022-09-271-3/+10
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21860 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds missing join when ordering by authsource (#37674).Go MAEDA2022-09-271-0/+13
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21856 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow select custom CSS properties (#37237).Marius Balteanu2022-09-261-0/+4
| | | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21850 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add rel="noopener" to all external links with a target attribute (#37713).Marius Balteanu2022-09-261-0/+5
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21849 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random test failure (#37674).Go MAEDA2022-09-241-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21835 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds tests for UserQuery model (#37674).Go MAEDA2022-09-211-0/+175
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21828 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ignore statuses if workflow only defines identity transition (#37636).Go MAEDA2022-09-171-0/+1
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@21818 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Consider only roles with either add_issues or edit_issues permissions for ↵Go MAEDA2022-09-171-0/+22
| | | | | | | | | any status transitions (#37635). Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@21817 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support revision without any message in Mercurial repositories (#36258).Go MAEDA2022-09-012-6/+20
| | | | | | | Patch by salman mp and Yuichi HARADA. git-svn-id: https://svn.redmine.org/redmine/trunk@21792 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add default spent time activity per role (#29286).Go MAEDA2022-08-091-0/+82
| | | | | | | Patch by Marius BALTEANU and Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@21763 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Default query should not be applied if the query is not allowed to be set as ↵Go MAEDA2022-07-312-0/+2
| | | | | | | | | the default (#37499). Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@21748 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing fixture versions to RepositoryTest (#37469).Go MAEDA2022-07-211-1/+2
| | | | | | | Patch by Dmitry Makurin. git-svn-id: https://svn.redmine.org/redmine/trunk@21726 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Psych::DisallowedClass exception when loading default plugin settings ↵Go MAEDA2022-07-211-0/+7
| | | | | | | | | (#37450, #37476). Contributed by Dmitry Makurin. git-svn-id: https://svn.redmine.org/redmine/trunk@21725 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing fixture issue_categories to VersionTest (#37466).Go MAEDA2022-07-191-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21717 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing fixture to IssuesPdfHelperTest (#37451).Go MAEDA2022-07-171-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21710 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make the only enabled activity in a project the default one for time entry ↵Go MAEDA2022-07-171-0/+15
| | | | | | | | | (#10314). Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@21709 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add a missing fixture to RoleTest (#37448).Go MAEDA2022-07-161-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21706 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix passing a wrong parameter to `with_settings` in ↵Go MAEDA2022-07-161-1/+1
| | | | | | | | | UserTest::test_random_password_include_required_characters (#37449). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21705 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing fixture to JournalObserverTest (#37389).Go MAEDA2022-07-061-1/+1
| | | | | | | Patch by Dmitry Makurin. git-svn-id: https://svn.redmine.org/redmine/trunk@21698 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add test for #37349.Marius Balteanu2022-06-271-0/+18
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21687 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix filter for chained User custom fields returns 500 internal server error ↵Marius Balteanu2022-06-271-0/+12
| | | | | | when filtering after a float value (#37349). git-svn-id: https://svn.redmine.org/redmine/trunk@21684 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix time entry activity is not set as default when the default activity ↵Marius Balteanu2022-06-202-0/+25
| | | | | | | | | exists as project specific activity (#33914). Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@21668 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random failing test (#37138).Marius Balteanu2022-06-201-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21664 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Revert r21662 (#37255).Marius Balteanu2022-06-201-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21663 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random failing test (#37255).Marius Balteanu2022-06-201-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21662 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Respect group memberships when checking if an object is watched (#37065).Marius Balteanu2022-06-201-1/+14
| | | | | | | Patch Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@21661 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix mentions of users with "@" in their username not working (#37138).Marius Balteanu2022-06-201-0/+9
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21660 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix failing test caused by r21646 (#37255).Marius Balteanu2022-06-191-2/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21657 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Setting @--no-permission-check@ in the mail receiver should not allow ↵Marius Balteanu2022-06-161-0/+29
| | | | | | | | | creating issues in closed and archived projects (#37187). Patch by Felix Schäfer. git-svn-id: https://svn.redmine.org/redmine/trunk@21641 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Improved @fixed_version_id@ validation (#37171).Marius Balteanu2022-06-161-0/+8
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@21638 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ensure @category_id@ is valid within the issue's project (#37171).Marius Balteanu2022-06-161-0/+8
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@21637 e93f8b46-1217-0410-a6f0-8f06a7374b81
* The done ratio of a parent issue may not be 100% even if all subtasks have a ↵Go MAEDA2022-06-081-4/+11
| | | | | | | | | done ratio of 100% (#37151). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21626 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r21618 to trunk (#35892).Marius Balteanu2022-05-281-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21619 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update footnotes markup after commonmarker gem update (#35892).Marius Balteanu2022-05-281-3/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21612 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove test code (#36691).Marius Balteanu2022-05-191-1/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21598 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random failing tests (#36691). Marius Balteanu2022-05-172-14/+27
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21593 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds projects bulk delete (#36691).Marius Balteanu2022-05-171-0/+63
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21592 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Background job for project deletion (#36691).Marius Balteanu2022-05-171-0/+63
| | | | | | | | | | | | | | | Due to the deletion of dependent objects (issues etc), project deletion may take a long time. This patch moves the actual project deletion into an ActiveJob job. It also introduces a new project status (SCHEDULED_FOR_DELETION) that is used to effectively hide the project that is about to be deleted (and any potential descendant projects) from the system immediately. A security notification is sent out to the user that deleted the project, informing about success / failure. The projects list is extended to be able to filter for the new status, so in case of a failure, the project can still be accessed for examination. Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21591 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add a test for #36958.Marius Balteanu2022-05-031-0/+6
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21559 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add test for #36932.Marius Balteanu2022-04-271-0/+7
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21542 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow imported time entries to override the selected project with the actual ↵Marius Balteanu2022-04-031-0/+22
| | | | | | | | | project of their issue (#36823). Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21522 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reuse ProjectQuery filters on the admin project list (#33422).Marius Balteanu2022-04-011-0/+44
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: https://svn.redmine.org/redmine/trunk@21519 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Rails/RefuteMethods (#36824, #30924).Go MAEDA2022-03-261-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21501 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/HashSyntax (Don't mix styles in the same hash) ↵Go MAEDA2022-03-261-2/+2
| | | | | | (#36824, #30924). git-svn-id: https://svn.redmine.org/redmine/trunk@21500 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow to filter issues by its version status with shared versions (#36824, ↵Marius Balteanu2022-03-241-0/+15
| | | | | | | | | #30924). Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@21499 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix Redmine::Plugin.assets_directory is not working after r21283 (#36835).Marius Balteanu2022-03-241-0/+5
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21498 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add tasks to prune registered users after a certain number of days (#30998).Go MAEDA2022-03-221-0/+10
| | | | | | | Patch by Yuichi HARADA and Marius BALTEANU. git-svn-id: https://svn.redmine.org/redmine/trunk@21490 e93f8b46-1217-0410-a6f0-8f06a7374b81