summaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
* Merged r23178 from trunk to 5.1-stable (#41465).Go MAEDA2024-11-032-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@23179 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22913-r22917 from trunk to 5.1-stable (#40946).Marius Balteanu2024-10-281-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@23167 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r23048 from trunk to 5.1-stable (#8539).Go MAEDA2024-09-111-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@23049 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22947 and r22948 from trunk to 5.1-stable (#41079).Go MAEDA2024-08-131-3/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22957 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22910, r22924, r22928 and r22929 from trunk to 5.1-stable (#40948).Marius Balteanu2024-07-201-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22940 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22895 and r22896 from trunk to 5.1-stable (#40860).Go MAEDA2024-06-271-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22900 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22833 to 5.1-stable (#40693).Go MAEDA2024-05-181-0/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22836 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22819 and r22820 to 5.1-stable (#40412).Marius Balteanu2024-05-121-1/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22824 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r22794 (#40556).Marius Balteanu2024-04-291-3/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22795 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22791 from trunk to 5.1-stable (#40556).Marius Balteanu2024-04-291-0/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22794 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22746 from trunk to 5.1-stable (#40043).Marius Balteanu2024-02-2783-83/+83
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22755 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22623, r22624 and r22625 from trunk to 5.1-stable (#40099).Marius Balteanu2024-01-251-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22632 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22583 from trunk to 5.1-stable (#39991).Go MAEDA2024-01-031-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22587 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22458, r22459, r22460, r22461, r22462 and r22464 from trunk to ↵Marius Balteanu2023-11-191-10/+20
| | | | | | 5.1-stable (#39437). git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22467 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22417 from trunk to 5.1-stable (#39443).Marius Balteanu2023-11-111-7/+8
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22420 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reinitialize an empty Wiki page after after project wiki is deleted (#34634).Marius Balteanu2023-10-232-1/+5
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22370 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Revert r22368.Marius Balteanu2023-10-232-5/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22369 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Traditional Chinese translation update (#39221).Marius Balteanu2023-10-232-1/+5
| | | | | | Patch by ChunChang (Nagaharu) Lo. git-svn-id: https://svn.redmine.org/redmine/trunk@22368 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offenses due to r22343: Style/RedundantRegexpEscape, ↵Go MAEDA2023-10-161-2/+1
| | | | | | Layout/EmptyLinesAroundMethodBody, and Style/HashSyntax (#39181). git-svn-id: https://svn.redmine.org/redmine/trunk@22346 e93f8b46-1217-0410-a6f0-8f06a7374b81
* API compatibility to legacy status and name query params (#39181, #37674)Go MAEDA2023-10-151-0/+28
| | | | | | | | | | - 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
* Cleanup debug code in app/models/mail_handler.rb (#39184).Go MAEDA2023-10-121-1/+1
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22339 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optimize IssueQuery#sql_for_assigned_to_role_field for PostgreSQL (#38319).Go MAEDA2023-10-091-3/+3
| | | | | | | Contributed by Vincent Robert. git-svn-id: https://svn.redmine.org/redmine/trunk@22334 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor SQL construction in IssueQuery#sql_for_assigned_to_role_field for ↵Go MAEDA2023-10-091-4/+10
| | | | | | better readability (#38319). git-svn-id: https://svn.redmine.org/redmine/trunk@22333 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace custom EMAIL_REGEXP with URI::MailTo::EMAIL_REGEXP for more accurate ↵Go MAEDA2023-10-072-4/+2
| | | | | | | | | email validation (#36969). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22332 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Avoid exception during validation if the spent_on date of a time entry was ↵Go MAEDA2023-09-201-1/+1
| | | | | | | | | removed (#39079). Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22311 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add description for issue statuses and display them in issue new/edit form ↵Go MAEDA2023-08-311-0/+2
| | | | | | | | | (#2568). Patch by Takenori TAKAKI. git-svn-id: https://svn.redmine.org/redmine/trunk@22288 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Raise the maximum length of the last name to 255 characters (#37679).Go MAEDA2023-08-271-1/+2
| | | | | | | Patch by Anthony Mallet. git-svn-id: https://svn.redmine.org/redmine/trunk@22284 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Performance/MapMethodChain (#37247).Go MAEDA2023-08-231-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22280 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Retry in case of stale issue during Issue.update_versions (#38820).Go MAEDA2023-08-231-3/+12
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@22279 e93f8b46-1217-0410-a6f0-8f06a7374b81
* "has been" and "has never been" filter operators can be very slow (#38527, ↵Go MAEDA2023-06-301-4/+6
| | | | | | | | | #38788). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22271 e93f8b46-1217-0410-a6f0-8f06a7374b81
* <=> operator should return nil when invoked with an incomparable object ↵Go MAEDA2023-06-2913-13/+35
| | | | | | | | | (#38772). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22269 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/RedundantSelfAssignmentBranch (#36919).Go MAEDA2023-06-291-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22263 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix SQL error when passing invalid value to "Related to" filter (#38301).Go MAEDA2023-06-211-8/+12
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22256 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Lint/RedundantSafeNavigation (#36919).Go MAEDA2023-06-071-3/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22253 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add X-Redmine-Issue-Priority headers to issue notification mails (#2746).Go MAEDA2023-05-131-0/+2
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22244 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix PostgreSQL error caused by comparing text with integer values (#38527).Go MAEDA2023-05-111-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22242 e93f8b46-1217-0410-a6f0-8f06a7374b81
* New issues filter operators "has been", "has never been", and "changed from" ↵Go MAEDA2023-05-112-6/+34
| | | | | | | | | (#38527). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22240 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make the "Any searchable text" filter search only open issues when the ↵Go MAEDA2023-05-011-1/+4
| | | | | | status filter is set to "open" (#38402). git-svn-id: https://svn.redmine.org/redmine/trunk@22221 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "Any searchable text" filter doesn't support the project filter with the ↵Go MAEDA2023-04-181-1/+9
| | | | | | value "my projects" or "my bookmarks" (#38402). git-svn-id: https://svn.redmine.org/redmine/trunk@22203 e93f8b46-1217-0410-a6f0-8f06a7374b81
* OR search with multiple terms for "starts with" and "ends with" filter ↵Go MAEDA2023-04-171-15/+17
| | | | | | | | | operators (#38456). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22202 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change the notation of "contains any of" filter operator to "*~" (#38435).Go MAEDA2023-04-162-10/+10
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "contains any of" operator is not taken into account in File and File ↵Go MAEDA2023-04-161-8/+8
| | | | | | description filters (#38435). git-svn-id: https://svn.redmine.org/redmine/trunk@22195 e93f8b46-1217-0410-a6f0-8f06a7374b81
* "contains any of" operator for text filters to perform OR search of multiple ↵Go MAEDA2023-04-142-5/+21
| | | | | | | | | terms (#38435). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22188 e93f8b46-1217-0410-a6f0-8f06a7374b81
* FIX: The position of existing elements in the array CORE_FIELDS must not be ↵Go MAEDA2023-04-141-2/+2
| | | | | | changed (#38416). git-svn-id: https://svn.redmine.org/redmine/trunk@22186 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to disable the priority field (#38416).Go MAEDA2023-04-142-2/+3
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22185 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Roles of a project member should not be made empty (#37166).Go MAEDA2023-04-131-1/+1
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@22182 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cannot add a user to a group if the group is a member without roles in a ↵Go MAEDA2023-04-131-0/+2
| | | | | | | | | certain project (#38443). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22180 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add Parent task filter and column to Spent time (#37623).Go MAEDA2023-04-111-0/+29
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@22177 e93f8b46-1217-0410-a6f0-8f06a7374b81
* "Issue's subject" filter for spent time (#27821).Go MAEDA2023-04-091-0/+9
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22173 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change the behavior of the "Any searchable text" filter from OR search to ↵Go MAEDA2023-04-051-1/+1
| | | | | | | | | AND search (#38402). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22169 e93f8b46-1217-0410-a6f0-8f06a7374b81