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

3153 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
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
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
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
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
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
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
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
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
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
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
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
5817752289 Remove unnecessary disabling of RuboCop Rails/Pluck (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@21930 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-29 07:42: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
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
d726df660f Adds visible? method to journal (#37772).
Patch by  Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21905 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-20 04:11:58 +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
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
Go MAEDA
f92477a423 Cleanup Repository::Git#clear_extra_info_of_changesets (#37614).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21845 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-25 05:08:32 +00:00
Go MAEDA
a1126aebd4 Use the safe navigation operator instead of checking if an object is nil (#37614).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21844 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-25 05:07:09 +00:00
Go MAEDA
fa3a42d1de Fix RuboCop offense Style/GuardClause (#37614).
git-svn-id: https://svn.redmine.org/redmine/trunk@21843 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-25 05:00:29 +00:00
Go MAEDA
f17e8507c5 Fix RuboCop offense Style/IfUnlessModifier (#37614).
git-svn-id: https://svn.redmine.org/redmine/trunk@21842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-25 04:58:53 +00:00
Go MAEDA
b7e477ea7f Fix RuboCop offense Style/SymbolProc (#37614).
git-svn-id: https://svn.redmine.org/redmine/trunk@21841 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-25 04:57:21 +00:00
Go MAEDA
02f17b6d2b Fix RuboCop offense Rails/Blank (#37614).
git-svn-id: https://svn.redmine.org/redmine/trunk@21840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-25 04:56:16 +00:00
Marius Balteanu
a059599a8b Fix perfomance issue when objects are filtered by custom field values (#37268).
git-svn-id: https://svn.redmine.org/redmine/trunk@21833 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-23 05:51:59 +00:00
Go MAEDA
d7df1a740e Unify duplicate codes (#37687).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21832 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-23 04:47:49 +00:00
Go MAEDA
43c7cc03a5 Retrieve attachments with a single query when rendering a journal (#37687).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-23 04:46:39 +00:00
Go MAEDA
cd70187c2f Introduces a UserQuery model for admin/users (#37674).
Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21823 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-20 03:16:05 +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
12c7061416 Rename Repository#supports_all_revisions? to Repository#supports_history? (#37657).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-15 13:14:05 +00:00
Go MAEDA
7f6d9d3be9 Check visibility for passed user in IssueQuery.default (#37499, #37608).
Patch by  Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@21781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-26 01:19:10 +00:00
Go MAEDA
204709f4df Use the classes whitelist configured in application.rb instead of hardcoded classes (#37476).
Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@21777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-25 13:47:04 +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