summaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Fix RuboCop offense Performance/ConstantRegexp (#38146).Go MAEDA2023-01-111-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22029 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Performance/BlockGivenWithExplicitBlock (#38146).Go MAEDA2023-01-112-3/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22027 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-0183-83/+83
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby 3.2: `Changeset.normalize_comments` raises Encoding::CompatibilityError ↵Go MAEDA2022-12-261-1/+1
| | | | | | | | | if the string contains an invalid UTF-8 byte sequence (#38099, #38100). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22000 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not break when setting enabled_module_names on a project without a ↵Go MAEDA2022-12-211-1/+1
| | | | | | | | | default_member_role (#38064). Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@21994 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Query display types should accept only known types (#37925).Marius Balteanu2022-11-281-1/+1
| | | | | | | Patch by Alexander Meindl. git-svn-id: https://svn.redmine.org/redmine/trunk@21965 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r21958 and r21959 (#1739).Go MAEDA2022-11-181-12/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21960 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add the ability to change the author of an issue (#1739).Go MAEDA2022-11-161-0/+12
| | | | | | | Patch by Vladimir Kovacik, Jiri Stepanek, Aighan Pacobilch, Olivier Houdas, Takenori TAKAKI, and Mizuki ISHIKAWA. git-svn-id: https://svn.redmine.org/redmine/trunk@21958 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unnecessary disabling of RuboCop Rails/Pluck (#37248).Go MAEDA2022-10-291-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21930 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Rails/Pluck (#37248).Go MAEDA2022-10-283-3/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21928 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/RedundantStringEscape (#36919).Go MAEDA2022-10-261-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21920 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds visible? method to journal (#37772).Go MAEDA2022-10-201-0/+4
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21905 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix undefined method when auth source name column is added as column (#37674).Marius Balteanu2022-09-271-0/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21861 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds missing join when ordering by authsource (#37674).Go MAEDA2022-09-271-0/+12
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21856 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cleanup Repository::Git#clear_extra_info_of_changesets (#37614).Go MAEDA2022-09-251-3/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21845 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use the safe navigation operator instead of checking if an object is nil ↵Go MAEDA2022-09-251-6/+3
| | | | | | | | | (#37614). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21844 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/GuardClause (#37614).Go MAEDA2022-09-251-4/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21843 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/IfUnlessModifier (#37614).Go MAEDA2022-09-251-9/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21842 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/SymbolProc (#37614).Go MAEDA2022-09-251-4/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21841 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Rails/Blank (#37614).Go MAEDA2022-09-251-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21840 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix perfomance issue when objects are filtered by custom field values (#37268).Marius Balteanu2022-09-231-4/+5
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@21833 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unify duplicate codes (#37687).Go MAEDA2022-09-231-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21832 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Retrieve attachments with a single query when rendering a journal (#37687).Go MAEDA2022-09-231-1/+2
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@21831 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Introduces a UserQuery model for admin/users (#37674).Go MAEDA2022-09-202-1/+158
| | | | | | | Patch by Jens Krämer. git-svn-id: https://svn.redmine.org/redmine/trunk@21823 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ignore statuses if workflow only defines identity transition (#37636).Go MAEDA2022-09-171-0/+1
| | | | | | | Patch by Holger Just. git-svn-id: https://svn.redmine.org/redmine/trunk@21818 e93f8b46-1217-0410-a6f0-8f06a7374b81