summaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Fix a bug the "doesn't contain" operator returns no issues if the search ↵Go MAEDA2023-04-051-1/+1
| | | | | | | | | finds no issues (#38402). Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22168 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "Any searchable text" filter for issues (#38402).Go MAEDA2023-04-052-0/+30
| | | | | | | Patch by Go MAEDA and Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22164 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Receive e-mail replies to news and news comments (#38274).Go MAEDA2023-03-261-0/+35
| | | | | | | Patch by Felix Schäfer. git-svn-id: https://svn.redmine.org/redmine/trunk@22160 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add LockedTopic exception to MailHandler (#38273).Go MAEDA2023-03-261-1/+2
| | | | | | | Patch by Felix Schäfer. git-svn-id: https://svn.redmine.org/redmine/trunk@22159 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add MissingContainer exception to MailHandler (#38273).Go MAEDA2023-03-261-6/+7
| | | | | | | Patch by Felix Schäfer. git-svn-id: https://svn.redmine.org/redmine/trunk@22158 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Multiple issue ids in "Related to" filter (#38301).Go MAEDA2023-03-251-1/+2
| | | | | | | Patch by Tomoko Shimizu, Ko Nagase, and Takashi Kato. git-svn-id: https://svn.redmine.org/redmine/trunk@22156 e93f8b46-1217-0410-a6f0-8f06a7374b81
* "Cannot delete enumeration" error may occur when attempting to delete a ↵Go MAEDA2023-03-251-2/+2
| | | | | | | | | 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
* Fix RuboCop offense Style/InverseMethods: Use `present?` instead of ↵Go MAEDA2023-03-256-7/+7
| | | | | | inverting `blank?` (#37248). git-svn-id: https://svn.redmine.org/redmine/trunk@22152 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Lint/MissingSuper (#36919).Go MAEDA2023-03-241-4/+7
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22147 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Check if the user has the permission to add notes or edit an issue when ↵Go MAEDA2023-03-021-0/+4
| | | | | | | | | adding an issue attachments (#38297). Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22122 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show parent issues in notification email (#34302).Go MAEDA2023-03-011-0/+2
| | | | | | | Patch by Yuichi HARADA. git-svn-id: https://svn.redmine.org/redmine/trunk@22120 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Try importing journal replies as issue reply where applicable (#38263).Go MAEDA2023-02-271-6/+5
| | | | | | | Patch by Felix Schäfer. git-svn-id: https://svn.redmine.org/redmine/trunk@22119 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disable auto watch for the anonymous user (#38238).Go MAEDA2023-02-262-4/+4
| | | | | | | Patch by Felix Schäfer. git-svn-id: https://svn.redmine.org/redmine/trunk@22116 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Auto watch issues on issue creation (#38238).Go MAEDA2023-02-262-1/+14
| | | | | | | Patch by Felix Schäfer. git-svn-id: https://svn.redmine.org/redmine/trunk@22115 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Time Entry Import fails to import custom fields with "User" format (#38254).Go MAEDA2023-02-161-0/+8
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@22112 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/YodaCondition (#36919).Go MAEDA2023-02-141-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22106 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor code to use YAML.load_file instead of explicitly opening the file ↵Go MAEDA2023-02-131-4/+2
| | | | | | (#38250). git-svn-id: https://svn.redmine.org/redmine/trunk@22101 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix config/settings.yml not closed in Setting.load_available_settings (#38250).Go MAEDA2023-02-061-2/+4
| | | | | | | Patch by Thomas Löber. git-svn-id: https://svn.redmine.org/redmine/trunk@22099 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Performance/StringInclude (#37247).Go MAEDA2023-02-061-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22097 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update Mail gem to 2.8 (#37993).Go MAEDA2023-02-051-6/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: https://svn.redmine.org/redmine/trunk@22094 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Improve index usability for Project#project_condition (#38198).Go MAEDA2023-01-211-5/+7
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22069 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ensure that the base permission is set for Role#permissions_tracker? and ↵Go MAEDA2023-01-191-0/+4
| | | | | | | | | related (#38070). Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@22063 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby 2.7: Fix RuboCop offense Performance/MapCompact (#38134).Go MAEDA2023-01-177-11/+10
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22055 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support for WebP images (#38168).Go MAEDA2023-01-161-1/+1
| | | | | | | | | | | * 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
* Introduce permission to set a project public (#38048).Go MAEDA2023-01-121-1/+16
| | | | | | | Patch by Felix Schäfer. git-svn-id: https://svn.redmine.org/redmine/trunk@22038 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Lint/UselessRescue (#36919).Go MAEDA2023-01-111-2/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22035 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Performance/RedundantMatch (#38146).Go MAEDA2023-01-111-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22032 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Performance/RedundantEqualityComparisonBlock (#38146).Go MAEDA2023-01-112-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22031 e93f8b46-1217-0410-a6f0-8f06a7374b81