Marius Balteanu
|
b7798e6e1c
|
Unify code block and add "data-language" attribute with the user-supplied 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
|
2021-08-15 21:00:16 +00:00 |
|
Marius Balteanu
|
5699253da6
|
Add "data-language" attribute to code block with the user-supplied language for CommonMark formater (#35104, #32424).
Patch by Martin Cizek.
git-svn-id: http://svn.redmine.org/redmine/trunk@21182 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2021-08-15 20:59:04 +00:00 |
|
Marius Balteanu
|
12b2dd3098
|
Preserve the code block and remove the class from it when the language is not supported in CommonMark formatter (#35765, 32424).
git-svn-id: http://svn.redmine.org/redmine/trunk@21181 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2021-08-15 20:57:38 +00:00 |
|
Marius Balteanu
|
e1e4736e97
|
Fixed Replace class var @@allowlist with a class instance var (#32424).
git-svn-id: http://svn.redmine.org/redmine/trunk@21166 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2021-08-11 21:52:37 +00:00 |
|
Marius Balteanu
|
5b0a10cc1a
|
Replace deprecated Sanitize keywords (#32424).
Patch by Martin Cizek.
git-svn-id: http://svn.redmine.org/redmine/trunk@21162 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2021-08-11 21:50:16 +00:00 |
|
Marius Balteanu
|
e8c911577f
|
Relax allowed protocols in links by denying specific protocols for CommonMark text formatting (#32424).
Patch by Martin Cizek.
git-svn-id: http://svn.redmine.org/redmine/trunk@21161 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2021-08-11 21:49:27 +00:00 |
|
Marius Balteanu
|
9af2ba2c13
|
Adds CommonMark Markdown (GitHub Flavored) as third text formatting option (#32424).
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21156 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2021-08-11 21:40:56 +00:00 |
|
Go MAEDA
|
f5ac84a516
|
Inline image in Textile is not displayed if the image URL contains ampersands (#35441).
Contributed by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21101 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2021-07-28 08:25:15 +00:00 |
|
Go MAEDA
|
ec3527102d
|
Remove deprecated WikiContent::Version (#35031).
git-svn-id: http://svn.redmine.org/redmine/trunk@21002 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2021-05-15 05:51:14 +00:00 |
|
Go MAEDA
|
183642ba20
|
Markdown text sections broken by thematic breaks (horizontal rules) (#35036).
Patch by Martin Cizek.
git-svn-id: http://svn.redmine.org/redmine/trunk@20998 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2021-05-14 09:39:12 +00:00 |
|
Go MAEDA
|
3e36b5c452
|
Update copyright year in source files to 2021 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2021-03-25 06:58:56 +00:00 |
|
Toshi MARUYAMA
|
690135e1c5
|
shorten long line of lib/redmine/wiki_formatting/macros.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20638 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-12-12 15:49:29 +00:00 |
|
Toshi MARUYAMA
|
e6b7534345
|
shorten long line of lib/redmine/wiki_formatting/textile/helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20610 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-12-10 13:34:07 +00:00 |
|
Toshi MARUYAMA
|
3e45498005
|
shorten long line of lib/redmine/wiki_formatting/markdown/helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20608 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-12-10 13:33:52 +00:00 |
|
Toshi MARUYAMA
|
52d8b5549e
|
add empty line after guard clause to lib/redmine/wiki_formatting/macros.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20230 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-11-03 14:54:59 +00:00 |
|
Toshi MARUYAMA
|
bfa5bf812a
|
add empty line after guard clause to lib/redmine/wiki_formatting/markdown/formatter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20229 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-11-03 14:54:51 +00:00 |
|
Toshi MARUYAMA
|
385ac98c9d
|
add empty line after guard clause to lib/redmine/wiki_formatting/textile/formatter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20227 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-10-28 14:43:21 +00:00 |
|
Go MAEDA
|
78dfef0978
|
Replace gsub with tr, delete, or squeeze (#34161).
git-svn-id: http://svn.redmine.org/redmine/trunk@20176 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-10-24 06:46:50 +00:00 |
|
Go MAEDA
|
fdba424d77
|
Use match? instead of =~ when MatchData is not used (#34150).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@20168 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-10-23 00:13:38 +00:00 |
|
Toshi MARUYAMA
|
3db455b048
|
remove spaces inside {} of lib/redmine/wiki_formatting/macros.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20062 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-09-21 13:04:09 +00:00 |
|
Go MAEDA
|
e84ab8fcb6
|
Don't internationalize error messages used when defining a macro (#33426).
git-svn-id: http://svn.redmine.org/redmine/trunk@20015 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-09-11 00:42:49 +00:00 |
|
Go MAEDA
|
58eca8190e
|
Internationalize error messages for wiki macros (#33426).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@20013 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-09-10 07:19:21 +00:00 |
|
Toshi MARUYAMA
|
a830a23d7b
|
fix source indent of lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19850 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-07-03 11:45:37 +00:00 |
|
Jean-Philippe Lang
|
895fc12d56
|
XSS vulnerabilities in textile links (#32934).
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@19672 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-04-05 14:41:33 +00:00 |
|
Jean-Philippe Lang
|
d257990868
|
Reverts r19489 (#32934).
git-svn-id: http://svn.redmine.org/redmine/trunk@19671 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-04-05 14:35:44 +00:00 |
|
Go MAEDA
|
907e0173e4
|
Update copyright year in source files to 2020 (#33069).
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-03-03 00:24:10 +00:00 |
|
Go MAEDA
|
0ba13a0bd3
|
Fix a RuboCop offence Style/NegatedWhile (#32971).
git-svn-id: http://svn.redmine.org/redmine/trunk@19542 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-02-29 11:18:18 +00:00 |
|
Go MAEDA
|
2253032ebc
|
Newline between list items break a list (#32971).
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19536 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-02-29 04:21:53 +00:00 |
|
Jean-Philippe Lang
|
e9d5b0b8dc
|
White list protocols allowed for Textile links (#32934).
git-svn-id: http://svn.redmine.org/redmine/trunk@19489 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-02-02 10:19:16 +00:00 |
|
Go MAEDA
|
6611f5bf5d
|
Make languages in Highlighted code button in toolbar customizable (#32528).
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19429 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-01-14 14:38:48 +00:00 |
|
Go MAEDA
|
03a4e21568
|
Fix missing arrow icon of collapse macro (#32754).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19413 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-01-07 14:56:29 +00:00 |
|
Go MAEDA
|
eb6e390ee8
|
Reverts r19409 that breaks some tests (#32754).
git-svn-id: http://svn.redmine.org/redmine/trunk@19410 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-01-07 01:51:33 +00:00 |
|
Go MAEDA
|
d06b8bbb53
|
Fix that arrow icon for {{collapse}} macro is not shown (#32754).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19409 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2020-01-07 01:34:14 +00:00 |
|
Toshi MARUYAMA
|
5876324372
|
filter all possibly class values on code tags in Textile (#25742)
Contributed by Holger Just from Planio.
git-svn-id: http://svn.redmine.org/redmine/trunk@19333 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-12-05 11:25:24 +00:00 |
|
Toshi MARUYAMA
|
741aa901b0
|
cleanup: rubocop: fix Layout/ClosingParenthesisIndentation in lib/redmine/wiki_formatting/macros.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19192 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-11-23 09:04:46 +00:00 |
|
Go MAEDA
|
fc2e4c1eba
|
Fix that receiving HTML email fails if it contains a link without an href attribute (#31695).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18988 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-11-09 06:06:05 +00:00 |
|
Toshi MARUYAMA
|
9908565bde
|
cleanup: rubocop: fix Layout/AlignArguments in lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18925 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-11-06 12:03:47 +00:00 |
|
Go MAEDA
|
19990751a5
|
Eases the regexp used to determine the start of a code block (#32359).
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@18880 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-10-29 21:54:04 +00:00 |
|
Toshi MARUYAMA
|
adff3bcb7e
|
code cleanup: rubocop: fix Layout/CommentIndentation in lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18773 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-10-19 12:25:46 +00:00 |
|
Toshi MARUYAMA
|
57a66e950c
|
code cleanup: rubocop: fix Layout/EmptyLines in lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18742 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-10-19 07:27:46 +00:00 |
|
Toshi MARUYAMA
|
e3397db933
|
code cleanup: rubocop: fix Style/WhileUntilModifier in lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18738 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-10-19 07:26:59 +00:00 |
|
Toshi MARUYAMA
|
30964255f1
|
code cleanup: rubocop: fix Style/UnlessElse in lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18737 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-10-19 07:26:45 +00:00 |
|
Toshi MARUYAMA
|
18442d568a
|
code layout clean up lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18721 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-10-17 16:40:08 +00:00 |
|
Toshi MARUYAMA
|
8bac080b8c
|
code cleanup: rubocop: fix Style/CharacterLiteral and Style/ParenthesesAroundCondition in lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18720 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-10-17 16:39:55 +00:00 |
|
Toshi MARUYAMA
|
e8b06af277
|
code cleanup: rubocop: fix Layout/EmptyLinesAroundMethodBody in lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18696 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-10-16 14:36:55 +00:00 |
|
Toshi MARUYAMA
|
3f691ee4c2
|
code cleanup: rubocop: fix Layout/LeadingCommentSpace in lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18690 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-10-16 13:00:41 +00:00 |
|
Toshi MARUYAMA
|
c5e2c064f2
|
code cleanup: rubocop: fix Layout/AccessModifierIndentation in lib/redmine/wiki_formatting/textile/formatter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18686 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-10-15 17:25:42 +00:00 |
|
Toshi MARUYAMA
|
38bf3f5024
|
code cleanup: rubocop: fix Layout/AccessModifierIndentation and Layout/EmptyLinesAroundAccessModifier in lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18685 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-10-15 17:25:31 +00:00 |
|
Toshi MARUYAMA
|
d7d85cd85f
|
code cleanup: rubocop: fix Layout/SpaceInsideStringInterpolation in lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18684 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-10-15 17:25:19 +00:00 |
|
Toshi MARUYAMA
|
c82054a651
|
code cleanup: rubocop: fix Style/IfWithSemicolon in lib/redmine/wiki_formatting/textile/redcloth3.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18680 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2019-10-15 11:48:37 +00:00 |
|