Marius Balteanu
a54155d206
Moves create parent issue journal to after_commit hook to work around stale object errors on concurrency ( #39437 ).
...
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@22459 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-18 14:40:25 +00:00
Marius Balteanu
b7a190399f
Remove deprecated methods in Repository and AbstractAdapter ( #39558 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-18 12:58:19 +00:00
Go MAEDA
fa7c481028
Auto-detection of field wrapper type when importing CSV file ( #39511 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-16 11:13:39 +00:00
Go MAEDA
384cde0a46
New email notification option "For any event on my bookmarked projects" ( #35189 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22438 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-16 08:32:41 +00:00
Marius Balteanu
98fa89400e
Fix an expression of non-boolean type specified in a context where a condition is expected when MSSQL is used ( #39443 ).
...
Patch by Pavel Rosický.
git-svn-id: https://svn.redmine.org/redmine/trunk@22417 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-11 06:00:20 +00:00
Marius Balteanu
f0f1d49b56
Remove @rss_*@ deprecated methods ( #36806 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-06 20:36:48 +00:00
Marius Balteanu
f1437b7ec5
Reinitialize an empty Wiki page after after project wiki is deleted ( #34634 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22370 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-23 17:33:40 +00:00
Marius Balteanu
94da4a33f5
Revert r22368.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22369 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-23 17:31:04 +00:00
Marius Balteanu
5e17a276a8
Traditional Chinese translation update ( #39221 ).
...
Patch by ChunChang (Nagaharu) Lo.
git-svn-id: https://svn.redmine.org/redmine/trunk@22368 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-23 17:23:37 +00:00
Go MAEDA
03280712d3
Fix RuboCop offenses due to r22343: Style/RedundantRegexpEscape, Layout/EmptyLinesAroundMethodBody, and Style/HashSyntax ( #39181 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22346 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-16 14:17:35 +00:00
Go MAEDA
ff93ee3cfa
API compatibility to legacy status and name query params ( #39181 , #37674 )
...
- adds 'name' filter that mimics the old behavior of matching on email, login, first- or lastname
- maps the 'status' url parameter to the status_id filter, and the 'name' url parameter to the new name filter
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@22343 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-15 01:42:07 +00:00
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
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
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
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
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