summaryrefslogtreecommitdiffstats
path: root/test/unit/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Fix that I18nTest#test_custom_pluralization_rules randomly fails (#36396, ↵Go MAEDA2022-01-221-1/+3
| | | | | | | | | #36461). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21382 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Custom I18n Pluralization rules are not applied correctly (#36396).Go MAEDA2022-01-151-0/+9
| | | | | | | Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21365 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change the default value for "Time span format" from "decimal" to "minutes" ↵Go MAEDA2022-01-082-2/+2
| | | | | | (#36391). git-svn-id: http://svn.redmine.org/redmine/trunk@21355 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Auto guess file encoding when importing CSV file (#34718).Go MAEDA2022-01-071-0/+17
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21352 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-0267-67/+67
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes for Performance/StringIdentifierArgument introduced in RuboCop ↵Go MAEDA2021-12-292-4/+4
| | | | | | Performance 1.13.0 (#35142). git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Lazy load inline images (#36294).Go MAEDA2021-12-141-1/+1
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21313 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix redmine:plugins:assets rake task fails (#36287, #32938).Go MAEDA2021-12-081-0/+14
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21300 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix plugin assets are no longer copied under plugin name (#36218, #29914, ↵Marius Balteanu2021-11-251-0/+47
| | | | | | #32938). git-svn-id: http://svn.redmine.org/redmine/trunk@21295 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix typo in class 'icon-expended' (#36149).Marius Balteanu2021-11-081-3/+3
| | | | | | Patch by Bernhard Rohloff. git-svn-id: http://svn.redmine.org/redmine/trunk@21275 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Tokenize search parameter in order to allow multiple search terms in:Marius Balteanu2021-10-051-0/+27
| | | | | | | | | * the "contains" operator of text filters * in issue autocomplete Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unify code block and add "data-language" attribute with the user-supplied ↵Marius Balteanu2021-08-152-9/+35
| | | | | | | | language for Textile and Markdown formaters (#35104). Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@21183 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "data-language" attribute to code block with the user-supplied language ↵Marius Balteanu2021-08-152-15/+36
| | | | | | | | for CommonMark formater (#35104, #32424). Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@21182 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update failing test after hardbreaks enabled by default (#35754, #32424).Marius Balteanu2021-08-151-2/+2
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21177 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed failing test on CommonMark by striping the trailing whitespace ↵Marius Balteanu2021-08-111-1/+1
| | | | | | returned by the footnote (#32424). git-svn-id: http://svn.redmine.org/redmine/trunk@21164 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed Layout/HeredocIndentation: Use 2 spaces for indentation in a heredoc ↵Marius Balteanu2021-08-111-11/+11
| | | | | | by using <<~ instead of <<- (#32424). git-svn-id: http://svn.redmine.org/redmine/trunk@21163 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Relax allowed protocols in links by denying specific protocols for ↵Marius Balteanu2021-08-112-5/+60
| | | | | | | | CommonMark text formatting (#32424). Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@21161 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds CommonMark Markdown (GitHub Flavored) as third text formatting option ↵Marius Balteanu2021-08-117-0/+755
| | | | | | | | (#32424). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21156 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add missing fixtures to Redmine::ProjectJumpBoxTest (#35727).Go MAEDA2021-08-101-1/+1
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21147 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rename test/fixtures/configuration/*.yml.example to ↵Go MAEDA2021-07-101-6/+6
| | | | | | test/fixtures/files/configuration/*.yml (#35466). git-svn-id: http://svn.redmine.org/redmine/trunk@21067 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Markdown text sections broken by thematic breaks (horizontal rules) (#35036).Go MAEDA2021-05-141-0/+69
| | | | | | | Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@20998 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix ArgumentError: wrong number of arguments (given 1, expected 3) (#29914).Go MAEDA2021-04-011-1/+5
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20889 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support for Git repositories with default branch "main" (#34942).Go MAEDA2021-03-261-0/+19
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20851 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-2558-58/+58
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Only show currently visible projects in the project jump box (#34595).Go MAEDA2021-03-161-1/+14
| | | | | | | Patch by Holger Just and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20803 e93f8b46-1217-0410-a6f0-8f06a7374b81