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

8247 Commits

Author SHA1 Message Date
Go MAEDA
cb617673b3 Cleanup debug code in app/models/mail_handler.rb (#39184).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22339 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-12 22:42:55 +00:00
Go MAEDA
bfe619ae7e Optimize IssueQuery#sql_for_assigned_to_role_field for PostgreSQL (#38319).
Contributed by Vincent Robert.


git-svn-id: https://svn.redmine.org/redmine/trunk@22334 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-09 05:30:04 +00:00
Go MAEDA
ad3e2bdd1b Refactor SQL construction in IssueQuery#sql_for_assigned_to_role_field for better readability (#38319).
git-svn-id: https://svn.redmine.org/redmine/trunk@22333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-09 05:19:28 +00:00
Go MAEDA
43873746ba Replace custom EMAIL_REGEXP with URI::MailTo::EMAIL_REGEXP for more accurate email validation (#36969).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-07 03:43:00 +00:00
Go MAEDA
80880d9aaa Remove set_language_if_valid from MyController (#39066).
Patch by Pavel Rosický.


git-svn-id: https://svn.redmine.org/redmine/trunk@22320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-24 11:54:34 +00:00
Go MAEDA
3928d82ee1 Avoid exception during validation if the spent_on date of a time entry was removed (#39079).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-20 04:43:20 +00:00
Go MAEDA
4973c9014b Set a strict CSP policy for downloaded attachments, thumbnails, and raw repository files(#38417).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-18 02:16:36 +00:00
Go MAEDA
3de9413917 Always serve thumbnails with disposition: attachment (#38417).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22294 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-18 02:14:35 +00:00
Go MAEDA
9315481cdf Add missing files in r22289 (#2568).
git-svn-id: https://svn.redmine.org/redmine/trunk@22290 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-31 23:30:11 +00:00
Go MAEDA
fe9ef2fc27 Add description for issue statuses and display them in issue new/edit form (#2568).
Patch by Takenori TAKAKI.


git-svn-id: https://svn.redmine.org/redmine/trunk@22288 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-31 13:21:34 +00:00
Go MAEDA
937124443c Raise the maximum length of the last name to 255 characters (#37679).
Patch by Anthony Mallet.


git-svn-id: https://svn.redmine.org/redmine/trunk@22284 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-27 08:59:33 +00:00
Go MAEDA
4e0bb4990c Display calendar in vertical list layout on mobile screens (#33682).
Patch by Takashi Kato.


git-svn-id: https://svn.redmine.org/redmine/trunk@22283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-27 06:40:59 +00:00
Go MAEDA
21a6fc71d6 Fix RuboCop offense Performance/MapMethodChain (#37247).
git-svn-id: https://svn.redmine.org/redmine/trunk@22280 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-23 09:05:20 +00:00
Go MAEDA
86c5d7814f Retry in case of stale issue during Issue.update_versions (#38820).
Patch by Jens Krämer.


git-svn-id: https://svn.redmine.org/redmine/trunk@22279 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-08-23 07:40:25 +00:00
Go MAEDA
bb3662894e "has been" and "has never been" filter operators can be very slow (#38527, #38788).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22271 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-06-30 09:40:23 +00:00
Go MAEDA
66f16ff348 Unable to retrieve custom fields set as "For all projects" via Projects API (#38668).
Patch by Hirokazu Onozato.


git-svn-id: https://svn.redmine.org/redmine/trunk@22270 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-06-30 09:20:09 +00:00
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
bf239fae8a Add breadcrumbs to news pages (#2631).
Patch by Brad Beattie.


git-svn-id: https://svn.redmine.org/redmine/trunk@22236 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-05-09 00:26:17 +00:00
Go MAEDA
006c6a4e01 Use the new pagination style for the calendars view (#27346).
Patch by Bernhard Rohloff.


git-svn-id: https://svn.redmine.org/redmine/trunk@22235 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-05-07 00:18:33 +00:00
Go MAEDA
e575b7a6fc Use label_view instead of the untranslated string "OK" in the repository browser (#38509).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-05-05 21:50:55 +00:00
Go MAEDA
53ec1c0e43 Display order of watchers in the sidebar is indeterminate (#38458).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22224 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-05-05 03:49:12 +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
d97beec1d4 Add "View annotation prior to this change" button in the annotate view of Git (#35432).
Patch by Takenori TAKAKI.


git-svn-id: https://svn.redmine.org/redmine/trunk@22217 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-30 04:00:57 +00:00
Go MAEDA
90569a4ed0 Code cleanup of RepositoriesController#annotate (#35432).
git-svn-id: https://svn.redmine.org/redmine/trunk@22215 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-29 06:59:40 +00:00
Go MAEDA
ccf8e7d299 Add a button to apply issues filter to search results (#38481).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22212 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-27 04:10:33 +00:00
Go MAEDA
3a549bb860 Preload default_status when listing trackers (#38474).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22208 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-22 01:12:28 +00:00
Go MAEDA
1099623634 Support "my bookmarks" in the search (#38459).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-18 14:45:47 +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
2d7d01e633 Export a version as changelog text (#36679).
Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-13 04:20:25 +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
544af76dda Fixed an issue where an empty group could appear in the filter selection list caused by r22166 (#38402).
git-svn-id: https://svn.redmine.org/redmine/trunk@22172 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-06 10:08:48 +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
f1ab7d8cf5 Reorder groups in the filter select list (#38402).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22166 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-05 09:24:44 +00:00
Go MAEDA
5c075233ae Group text filters in the filter select list (#38402).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-04-05 09:23:44 +00:00