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
2cf2bfdbed
Fix redundant 'private' modifier in repositories_git_controller_test.rb ( #38091 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22040 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-12 03:07:39 +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
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
1d3a76580f
Fix RuboCop offense Performance/FixedSize ( #38146 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-11 13:29:11 +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
025323f5ba
Add guard clause to time_tag method to handle nil time ( #38139 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22022 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-02 06:56:47 +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
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
0b72c5bfa7
Fix mentioning users with certain characters renders incorrectly ( #37755 ).
...
Patch Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21986 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-03 13:21:17 +00:00
Marius Balteanu
df9ff95f2b
Add tests for #37772 .
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21979 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-01 15:27:17 +00:00
Marius Balteanu
e96d8038fc
Revert r21975.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-01 15:21:37 +00:00
Marius Balteanu
3f5f020a78
Add tests for #37772 .
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21975 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-01 15:18:04 +00:00
Marius Balteanu
c0f60e5feb
Fix groups added to watchers are not shown as links ( #37958 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21967 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-28 22:59:05 +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
fcf1352c6b
Redirect to container URL in case of error in attachments#download_all ( #37880 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-03 05:17:48 +00:00
Go MAEDA
0f8c36869e
Disallow all in /robots.txt if login is required ( #37807 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-01 03:28:08 +00:00
Go MAEDA
afbec488c4
Always allow access to /robots.txt for Anonymous ( #37807 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-01 03:26:15 +00:00
Go MAEDA
dcdf27b895
Render all visible projects in robots.txt (including closed projects) ( #37807 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@21938 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-11-01 03:24:17 +00:00
Go MAEDA
e1928aaf19
Read-only field permission for the project field is ignored if the current project has subprojects ( #37685 ).
...
Patch by salman mp.
git-svn-id: https://svn.redmine.org/redmine/trunk@21937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-31 09:04:46 +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
783e986048
Add missing fixture to test/integration/issue_test.rb ( #37851 ).
...
Patch by Dmitry Makurin.
git-svn-id: https://svn.redmine.org/redmine/trunk@21932 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-29 08:24:03 +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
3e4d4d13bf
Fix RuboCop offense Rails/FreezeTime ( #37248 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21926 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-27 23:42:31 +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
aeabd4682a
Constraints *_all attachments routes to actually supported values of container_type ( #37772 ).
...
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@21906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-20 04:13:21 +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
5b0e4a8e2d
Add table header in Plugins page ( #37692 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21879 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-01 06:54:27 +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
3179bee5a8
Fix random system test failure by adding a missing fixture.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21862 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-27 20:49:44 +00:00
Marius Balteanu
20baf029ba
Fix undefined method when auth source name column is added as column ( #37674 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@21861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-27 19:55:09 +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