summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix RuboCop offense Lint/SendWithMixinArgument (#39887).Go MAEDA2024-08-241-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22980 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add placeholder "h:mm" to hours field for better user guidance (#2464).Go MAEDA2024-08-211-1/+3
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Introduce `active?` method to Group via Principal model (#27510).Go MAEDA2024-08-211-0/+1
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22976 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add filters for "Author's group" and "Author's role" to issues list (#7867).Go MAEDA2024-08-211-0/+60
| | | | | | | Patch by Takenori TAKAKI (user:takenory). git-svn-id: https://svn.redmine.org/redmine/trunk@22975 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use anonymous block forwarding introduced in Ruby 3.1 (#38585).Go MAEDA2024-08-217-17/+17
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22973 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Array#intersect? introduced in Ruby 3.1 (#38585).Go MAEDA2024-08-201-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22972 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "missing assertions" warning in ↵Go MAEDA2024-08-201-12/+12
| | | | | | test_search_should_be_case_and_accent_insensitive_with_postgresql_and_noaccent_extension (#36320). git-svn-id: https://svn.redmine.org/redmine/trunk@22969 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/UnlessElse (#36320).Go MAEDA2024-08-201-18/+14
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22968 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/EmptyLineAfterMagicComment (#36320).Go MAEDA2024-08-201-0/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22967 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/EmptyLinesAroundClassBody (#36320).Go MAEDA2024-08-202-2/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22966 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-203-1/+12
| | | | | | | Patch by Takashi Kato (user:tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22963 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates test environment config to mark assertionless tests as failed (#36320).Marius Balteanu2024-08-2017-17/+4
| | | | | | | Patch by Takashi Kato (user:tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22962 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgrade to Rails 7.2.0 (#36320).Marius Balteanu2024-08-201-1/+1
| | | | | | | Patch by Takashi Kato (user:tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22960 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add support for quoted arguments containing commas in wiki macros (#40014).Go MAEDA2024-08-201-0/+7
| | | | | | | Patch by Yasu Saku (user:skys). git-svn-id: https://svn.redmine.org/redmine/trunk@22959 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add filters for "User's group" and "User's role" to Spent time list (#41053).Go MAEDA2024-08-161-0/+63
| | | | | | | Patch by Takenori TAKAKI (user:takenory). git-svn-id: https://svn.redmine.org/redmine/trunk@22958 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing assertion in ↵Go MAEDA2024-08-121-1/+1
| | | | | | Redmine::MenuManager::MapperTest#test_push_onto_root (#41142). git-svn-id: https://svn.redmine.org/redmine/trunk@22956 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Lint/RedundantStringCoercion, one of the offenses ↵Go MAEDA2024-08-122-2/+2
| | | | | | enabled in rubocop-rails-omakase (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22955 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/SpaceInsideParens, one of the offenses enabled in ↵Go MAEDA2024-08-123-8/+8
| | | | | | rubocop-rails-omakase (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22954 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/SpaceAfterComma, one of the offenses enabled in ↵Go MAEDA2024-08-125-6/+6
| | | | | | 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-124-4/+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-125-5/+0
| | | | | | enabled in rubocop-rails-omakase (#39887). git-svn-id: https://svn.redmine.org/redmine/trunk@22949 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add test for r22947 (#41079).Go MAEDA2024-08-111-0/+15
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22948 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix issue where minutes part of a time entry is displayed as 60 instead of ↵Go MAEDA2024-08-081-0/+15
| | | | | | | | | being carried over (#36897). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22946 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add project identifier to List-Id header in notification emails (#13359).Go MAEDA2024-07-261-6/+19
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22944 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add an option to render Integer and Float custom fields with thousands ↵Go MAEDA2024-07-181-0/+11
| | | | | | | | | delimiters (#39997). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22935 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor ApplicationHelper#format_object to accept options as a hash (#39997).Go MAEDA2024-07-181-1/+1
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22933 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
* Adds test for bulk unlock users (#40913).Marius Balteanu2024-07-141-0/+16
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22930 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix tests for updated git repository (#40948).Marius Balteanu2024-07-142-21/+24
| | | | | | | Patch by Holger Just (@hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@22929 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates broken git repository archive introduced in r22910 (#40948).Marius Balteanu2024-07-141-0/+0
| | | | | | | | Patch by Holger Just (@hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@22928 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add configurable setting for copying attachments when copying an issue (#36197).Go MAEDA2024-07-141-0/+82
| | | | | | | Patch by Yuichi HARADA (user:yui.har). git-svn-id: https://svn.redmine.org/redmine/trunk@22926 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Increases number of revisions and fileschanges in ↵Marius Balteanu2024-07-131-2/+2
| | | | | | test/unit/repository_git_test.rb (#40948). git-svn-id: https://svn.redmine.org/redmine/trunk@22924 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/MapCompactWithConditionalBlock (#39887).Go MAEDA2024-07-111-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22919 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes rubocop offenses (#40946). Marius Balteanu2024-07-081-5/+5
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22917 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Introduces @valid_watcher?@ check on watchables (@40946).Marius Balteanu2024-07-081-3/+3
| | | | | | | | Patch by Jens Krämer (@jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@22916 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Permission check based on the type of @watchables@ (#40946).Marius Balteanu2024-07-081-0/+35
| | | | | | | | Patch by Jens Krämer (@jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@22915 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Check view watchers permission when copying issues (#40946).Marius Balteanu2024-07-081-0/+20
| | | | | | | Patch by Jens Kraemer (@jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@22914 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Improve watcher list permissions check to explicitly require ↵Marius Balteanu2024-07-084-0/+52
| | | | | | | | | | @view_issue_watchers@ permission (#40946). Patch by Felix Schäfer (@felix). git-svn-id: https://svn.redmine.org/redmine/trunk@22913 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Truncate git authors to 255 characters (#40948).Marius Balteanu2024-07-083-2/+2
| | | | | | | | | | 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
* Add test for r22906 (#40716).Go MAEDA2024-07-061-0/+15
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22907 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Spent hours ignoring "Time Span Format" Setting on several pages (#40924).Go MAEDA2024-06-302-9/+13
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22902 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add bulk lock feature to user list context menu (#40913).Marius Balteanu2024-06-251-8/+34
| | | | | | | Patch by Mizuki ISHIKAWA (@ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@22898 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add test for r22895 (#40860).Go MAEDA2024-06-251-0/+10
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22896 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reject passwords that are the same as login, first name, last name, or email ↵Go MAEDA2024-06-211-0/+18
| | | | | | | | | (#37279). Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22888 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support multiple multi-word phrases in the search engine (#38446).Go MAEDA2024-06-191-0/+5
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22886 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Revisions count is wrong on the wiki content page (#40655).Go MAEDA2024-06-131-0/+14
| | | | | | | Contributed by Karel Pičman (@picman). git-svn-id: https://svn.redmine.org/redmine/trunk@22877 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "ArgumentError: Invalid response name: unprocessable_entity" with Rack ↵Go MAEDA2024-06-1219-42/+42
| | | | | | | | | | | | 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 missing fixture journal_details to JournalsHelperTest (#40801).Go MAEDA2024-06-121-1/+2
| | | | | | | Patch by Mizuki ISHIKAWA (@ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@22874 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds estimated remaining time to version page (#37862, #1671).Marius Balteanu2024-06-041-8/+12
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22858 e93f8b46-1217-0410-a6f0-8f06a7374b81