OSDN Git Service

Version sharing (#465) + optional inclusion of subprojects in the roadmap view (...
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 6 Dec 2009 10:28:20 +0000 (10:28 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 6 Dec 2009 10:28:20 +0000 (10:28 +0000)
commit5f8e9d71182040473d4072241ce81fcadada497f
tree7701b9fed7aed50afd4dbf7fd34ec5ef08d40e5f
parente1781235696fe23851154ebbdc913e970d3c0f3a
Version sharing (#465) + optional inclusion of subprojects in the roadmap view (#2666).

Each version of a project can be shared with:
* subprojects
* projects in the project hierarchy: ancestors + descendants (needs versions management permission on the root project)
* projects in the project tree: root project + all its descendants (same as above)
* all projects (can be set by admin users only)

Notes:
* when sharing a version of a private project with others projects, its name will be visible within the other projects
* a project with versions used by non descendant projects can not be archived

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3123 e93f8b46-1217-0410-a6f0-8f06a7374b81
40 files changed:
app/controllers/issues_controller.rb
app/controllers/projects_controller.rb
app/controllers/versions_controller.rb
app/helpers/application_helper.rb
app/helpers/issues_helper.rb
app/helpers/projects_helper.rb
app/models/issue.rb
app/models/project.rb
app/models/query.rb
app/models/version.rb
app/views/issues/_attributes.rhtml
app/views/issues/bulk_edit.rhtml
app/views/issues/context_menu.rhtml
app/views/projects/activity.rhtml
app/views/projects/changelog.rhtml
app/views/projects/roadmap.rhtml
app/views/projects/settings/_versions.rhtml
app/views/versions/_form.rhtml
config/locales/en.yml
config/locales/fr.yml
db/migrate/20091205124427_add_versions_sharing.rb [new file with mode: 0644]
lib/redmine.rb
test/exemplars/version_exemplar.rb
test/fixtures/attachments.yml
test/fixtures/issues.yml
test/fixtures/journal_details.yml
test/fixtures/journals.yml
test/fixtures/members.yml
test/fixtures/versions.yml
test/functional/issues_controller_test.rb
test/functional/projects_controller_test.rb
test/integration/account_test.rb
test/test_helper.rb
test/unit/enumeration_test.rb
test/unit/helpers/projects_helper_test.rb [new file with mode: 0644]
test/unit/issue_priority_test.rb
test/unit/issue_test.rb
test/unit/project_test.rb
test/unit/query_test.rb
test/unit/version_test.rb