Commit Graph

881 Commits

Author SHA1 Message Date
Marius Balteanu
c88bcfbbee Adds debug code to investigate test fail on CI (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-26 02:20:39 +00:00
Marius Balteanu
e07452e921 Remove code that is no longer needed as a result of asset pipeline implementation (#39111).
Patch by Takashi Kato (@tohosaku).

git-svn-id: https://svn.redmine.org/redmine/trunk@22627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-25 05:40:45 +00:00
Marius Balteanu
c99bb27e27 Add Propshaft library to enable the asset pipeline without modifying existing assets (#39111).
Patch by Takashi Kato (@tohosaku).

git-svn-id: https://svn.redmine.org/redmine/trunk@22626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-25 05:38:33 +00:00
Go MAEDA
0be4013919 Support localized decimal separators for float values in PDF export (#22024).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22594 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-04 07:04:00 +00:00
Go MAEDA
1ab44859fe Support localized decimal separators for float values (#22024).
Patch by Liane Hampe (@liane_hampe).


git-svn-id: https://svn.redmine.org/redmine/trunk@22592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-04 06:55:14 +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
Marius Balteanu
a2c90c462f Reverts r22507, r22508 and r22510 (#36320, #39803).
git-svn-id: https://svn.redmine.org/redmine/trunk@22515 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-12 16:26:34 +00:00
Marius Balteanu
7c7c1dac16 Remove unnecessary line that changes the @PluginLoader@ directory inside @plugins_test.rb@ (#36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22510 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-11 07:49:47 +00:00
Marius Balteanu
a255430b68 Adds test for plugin autoloading plugins issue (#36320).
Patch by @tohosaku.

git-svn-id: https://svn.redmine.org/redmine/trunk@22508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-10 03:41:09 +00:00
Marius Balteanu
e6f2e33856 Allows configure plugins directory path in order to change the default location in test environment (#36320).
Patch by @tohosaku.

git-svn-id: https://svn.redmine.org/redmine/trunk@22507 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-10 03:34:16 +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
50381970d8 Disable RuboCop warning for intentional comma in percent string array (#39553).
git-svn-id: https://svn.redmine.org/redmine/trunk@22451 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-17 04:24:28 +00:00
Marius Balteanu
d9e72d6ba2 Cover more tests for #39553.
git-svn-id: https://svn.redmine.org/redmine/trunk@22449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-16 22:17:30 +00:00
Go MAEDA
6a7f2536b5 Add field separator option to CSV export dialog (#37621).
Patch by Karel Pičman.


git-svn-id: https://svn.redmine.org/redmine/trunk@22359 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-21 06:19:13 +00:00
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