summaryrefslogtreecommitdiffstats
path: root/test/unit
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Fix failing test by ignoring the directories that start with a dot (#39111).Marius Balteanu2024-01-261-1/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22641 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes debug code added in r22638 (#39111).Marius Balteanu2024-01-261-2/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22640 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds debug code to investigate test fail on CI (#39111).Marius Balteanu2024-01-261-0/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22638 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove code that is no longer needed as a result of asset pipeline ↵Marius Balteanu2024-01-251-23/+0
| | | | | | | | implementation (#39111). Patch by Takashi Kato (@tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22627 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add Propshaft library to enable the asset pipeline without modifying ↵Marius Balteanu2024-01-251-0/+44
| | | | | | | | existing assets (#39111). Patch by Takashi Kato (@tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22626 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use ApplicationRecord instead of ActiveRecord::Base (#38975).Marius Balteanu2024-01-231-6/+6
| | | | | | Patch by Minoru Maeda (@maeda-m). git-svn-id: https://svn.redmine.org/redmine/trunk@22619 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r22438 (#35189).Marius Balteanu2024-01-232-12/+7
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22616 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support localized decimal separators for float values in PDF export (#22024).Go MAEDA2024-01-041-2/+7
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22594 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support localized decimal separators for float values (#22024).Go MAEDA2024-01-041-0/+28
| | | | | | | Patch by Liane Hampe (@liane_hampe). git-svn-id: https://svn.redmine.org/redmine/trunk@22592 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "any" operator for text filters to exclude empty text values (#39991).Go MAEDA2024-01-021-1/+14
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22583 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extend "contains" operator in "Parent task" filter to support multiple issue ↵Go MAEDA2023-12-291-0/+25
| | | | | | | | | IDs (#39805). Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22577 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates number of subversion filechanges in ↵Marius Balteanu2023-12-251-1/+1
| | | | | | @test_fetch_changesets_from_scratch@ (#39747, #36320). git-svn-id: https://svn.redmine.org/redmine/trunk@22557 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates number of subversion revisions in ↵Marius Balteanu2023-12-241-1/+1
| | | | | | @test/unit/repository_subversion_test.rb@ (#39747, #36320). git-svn-id: https://svn.redmine.org/redmine/trunk@22556 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow consecutive footnote references inTextile (#39884).Marius Balteanu2023-12-221-0/+17
| | | | | | Patch by @hjust. git-svn-id: https://svn.redmine.org/redmine/trunk@22546 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Performance/StringIdentifierArgument (#39888).Go MAEDA2023-12-202-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22535 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/HashEachMethods (#39887).Go MAEDA2023-12-201-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22532 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Lint/SymbolConversion (#39887).Go MAEDA2023-12-201-4/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22531 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes random failing test by using @async_count@ in order to avoid query ↵Marius Balteanu2023-12-141-1/+1
| | | | | | | | caching (#36320). Patch by @maeda-m. git-svn-id: https://svn.redmine.org/redmine/trunk@22520 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r22507, r22508 and r22510 (#36320, #39803).Marius Balteanu2023-12-122-7/+5
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22515 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change the default notification option from `only_my_events` to ↵Go MAEDA2023-12-112-2/+2
| | | | | | | | | `only_assigned` (#39500). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22512 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Revert r22504 that missing a necessary file (#39500).Go MAEDA2023-12-112-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22511 e93f8b46-1217-0410-a6f0-8f06a7374b81