Go MAEDA
52d215de43
Add underline button to CommonMark Markdown toolbar ( #40939 ).
...
Contributed by Yasu Saku (user:skys).
git-svn-id: https://svn.redmine.org/redmine/trunk@23106 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-09 14:04:57 +00:00
Marius Balteanu
166540d743
Replaces icon-expanded and icon-collapsed with SVG icons ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23041 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-08 17:25:02 +00:00
Go MAEDA
2fe36c4128
Fix RuboCop offense Style/RedundantInterpolationUnfreeze ( #39887 ).
...
Since interpolated strings are always unfrozen in Ruby 3.0 and later, the use of `+""` is now redundant.
git-svn-id: https://svn.redmine.org/redmine/trunk@23001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-01 00:38:01 +00:00
Go MAEDA
578360fdab
Add support for quoted arguments containing commas in wiki macros ( #40014 ).
...
Patch by Yasu Saku (user:skys).
git-svn-id: https://svn.redmine.org/redmine/trunk@22959 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-20 02:13:21 +00:00
Go MAEDA
b3d1deeece
Fix RuboCop offense Layout/SpaceInsideParens, one of the offenses enabled in rubocop-rails-omakase ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-12 08:45:54 +00:00
Go MAEDA
6e21ae7209
Fix RuboCop offense Layout/SpaceAfterComma, one of the offenses enabled in rubocop-rails-omakase ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22953 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-12 08:36:05 +00:00
Go MAEDA
de76bb3a4a
Fix RuboCop offense Layout/EmptyLinesAroundClassBody, one of the offenses enabled in rubocop-rails-omakase ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-12 07:42:12 +00:00
Go MAEDA
c0dc6ef4d0
Prevent issue links with double hash (##nnn) from being recognized as ATX headings ( #40716 ).
...
Patch by daijiro fukuda (user:daipom).
git-svn-id: https://svn.redmine.org/redmine/trunk@22906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-06 07:44:05 +00:00
Go MAEDA
f143314584
Fix RuboCop offense Style/RedundantRegexpEscape in lib/redmine/wiki_formatting/section_helper.rb ( #40716 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22905 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-06 07:35:10 +00:00
Go MAEDA
b42d7984b1
Fix RuboCop offense Style/SuperArguments ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-23 11:25:16 +00:00
Marius Balteanu
b4bfb6b581
Replaces use of Digest::MD5 / Digest::SHA1 with ActiveSupport::Digest ( #35217 ).
...
Patch by Jens Krämer (@jkraemer).
git-svn-id: https://svn.redmine.org/redmine/trunk@22816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-07 18:36:46 +00:00
Go MAEDA
1c17ae733d
Fix initial_page_content method to avoid referencing @page instance variable in wiki formatting helpers ( #40513 ).
...
Patch by Takuya Kodama (@otegami).
git-svn-id: https://svn.redmine.org/redmine/trunk@22781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-10 02:48:29 +00:00
Go MAEDA
bcb2ebb6a0
Fix RuboCop offense Layout/SpaceInsideStringInterpolation ( #39111 , #40137 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-03-08 07:13:18 +00:00
Marius Balteanu
38d950df55
Remove current year from source file copyright headers and update year in footer to 2024 ( #40043 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Marius Balteanu
4607e90b43
Updates JS toolbar help button to use the new route ( #39111 , #40137 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-19 20:58:13 +00:00
Go MAEDA
ba2c48717d
Fix performance issue with email address auto-linking in the default ("none") formatter ( #40193 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22684 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-07 01:27:10 +00:00
Go MAEDA
fca8cf6c0f
Fix RuboCop offense Style/RedundantFreeze ( #38585 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-27 06:06:29 +00:00
Go MAEDA
5b77092be4
Replace regular expression matches with String#start_with? / end_with? ( #40010 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-11 11:27:25 +00:00
Marius Balteanu
1f7f1a2db7
Allow consecutive footnote references inTextile ( #39884 ).
...
Patch by @hjust.
git-svn-id: https://svn.redmine.org/redmine/trunk@22546 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-22 01:44:02 +00:00
Go MAEDA
380444f085
Fix RuboCop offense Performance/StringIdentifierArgument ( #39888 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22535 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 09:23:05 +00:00
Go MAEDA
c51e4937e7
Fix RuboCop offense Style/SuperWithArgsParentheses ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22530 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 07:15:11 +00:00
Go MAEDA
7a06338a04
Fix CommonMark Markdown help page to reflect user's language setting ( #39755 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-06 14:26:57 +00:00
Go MAEDA
090323b7a0
Fixes i18n call in macro error fallback ( #37668 ).
...
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@22331 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-06 08:30:33 +00:00
Go MAEDA
303abf0783
Use uri_with_link_safe_scheme? in Redcloth3 ( #38807 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-18 07:55:40 +00:00
Go MAEDA
ba181c7328
HTML-escape the entire tag content of escaped HTML tags in textile ( #38807 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22302 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-18 07:45:03 +00:00
Go MAEDA
5e07a72413
Adapt markdown autolink behavior to that of common_mark ( #38806 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22298 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-18 05:07:22 +00:00
Go MAEDA
2415c9f5d7
Fix exception raised during thumbnail macro to image tag conversion in emails ( #38697 ).
...
Patch by Y saku and Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22285 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-30 07:30:16 +00:00
Go MAEDA
0befc3a23c
Fix RuboCop offense Style/RedundantSelfAssignmentBranch ( #36919 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22263 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-06-29 01:37:24 +00:00
Go MAEDA
e0e751f5bc
Fix RuboCop offense Style/RedundantRegexpArgument ( #36919 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22262 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-06-29 00:39:58 +00:00
Go MAEDA
95f3b5cf38
Revert the change made in error in r22197 ( #38435 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-16 08:31:50 +00:00
Go MAEDA
0f6507a607
Change the notation of "contains any of" filter operator to "*~" ( #38435 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-16 08:02:30 +00:00
Go MAEDA
fe71cb5bbe
Fix RuboCop offense Lint/MissingSuper ( #36919 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22147 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-24 09:34:40 +00:00
Go MAEDA
57544d6d4b
Update CommonMarker extension options link
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22084 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-31 23:55:55 +00:00
Go MAEDA
e010d90207
Fix RuboCop offense Performance/RedundantSplitRegexpArgument ( #38146 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22033 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-11 13:33:32 +00:00
Go MAEDA
62a930cc65
Fix RuboCop offense Performance/RedundantMatch ( #38146 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22032 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-11 13:31:57 +00:00
Go MAEDA
70ef2a3db1
Fix RuboCop offense Performance/ConstantRegexp ( #38146 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22029 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-11 13:26:31 +00:00
Go MAEDA
3942177f49
Fix RuboCop offense Performance/BlockGivenWithExplicitBlock ( #38146 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-11 13:20:52 +00:00
Go MAEDA
fcd4f7f6c9
CommonMark Markdown formatter does not support min-width, max-width, 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
2023-01-11 13:11:04 +00:00
Go MAEDA
92bd67c279
Update copyright year to 2023 ( #38141 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Go MAEDA
eb399b83a5
Fix {{thumbnail}} macro in an issue note cannot fetch an image attached in a different note ( #37881 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22012 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-30 09:00:14 +00:00
Go MAEDA
3fe8a7575d
Fix RuboCop offense Layout/FirstArrayElementIndentation in html_sanitizer.rb ( #37750 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-20 07:48:27 +00:00
Go MAEDA
88cb98cda8
Fix RuboCop offenses Layout/EmptyLinesAroundModuleBody, Layout/EmptyLinesAroundClassBody, and Layout/TrailingEmptyLines in html_sanitizer.rb ( #37750 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-20 07:34:21 +00:00
Go MAEDA
7c561362cf
Add a copyright header ( #37750 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-20 07:23:01 +00:00
Go MAEDA
1d9f5c6742
Escape tags that start with pre ( #37767 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21902 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-17 13:35:20 +00:00
Marius Balteanu
39151a89b6
Introduces a standalone html sanitizer class ( #37750 ).
...
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21900 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-04 19:49:00 +00:00
Marius Balteanu
ba635eace9
Escape blockquote citation in textile formatting ( #37751 ).
...
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21894 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-04 18:58:37 +00:00
Marius Balteanu
2faadcba8b
Allow select custom CSS properties ( #37237 ).
...
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21850 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-26 22:35:48 +00:00
Marius Balteanu
0bb977cb41
Add rel="noopener" to all external links with a target attribute ( #37713 ).
...
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21849 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-26 22:34:44 +00:00
Go MAEDA
20ed193d93
Thumbnail macro does not work when a file is attached and preview is displayed immediately ( #37379 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21716 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-19 13:57:04 +00:00
Marius Balteanu
d7a8f6900d
Add frozen_string_literal and copyright ( #37119 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-25 21:33:58 +00:00