summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine
Commit message (Collapse)AuthorAgeFilesLines
* Reimplement partial quote feature using Stimulus JS (#42515).Marius Balteanu2025-07-041-7/+7
| | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23854 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop Style/RedundantArrayFlatten (#41884).Go MAEDA2025-06-072-7/+7
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23823 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change quote note icon to quotation marks (#31531).Marius Balteanu2025-05-301-1/+1
| | | | | | Patch by Mizuki ISHIKAWA (user:ishikawa999) and Marius BALTEANU (user:marius.balteanu). git-svn-id: https://svn.redmine.org/redmine/trunk@23809 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds icons to commonmark alerts (#42603).Marius Balteanu2025-05-241-1/+5
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23796 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Avoid adding "%" suffix in CSV export for Progress Bar custom fields to ↵Go MAEDA2025-05-171-0/+12
| | | | | | | | | prevent import errors (#42335, #42706). Patch by Kenta Kumojima (user:kumojima). git-svn-id: https://svn.redmine.org/redmine/trunk@23780 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Improve method and variable naming for clarity and consistency (#42630).Go MAEDA2025-05-151-8/+8
| | | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23769 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show reaction counts and user names only for reactions visible to the ↵Go MAEDA2025-05-151-4/+0
| | | | | | | | | logged-in user (#42630). Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23768 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Introduce reactions feature (so-called "like button") to issues, notes, ↵Go MAEDA2025-05-111-0/+193
| | | | | | | | | news, and forums (#42630). Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23755 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes rubocop offenses (#42648, #42603).Marius Balteanu2025-04-301-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23728 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes rubocop offense "Prefer assert_not_includes over refute_includes" ↵Marius Balteanu2025-04-301-1/+1
| | | | | | (#42603). git-svn-id: https://svn.redmine.org/redmine/trunk@23727 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes broken references for multiple footnote usage (#42648).Marius Balteanu2025-04-301-4/+8
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23726 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes failing test (#42603).Marius Balteanu2025-04-301-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23725 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable CommonMark alert extension (#42603).Marius Balteanu2025-04-292-9/+74
| | | | | | Patch by Mizuki ISHIKAWA (user:ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@23724 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop Layout/EmptyLinesAroundMethodBody (#42602).Go MAEDA2025-04-271-1/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23723 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces deckar01-task_list gem with commonmarks tasklist extension (#42602).Marius Balteanu2025-04-272-1/+22
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23718 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds interval ratio setting to progressbar custom field (#42335).Go MAEDA2025-04-191-1/+36
| | | | | | | Patch by Marius BĂLTEANU (user:marius.balteanu) and Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23686 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop Style/RedundantFormat by renaming custom `format` method to ↵Go MAEDA2025-04-111-32/+32
| | | | | | `to_html` to avoid name conflict with `Kernel#format` (#41884). git-svn-id: https://svn.redmine.org/redmine/trunk@23624 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Skip repository tests when the SCM client command is unavailable (#42500).Go MAEDA2025-04-105-13/+7
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23618 e93f8b46-1217-0410-a6f0-8f06a7374b81
* "Progress bar" custom field format (#42335).Go MAEDA2025-03-261-0/+85
| | | | | | | Patch by Jens Krämer (user:jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@23560 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Correctly handle exception messages in macros (#42326).Marius Balteanu2025-03-061-2/+2
| | | | | | | Patch by Holger Just (user:hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@23519 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix: Float custom values with ',' as decimal separator are not converted to ↵Go MAEDA2025-02-081-5/+13
| | | | | | | | | '.' and cause SQL errors when sorting or summing (#42233). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23495 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use `fixtures :all` to ensure consistent test data and improve test ↵Go MAEDA2024-12-1121-90/+0
| | | | | | | | | reliability (#41961). Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23391 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random test failures in Redmine::Acts::MentionableTest due to unsorted ↵Go MAEDA2024-11-291-3/+3
| | | | | | | | | mentioned_users (#41889). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23322 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update Rouge gem version to 4.5 (#41728).Marius Balteanu2024-11-111-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23252 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates commonmark gem version to 1.1.5 which switches from libcmark-gfm to ↵Marius Balteanu2024-11-117-7/+7
| | | | | | comrak/Rust (#40197). git-svn-id: https://svn.redmine.org/redmine/trunk@23247 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random test failures due to missing fixtures (#41623).Go MAEDA2024-11-111-1/+1
| | | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23246 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop Layout/SpaceAfterComma in ↵Marius Balteanu2024-11-101-1/+1
| | | | | | test/unit/lib/redmine/menu_manager/menu_helper_test.rb. git-svn-id: https://svn.redmine.org/redmine/trunk@23242 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