Go MAEDA
a6bdeb708d
Fix RuboCop offense Style/MethodCallWithoutArgsParentheses (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22075 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago
Go MAEDA
c80c7f1d26
Fix robots.txt to disallow issue lists with a sort or query_id parameter in any position, not just first (#38201).
Patch by Felix Schäfer.
git-svn-id: https://svn.redmine.org/redmine/trunk@22070 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago
Go MAEDA
9d65eee424
Avoid double-render error with ApplicationController#find_optional_project (#38063).
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22066 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
Go MAEDA
dbf8c1d921
Fix RuboCop offense Performance/RedundantEqualityComparisonBlock (#38146).
git-svn-id: https://svn.redmine.org/redmine/trunk@22031 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago
Go MAEDA
1d3a76580f
Fix RuboCop offense Performance/FixedSize (#38146).
git-svn-id: https://svn.redmine.org/redmine/trunk@22030 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago
Go MAEDA
3eb364e45a
Fix RuboCop offense Performance/AncestorsInclude (#38146).
git-svn-id: https://svn.redmine.org/redmine/trunk@22026 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
Go MAEDA
92bd67c279
Update copyright year to 2023 (#38141).
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago
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
1 year ago
Go MAEDA
10af27eac3
Fix RuboCop offense Performance/StringInclude (#37247).
git-svn-id: https://svn.redmine.org/redmine/trunk@22003 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
Marius Balteanu
e96d8038fc
Revert r21975.
git-svn-id: https://svn.redmine.org/redmine/trunk@21977 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
Go MAEDA
0f2378c121
Reverts r21958 and r21959 (#1739).
git-svn-id: https://svn.redmine.org/redmine/trunk@21960 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
Go MAEDA
ee1476f802
Fix RuboCop offense Rails/Pluck (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@21928 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago
Go MAEDA
3e4d4d13bf
Fix RuboCop offense Rails/FreezeTime (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@21926 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago
Go MAEDA
41bb28cae5
Fix RuboCop offense Lint/RedundantRequireStatement (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21921 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago
Go MAEDA
47b17044d2
Fix RuboCop offense Style/RedundantStringEscape (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21920 e93f8b46-1217-0410-a6f0-8f06a7374b81
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago
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
1 year ago