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

3181 Commits

Author SHA1 Message Date
Go MAEDA
945a82b5c0 <=> operator should return nil when invoked with an incomparable object (#38772).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-06-29 14:42:54 +00:00
Go MAEDA
0befc3a23c Fix RuboCop offense Style/RedundantSelfAssignmentBranch (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22263 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-06-29 01:37:24 +00:00
Go MAEDA
f500357ba2 Fix SQL error when passing invalid value to "Related to" filter (#38301).
git-svn-id: https://svn.redmine.org/redmine/trunk@22256 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-06-21 06:05:09 +00:00
Go MAEDA
fa9b911f0a Fix RuboCop offense Lint/RedundantSafeNavigation (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@22253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-06-07 13:04:35 +00:00
Go MAEDA
9d0b073f7d Add X-Redmine-Issue-Priority headers to issue notification mails (#2746).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22244 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-05-13 08:05:32 +00:00
Go MAEDA
e8d8d6b7f1 Fix PostgreSQL error caused by comparing text with integer values (#38527).
git-svn-id: https://svn.redmine.org/redmine/trunk@22242 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-05-11 04:04:51 +00:00
Go MAEDA
2caf5eaf97 New issues filter operators "has been", "has never been", and "changed from" (#38527).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22240 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-05-11 02:08:41 +00:00
Go MAEDA
5352225a8c Make the "Any searchable text" filter search only open issues when the status filter is set to "open" (#38402).
git-svn-id: https://svn.redmine.org/redmine/trunk@22221 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-05-01 14:33:22 +00:00
Go MAEDA
fae39a9542 Fix "Any searchable text" filter doesn't support the project filter with the value "my projects" or "my bookmarks" (#38402).
git-svn-id: https://svn.redmine.org/redmine/trunk@22203 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-18 12:05:49 +00:00
Go MAEDA
0e19e183b1 OR search with multiple terms for "starts with" and "ends with" filter operators (#38456).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22202 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-17 23:25:14 +00:00
Go MAEDA
0f6507a607 Change the notation of "contains any of" filter operator to "*~" (#38435).
git-svn-id: https://svn.redmine.org/redmine/trunk@22197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-16 08:02:30 +00:00
Go MAEDA
1f5c8742e3 Fix "contains any of" operator is not taken into account in File and File description filters (#38435).
git-svn-id: https://svn.redmine.org/redmine/trunk@22195 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-16 05:46:52 +00:00
Go MAEDA
404a5b1de0 "contains any of" operator for text filters to perform OR search of multiple terms (#38435).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-14 23:50:26 +00:00
Go MAEDA
f7ea8d2240 FIX: The position of existing elements in the array CORE_FIELDS must not be changed (#38416).
git-svn-id: https://svn.redmine.org/redmine/trunk@22186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-14 07:48:21 +00:00
Go MAEDA
55408c480b Ability to disable the priority field (#38416).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-14 01:05:02 +00:00
Go MAEDA
798cd2d566 Roles of a project member should not be made empty (#37166).
Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22182 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-13 23:34:23 +00:00
Go MAEDA
a48700d58b Cannot add a user to a group if the group is a member without roles in a certain project (#38443).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-13 15:21:43 +00:00
Go MAEDA
9546dfa5e3 Add Parent task filter and column to Spent time (#37623).
Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-11 09:11:40 +00:00
Go MAEDA
565d13d654 "Issue's subject" filter for spent time (#27821).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22173 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-09 01:38:36 +00:00
Go MAEDA
972e51bc89 Change the behavior of the "Any searchable text" filter from OR search to AND search (#38402).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-05 23:36:18 +00:00
Go MAEDA
27b8f57fd8 Fix a bug the "doesn't contain" operator returns no issues if the search finds no issues (#38402).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22168 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-05 13:52:53 +00:00
Go MAEDA
d7d27374b8 Add "Any searchable text" filter for issues (#38402).
Patch by Go MAEDA and Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22164 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-05 09:22:34 +00:00
Go MAEDA
421dc8320f Receive e-mail replies to news and news comments (#38274).
Patch by Felix Schäfer.


git-svn-id: https://svn.redmine.org/redmine/trunk@22160 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-26 05:35:50 +00:00
Go MAEDA
260ba2e04a Add LockedTopic exception to MailHandler (#38273).
Patch by Felix Schäfer.


git-svn-id: https://svn.redmine.org/redmine/trunk@22159 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-26 05:20:29 +00:00
Go MAEDA
79f0c64e29 Add MissingContainer exception to MailHandler (#38273).
Patch by Felix Schäfer.


git-svn-id: https://svn.redmine.org/redmine/trunk@22158 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-26 05:11:26 +00:00
Go MAEDA
0fb007cc02 Multiple issue ids in "Related to" filter (#38301).
Patch by Tomoko Shimizu, Ko Nagase, and Takashi Kato.


git-svn-id: https://svn.redmine.org/redmine/trunk@22156 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-25 06:27:30 +00:00
Go MAEDA
53f2aca3ef "Cannot delete enumeration" error may occur when attempting to delete a project with time entries (#38286).
Patch by Holger Just and Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22155 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-25 05:09:56 +00:00
Go MAEDA
32d2b1c42f Fix RuboCop offense Style/InverseMethods: Use present? instead of inverting blank? (#37248).
git-svn-id: https://svn.redmine.org/redmine/trunk@22152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-25 01:32:23 +00:00
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