summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine/wiki_formatting/common_mark
Commit message (Collapse)AuthorAgeFilesLines
* Fix RuboCop Style/RedundantArrayFlatten (#41884).Go MAEDA2025-06-071-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23823 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
* 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
* Replaces deckar01-task_list gem with commonmarks tasklist extension (#42602).Marius Balteanu2025-04-271-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23718 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
* Use `fixtures :all` to ensure consistent test data and improve test ↵Go MAEDA2024-12-111-11/+0
| | | | | | | | | reliability (#41961). Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23391 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
* 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
* Updates test environment config to mark assertionless tests as failed (#36320).Marius Balteanu2024-08-201-1/+0
| | | | | | | Patch by Takashi Kato (user:tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22962 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
* 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
* Replaces use of Digest::MD5 / Digest::SHA1 with ActiveSupport::Digest (#35217).Marius Balteanu2024-05-071-1/+1
| | | | | | Patch by Jens Krämer (@jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@22816 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-267-7/+7
| | | | | | 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
* 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
* 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
* 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-017-7/+7
| | | | | | | | | (#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-017-7/+7
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/RedundantStringEscape (#36919).Go MAEDA2022-10-261-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21920 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
* 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
* 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
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-027-7/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 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
* 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-111-5/+19
| | | | | | | | 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