Commit Graph

144 Commits

Author SHA1 Message Date
Toshi MARUYAMA
cef7e91777 shorten long line of test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20671 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-12-19 17:32:12 +00:00
Toshi MARUYAMA
4fba0c5240 use "skip" instead of "if statement" whether Redcarpet is installed at markdown_formatter_test
git-svn-id: http://svn.redmine.org/redmine/trunk@20531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-30 15:49:44 +00:00
Toshi MARUYAMA
65425463f1 shorten long line of test/unit/lib/redmine/wiki_formatting/macros_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20527 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-30 15:49:14 +00:00
Go MAEDA
e75829d2f3 Fix broken test due to r19868 (#31881).
git-svn-id: http://svn.redmine.org/redmine/trunk@19869 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-07-09 03:22:01 +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
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
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
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
a85b776324 cleanup: rubocop: fix Layout/IndentFirstHashElement in test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19260 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 13:19:39 +00:00
Toshi MARUYAMA
8c91acdfea cleanup: rubocop: fix Layout/SpaceInsideBlockBraces in test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19259 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 13:19:27 +00:00
Toshi MARUYAMA
9d48754b32 cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 13:19:05 +00:00
Toshi MARUYAMA
2c786065fb cleanup: rubocop: fix Layout/EmptyLineAfterGuardClause in test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19252 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 12:58:38 +00:00
Toshi MARUYAMA
3a5c47f6e9 cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/wiki_formatting/markdown_html_parser_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19251 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 12:58:26 +00:00
Toshi MARUYAMA
e164ad7f1f cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19246 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 12:40:52 +00:00
Toshi MARUYAMA
b4bfc18bb4 cleanup: rubocop: fix Layout/SpaceInsideParens in test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-24 05:26:22 +00:00
Toshi MARUYAMA
59336036e4 cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/wiki_formatting/textile_html_parser_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19196 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 14:26:37 +00:00
Toshi MARUYAMA
c37ad515f8 cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/wiki_formatting/html_parser_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19187 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-23 09:03:55 +00:00
Toshi MARUYAMA
11383795ab cleanup: rubocop: fix Layout/ClosingHeredocIndentation in TextileFormatterTest#test_nested_lists
git-svn-id: http://svn.redmine.org/redmine/trunk@19168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:35:20 +00:00
Toshi MARUYAMA
60878a2ad3 cleanup: rubocop: fix Layout/ClosingHeredocIndentation in TextileFormatterTest#test_blockquote
git-svn-id: http://svn.redmine.org/redmine/trunk@19167 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:35:09 +00:00
Toshi MARUYAMA
7e4d48d084 cleanup: rubocop: fix Layout/ClosingHeredocIndentation in TextileFormatterTest#test_table
git-svn-id: http://svn.redmine.org/redmine/trunk@19166 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:34:58 +00:00
Toshi MARUYAMA
d463d8ef6a cleanup: rubocop: fix Layout/ClosingHeredocIndentation in TextileFormatterTest#test_table_with_alignment
git-svn-id: http://svn.redmine.org/redmine/trunk@19165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:34:47 +00:00
Toshi MARUYAMA
f4f93d6a3f cleanup: rubocop: fix Layout/ClosingHeredocIndentation in TextileFormatterTest#test_table_with_trailing_whitespace
git-svn-id: http://svn.redmine.org/redmine/trunk@19164 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:34:36 +00:00
Toshi MARUYAMA
8f5190d5c0 cleanup: rubocop: fix Layout/ClosingHeredocIndentation in TextileFormatterTest#test_table_with_line_breaks
git-svn-id: http://svn.redmine.org/redmine/trunk@19163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:34:23 +00:00
Toshi MARUYAMA
1fb33ba05c cleanup: rubocop: fix Layout/ClosingHeredocIndentation in TextileFormatterTest#test_tables_with_lists
git-svn-id: http://svn.redmine.org/redmine/trunk@19162 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:34:11 +00:00
Toshi MARUYAMA
906e5fa373 cleanup: rubocop: fix Layout/ClosingHeredocIndentation in TextileFormatterTest#test_get_section_should_support_lines_with_spaces_before_heading
git-svn-id: http://svn.redmine.org/redmine/trunk@19161 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:34:00 +00:00
Toshi MARUYAMA
e44d928fdf cleanup: rubocop: fix Layout/ClosingHeredocIndentation in TextileFormatterTest#test_get_section_should_support_headings_starting_with_a_tab
git-svn-id: http://svn.redmine.org/redmine/trunk@19160 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:33:49 +00:00
Toshi MARUYAMA
fb4a59b76f cleanup: rubocop: fix Layout/ClosingHeredocIndentation in TextileFormatterTest#test_footnotes
git-svn-id: http://svn.redmine.org/redmine/trunk@19159 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:33:39 +00:00
Toshi MARUYAMA
6bf2bbeb0c cleanup: rubocop: fix Layout/ClosingHeredocIndentation in TextileFormatterTest#test_should_not_handle_as_preformatted_text_tags_that_starts_with_pre
git-svn-id: http://svn.redmine.org/redmine/trunk@19158 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-22 14:33:27 +00:00
Toshi MARUYAMA
78fbfabb01 cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19126 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-21 10:46:01 +00:00
Toshi MARUYAMA
2584615d37 cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in test/unit/lib/redmine/wiki_formatting/markdown_html_parser_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19112 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-21 04:05:00 +00:00
Toshi MARUYAMA
79db2a69bd cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in test/unit/lib/redmine/wiki_formatting/textile_html_parser_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19111 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-21 04:04:49 +00:00
Toshi MARUYAMA
bc348591f7 cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in test/unit/lib/redmine/wiki_formatting/html_parser_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19102 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-20 16:29:30 +00:00
Go MAEDA
8d61eadfc5 Add missing fixture to Redmine::WikiFormatting::MacrosTest (#32444).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19071 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-13 22:08:53 +00:00
Toshi MARUYAMA
bbef1d6c0f cleanup: rubocop: fix Layout/ClosingHeredocIndentation and Layout/IndentHeredoc in test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19020 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 14:11:02 +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
09af8e6683 cleanup: rubocop: fix Layout/ClosingHeredocIndentation and Layout/IndentHeredoc in test/unit/lib/redmine/wiki_formatting/macros_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-09 05:24:57 +00:00
Toshi MARUYAMA
1797f7abb0 cleanup: rubocop: fix Layout/AlignArguments in test/unit/lib/redmine/wiki_formatting/macros_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18926 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-11-06 12:03:58 +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
b7b42e9d76 code cleanup: rubocop: fix Layout/CommentIndentation and Layout/MultilineArrayBraceLayout in test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-22 11:41:21 +00:00
Toshi MARUYAMA
89e9b05b3d code cleanup: rubocop: fix Layout/CommentIndentation and Layout/MultilineArrayBraceLayout of STR_WITH_PRE in test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18699 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-17 04:15:37 +00:00
Toshi MARUYAMA
1f14386822 code cleanup: rubocop: fix Layout/CommentIndentation and Layout/MultilineArrayBraceLayout of STR_WITHOUT_PRE in test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-17 04:15:26 +00:00
Go MAEDA
878f4c3455 Add tests for r18383 (#31231).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18384 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-24 07:03:01 +00:00
Go MAEDA
70284ee244 MarkdownFormatterTest#test_should_support_underlined_text is declared as private (#31929).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18381 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-21 00:31:54 +00:00
Go MAEDA
f5c7a4a420 Convert HTML links to Textile/Markdown links when creating an issue from an email (#31695).
Patch by Yuichi HARADA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18361 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-11 05:01:37 +00:00
Go MAEDA
8d87f23370 Update redcarpet to 3.5.0 (#31847).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18353 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-05 00:20:00 +00:00
Jean-Philippe Lang
c4a9d4cd4d Issue macro for flexible linking to issues (#29489).
Patch by Jens Krämer.

git-svn-id: http://svn.redmine.org/redmine/trunk@18297 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 14:01:50 +00:00
Jean-Philippe Lang
c0a638721c Text may unexpectedly be enclosed in pre tags when an issue is created via HTML email (#31232).
Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@18268 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-20 06:38:19 +00:00
Go MAEDA
adebf4da1d Remove trailing whitespaces from test (#31506).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-06 14:53:23 +00:00
Go MAEDA
4082069c75 Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
4f5a3a156c Enable frozen_string_literal for some files under test directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-16 15:03:47 +00:00