Commit Graph

1958 Commits

Author SHA1 Message Date
Go MAEDA
97d07eb285 Ruby 2.7: Fix RuboCop offense Style/ArgumentsForwarding (#38134).
git-svn-id: https://svn.redmine.org/redmine/trunk@22054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-17 01:31:06 +00:00
Go MAEDA
25a4be7269 Use require_relative instead of File.dirname(__FILE__) + ... (#38093).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-16 21:55:30 +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
eb8916bc87 Introduce permission to set a project public (#38048).
Patch by Felix Schäfer.


git-svn-id: https://svn.redmine.org/redmine/trunk@22038 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-12 02:59:54 +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
dbf8c1d921 Fix RuboCop offense Performance/RedundantEqualityComparisonBlock (#38146).
git-svn-id: https://svn.redmine.org/redmine/trunk@22031 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-11 13:30:25 +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
21ca0e3d0a Fix RuboCop offense Style/MinMaxComparison (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22019 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-02 06:10:53 +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
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
f376fb6867 Modifying the source code of a plugin does not reload it after r21295 ( #36273).
Patch by Takashi Kato.


git-svn-id: https://svn.redmine.org/redmine/trunk@21992 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-21 01:36:45 +00:00
Marius Balteanu
c8f3841ec8 Updates for 5.0.4 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@21981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-01 15:31:03 +00:00
Marius Balteanu
258d2fe87f Remove unused mention_users permission (#37938).
git-svn-id: https://svn.redmine.org/redmine/trunk@21966 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-28 22:53:56 +00:00
Go MAEDA
0f2378c121 Reverts r21958 and r21959 (#1739).
git-svn-id: https://svn.redmine.org/redmine/trunk@21960 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-18 08:17:50 +00:00
Go MAEDA
b3e4214989 Add the ability to change the author of an issue (#1739).
Patch by Vladimir Kovacik, Jiri Stepanek, Aighan Pacobilch, Olivier Houdas, Takenori TAKAKI, and Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21958 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-16 09:24:17 +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
ee1476f802 Fix RuboCop offense Rails/Pluck (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@21928 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-28 07:50:11 +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
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
9ef056d615 Mark legacy Markdown text formatting option as deprecated (#36807).
git-svn-id: https://svn.redmine.org/redmine/trunk@21898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-04 19:41:07 +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
da402cfe18 Updates for 5.0.3 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@21888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-02 19:58:58 +00:00
Marius Balteanu
8bab808928 Fix repository browser does not show \"+\" (plus sign) in filename (#37718).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21880 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-02 07:14: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
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
45fafc7e44 Fix RuboCop offense Layout/LineLength due to r21785 (#37586).
git-svn-id: https://svn.redmine.org/redmine/trunk@21791 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-01 04:53:28 +00:00
Go MAEDA
7bff2ed0e3 Typo in an argument name: s/trailling/trailing/ (#37586).
git-svn-id: https://svn.redmine.org/redmine/trunk@21786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-28 07:47:41 +00:00
Go MAEDA
c7c24cb6e2 Typo in method names: s/trailling/trailing/ (#37586).
git-svn-id: https://svn.redmine.org/redmine/trunk@21785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-28 07:32:24 +00:00
Go MAEDA
11ed1784f4 Fix unnecessary requirement in /lib/redmine/scm/adapters/filesystem_adapter.rb (#37587).
Contributed by Mischa The Evil.


git-svn-id: https://svn.redmine.org/redmine/trunk@21780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-25 14:53:58 +00:00
Go MAEDA
80b7a83940 Use start_with? or end_with? to check the first or last character of a string (#37591).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-24 13:45:20 +00:00
Go MAEDA
8c1fda0b5d Repository tab is not displayed if no repository is set as the main repository (#33953).
Patch by Yuichi HARADA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-27 15:35:25 +00:00
Go MAEDA
3164895f69 Open Help in a separate tab (#1069).
Contributed by Vijay Kiran.


git-svn-id: https://svn.redmine.org/redmine/trunk@21737 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-22 01:33:38 +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
Go MAEDA
2cd4996a54 Fix RuboCop offense Lint/NonAtomicFileOperation (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-30 07:35:23 +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
Marius Balteanu
5282d4b1e3 Set version to 5.0.2.
git-svn-id: https://svn.redmine.org/redmine/trunk@21673 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-21 03:42:54 +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
691dc3e3b3 Fix rubocop warnings (#37119).
git-svn-id: https://svn.redmine.org/redmine/trunk@21654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-17 10:31:36 +00:00
Marius Balteanu
1a7b2fe907 Move methods related to wiki section to a helper file and include it in all 3 formatters (#37119).
git-svn-id: https://svn.redmine.org/redmine/trunk@21643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-16 21:39:27 +00:00
Go MAEDA
637756eef7 Fix RuboCop offense Rails/RootPublicPath (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@21633 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-14 13:40:46 +00:00