summaryrefslogtreecommitdiffstats
path: root/test/unit/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix RuboCop offense Layout/EmptyLinesAroundClassBody (#36320).Go MAEDA2024-08-201-1/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22966 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates test environment config to mark assertionless tests as failed (#36320).Marius Balteanu2024-08-205-5/+0
| | | | | | | 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 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-121-1/+1
| | | | | | 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-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/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 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-141-11/+11
| | | | | | | Patch by Holger Just (@hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@22929 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
* 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
* 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
* 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
* 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 an option to send email notification when an attachment is added (#40569).Marius Balteanu2024-04-281-1/+1
| | | | | | Patch by Mizuki ISHIKAWA (#ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@22790 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-2672-72/+72
| | | | | | 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
* 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
* 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
* 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
* 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-201-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22535 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
* 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
* 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
* 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
* 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
* 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
* 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 "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