summaryrefslogtreecommitdiffstats
path: root/test/integration
Commit message (Collapse)AuthorAgeFilesLines
* Update tests assertions after r23581 (#42394).Marius Balteanu10 days2-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 Balteanu12 days1-0/+10
| | | | | | Patch by Jens Krämer (user:jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@23581 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
* Use `fixtures :all` to ensure consistent test data and improve test ↵Go MAEDA2024-12-1146-277/+0
| | | | | | | | | reliability (#41961). Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23391 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable browser autocomplete for login input fields (#41937).Go MAEDA2024-12-081-2/+2
| | | | | | | Contributed by Thomas Butz (user:otbutz). git-svn-id: https://svn.redmine.org/redmine/trunk@23361 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix: Time entry API returning `hours` as Rational instead of Float (#41819).Go MAEDA2024-11-241-3/+6
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23304 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random test failures due to missing fixtures (#41623).Go MAEDA2024-11-111-1/+1
| | | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23246 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offenses in ThemesTest#test_old_theme_compatibility introduced ↵Go MAEDA2024-11-021-2/+2
| | | | | | in r23173 (#39111). git-svn-id: https://svn.redmine.org/redmine/trunk@23176 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds asset path to default to support old style theme (#39111).Marius Balteanu2024-10-311-0/+13
| | | | | | | Patch by Takashi Kato (user:tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@23173 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix invalid "theme-*" CSS class in body element when theme name contains ↵Go MAEDA2024-10-191-0/+8
| | | | | | | | | spaces (#26778). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23144 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix broken project list layout for projects scheduled for deletion (#41217).Go MAEDA2024-09-061-0/+18
| | | | | | | Patch by Liane Hampe (user:liane_hampe). git-svn-id: https://svn.redmine.org/redmine/trunk@23026 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix flacky test after Rails 7 update which fails occasionally because ↵Marius Balteanu2024-08-201-1/+1
| | | | | | | | | | database records are not ordered, so it is necessary to specify the sort order when testing (#36320). Patch by Takashi Kato (user:tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22964 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ensures desired test adapter is used in Active Job tests (#36320).Marius Balteanu2024-08-201-0/+4
| | | | | | | Patch by Takashi Kato (user:tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22963 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/SpaceAfterComma, one of the offenses enabled in ↵Go MAEDA2024-08-121-1/+1
| | | | | | rubocop-rails-omakase (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22953 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/EmptyLinesAroundMethodBody, one of the offenses ↵Go MAEDA2024-08-121-1/+0
| | | | | | enabled in rubocop-rails-omakase (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22950 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/EmptyLinesAroundClassBody, one of the offenses ↵Go MAEDA2024-08-124-4/+0
| | | | | | enabled in rubocop-rails-omakase (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22949 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update users routing test to include assertions for bulk actions (delete, ↵Marius Balteanu2024-07-141-0/+4
| | | | | | lock and unlock) (#40913). git-svn-id: https://svn.redmine.org/redmine/trunk@22931 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Truncate git authors to 255 characters (#40948).Marius Balteanu2024-07-081-1/+1
| | | | | | | | | | The committer column in the database allows max 255 characters. With longer authors, this would result in a schema violation. By manually truncating the author field, we can avoid this. Patch by Holger Just (@hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@22910 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "ArgumentError: Invalid response name: unprocessable_entity" with Rack ↵Go MAEDA2024-06-1214-36/+36
| | | | | | | | | | | | 3.1.0+ in assert_response (#39889). Rack 3.1.0 changed the symbol for HTTP status code 422 from `:unprocessable_entity` to `:unprocessable_content`. Due to the change, `assert_response(:unprocessable_entity, ...)` raises ArgumentError with Rack 3.1.0+. This fix is a follow-up to r22837. git-svn-id: https://svn.redmine.org/redmine/trunk@22876 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add `updated_on` and `updated_by` fields to Issues API journal response ↵Go MAEDA2024-05-271-0/+2
| | | | | | | | | (#40449). Contributed by Thomas Hoffmann (@ThomasHo). git-svn-id: https://svn.redmine.org/redmine/trunk@22846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Rails/HttpStatus (#39889).Go MAEDA2024-05-1818-77/+77
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22837 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes failing tests caused by r22802 (#40652).Marius Balteanu2024-05-031-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22807 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes missing fixture: add :groups_users fixture to ↵Marius Balteanu2024-03-211-1/+1
| | | | | | @Redmine::ApiTest::UsersTest@ git-svn-id: https://svn.redmine.org/redmine/trunk@22774 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-2696-96/+96
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds @:user_preference@ fixture to @Redmine::ApiTest::IssuesTest@ (#40239).Marius Balteanu2024-02-251-0/+1
| | | | | | Patch by Vincent Robert (@Nanego). git-svn-id: https://svn.redmine.org/redmine/trunk@22734 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds route for code highlighting languages page (#39111, #40137).Marius Balteanu2024-02-251-0/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22732 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add tests for @/help/wiki_syntax@ route (#39111, #40137).Marius Balteanu2024-02-251-0/+27
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22730 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix ThemesTest may fail if a third-party theme having theme.js is installed ↵Marius Balteanu2024-02-131-1/+1
| | | | | | (#40205). git-svn-id: https://svn.redmine.org/redmine/trunk@22707 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix one more failing test related to favicon after r22692 (#39111).Marius Balteanu2024-02-131-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22706 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix failing tests related to favicon in themes after r22692 (#39111).Marius Balteanu2024-02-131-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22705 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix robots.txt route to enforce .txt format (#40208).Go MAEDA2024-02-091-0/+7
| | | | | | | Contributed by Liane Hampe (@liane_hampe). git-svn-id: https://svn.redmine.org/redmine/trunk@22698 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/SpaceAroundBlockParameters (#23307).Go MAEDA2024-02-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22668 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include auth_source in /users API response if request includes auth_source ↵Marius Balteanu2024-01-311-0/+19
| | | | | | (#23307). git-svn-id: https://svn.redmine.org/redmine/trunk@22666 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/SpaceAfterComma (#40099).Go MAEDA2024-01-271-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22647 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds user status to users list API (#38948).Marius Balteanu2024-01-251-0/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22637 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include @auth_source@ in /users/:id API response if auth_source is requested ↵Marius Balteanu2024-01-251-0/+37
| | | | | | | | (include=auth_source) and request is made by an administrator (#23307). Patch by Go MAEDA (@maeda) and Marius BĂLTEANU (@marius.balteanu). git-svn-id: https://svn.redmine.org/redmine/trunk@22636 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove deprecated @status=@ param used to get all users. @status=*@ should ↵Marius Balteanu2024-01-251-7/+0
| | | | | | be used now. (#40124). git-svn-id: https://svn.redmine.org/redmine/trunk@22635 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix tests after asset pipeline implementation (#39111).Marius Balteanu2024-01-253-18/+18
| | | | | | Patch by Takashi Kato (@tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22628 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add Propshaft library to enable the asset pipeline without modifying ↵Marius Balteanu2024-01-251-2/+2
| | | | | | | | existing assets (#39111). Patch by Takashi Kato (@tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22626 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add test cases for @status=*@, @status=@ and @status=|1|3@ (#40099).Marius Balteanu2024-01-251-0/+23
| | | | | | Patch by Jens Krämer (@jkraemer) and Marius BĂLTEANU (@marius.balteanu). git-svn-id: https://svn.redmine.org/redmine/trunk@22623 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/HashSyntax (Don't mix styles in the same hash) ↵Go MAEDA2023-12-271-2/+2
| | | | | | introduced in r22551 (#39862). git-svn-id: https://svn.redmine.org/redmine/trunk@22566 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes that diff of a javascript file in repository module is not displayed ↵Marius Balteanu2023-12-261-3/+3
| | | | | | | | with layout in Rails 7.1 (#39747, #36320). git-svn-id: https://svn.redmine.org/redmine/trunk@22563 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes attachments functionality for (custom) plugins broken since fix for ↵Marius Balteanu2023-12-221-0/+5
| | | | | | | | CVE-2022-44030 by adding a dynamic routing constraint which can be modified by plugins (#39862). Patch by @jkraemer. git-svn-id: https://svn.redmine.org/redmine/trunk@22551 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update integration test for plugin routes after r22515 (#36320, #39803).Marius Balteanu2023-12-121-0/+19
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22516 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor integration test for plugins routing (added in r22328) in order to ↵Marius Balteanu2023-12-111-73/+0
| | | | | | use the new plugins directory path for test environment (#36320). git-svn-id: https://svn.redmine.org/redmine/trunk@22513 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates Rails to 7.1.2 (#36320).Marius Balteanu2023-11-271-2/+2
| | | | | | Patch by Takashi Kato. git-svn-id: https://svn.redmine.org/redmine/trunk@22488 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Delete whole @tmp/plugins@ directory (#38707).Marius Balteanu2023-10-241-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22374 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes a random failing test in @test_plugins@ ↵Marius Balteanu2023-10-241-1/+7
| | | | | | (integration/routing/plugins_test.rb) by enforcing the plugins path to @tmp/plugins@ (#38707). git-svn-id: https://svn.redmine.org/redmine/trunk@22373 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix typo in plugins_test.rb (#38707).Marius Balteanu2023-10-231-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22371 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offenses due to r22343: Style/RedundantRegexpEscape, ↵Go MAEDA2023-10-161-5/+5
| | | | | | Layout/EmptyLinesAroundMethodBody, and Style/HashSyntax (#39181). git-svn-id: https://svn.redmine.org/redmine/trunk@22346 e93f8b46-1217-0410-a6f0-8f06a7374b81