summaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
...
* RuboCop: fix Style/RedundantSort in app/models/import.rb (#34718).Go MAEDA2022-01-071-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21353 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Auto guess file encoding when importing CSV file (#34718).Go MAEDA2022-01-071-1/+9
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21352 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-0282-82/+82
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that encoding drop-down in the import settings defaults to US-ASCII ↵Go MAEDA2022-01-021-0/+1
| | | | | | | | | instead of general_csv_encoding in Thai (#36377). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21336 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that encoding drop-down in the import settings defaults to US-ASCII ↵Go MAEDA2022-01-021-0/+1
| | | | | | | | | instead of general_csv_encoding in Korean (#36377). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21335 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes for Performance/StringIdentifierArgument introduced in RuboCop ↵Go MAEDA2021-12-293-8/+8
| | | | | | Performance 1.13.0 (#35142). git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use File.exist? instead of deprecated File.exists? (#36358).Go MAEDA2021-12-271-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21327 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
* Saving time tracking activities without any change may turn a system ↵Go MAEDA2021-12-211-1/+1
| | | | | | | | | activity into a project activity (#36318). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21319 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Drop OpenID support (#35755).Go MAEDA2021-12-142-29/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21312 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include an authentication method name in LDAP connection error messages ↵Go MAEDA2021-12-131-4/+4
| | | | | | | | | (#33345). Contributed by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21310 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
* Psych 4: Psych::DisallowedClass exception when unserializing a setting value ↵Go MAEDA2021-11-251-1/+2
| | | | | | | | | (#36226). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21294 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Download all attachments in a journal (#35462).Go MAEDA2021-11-221-1/+1
| | | | | | | Patch by Takenori TAKAKI. git-svn-id: http://svn.redmine.org/redmine/trunk@21292 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Switch to zeitwerk autoloader (#29914, #32938).Marius Balteanu2021-11-175-15/+0
| | | | | | Patch by Takashi Kato. git-svn-id: http://svn.redmine.org/redmine/trunk@21287 e93f8b46-1217-0410-a6f0-8f06a7374b81
* You can configure default project queries in the following places (#35795):Marius Balteanu2021-11-154-1/+13
| | | | | | | * App-level: Administration > Projects > Default query (Projects list defaults section) * User-level: My account > Default project query git-svn-id: http://svn.redmine.org/redmine/trunk@21281 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
* Move @lib/diff.rb@ to @lib/redmine/string_array_diff@ and extract @Diffable@ ↵Marius Balteanu2021-10-271-1/+1
| | | | | | class to its own file (#29914, #32938). git-svn-id: http://svn.redmine.org/redmine/trunk@21262 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Revert changes made in r21251 due to a test fail (#29914, #32938).Marius Balteanu2021-10-211-0/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21254 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Split multiple classes and modules that existed in the same file (#29914, ↵Marius Balteanu2021-10-205-101/+155
| | | | | | | | #32938). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21252 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix rubocop "Style/CombinableLoops" offense in wiki_page.rb (#29914, #32938).Marius Balteanu2021-10-201-3/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21251 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disable rubocop Lint/IneffectiveAccessModifier for ↵Marius Balteanu2021-10-091-0/+2
| | | | | | @self.tokenized_like_conditions@ in @app/models/query.rb@ (#35764). git-svn-id: http://svn.redmine.org/redmine/trunk@21241 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Explicitly specify escape character using an ESCAPE on SQLite (#35073).Marius Balteanu2021-10-092-5/+5
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21240 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Tokenize search parameter in order to allow multiple search terms in:Marius Balteanu2021-10-052-7/+20
| | | | | | | | | * 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
* Fix rubocop offense (#35073).Marius Balteanu2021-10-031-4/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21234 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace send with direct call because sanitize_sql_for_conditions is now ↵Marius Balteanu2021-10-031-3/+4
| | | | | | | | public (#35073). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21233 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use sanitize_sql_like in Query#sql_contains (#35073).Marius Balteanu2021-10-031-0/+1
| | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21232 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use sanitize_sql_like in like scopes (#35073).Marius Balteanu2021-10-034-5/+5
| | | | | | Patch Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21231 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Append two spaces to lines when importing an email on CommonMark with ↵Marius Balteanu2021-10-031-0/+3
| | | | | | | | hardbreaks disabled (#32424). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21228 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix NoMethodError when generating a link to a locked user (#12795, #35823).Go MAEDA2021-09-071-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21217 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use ids instead of pluck(:id) (#32977).Marius Balteanu2021-09-061-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21208 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove references to deleted user from "user"-Format CustomFields when ↵Marius Balteanu2021-09-061-0/+4
| | | | | | | | destroying an user (#32977). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21207 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix that binmode specified twice (#35539, #35720).Go MAEDA2021-08-181-1/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@21193 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
* Remove unused setting 'Blind carbon copy recipients (bcc)' (#30820).Marius Balteanu2021-08-011-7/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21130 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Locked users should not be displayed in the members box of the project ↵Go MAEDA2021-07-271-1/+1
| | | | | | | | | overview page (#35606). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21090 e93f8b46-1217-0410-a6f0-8f06a7374b81
* When updating an issue, allow adding time entry on an issue that was visible ↵Marius Balteanu2021-07-261-0/+7
| | | | | | for the previous assignee (#34856). git-svn-id: http://svn.redmine.org/redmine/trunk@21081 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ensure unique attachment filenames (#35539).Go MAEDA2021-07-191-13/+18
| | | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21071 e93f8b46-1217-0410-a6f0-8f06a7374b81
* User sessions not reset after 2FA activation (#35417).Go MAEDA2021-07-151-1/+1
| | | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21069 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Default issue query (#7360).Go MAEDA2021-07-064-0/+30
| | | | | | | Patch by Katsuya HIDAKA (the author of https://github.com/hidakatsuya/redmine_default_custom_query), Takenori TAKAKI, Olivier Chabert, and Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21061 e93f8b46-1217-0410-a6f0-8f06a7374b81
* When 2FA is set to optional, allow to require 2FA only for certain user ↵Marius Balteanu2021-07-043-1/+13
| | | | | | | | groups (#31920). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21060 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow sending account information when importing users (#35365).Go MAEDA2021-07-031-0/+4
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21058 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Project specific TimeEntryActivity name not updating properly (#21056).Go MAEDA2021-06-301-0/+7
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21054 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Require redmine/sort_criteria globally (#35455).Go MAEDA2021-06-261-2/+0
| | | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21050 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use base_scope for issue query results (#35396).Go MAEDA2021-06-191-6/+2
| | | | | | | Patch by Alexander Meindl. git-svn-id: http://svn.redmine.org/redmine/trunk@21040 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Filter issues by file description (#34715).Go MAEDA2021-06-141-0/+21
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21034 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Gracefully handle invalid query parameters for custom fields (#35312).Go MAEDA2021-05-281-2/+5
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@21012 e93f8b46-1217-0410-a6f0-8f06a7374b81
* X-Redmine-Issue-Assignee email header field is empty when the assignee of an ↵Go MAEDA2021-05-181-5/+14
| | | | | | | | | issue is a group (#35017). Patch by Akihiro MATOBA. git-svn-id: http://svn.redmine.org/redmine/trunk@21005 e93f8b46-1217-0410-a6f0-8f06a7374b81
* 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