summaryrefslogtreecommitdiffstats
path: root/app/controllers/issues_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merged r16292 (#20661).Jean-Philippe Lang2017-01-301-0/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16306 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r16118 to r16122 (#24693, #24718, #24722).Jean-Philippe Lang2017-01-041-5/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16132 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15740 and r15748 (#23410).Jean-Philippe Lang2016-08-311-0/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15768 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15532 to r15534 (#23054).Jean-Philippe Lang2016-06-181-17/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15537 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged r15501 to r15508 (#15880).Jean-Philippe Lang2016-06-121-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15513 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged 15430, 15464 to 15469, 15475, 15476 (#285, #7839).Jean-Philippe Lang2016-06-061-3/+18
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@15478 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Restores the "New issue" tab in the project menu and makes it optional (#6204).Jean-Philippe Lang2016-05-091-0/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15407 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace Date.today with User.current.today (#22320).Jean-Philippe Lang2016-05-071-1/+1
| | | | | | | | | | | | | | Depending on the offset between a user's configured timezone and the server timezone, Date.today may be more or less often wrong from the user's perspective, leading to things like issues marked as overdue too early or too late, or yesterday / tomorrow being displayed / selected where 'today' is intended. A test case illustrating the problem with Issue#overdue? is included Patch by Jens Kraemer. git-svn-id: http://svn.redmine.org/redmine/trunk@15379 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed the "New issue" menu item (#6204).Jean-Philippe Lang2016-04-191-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15344 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Previous/next links may be lost after editing the issue (#14462).Jean-Philippe Lang2016-03-191-13/+29
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15253 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copying an issue does not copy parent task id (#12893).Jean-Philippe Lang2016-01-101-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15058 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Private note flag disappears in issue update conflict (#21551).Jean-Philippe Lang2015-12-201-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14984 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set default project version after selecting a different project on the new ↵Jean-Philippe Lang2015-11-011-0/+5
| | | | | | issue form (#1828). git-svn-id: http://svn.redmine.org/redmine/trunk@14788 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use #safe_attributes= for building new time entry.Jean-Philippe Lang2015-11-011-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14787 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Isolates csv options for a hash param (#1159).Jean-Philippe Lang2015-10-151-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14674 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes new issue initial status settable in workflow (#5816).Jean-Philippe Lang2015-07-261-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14458 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Sort journals by created_on then id (#14881).Jean-Philippe Lang2015-06-271-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14374 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that copying issues always copy subtasks and attachments even if ↵Jean-Philippe Lang2015-05-231-3/+6
| | | | | | option is unchecked (#11787). git-svn-id: http://svn.redmine.org/redmine/trunk@14268 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Preload changeset associations (#19706).Jean-Philippe Lang2015-05-091-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14239 e93f8b46-1217-0410-a6f0-8f06a7374b81
* When create by copying the issue, status can not be changed to default (#19553).Jean-Philippe Lang2015-04-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14158 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that the bulk edit form shows additional custom fields (#19163).Jean-Philippe Lang2015-03-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14152 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that the bulk edit form shows additional custom fields (#19163).Jean-Philippe Lang2015-03-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14151 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't render the issue form if issue.project is nil (#19276).Jean-Philippe Lang2015-03-201-1/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14146 e93f8b46-1217-0410-a6f0-8f06a7374b81
* API: creating an issue with an invalid project_id should return 422 instead ↵Jean-Philippe Lang2015-03-201-1/+1
| | | | | | of 403 (#19276). git-svn-id: http://svn.redmine.org/redmine/trunk@14141 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't include unused helper modules.Jean-Philippe Lang2015-02-141-7/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14001 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updated code comments.Jean-Philippe Lang2015-02-141-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14000 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Implements /issues/new form for creating issues outside a project (#1003).Jean-Philippe Lang2015-02-141-24/+31
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13999 e93f8b46-1217-0410-a6f0-8f06a7374b81
* IssuesController#edit as XML is not implemented.Jean-Philippe Lang2015-02-131-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13998 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed IssuesController#update_form action, use #new and #edit instead.Jean-Philippe Lang2015-02-131-29/+21
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13997 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added Issue#attributes_editable?Jean-Philippe Lang2015-02-131-2/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13996 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved users list diplayed as available watchers on the new issue form to an ↵Jean-Philippe Lang2015-02-131-4/+0
| | | | | | helper. git-svn-id: http://svn.redmine.org/redmine/trunk@13995 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a :copy_issues permission (#18855).Jean-Philippe Lang2015-02-081-0/+25
| | | | | | When copy is allowed, target projects are those on which the user has the :add_issues permission. git-svn-id: http://svn.redmine.org/redmine/trunk@13985 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed :move_issues permission (#18855).Jean-Philippe Lang2015-02-081-7/+5
| | | | | | This permission was wrongly used to allow bulk issue copy. To prevent user from moving an issue to another project, the project field should now be set to read-only in the workflow permissions. A migration does this automatically for roles that have the edit_issues permission without having the move_issues permission. git-svn-id: http://svn.redmine.org/redmine/trunk@13981 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds support for macro and Redmine links in PDF export (#13051).Jean-Philippe Lang2015-01-251-4/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13944 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't create a journal when creating an issue with attachments.Jean-Philippe Lang2014-12-081-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13733 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Configurable behavour for linking issues on copy (#18500).Jean-Philippe Lang2014-11-291-2/+15
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13668 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Default status per tracker (#5991).Jean-Philippe Lang2014-11-021-10/+12
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13535 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that IssueRelation should not be responsible for calling ↵Jean-Philippe Lang2014-11-021-0/+1
| | | | | | Issue#init_journal (#18237). git-svn-id: http://svn.redmine.org/redmine/trunk@13534 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup.Jean-Philippe Lang2014-10-261-8/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13513 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-8/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Preload authors for /issues API calls.Jean-Philippe Lang2014-02-221-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12912 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Preload issue relations when exporting issues to CSV with all columns (#16091).Jean-Philippe Lang2014-02-221-0/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12910 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't display default watchers checkboxes on the new issue form when there ↵Jean-Philippe Lang2014-01-191-1/+4
| | | | | | are more than 20 members (#8562). git-svn-id: http://svn.redmine.org/redmine/trunk@12673 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace deprecated Relation#update_all at IssuesControllerToshi MARUYAMA2014-01-101-2/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12580 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails4: replace deprecated find_all_by_* at IssuesControllerToshi MARUYAMA2014-01-101-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12579 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that update_form always proposes the default status when updating an ↵Jean-Philippe Lang2013-11-151-1/+1
| | | | | | existing issue (#15344). git-svn-id: http://svn.redmine.org/redmine/trunk@12277 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that controller_issues_edit_before/after_save hooks have no controller ↵Jean-Philippe Lang2013-10-131-1/+23
| | | | | | | | context (#15044). Patch by Jordan Hollinger. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12219 e93f8b46-1217-0410-a6f0-8f06a7374b81