]> source.dussan.org Git - redmine.git/commit
Issue relations first commit (not thoroughly tested). 4 kinds of relation are available:
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 5 May 2007 13:22:27 +0000 (13:22 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 5 May 2007 13:22:27 +0000 (13:22 +0000)
commit92b02014d21f0e60230fc7a5c3c5ad71dac6e472
tree30fcce490ea2c6decb6ea34b589f11f04bfd381d
parent987e843cd195edc402c8b2c7c665534ddb02af45
Issue relations first commit (not thoroughly tested). 4 kinds of relation 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
22 files changed:
app/controllers/issue_relations_controller.rb [new file with mode: 0644]
app/controllers/issues_controller.rb
app/controllers/projects_controller.rb
app/helpers/issue_relations_helper.rb [new file with mode: 0644]
app/models/issue.rb
app/models/issue_relation.rb [new file with mode: 0644]
app/views/issue_relations/_form.rhtml [new file with mode: 0644]
app/views/issues/_relations.rhtml [new file with mode: 0644]
app/views/issues/show.rhtml
config/routes.rb
db/migrate/042_create_issue_relations.rb [new file with mode: 0644]
db/migrate/043_add_relations_permissions.rb [new file with mode: 0644]
lang/bg.yml
lang/de.yml
lang/en.yml
lang/es.yml
lang/fr.yml
lang/it.yml
lang/ja.yml
lang/pt.yml
lang/zh.yml
public/javascripts/application.js