summaryrefslogtreecommitdiffstats
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
...
* Update User#last_login_on only once per minute and user to reduce DB lock ↵Jean-Philippe Lang2018-06-171-2/+8
| | | | | | | | contention on users table (#28952). Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@17403 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Cannot clear category field on copying an Issue (#28951).Jean-Philippe Lang2018-06-171-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17395 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Clear subtask assignee during copy if is locked (#28946).Go MAEDA2018-06-171-0/+1
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17390 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes repository routes without repository_id (#26522).Jean-Philippe Lang2018-06-161-3/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17386 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Log automatic rescheduling of following issues to journal (#28649).Jean-Philippe Lang2018-06-102-4/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17373 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Include locked members in filters (#15201).Go MAEDA2018-06-093-6/+8
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17371 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Clear target version when copying an issue if status is locked or closed ↵Go MAEDA2018-06-071-0/+1
| | | | | | | | | (#27863). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17368 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix: Copying an issue fails if the issue is watched by a locked user (#28765).Go MAEDA2018-05-191-1/+2
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds previews for audio / video attachments (#27336).Go MAEDA2018-05-171-1/+9
| | | | | | | Patch by Jens Kraemer. git-svn-id: http://svn.redmine.org/redmine/trunk@17340 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copy project attachments (#26622).Go MAEDA2018-05-131-0/+5
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@17333 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copy version attachments (i.e. Files) along with the versions on project ↵Go MAEDA2018-05-131-0/+5
| | | | | | | | | copy (#26622). Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@17332 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Change default operator for text format custom fields from "is" to ↵Go MAEDA2018-05-121-1/+1
| | | | | | | | | "contains" (#28660). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17331 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Recalculate issue priority position names if default value changed (#28494).Go MAEDA2018-05-121-1/+1
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@17329 e93f8b46-1217-0410-a6f0-8f06a7374b81
* /users API accepts boolean strings for generate_password field (#28686).Go MAEDA2018-05-061-1/+1
| | | | | | | Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@17327 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Filter for version name should be case-insensitive (#27122).Go MAEDA2018-04-281-1/+1
| | | | | | | Patch by Holger Just and Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17316 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copy wiki attachments on project copy (#10282).Go MAEDA2018-04-281-0/+1
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17315 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow to copy documents along with projects (#26621).Go MAEDA2018-04-281-1/+16
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@17314 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow setting "Parent issue" attribute in emails (#27070).Go MAEDA2018-04-241-1/+2
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17304 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Global and public custom queries are shown as editable to non administrators ↵Jean-Philippe Lang2018-04-081-6/+6
| | | | | | in projects (#28264). git-svn-id: http://svn.redmine.org/redmine/trunk@17292 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Security notification on password recovery is empty (#28302).Jean-Philippe Lang2018-04-071-2/+7
| | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@17269 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support for lastnames with spaces in user autocompleters (#28154).Go MAEDA2018-04-071-6/+11
| | | | | | | Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@17259 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ignore archived project memberships when calculating issue query visibility ↵Go MAEDA2018-04-071-2/+3
| | | | | | | | | (#28180). Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@17257 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds issue category column to spent time queries (#28391).Go MAEDA2018-04-011-0/+4
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17250 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds issue category filter to spent time queries (#28391).Go MAEDA2018-04-011-0/+8
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17249 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix: Calculation of the start date of following issues ignores the ↵Go MAEDA2018-03-081-1/+2
| | | | | | | | | "non-working days" setting (#14846). Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@17230 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix indent (#27025).Go MAEDA2018-03-032-13/+13
| | | | | | | Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@17226 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optional regex for filtering attachments on incoming emails (#27025).Go MAEDA2018-03-032-7/+16
| | | | | | | Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@17225 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow selecting subprojects on new issue form (#12704).Go MAEDA2018-02-281-3/+12
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17217 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unused method Mailer#mylogger (#28028).Go MAEDA2018-02-111-4/+0
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix typo in error message when target version was not found (#28024).Go MAEDA2018-01-241-1/+1
| | | | | | | Patch by Marius Žilėnas. git-svn-id: http://svn.redmine.org/redmine/trunk@17184 e93f8b46-1217-0410-a6f0-8f06a7374b81
* The progress exceeding 99.5% is displayed as 100% (#27848).Jean-Philippe Lang2018-01-081-1/+1
| | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unable to download file if custom field is not defined as visible to any ↵Jean-Philippe Lang2018-01-081-3/+9
| | | | | | users (#26705). git-svn-id: http://svn.redmine.org/redmine/trunk@17158 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Empty email attachments are imported to Redmine, creating broken DB records ↵Jean-Philippe Lang2018-01-071-0/+1
| | | | | | | | (#27885). Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@17147 e93f8b46-1217-0410-a6f0-8f06a7374b81
* No validation errors when entering an invalid "Estimate hours" value (#27881).Jean-Philippe Lang2018-01-071-1/+1
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17144 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Strip whitespace from login on login page (#22532).Go MAEDA2017-12-131-1/+1
| | | | | | | Patch by Artur Borisovich and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17113 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disallow creating inverse relates issue relations (#27663).Go MAEDA2017-12-061-1/+9
| | | | | | | Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@17056 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverted r17054 (#27663).Go MAEDA2017-11-301-9/+1
| | | | | | | | The change breaks test/functional/issue_relations_controller_test.rb. git-svn-id: http://svn.redmine.org/redmine/trunk@17055 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disallow creating inverse relates issue relations (#27663).Go MAEDA2017-11-291-1/+9
| | | | | | | Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@17054 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Performance opt - cache AR Proxy for Version#fixed_issues.visible (#27676).Jean-Philippe Lang2017-11-291-0/+5
| | | | | | Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@17052 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moves issue calculations into the fixed_issues relation (#27676).Jean-Philippe Lang2017-11-291-69/+97
| | | | | | | | | This way, we can reuse them on refined relations, e.g. @version.fixed_issues.closed_count@ vs. @version.fixed_issues.visible.closed_count@ Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@17050 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix filter after multiple version ids (#26667).Jean-Philippe Lang2017-10-151-1/+1
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17000 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix filter values for fixed version id (#26667).Jean-Philippe Lang2017-10-151-1/+1
| | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16999 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Filtering time entries after issue's target version doesn't work as expected ↵Jean-Philippe Lang2017-10-151-2/+1
| | | | | | | | in some cases (#26667). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16997 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Translation for label_week in time report is not working (#26780).Jean-Philippe Lang2017-10-151-1/+1
| | | | | | Patch by Alexander Meindl. git-svn-id: http://svn.redmine.org/redmine/trunk@16990 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fill the issue id when logging time from the time log list of an issue (#26520).Jean-Philippe Lang2017-07-301-0/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16924 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a checkbox to set a page as the wiki start page (#26579).Jean-Philippe Lang2017-07-301-1/+22
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16915 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup.Jean-Philippe Lang2017-07-261-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16891 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Get rid of acts_as_versioned.Jean-Philippe Lang2017-07-263-99/+144
| | | | | | WikiContent::Version becomes WikiContentVersion. git-svn-id: http://svn.redmine.org/redmine/trunk@16889 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Drop Darcs support (#26391).Jean-Philippe Lang2017-07-251-114/+0
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@16886 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix NameError (uninitialized constant) when "config.eager_load = true" (#26513)Toshi MARUYAMA2017-07-251-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16882 e93f8b46-1217-0410-a6f0-8f06a7374b81