summaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unnecessary line that changes the @PluginLoader@ directory inside ↵Marius Balteanu2023-12-111-2/+0
| | | | | | @plugins_test.rb@ (#36320). git-svn-id: https://svn.redmine.org/redmine/trunk@22510 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds test for plugin autoloading plugins issue (#36320).Marius Balteanu2023-12-101-0/+4
| | | | | | Patch by @tohosaku. git-svn-id: https://svn.redmine.org/redmine/trunk@22508 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allows configure plugins directory path in order to change the default ↵Marius Balteanu2023-12-102-3/+3
| | | | | | | | location in test environment (#36320). Patch by @tohosaku. git-svn-id: https://svn.redmine.org/redmine/trunk@22507 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change the default notification option from `only_my_events` to ↵Go MAEDA2023-12-082-2/+2
| | | | | | | | | `only_assigned` (#39500). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22504 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup: unnecessary use of instance variables in UserTest (#39500).Go MAEDA2023-12-081-4/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22503 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix CommonMark Markdown help page to reflect user's language setting (#39755).Go MAEDA2023-12-061-0/+33
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22496 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates Rails to 7.1.2 (#36320).Marius Balteanu2023-11-272-5/+5
| | | | | | Patch by Takashi Kato. git-svn-id: https://svn.redmine.org/redmine/trunk@22488 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace request_store with ActiveSupport::CurrentAttributes (#39110).Marius Balteanu2023-11-212-2/+2
| | | | | | Patch by Takashi Kato. git-svn-id: https://svn.redmine.org/redmine/trunk@22473 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use tx_isolation for MySQL lower than 8. (#39437).Marius Balteanu2023-11-191-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22464 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Workaround to use READ-COMMITTED as transaction_isolation level when running ↵Marius Balteanu2023-11-181-0/+5
| | | | | | the concurrency tests in MySQL. (#39437). git-svn-id: https://svn.redmine.org/redmine/trunk@22462 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add concurrent subtask removal test to cover corrupted nested sets (#39437).Marius Balteanu2023-11-181-0/+43
| | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@22461 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Revert undesired change (#22458).Marius Balteanu2023-11-181-0/+15
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22460 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use a global lock provided by @with_advisory_lock@ gem to work around ↵Marius Balteanu2023-11-181-16/+1
| | | | | | | | deadlock issues when MySQL >= 5.7 (#39437). Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@22458 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disable RuboCop warning for intentional comma in percent string array (#39553).Go MAEDA2023-11-171-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22451 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cover more tests for #39553.Marius Balteanu2023-11-161-2/+5
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22449 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Auto-detection of field wrapper type when importing CSV file (#39511).Go MAEDA2023-11-161-0/+15
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22440 e93f8b46-1217-0410-a6f0-8f06a7374b81
* New email notification option "For any event on my bookmarked projects" ↵Go MAEDA2023-11-162-7/+12
| | | | | | | | | (#35189). Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@22438 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reinitialize an empty Wiki page after after project wiki is deleted (#34634).Marius Balteanu2023-10-231-0/+6
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22370 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Revert r22368.Marius Balteanu2023-10-231-6/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22369 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Traditional Chinese translation update (#39221).Marius Balteanu2023-10-231-0/+6
| | | | | | Patch by ChunChang (Nagaharu) Lo. git-svn-id: https://svn.redmine.org/redmine/trunk@22368 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add field separator option to CSV export dialog (#37621).Go MAEDA2023-10-211-0/+16
| | | | | | | Patch by Karel Pičman. git-svn-id: https://svn.redmine.org/redmine/trunk@22359 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Revert r22342 as it became unnecessary after the addition of the ↵Go MAEDA2023-10-161-3/+1
| | | | | | :user_preferences fixture to WatcherTest in r22350 (#38238). git-svn-id: https://svn.redmine.org/redmine/trunk@22351 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add requirement for user_preferences for watcher_test (#39186).Go MAEDA2023-10-161-1/+1
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22350 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix watcher handling on unsaved objects (#39186).Go MAEDA2023-10-161-0/+37
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22349 e93f8b46-1217-0410-a6f0-8f06a7374b81
* API compatibility to legacy status and name query params (#39181, #37674)Go MAEDA2023-10-151-0/+23
| | | | | | | | | | - adds 'name' filter that mimics the old behavior of matching on email, login, first- or lastname - maps the 'status' url parameter to the status_id filter, and the 'name' url parameter to the new name filter Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@22343 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix a test failure due to the auto watch on issue creation (#38238).Go MAEDA2023-10-151-1/+3
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Rails/RedundantActiveRecordAllMethod (#37248).Go MAEDA2023-10-124-12/+12
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22340 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix an intermittent test failure in JournalTest (#39180).Go MAEDA2023-10-121-1/+1
| | | | | | | Patch by Vincent Robert. git-svn-id: https://svn.redmine.org/redmine/trunk@22336 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace custom EMAIL_REGEXP with URI::MailTo::EMAIL_REGEXP for more accurate ↵Go MAEDA2023-10-071-0/+4
| | | | | | | | | email validation (#36969). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22332 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Correctly escape issue text in Gantt PNG export for ImageMagick convert ↵Go MAEDA2023-09-211-0/+5
| | | | | | | | | (#38728). Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22314 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Avoid exception during validation if the spent_on date of a time entry was ↵Go MAEDA2023-09-201-0/+10
| | | | | | | | | removed (#39079). Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22311 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adapt markdown autolink behavior to that of common_mark (#38806).Go MAEDA2023-09-181-1/+78
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22298 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add description for issue statuses and display them in issue new/edit form ↵Go MAEDA2023-08-311-0/+5
| | | | | | | | | (#2568). Patch by Takenori TAKAKI. git-svn-id: https://svn.redmine.org/redmine/trunk@22288 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix exception raised during thumbnail macro to image tag conversion in ↵Go MAEDA2023-08-301-0/+12
| | | | | | | | | emails (#38697). Patch by Y saku and Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@22285 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Raise the maximum length of the last name to 255 characters (#37679).Go MAEDA2023-08-271-0/+6
| | | | | | | Patch by Anthony Mallet. git-svn-id: https://svn.redmine.org/redmine/trunk@22284 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Performance/MapMethodChain (#37247).Go MAEDA2023-08-235-13/+13
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22280 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Retry in case of stale issue during Issue.update_versions (#38820).Go MAEDA2023-08-231-0/+35
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@22279 e93f8b46-1217-0410-a6f0-8f06a7374b81
* <=> operator should return nil when invoked with an incomparable object ↵Go MAEDA2023-06-291-0/+6
| | | | | | | | | (#38772). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22269 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix SQL error when passing invalid value to "Related to" filter (#38301).Go MAEDA2023-06-211-0/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22256 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/RedundantFilterChain (#36919).Go MAEDA2023-06-071-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22251 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add X-Redmine-Issue-Priority headers to issue notification mails (#2746).Go MAEDA2023-05-131-0/+1
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22244 e93f8b46-1217-0410-a6f0-8f06a7374b81
* New issues filter operators "has been", "has never been", and "changed from" ↵Go MAEDA2023-05-111-0/+67
| | | | | | | | | (#38527). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22240 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make the "Any searchable text" filter search only open issues when the ↵Go MAEDA2023-05-011-0/+15
| | | | | | status filter is set to "open" (#38402). git-svn-id: https://svn.redmine.org/redmine/trunk@22221 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "View annotation prior to this change" button in the annotate view of ↵Go MAEDA2023-04-301-0/+4
| | | | | | | | | Git (#35432). Patch by Takenori TAKAKI. git-svn-id: https://svn.redmine.org/redmine/trunk@22217 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rendering a custom field with a URL pattern set and containing " :" in the ↵Go MAEDA2023-04-211-0/+8
| | | | | | | | | value raises Addressable::URI::InvalidURIError (#38464). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22205 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "Any searchable text" filter doesn't support the project filter with the ↵Go MAEDA2023-04-181-0/+30
| | | | | | value "my projects" or "my bookmarks" (#38402). git-svn-id: https://svn.redmine.org/redmine/trunk@22203 e93f8b46-1217-0410-a6f0-8f06a7374b81
* OR search with multiple terms for "starts with" and "ends with" filter ↵Go MAEDA2023-04-171-0/+28
| | | | | | | | | operators (#38456). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22202 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change the notation of "contains any of" filter operator to "*~" (#38435).Go MAEDA2023-04-161-4/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random test failure of VersionsTextHelperTest#test_version_to_text (#36679).Go MAEDA2023-04-161-1/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22196 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "contains any of" operator is not taken into account in File and File ↵Go MAEDA2023-04-161-0/+30
| | | | | | description filters (#38435). git-svn-id: https://svn.redmine.org/redmine/trunk@22195 e93f8b46-1217-0410-a6f0-8f06a7374b81