Go MAEDA
949f57f521
Correctly escape issue text in Gantt PNG export for ImageMagick convert ( #38728 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-21 00:35:13 +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
d97beec1d4
Add "View annotation prior to this change" button in the annotate view of Git ( #35432 ).
...
Patch by Takenori TAKAKI.
git-svn-id: https://svn.redmine.org/redmine/trunk@22217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-30 04:00:57 +00:00
Go MAEDA
b1510836b0
Rendering a custom field with a URL pattern set and containing " :" in the value raises Addressable::URI::InvalidURIError ( #38464 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22205 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-21 03:06:06 +00:00
Go MAEDA
3c8b9535a3
Fix random test failure of VersionsTextHelperTest#test_version_to_text ( #36679 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22196 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-16 05:58:22 +00:00
Go MAEDA
73bc735acc
Add a test for VersionsTextHelper ( #36679 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-14 00:56:38 +00:00
Go MAEDA
e3dae0c217
Fix RuboCop offense Style/RedundantHeredocDelimiterQuotes ( #36919 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22105 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-14 23:16:25 +00:00
Go MAEDA
02b86c9dab
Fix test failure with Commonmarker 0.23.8 ( #38239 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22092 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-05 04:40:04 +00:00
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