summaryrefslogtreecommitdiffstats
path: root/app/models/issue.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merged r22913-r22917 from trunk to 5.0-stable (#40946).Marius Balteanu2024-10-281-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@23168 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r23048 from trunk to 5.0-stable (#8539).Go MAEDA2024-09-111-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@23050 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22746 from trunk to 5.0-stable (#40043).Marius Balteanu2024-02-271-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22756 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r22122 from trunk to 5.0-stable (#38297).Go MAEDA2023-03-021-0/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22123 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22014 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r21637 and r21638 to 5.0-stable (#37171).Marius Balteanu2022-06-161-2/+8
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21639 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r21626 from the trunk to 5.0-stable (#37151).Go MAEDA2022-06-101-6/+7
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21628 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r21613 to 5.0-stable (#37155).Marius Balteanu2022-05-281-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21620 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow users to be mentioned using @ in issues and wiki pages (#13919):Marius Balteanu2022-02-231-0/+2
| | | | | | | | | | * the user must have add watchers permission on that object in order to mention other users * mentioned user will receive a notification email * only visible users who can view the object can be mentioned git-svn-id: http://svn.redmine.org/redmine/trunk@21435 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes for Performance/StringIdentifierArgument introduced in RuboCop ↵Go MAEDA2021-12-291-6/+6
| | | | | | Performance 1.13.0 (#35142). git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes for Performance/BigDecimalWithNumericArgument introduced in RuboCop ↵Go MAEDA2021-12-251-1/+1
| | | | | | Performance 1.13.0 (#35142). git-svn-id: http://svn.redmine.org/redmine/trunk@21326 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue Summary: add statistics about issues without assignee, version or ↵Go MAEDA2021-12-121-1/+1
| | | | | | | | | category (#13099). Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@21309 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow addition/removal of subtasks to show in parent's history (#6033).Go MAEDA2021-11-081-2/+28
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21273 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Tokenize search parameter in order to allow multiple search terms in:Marius Balteanu2021-10-051-2/+1
| | | | | | | | | * the "contains" operator of text filters * in issue autocomplete Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use sanitize_sql_like in like scopes (#35073).Marius Balteanu2021-10-031-1/+1
| | | | | | Patch Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21231 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed attachments deletable by user without edit issue permission on tracker ↵Marius Balteanu2021-08-051-0/+5
| | | | | | (#35634). git-svn-id: http://svn.redmine.org/redmine/trunk@21142 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby 3.0: Fix `super` calls (#34992, #34986).Go MAEDA2021-04-031-1/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20912 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not journalize attachments that are added during a "Copy Issue" operation ↵Go MAEDA2021-03-291-1/+1
| | | | | | | | | (#34921). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@20872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unable to autoload constant Version.table_name if gems use Version class ↵Go MAEDA2021-03-031-2/+2
| | | | | | | | | (#33206). Patch by Alexander Meindl. git-svn-id: http://svn.redmine.org/redmine/trunk@20760 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add class 'error' to custom fields with validation errors (#32764, #34580).Go MAEDA2021-01-111-1/+1
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20710 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show only valid projects on issue form when the issue is a subtask (#33419).Go MAEDA2021-01-011-13/+39
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20701 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of app/models/issue.rbToshi MARUYAMA2020-12-171-25/+107
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20663 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use sum { ... } instead of map { ... }.sum (#34399).Go MAEDA2020-12-061-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20581 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of app/models/issue.rbToshi MARUYAMA2020-11-171-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20411 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use "do end" instead of {} at ActiveRecord scope lambda of app/models/issue.rbToshi MARUYAMA2020-11-121-12/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use "do end" instead of {} at app/models/issue.rbToshi MARUYAMA2020-11-071-8/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20284 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Evaluate acts_as_activity_provider's scope lazily (#33664).Go MAEDA2020-10-171-1/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20148 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of app/models/issue.rbToshi MARUYAMA2020-09-261-8/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20083 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that Issues API bypasses add_issue_notes permission (#33689).Go MAEDA2020-08-121-1/+0
| | | | | | | Patch by Junya Tomono and Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@19975 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of app/models/issue.rbToshi MARUYAMA2020-07-111-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19889 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add space after comma to app/models/issue.rbToshi MARUYAMA2020-07-111-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19888 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add empty line after guard clause to app/models/issue.rbToshi MARUYAMA2020-07-111-0/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19887 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of Issue#visible_conditionToshi MARUYAMA2020-07-111-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19886 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix source indent of Issue#self_and_descendantsToshi MARUYAMA2020-07-111-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19885 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "behind-schedule" CSS class to issues (#31881).Go MAEDA2020-07-091-0/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19868 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Done ratio of a parent issue may be shown as 99% even though all subtasks ↵Go MAEDA2020-06-141-3/+3
| | | | | | | | | are completed (#33576). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19818 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updating an issue via REST API causes internal server error if invalid ↵Go MAEDA2020-05-141-2/+5
| | | | | | | | | project id is specified (#33417). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19777 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Show warning and the reason when the issue cannot be closed or reopen ↵Go MAEDA2020-03-101-2/+25
| | | | | | | | | because of open subtask(s), blocking issue(s) or closed parent issue (#31589). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19570 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable users to receive email notifications about high issues (only) (#32628).Go MAEDA2020-01-211-0/+1
| | | | | | | Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@19449 e93f8b46-1217-0410-a6f0-8f06a7374b81
* cleanup: rubocop: fix Layout/AlignArguments in app/models/issue.rbToshi MARUYAMA2019-11-081-20/+21
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18937 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Lint/IneffectiveAccessModifier in app/models/issue.rbToshi MARUYAMA2019-10-191-15/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18780 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/EmptyLines in app/models/issue.rbToshi MARUYAMA2019-10-191-2/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18735 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/ElseAlignment in Issue class ↵Toshi MARUYAMA2019-09-301-5/+6
| | | | | | total_spent_hours method git-svn-id: http://svn.redmine.org/redmine/trunk@18567 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/ElseAlignment in Issue class visible? methodToshi MARUYAMA2019-09-301-12/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18566 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/ElseAlignment in Issue class ↵Toshi MARUYAMA2019-09-301-14/+15
| | | | | | visible_condition method git-svn-id: http://svn.redmine.org/redmine/trunk@18565 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Layout/MultilineBlockLayout in app/models/issue.rbToshi MARUYAMA2019-09-301-2/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18556 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Style/ZeroLengthPredicate in app/models/issue.rbToshi MARUYAMA2019-09-241-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18523 e93f8b46-1217-0410-a6f0-8f06a7374b81