Go MAEDA
a6bdeb708d
Fix RuboCop offense Style/MethodCallWithoutArgsParentheses ( #36919 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22075 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-25 02:14:28 +00:00
Go MAEDA
91705e083b
Support for WebP images ( #38168 ).
...
* Inline image
* Thumbnail
* Inserting markup for an image uploaded by drag and drop
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22045 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-16 01:23:36 +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
1481c721a2
Use require_relative instead of require File.expand_path(..., __FILE__) ( #38093 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 07:13:39 +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
10af27eac3
Fix RuboCop offense Performance/StringInclude ( #37247 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22003 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-26 02:46:53 +00:00
Go MAEDA
b9379e7a26
Allow using ideographic space (U+3000) as a separator for search terms ( #37878 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21952 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-03 12:43:28 +00:00
Go MAEDA
a749a6dd83
Database migrations don't run correctly for plugins when specifying the VERSION env variable ( #31116 ).
...
Contributed by crypto gopher.
git-svn-id: https://svn.redmine.org/redmine/trunk@21933 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-30 06:26:02 +00:00
Go MAEDA
47b17044d2
Fix RuboCop offense Style/RedundantStringEscape ( #36919 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21920 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-26 13:14:08 +00:00
Go MAEDA
2f81cb6b2a
Fix RuboCop offense Layout/FirstHashElementIndentation due to r21894 ( #37751 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-20 08:10:59 +00:00
Go MAEDA
00b4743e91
Fix RuboCop offenses Layout/EmptyLinesAroundClassBody and Layout/TrailingEmptyLines in html_sanitizer_test.rb ( #37750 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-20 07:57:02 +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
823080b45e
Uses the new html sanitizer for links rendered by custom fields ( #37750 ).
...
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21901 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-04 19:50:01 +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
Go MAEDA
16c2c4a880
Fix RuboCop offense Layout/LineLength due to r21849 ( #37713 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21865 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-28 09:00:45 +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
6755063664
Support revision without any message in Mercurial repositories ( #36258 ).
...
Patch by salman mp and Yuichi HARADA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21792 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-01 05:16:38 +00:00
Go MAEDA
7752e9a19a
Psych::DisallowedClass exception when loading default plugin settings ( #37450 , #37476 ).
...
Contributed by Dmitry Makurin.
git-svn-id: https://svn.redmine.org/redmine/trunk@21725 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-21 00:41:29 +00:00
Go MAEDA
0afe0cf609
Add missing fixture to IssuesPdfHelperTest ( #37451 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21710 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-17 00:25:16 +00:00
Marius Balteanu
e0f0f2c210
Fix random failing test ( #37138 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21664 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-20 15:16:14 +00:00
Marius Balteanu
4da97ddb30
Revert r21662 ( #37255 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-20 15:15:25 +00:00
Marius Balteanu
e6ec471c60
Fix random failing test ( #37255 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21662 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-20 15:09:36 +00:00
Marius Balteanu
1b300f138f
Fix mentions of users with "@" in their username not working ( #37138 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-20 05:50:29 +00:00
Marius Balteanu
ab4a055397
Merged r21618 to trunk ( #35892 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-28 18:25:49 +00:00
Marius Balteanu
e09426552c
Update footnotes markup after commonmarker gem update ( #35892 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-28 09:42:15 +00:00
Marius Balteanu
95336e48ad
Add a test for #36958 .
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-05-03 16:50:52 +00:00
Marius Balteanu
a554e1d7bd
Add test for #36932 .
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21542 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-04-27 20:56:52 +00:00
Marius Balteanu
40ffbff49d
Fix Redmine::Plugin.assets_directory is not working after r21283 ( #36835 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-24 16:47:54 +00:00
Go MAEDA
b51d40fe38
Comments for Textile text formatting ( #20511 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-17 03:55:24 +00:00
Marius Balteanu
ba74ba1c70
Allow users to be mentioned using @ in issues and wiki pages ( #13919 ):
...
* the user must have add watchers permission on that object in order to mention other users
* mentioned user will receive a notification email
* only visible users who can view the object can be mentioned
git-svn-id: http://svn.redmine.org/redmine/trunk@21435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-23 21:16:18 +00:00
Marius Balteanu
4807beaebf
Explicitly specify text formatting in the tests ( #35952 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 10:11:13 +00:00
Marius Balteanu
380a3b0345
Enable task list items for Common Mark text formatting ( #35742 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21383 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 09:24:43 +00:00
Go MAEDA
8c147ca2b1
Fix that I18nTest#test_custom_pluralization_rules randomly fails ( #36396 , #36461 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21382 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 09:16:19 +00:00
Go MAEDA
09dc778eb2
Custom I18n Pluralization rules are not applied correctly ( #36396 ).
...
Contributed by Felix Schäfer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-15 03:18:33 +00:00
Go MAEDA
f670f0e572
Change the default value for "Time span format" from "decimal" to "minutes" ( #36391 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21355 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-08 04:04:50 +00:00
Go MAEDA
ec0ce00b95
Auto guess file encoding when importing CSV file ( #34718 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21352 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-07 01:29:55 +00:00
Go MAEDA
3686b77eb6
Update copyright year in source files to 2022 ( #36379 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +00:00
Go MAEDA
b6a26a60f3
Fixes for Performance/StringIdentifierArgument introduced in RuboCop Performance 1.13.0 ( #35142 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-29 06:12:27 +00:00
Go MAEDA
e623582536
Lazy load inline images ( #36294 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-14 01:24:13 +00:00
Go MAEDA
1ae29debf4
Fix redmine:plugins:assets rake task fails ( #36287 , #32938 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21300 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-08 01:23:51 +00:00
Marius Balteanu
79e7cde849
Fix plugin assets are no longer copied under plugin name ( #36218 , #29914 , #32938 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-25 21:34:40 +00:00
Marius Balteanu
1245708ba7
Fix typo in class 'icon-expended' ( #36149 ).
...
Patch by Bernhard Rohloff.
git-svn-id: http://svn.redmine.org/redmine/trunk@21275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-08 20:14:49 +00:00
Marius Balteanu
506fc9d74c
Tokenize search parameter in order to allow multiple search terms in:
...
* the "contains" operator of text filters
* in issue autocomplete
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@21238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-10-05 19:54:31 +00:00
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
9651398469
Update failing test after hardbreaks enabled by default ( #35754 , #32424 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-15 05:57:57 +00:00
Marius Balteanu
c1b3804555
Fixed failing test on CommonMark by striping the trailing whitespace returned by the footnote ( #32424 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21164 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-11 21:51:23 +00:00
Marius Balteanu
d92b75d49e
Fixed Layout/HeredocIndentation: Use 2 spaces for indentation in a heredoc by using <<~ instead of <<- ( #32424 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-08-11 21:50:52 +00:00