1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-24 09:21:12 +00:00

8190 Commits

Author SHA1 Message Date
Go MAEDA
fe71cb5bbe Fix RuboCop offense Lint/MissingSuper (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22147 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-24 09:34:40 +00:00
Go MAEDA
2b00670e4d Use Commonmarker instead of Redcarpet by default when rendering Markdown attachments (#36807, #38372).
Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-23 04:45:19 +00:00
Go MAEDA
cb1c2bc1e3 Do not apply table-layout:fixed in potentially wide tables of detailed issue reports (#38360).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-22 04:02:14 +00:00
Go MAEDA
fe386d1497 Render numeric axis in charts as integers (#38359).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22139 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-22 03:16:56 +00:00
Go MAEDA
555acea780 Check if the user has the permission to add notes or edit an issue when adding an issue attachments (#38297).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22122 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-02 04:32:34 +00:00
Go MAEDA
4dc56cd943 Exporting UserQuery does not use the query name as file name (#37674, #38182).
Patch by Takenori TAKAKI.


git-svn-id: https://svn.redmine.org/redmine/trunk@22121 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-01 08:47:28 +00:00
Go MAEDA
a499d68802 Show parent issues in notification email (#34302).
Patch by Yuichi HARADA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22120 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-01 03:46:53 +00:00
Go MAEDA
96a718547d Try importing journal replies as issue reply where applicable (#38263).
Patch by Felix Schäfer.


git-svn-id: https://svn.redmine.org/redmine/trunk@22119 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-27 09:43:37 +00:00
Go MAEDA
41b4bc54a5 Disable auto watch for the anonymous user (#38238).
Patch by Felix Schäfer.


git-svn-id: https://svn.redmine.org/redmine/trunk@22116 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-26 07:48:19 +00:00
Go MAEDA
9a625f2610 Auto watch issues on issue creation (#38238).
Patch by Felix Schäfer.


git-svn-id: https://svn.redmine.org/redmine/trunk@22115 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-26 07:46:35 +00:00
Go MAEDA
a3ca8ba677 Time Entry Import fails to import custom fields with "User" format (#38254).
Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@22112 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-16 00:31:29 +00:00
Go MAEDA
257b774c53 Fix RuboCop offense Style/YodaCondition (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22106 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-14 23:38:26 +00:00
Go MAEDA
45b4bff194 Refactor code to use YAML.load_file instead of explicitly opening the file (#38250).
git-svn-id: https://svn.redmine.org/redmine/trunk@22101 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-13 14:35:38 +00:00
Go MAEDA
c94296720d Remove "Unknown user" notification on password request with non-existent email address (#6254).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22100 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-07 03:53:27 +00:00
Go MAEDA
e03bc47e14 Fix config/settings.yml not closed in Setting.load_available_settings (#38250).
Patch by Thomas Löber.


git-svn-id: https://svn.redmine.org/redmine/trunk@22099 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-06 14:08:30 +00:00
Go MAEDA
57e702a69b Fix RuboCop offense Performance/StringInclude (#37247).
git-svn-id: https://svn.redmine.org/redmine/trunk@22097 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-06 13:50:33 +00:00
Go MAEDA
2496d4396b Fix missing project_id in redirect after clicking "Create and add another" button (#35066).
Patch by Jérôme BATAILLE.


git-svn-id: https://svn.redmine.org/redmine/trunk@22096 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-05 23:30:46 +00:00
Go MAEDA
ea4ce319fe Remove X-UA-Compatible meta tag for Internet Explorer (#38228).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22095 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-05 05:54:32 +00:00
Go MAEDA
0f32df11d5 Update Mail gem to 2.8 (#37993).
Patch by Pavel Rosický.


git-svn-id: https://svn.redmine.org/redmine/trunk@22094 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-05 05:35:56 +00:00
Go MAEDA
109b911457 "Property changes" tab does not appear when all issue journals have both notes and property changes (#38217).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22085 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-01 07:11:25 +00:00
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
2023-01-23 08:08:21 +00:00
Go MAEDA
0558568257 Improve index usability for Project#project_condition (#38198).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22069 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-21 08:50:12 +00:00
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
2023-01-20 03:31:41 +00:00
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
83b68e1a1c Ruby 2.7: Fix RuboCop offense Performance/BindCall (#38134).
git-svn-id: https://svn.redmine.org/redmine/trunk@22056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-17 01:40:01 +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
4768bebf3f Remove code no longer necessary due to r21823 (#37674).
git-svn-id: https://svn.redmine.org/redmine/trunk@22046 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-16 08:46:18 +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
5113040a05 Unreachable branch in ApplicationHelper#format_object due to the use of the deprecated Fixnum class (#38145).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22041 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-12 04:04:22 +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
59775bde9f Fix RuboCop offense Lint/UselessRescue (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22035 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-11 14:03:28 +00:00
Go MAEDA
7cf89bf44e Disable RuboCop offense Performance/Sum in IssueFieldsRows#to_html (#38146).
git-svn-id: https://svn.redmine.org/redmine/trunk@22034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-11 13:36:36 +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
1c937f1e23 Use Group.visible instead of manual visibility check in GroupsController (#38144).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22023 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-04 01:05:20 +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
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
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
f186e614ee Ruby 3.2: Changeset.normalize_comments raises Encoding::CompatibilityError if the string contains an invalid UTF-8 byte sequence (#38099, #38100).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22000 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-26 01:36:44 +00:00
Go MAEDA
cec30f9a05 Fix RuboCop offense Performance/StringInclude in app/controllers/imports_controller.rb (#37247).
git-svn-id: https://svn.redmine.org/redmine/trunk@21999 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-25 07:55:14 +00:00
Go MAEDA
361b285250 Do not break when setting enabled_module_names on a project without a default_member_role (#38064).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@21994 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-21 02:25:47 +00:00
Go MAEDA
f094471ff5 Fix shadowing variable in ApplicationHelper#textilizable (#15667).
Patch by Ilya S.


git-svn-id: https://svn.redmine.org/redmine/trunk@21991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-16 07:59:35 +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
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
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
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