summaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
...
* Updates test environment config to mark assertionless tests as failed (#36320).Marius Balteanu2024-08-206-5/+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 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-122-2/+2
| | | | | | 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-121-1/+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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* Add timeout for thumbnail generation process (#37530).Go MAEDA2024-05-271-0/+19
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22847 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add tests for current alt attribute behavior in images (#40650).Go MAEDA2024-05-241-0/+28
| | | | | | | Patch by Katsuya HIDAKA (@hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@22844 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Key/value-pair custom field type not available to all customizable contents ↵Go MAEDA2024-05-162-0/+10
| | | | | | | | | (#27543). Patch by Felix Schäfer (@felix) and Takenori TAKAKI (@takenory). git-svn-id: https://svn.redmine.org/redmine/trunk@22834 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ignore statuses in Project#rolled_up_statuses which only have an identity ↵Go MAEDA2024-05-161-0/+2
| | | | | | | | | transition defined (#40693). Patch by Holger Just (@hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@22833 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds test to check @view_issue_watchers@ permission when filter "Watched by" ↵Marius Balteanu2024-05-111-0/+30
| | | | | | (#40412). git-svn-id: https://svn.redmine.org/redmine/trunk@22820 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes issue list filter "Watched by: me" only shows issues watched via group ↵Marius Balteanu2024-05-111-3/+8
| | | | | | for projects with the @view_issue_watchers@ permission (#40412). git-svn-id: https://svn.redmine.org/redmine/trunk@22819 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces use of Digest::MD5 / Digest::SHA1 with ActiveSupport::Digest (#35217).Marius Balteanu2024-05-073-6/+5
| | | | | | Patch by Jens Krämer (@jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@22816 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds the date of the last activity to the list of available columns for ↵Marius Balteanu2024-05-031-0/+7
| | | | | | | | Projects (#23954). Patch by Frederico Camara (@fredsdc) and Marius BĂLTEANU (@marius.balteanu). git-svn-id: https://svn.redmine.org/redmine/trunk@22811 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes random failing tests.Marius Balteanu2024-05-031-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22809 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes RuboCop offense Layout/SpaceInsideParens (#24457).Marius Balteanu2024-05-021-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22806 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds test for #24457.Marius Balteanu2024-05-021-0/+14
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22804 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Progress of version should be calculated the same way as parent tasks ↵Marius Balteanu2024-05-021-0/+10
| | | | | | (#24457, #4682). git-svn-id: https://svn.redmine.org/redmine/trunk@22803 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds estimated remaining hours issue query column calculated based on ↵Marius Balteanu2024-05-011-0/+28
| | | | | | | | estimated time and done ratio (#37862). Patch by Jens Krämer (@jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@22800 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an option to send email notification when an attachment is added (#40569).Marius Balteanu2024-04-282-2/+32
| | | | | | Patch by Mizuki ISHIKAWA (#ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@22790 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "unexpected invocation" test failure in IssueTest with Mocha 2.2.0 (#40603).Go MAEDA2024-04-231-3/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22786 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/MapIntoArray (#39887).Go MAEDA2024-04-092-8/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22778 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove redundant ApplicationHelper inclusions (#40506).Go MAEDA2024-04-027-10/+0
| | | | | | | Patch by Takuya Kodama (@otegami). git-svn-id: https://svn.redmine.org/redmine/trunk@22777 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix rubocop warning (#38975).Marius Balteanu2024-03-031-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22759 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Introduces Redmine::Plugin#attachment_object_type to provide better API for ↵Marius Balteanu2024-02-271-0/+8
| | | | | | | | registering plugin models having attachments (#39948, #39862). Patch by Jens Krämer (@jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@22747 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-26151-151/+151
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Deletes @Redmine::WikiFormatting::CommonMark::HelperTest@ tests that are no ↵Marius Balteanu2024-02-211-33/+0
| | | | | | longer required after wiki syntax help files refactor (#39111, #40137). git-svn-id: https://svn.redmine.org/redmine/trunk@22729 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Principal.not_member_of scope does not accept ActiveRecord::Relation (#28243).Go MAEDA2024-02-081-0/+6
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22697 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove trailing whitespaces from test/unit/lib/redmine/unified_diff_test.rb ↵Go MAEDA2024-02-051-2/+2
| | | | | | (#31507). git-svn-id: https://svn.redmine.org/redmine/trunk@22680 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ensure tests remain robust against trailing whitespace removal (#31507).Go MAEDA2024-02-051-11/+11
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22679 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add support for IDN (internationalized domain name) email addresses in user ↵Go MAEDA2024-02-011-0/+6
| | | | | | | | | accounts (#29208). Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22667 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix ScmData.binary? method not to consider UTF-8 text as binary (#40020).Go MAEDA2024-01-301-0/+47
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22664 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense "Lint/Syntax: invalid escape character syntax" (#38585).Go MAEDA2024-01-271-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22650 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/EmptyLineAfterMagicComment (#39111).Go MAEDA2024-01-271-0/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22646 e93f8b46-1217-0410-a6f0-8f06a7374b81