summaryrefslogtreecommitdiffstats
path: root/app/controllers/issue_relations_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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