summaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove deprecated Project#members_by_role (#35031).Go MAEDA2021-05-151-8/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21003 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove deprecated WikiContent::Version (#35031).Go MAEDA2021-05-152-5/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21002 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Duplicate entries in issue filter values (#35201).Go MAEDA2021-05-071-1/+1
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@20990 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Mail handler bypasses add_issue_notes permission (#35045).Go MAEDA2021-04-251-2/+1
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20970 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow Unique ID and relation fields to be auto mapped (#35131).Go MAEDA2021-04-231-1/+11
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20968 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby 2.7: FrozenError when new LDAP users try to login (#35135).Go MAEDA2021-04-231-1/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20966 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Stricter validation of given revisions of repositories (#35085).Go MAEDA2021-04-231-0/+4
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@20962 e93f8b46-1217-0410-a6f0-8f06a7374b81
* MailHandler raises NameError exception when generating error message (#35100).Go MAEDA2021-04-221-2/+2
| | | | | | | Patch by Dmitry Makurin and Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20959 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disable grouping for associations custom field (#35115).Go MAEDA2021-04-211-1/+6
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20956 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Filter issues by notes (#5893).Go MAEDA2021-04-211-0/+9
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@20955 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Validate attachment filenames on every change (#34367).Go MAEDA2021-04-161-6/+5
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@20946 e93f8b46-1217-0410-a6f0-8f06a7374b81
* The result of Attachment.latest_attach is unstable if attachments have the ↵Go MAEDA2021-04-071-1/+1
| | | | | | | | | same timestamp (#34999). Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20923 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby 3.0: Fix `super` calls (#34992, #34986).Go MAEDA2021-04-032-2/+2
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20912 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace pluck().first with pick() (#32909).Go MAEDA2021-04-032-3/+3
| | | | | | | Patch by Pavel Rosický and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20907 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails 6.1: fix set roleids (#29914, #32935).Go MAEDA2021-04-011-0/+2
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20899 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix sending mail with DeliveryJob is deprecated (#29914, #32908).Go MAEDA2021-04-011-3/+3
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20882 e93f8b46-1217-0410-a6f0-8f06a7374b81
* DEPRECATION WARNING: Uniqueness validator will no longer enforce case ↵Go MAEDA2021-04-0117-17/+18
| | | | | | | | | sensitive comparison in Rails 6.1. (#29914, #32897). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20880 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
* Use secure_compare to validate keys (#34950).Go MAEDA2021-03-261-5/+7
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@20854 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-2579-79/+79
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Case-insensitive matching fails for Unicode filenames when referring to ↵Go MAEDA2021-03-201-1/+3
| | | | | | | | | attachments in text formatting (#27780). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20835 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unnecessary database access when IssueQuery class is defined (#33290).Go MAEDA2021-03-191-13/+28
| | | | | | | Patch by Kevin Fischer. git-svn-id: http://svn.redmine.org/redmine/trunk@20830 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r20653.Go MAEDA2021-03-181-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20815 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Introduces an additional check before removing a deduplicated file (#34479).Go MAEDA2021-03-171-5/+4
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@20812 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r20654.Go MAEDA2021-03-171-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20811 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Delete spent time custom field values not visible by the user after ↵Go MAEDA2021-03-151-1/+8
| | | | | | | | | assignment (#33550). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20802 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that column header is clickable even when the column is not actually ↵Go MAEDA2021-03-141-1/+1
| | | | | | | | | sortable (#33548). Patch by Vincent Robert and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20783 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to set default value for "I don't want to be notified of changes ↵Go MAEDA2021-03-101-1/+1
| | | | | | | | | that I make myself" (#34787). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20771 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow newlines and quote characters within mail body delimiters (#34794).Go MAEDA2021-03-091-1/+12
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@20767 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
* Remove unsupported encodings ISO-2022-KR and ISCII91 from Setting::ENCODINGS ↵Go MAEDA2021-02-171-2/+0
| | | | | | | | | (#34750). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20747 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow to use watch_by filter in the global issues list (#34700).Go MAEDA2021-02-111-1/+1
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@20744 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add class 'error' to custom fields with validation errors (#32764, #34580).Go MAEDA2021-01-112-2/+2
| | | | | | | 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
* Subprojects issues are not displayed on main project when all subprojects ↵Go MAEDA2020-12-271-4/+4
| | | | | | | | | are closed (#34297). Patch by Yuichi HARADA and Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20693 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Create custom field by copy (#34307).Go MAEDA2020-12-261-0/+20
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@20692 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use '\' instead of '+' to concatenate strings at ↵Toshi MARUYAMA2020-12-191-5/+5
| | | | | | app/models/wiki_content_version.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20679 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove redundant 'return' from app/models/attachment.rbToshi MARUYAMA2020-12-191-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20677 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove redundant 'return' from app/models/changeset.rbToshi MARUYAMA2020-12-191-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20676 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of app/models/issue_query.rbToshi MARUYAMA2020-12-191-8/+27
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20669 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
* place the '.' on the previous line of the method call at ↵Toshi MARUYAMA2020-12-171-6/+6
| | | | | | app/models/attachment.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20654 e93f8b46-1217-0410-a6f0-8f06a7374b81
* place the '.' on the previous line of the method call at app/models/project.rbToshi MARUYAMA2020-12-171-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20653 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of Query#sql_for_custom_fieldToshi MARUYAMA2020-12-121-3/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20640 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of app/models/project.rbToshi MARUYAMA2020-12-121-11/+24
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20639 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of app/models/custom_field.rbToshi MARUYAMA2020-12-121-14/+24
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20637 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Spent time details are displayed in incorrect order when sorted by week and ↵Go MAEDA2020-12-121-1/+1
| | | | | | | | | date (#33952). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@20634 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of app/models/board.rbToshi MARUYAMA2020-12-111-3/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20624 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of app/models/mailer.rbToshi MARUYAMA2020-12-111-14/+24
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20623 e93f8b46-1217-0410-a6f0-8f06a7374b81
* shorten long line of app/models/wiki_page.rbToshi MARUYAMA2020-12-101-7/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20612 e93f8b46-1217-0410-a6f0-8f06a7374b81