summaryrefslogtreecommitdiffstats
path: root/lib/redmine/wiki_formatting
Commit message (Collapse)AuthorAgeFilesLines
* Merged r21902 from trunk to 5.0-stable (#37767).Go MAEDA2022-10-171-5/+7
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21903 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merge r21894 from trunk to 5.0-stable (#37751).Marius Balteanu2022-10-041-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21895 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r21850 and r21851 from trunk to 5.0-stable (#37237).Marius Balteanu2022-09-271-0/+15
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21859 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r21849 from trunk to 5.0-stable (#37713).Marius Balteanu2022-09-271-0/+6
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21858 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r21716 and r21719 from trunk to 5.0-stable (#37379).Go MAEDA2022-07-211-2/+6
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21735 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r21612 to 5.0-stable (35892).Marius Balteanu2022-05-281-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21617 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r21558 and r21559 to 5.0-stable (#36958).Marius Balteanu2022-05-111-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21570 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Comments for Textile text formatting (#20511).Go MAEDA2022-03-171-0/+5
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21457 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable task list items for Common Mark text formatting (#35742).Marius Balteanu2022-01-221-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21383 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes Markdown and CommonMark formatters independent of each other (#32424).Marius Balteanu2022-01-041-8/+21
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21345 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-0218-18/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Move preparation code to redmine/preparation.rb (#29914, #32938).Marius Balteanu2021-11-171-1/+0
| | | | | | Patch by Takashi Kato. git-svn-id: http://svn.redmine.org/redmine/trunk@21284 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix typo in class 'icon-expended' (#36149).Marius Balteanu2021-11-081-1/+1
| | | | | | Patch by Bernhard Rohloff. git-svn-id: http://svn.redmine.org/redmine/trunk@21275 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update .rubocop_todo and fix Style/AndOr offense (#29914, #32938).Marius Balteanu2021-10-201-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21253 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Split multiple classes and modules that existed in the same file (#29914, ↵Marius Balteanu2021-10-201-0/+107
| | | | | | | | #32938). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21252 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Append two spaces to lines when importing an email on CommonMark with ↵Marius Balteanu2021-10-032-1/+31
| | | | | | | | hardbreaks disabled (#32424). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21228 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make hardbreaks behaviour configurable in config/configuration.yml (#32424).Marius Balteanu2021-10-031-2/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21227 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unify code block and add "data-language" attribute with the user-supplied ↵Marius Balteanu2021-08-152-6/+10
| | | | | | | | 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-2/+5
| | | | | | | | for CommonMark formater (#35104, #32424). Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@21182 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Preserve the code block and remove the class from it when the language is ↵Marius Balteanu2021-08-151-2/+2
| | | | | | not supported in CommonMark formatter (#35765, 32424). git-svn-id: http://svn.redmine.org/redmine/trunk@21181 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed Replace class var @@allowlist with a class instance var (#32424).Marius Balteanu2021-08-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21166 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace deprecated Sanitize keywords (#32424).Marius Balteanu2021-08-111-17/+17
| | | | | | Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@21162 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Relax allowed protocols in links by denying specific protocols for ↵Marius Balteanu2021-08-111-5/+23
| | | | | | | | 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-118-0/+441
| | | | | | | | (#32424). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21156 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Inline image in Textile is not displayed if the image URL contains ↵Go MAEDA2021-07-281-1/+1
| | | | | | | | | ampersands (#35441). Contributed by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21101 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove deprecated WikiContent::Version (#35031).Go MAEDA2021-05-151-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21002 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Markdown text sections broken by thematic breaks (horizontal rules) (#35036).Go MAEDA2021-05-141-1/+1
| | | | | | | Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@20998 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-258-8/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of lib/redmine/wiki_formatting/macros.rbToshi MARUYAMA2020-12-121-7/+31
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20638 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of lib/redmine/wiki_formatting/textile/helper.rbToshi MARUYAMA2020-12-101-3/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20610 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of lib/redmine/wiki_formatting/markdown/helper.rbToshi MARUYAMA2020-12-101-3/+16
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20608 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add empty line after guard clause to lib/redmine/wiki_formatting/macros.rbToshi MARUYAMA2020-11-031-0/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20230 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add empty line after guard clause to ↵Toshi MARUYAMA2020-11-031-0/+1
| | | | | | lib/redmine/wiki_formatting/markdown/formatter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20229 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add empty line after guard clause to ↵Toshi MARUYAMA2020-10-281-0/+1
| | | | | | lib/redmine/wiki_formatting/textile/formatter.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20227 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace gsub with tr, delete, or squeeze (#34161).Go MAEDA2020-10-241-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20176 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use match? instead of =~ when MatchData is not used (#34150).Go MAEDA2020-10-231-4/+4
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20168 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of lib/redmine/wiki_formatting/macros.rbToshi MARUYAMA2020-09-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20062 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't internationalize error messages used when defining a macro (#33426).Go MAEDA2020-09-111-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20015 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Internationalize error messages for wiki macros (#33426).Go MAEDA2020-09-101-11/+11
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of lib/redmine/wiki_formatting/textile/redcloth3.rbToshi MARUYAMA2020-07-031-13/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19850 e93f8b46-1217-0410-a6f0-8f06a7374b81
* XSS vulnerabilities in textile links (#32934).Jean-Philippe Lang2020-04-051-1/+9
| | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@19672 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r19489 (#32934).Jean-Philippe Lang2020-04-051-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19671 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-038-8/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix a RuboCop offence Style/NegatedWhile (#32971).Go MAEDA2020-02-291-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19542 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Newline between list items break a list (#32971).Go MAEDA2020-02-291-5/+6
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19536 e93f8b46-1217-0410-a6f0-8f06a7374b81
* White list protocols allowed for Textile links (#32934).Jean-Philippe Lang2020-02-021-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19489 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make languages in Highlighted code button in toolbar customizable (#32528).Go MAEDA2020-01-142-2/+6
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@19429 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix missing arrow icon of collapse macro (#32754).Go MAEDA2020-01-071-2/+2
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19413 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r19409 that breaks some tests (#32754).Go MAEDA2020-01-071-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19410 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that arrow icon for {{collapse}} macro is not shown (#32754).Go MAEDA2020-01-071-2/+2
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19409 e93f8b46-1217-0410-a6f0-8f06a7374b81