summaryrefslogtreecommitdiffstats
path: root/test/unit/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Fix random test failure of VersionsTextHelperTest#test_version_to_text (#36679).Go MAEDA2023-04-161-1/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22196 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add a test for VersionsTextHelper (#36679).Go MAEDA2023-04-141-0/+41
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@22184 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/RedundantHeredocDelimiterQuotes (#36919).Go MAEDA2023-02-141-0/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22105 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix test failure with Commonmarker 0.23.8 (#38239).Go MAEDA2023-02-051-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22092 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/MethodCallWithoutArgsParentheses (#36919).Go MAEDA2023-01-253-3/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22075 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support for WebP images (#38168).Go MAEDA2023-01-161-0/+6
| | | | | | | | | | | * Inline image * Thumbnail * Inserting markup for an image uploaded by drag and drop Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22045 e93f8b46-1217-0410-a6f0-8f06a7374b81
* CommonMark Markdown formatter does not support min-width, max-width, ↵Go MAEDA2023-01-111-0/+4
| | | | | | | | | min-height, and max-height CSS properties (#38073). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22025 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use `require_relative` instead of `require File.expand_path(..., __FILE__)` ↵Go MAEDA2023-01-0169-69/+69
| | | | | | | | | (#38093). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-0169-69/+69
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Performance/StringInclude (#37247).Go MAEDA2022-12-262-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22003 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow using ideographic space (U+3000) as a separator for search terms (#37878).Go MAEDA2022-11-031-0/+6
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21952 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Database migrations don't run correctly for plugins when specifying the ↵Go MAEDA2022-10-301-0/+13
| | | | | | | | | `VERSION` env variable (#31116). Contributed by crypto gopher. git-svn-id: https://svn.redmine.org/redmine/trunk@21933 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/RedundantStringEscape (#36919).Go MAEDA2022-10-263-11/+11
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21920 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/FirstHashElementIndentation due to r21894 (#37751).Go MAEDA2022-10-201-4/+5
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21915 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offenses Layout/EmptyLinesAroundClassBody and ↵Go MAEDA2022-10-201-2/+0
| | | | | | Layout/TrailingEmptyLines in html_sanitizer_test.rb (#37750). git-svn-id: https://svn.redmine.org/redmine/trunk@21914 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Escape tags that start with pre (#37767).Go MAEDA2022-10-171-0/+11
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@21902 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Uses the new html sanitizer for links rendered by custom fields (#37750).Marius Balteanu2022-10-044-14/+14
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21901 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Introduces a standalone html sanitizer class (#37750).Marius Balteanu2022-10-041-0/+40
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21900 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Escape blockquote citation in textile formatting (#37751).Marius Balteanu2022-10-041-0/+7
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21894 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/LineLength due to r21849 (#37713).Go MAEDA2022-09-281-2/+8
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21865 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow select custom CSS properties (#37237).Marius Balteanu2022-09-261-0/+4
| | | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21850 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add rel="noopener" to all external links with a target attribute (#37713).Marius Balteanu2022-09-261-0/+5
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21849 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support revision without any message in Mercurial repositories (#36258).Go MAEDA2022-09-011-3/+17
| | | | | | | Patch by salman mp and Yuichi HARADA. git-svn-id: https://svn.redmine.org/redmine/trunk@21792 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Psych::DisallowedClass exception when loading default plugin settings ↵Go MAEDA2022-07-211-0/+7
| | | | | | | | | (#37450, #37476). Contributed by Dmitry Makurin. git-svn-id: https://svn.redmine.org/redmine/trunk@21725 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing fixture to IssuesPdfHelperTest (#37451).Go MAEDA2022-07-171-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21710 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random failing test (#37138).Marius Balteanu2022-06-201-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21664 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Revert r21662 (#37255).Marius Balteanu2022-06-201-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21663 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix random failing test (#37255).Marius Balteanu2022-06-201-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21662 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix mentions of users with "@" in their username not working (#37138).Marius Balteanu2022-06-201-0/+9
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21660 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r21618 to trunk (#35892).Marius Balteanu2022-05-281-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21619 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update footnotes markup after commonmarker gem update (#35892).Marius Balteanu2022-05-281-3/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21612 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add a test for #36958.Marius Balteanu2022-05-031-0/+6
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21559 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add test for #36932.Marius Balteanu2022-04-271-0/+7
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21542 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix Redmine::Plugin.assets_directory is not working after r21283 (#36835).Marius Balteanu2022-03-241-0/+5
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21498 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Comments for Textile text formatting (#20511).Go MAEDA2022-03-171-0/+32
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21457 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow users to be mentioned using @ in issues and wiki pages (#13919):Marius Balteanu2022-02-231-0/+146
| | | | | | | | | | * the user must have add watchers permission on that object in order to mention other users * mentioned user will receive a notification email * only visible users who can view the object can be mentioned git-svn-id: http://svn.redmine.org/redmine/trunk@21435 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Explicitly specify text formatting in the tests (#35952).Marius Balteanu2022-01-222-126/+189
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21386 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable task list items for Common Mark text formatting (#35742).Marius Balteanu2022-01-221-0/+21
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21383 e93f8b46-1217-0410-a6f0-8f06a7374b81