summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine
Commit message (Collapse)AuthorAgeFilesLines
* Merged r23252 from trunk to 6.0-stable (#41728).Marius Balteanu2024-11-111-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23253 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r23242 from trunk to 6.0-stable.Marius Balteanu2024-11-101-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23243 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allows plugins to add custom SVG icons for menu items added by the plugin ↵Marius Balteanu2024-11-102-0/+18
| | | | | | | | (#23980). Patch by Takenori TAKAKI (user:takenory). git-svn-id: https://svn.redmine.org/redmine/trunk@23234 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r23190-r23187 because the CI build fails with error "ERROR: Failed ↵Marius Balteanu2024-11-037-7/+7
| | | | | | to build gem native extension" (#40197). git-svn-id: https://svn.redmine.org/redmine/trunk@23197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates commonmark gem version to 1.1.5 which switches from libcmark-gfm to ↵Marius Balteanu2024-11-037-7/+7
| | | | | | comrak/Rust. git-svn-id: https://svn.redmine.org/redmine/trunk@23188 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgrades propshaft to 1.1.0 (#39111).Marius Balteanu2024-10-311-1/+1
| | | | | | | Patch by Takashi Kato (user:tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@23174 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix tests for the partial quoting feature that randomly fail (#41294).Go MAEDA2024-10-261-8/+10
| | | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23162 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Drop deprecated Redcarpet based Markdown formatter (#40149).Go MAEDA2024-10-203-411/+1
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23153 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes tests after r23104 (#23980).Marius Balteanu2024-10-111-7/+7
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23114 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Partial quoting feature for Issues and Forums (#41294).Go MAEDA2024-10-091-0/+40
| | | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23107 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
* Use anonymous block forwarding introduced in Ruby 3.1 (#38585).Go MAEDA2024-08-212-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22973 e93f8b46-1217-0410-a6f0-8f06a7374b81
* 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-2671-71/+71
| | | | | | 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