Go MAEDA
21eef7e65c
Ensure that the base permission is set for Role#permissions_tracker? and related ( #38070 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-19 11:54:03 +00:00
Go MAEDA
0b6f4c6811
Ruby 2.7: Fix RuboCop offense Performance/MapCompact ( #38134 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22055 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-17 01:38:27 +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
3eb364e45a
Fix RuboCop offense Performance/AncestorsInclude ( #38146 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-11 13:18:06 +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
969872fb03
Fix test failure when running with PostgreSQL ( #20042 ).
...
Patch by Ko Nagase.
git-svn-id: https://svn.redmine.org/redmine/trunk@21990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-09 05:57:50 +00:00
Marius Balteanu
7c80efae71
Query display types should accept only known types ( #37925 ).
...
Patch by Alexander Meindl.
git-svn-id: https://svn.redmine.org/redmine/trunk@21965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-28 22:41:53 +00:00
Marius Balteanu
1242f8d48a
Fix failing test by removing bad assertion ( #34863 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21962 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-28 22:33:12 +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
41bb28cae5
Fix RuboCop offense Lint/RedundantRequireStatement ( #36919 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-26 13:19:52 +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
9fc669a888
Make common_mark the default text formatting for new installations ( #34863 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-04 19:19:15 +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
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
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
1678f0d57a
Fix failing test on PostgreSQL by ordering by only non null values ( #37674 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-27 19:36:52 +00:00
Go MAEDA
8cf28048a4
Adds missing join when ordering by authsource ( #37674 ).
...
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-27 09:30:07 +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
41df10cc4e
Fix random test failure ( #37674 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21835 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-24 04:54:54 +00:00
Go MAEDA
fb5c02c4fb
Adds tests for UserQuery model ( #37674 ).
...
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21828 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-21 06:01:31 +00:00
Go MAEDA
ab2b130e3c
Ignore statuses if workflow only defines identity transition ( #37636 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-17 07:58:12 +00:00
Go MAEDA
d4b7634cc6
Consider only roles with either add_issues or edit_issues permissions for any status transitions ( #37635 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21817 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-17 06:14:27 +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
38f7a06405
Add default spent time activity per role ( #29286 ).
...
Patch by Marius BALTEANU and Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21763 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-09 02:50:11 +00:00
Go MAEDA
72e2efdc60
Default query should not be applied if the query is not allowed to be set as the default ( #37499 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21748 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-31 13:33:27 +00:00
Go MAEDA
5589fadb2c
Add missing fixture versions to RepositoryTest ( #37469 ).
...
Patch by Dmitry Makurin.
git-svn-id: https://svn.redmine.org/redmine/trunk@21726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-21 01:07:42 +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
f8a073b713
Add missing fixture issue_categories to VersionTest ( #37466 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21717 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-19 14:01:23 +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
Go MAEDA
6badcf374b
Make the only enabled activity in a project the default one for time entry ( #10314 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21709 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-17 00:16:31 +00:00
Go MAEDA
7a5f7fe003
Add a missing fixture to RoleTest ( #37448 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21706 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-16 08:52:16 +00:00
Go MAEDA
0ef56a4bfb
Fix passing a wrong parameter to with_settings in UserTest::test_random_password_include_required_characters ( #37449 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21705 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-16 05:31:41 +00:00
Go MAEDA
675adf74bd
Add missing fixture to JournalObserverTest ( #37389 ).
...
Patch by Dmitry Makurin.
git-svn-id: https://svn.redmine.org/redmine/trunk@21698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-07-06 21:55:51 +00:00
Marius Balteanu
0b4aab3144
Add test for #37349 .
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-27 18:05:22 +00:00
Marius Balteanu
6e5b8f07ef
Fix filter for chained User custom fields returns 500 internal server error when filtering after a float value ( #37349 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21684 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-27 17:58:14 +00:00
Marius Balteanu
bfcb1b0054
Fix time entry activity is not set as default when the default activity exists as project specific activity ( #33914 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-06-20 15:26:47 +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