summaryrefslogtreecommitdiffstats
path: root/app/controllers/issue_relations_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fixed create duplicate follow relation fails with 500 internal error (#35655).Marius Balteanu2021-08-101-3/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21150 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix undefined method 'split' when issue_to_id is numeric (#35039).Go MAEDA2021-04-121-1/+8
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20932 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
* Bulk addition of related issues (#33418).Go MAEDA2020-12-251-9/+24
| | | | | | | Patch by Dmitry Makurin and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20689 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove spaces inside {} of IssueRelationsControllerToshi MARUYAMA2020-11-141-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20369 e93f8b46-1217-0410-a6f0-8f06a7374b81
* use "do end" instead of {} at IssueRelationsControllerToshi MARUYAMA2020-11-091-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20314 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add empty line after guard clause to IssueRelationsControllerToshi MARUYAMA2020-11-041-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20252 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
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for some files under app and lib directory ↵Go MAEDA2019-03-161-1/+1
| | | | | | (#26561). git-svn-id: http://svn.redmine.org/redmine/trunk@17977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Handle validation errors on reverse issue relations (#27695).Go MAEDA2018-01-071-1/+7
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@17141 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extracts the rendering of related issues to an helper (#3425).Jean-Philippe Lang2016-11-191-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15981 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use head instead of render :nothing => true.Jean-Philippe Lang2016-07-171-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15687 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use .before_action instead of .before_filter.Jean-Philippe Lang2016-07-141-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15655 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
* Warning "Can't mass-assign protected attributes for IssueRelation: ↵Jean-Philippe Lang2016-01-161-4/+2
| | | | | | issue_to_id" (#21695). git-svn-id: http://svn.redmine.org/redmine/trunk@15063 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
* Use :only instead of :except option in IssueRelationsController filters.Jean-Philippe Lang2014-12-051-4/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13706 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that IssueRelation should not be responsible for calling ↵Jean-Philippe Lang2014-11-021-0/+2
| | | | | | Issue#init_journal (#18237). git-svn-id: http://svn.redmine.org/redmine/trunk@13534 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
* Fixed that relations may not be refreshed when adding a follows relation ↵Jean-Philippe Lang2013-02-241-1/+1
| | | | | | (#13251). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11461 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use named routes in controllers.Jean-Philippe Lang2012-12-111-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10981 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes RJS from IssueRelationsController.Jean-Philippe Lang2012-07-191-10/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10045 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that 200 API responses have a body containing one space (#11388).Jean-Philippe Lang2012-07-141-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9975 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2012-05-051-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Strip issue id when adding a relation.Jean-Philippe Lang2012-04-111-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9384 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes all #verify calls in controllers. Verification is handled at routing ↵Jean-Philippe Lang2012-03-031-2/+0
| | | | | | level now that the default route is removed. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9061 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Explicitly declare all routes and deactivate default route.Etienne Massip2011-12-101-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8162 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed useless rescue.Jean-Philippe Lang2011-11-291-4/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7981 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from app/controllers/issue_relations_controller.rb.Toshi MARUYAMA2011-08-311-13/+13
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6889 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Separation of RSS/API auth actions.Jean-Philippe Lang2011-07-091-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes relations resource shallow (#7366).Jean-Philippe Lang2011-07-051-10/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6184 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds support for GET on /issues/:issue_id/relations (#7366).Jean-Philippe Lang2011-07-041-1/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6179 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds REST API for issue relations (#7366).Jean-Philippe Lang2011-07-041-10/+33
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6176 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Relations are not displayed after adding/removing an issue relation ↵Jean-Philippe Lang2011-01-271-1/+5
| | | | | | (#7463). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4764 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Split the find_object methods to prep for a larger refactoring.Eric Davis2010-03-161-4/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3591 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue relation: fixes error with postgres when entering a non-numeric id ↵Jean-Philippe Lang2010-02-121-2/+2
| | | | | | (#4820) + accept hash (#) before id. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3413 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: users should not be able to add relations with issues they're not ↵Jean-Philippe Lang2009-01-271-0/+3
| | | | | | allowed to view (#2589). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2323 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moves @layout 'base'@ to ApplicationController.Jean-Philippe Lang2008-08-101-1/+0
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1727 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue relations first commit (not thoroughly tested). 4 kinds of relation ↵Jean-Philippe Lang2007-05-051-0/+59
are available: * relates to: do nothing special. Just to know that the 2 issues are related... * duplicates: will close the related issue with the same status when closing the issue (not implemented yet) * blocks: will require to close the blocking issue before closing the blocked issue (not implemented yet) * precedes (end to start relation): start date of the related issue depends on the due date of the preceding issue (implemented). A delay can be set so that the related issue can only start n days after the end of the preceding issue. When setting dates for an issue, dates of all downstream issues are set according to these relations. To set a relation, the 2 issues have to belong to the same project (may change in the future). So if an issue is moved to another project, all its relations are removed. Circular dependencies are checked when creating a relation. git-svn-id: http://redmine.rubyforge.org/svn/trunk@506 e93f8b46-1217-0410-a6f0-8f06a7374b81