Initial commit for svn repository management and access control:

* Identifier attribute added on Project model. Used as the unix group name for the project
* Web services (disabled by default) and scripts for repository management on a remote svn host

git-svn-id: http://redmine.rubyforge.org/svn/trunk@396 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2007-04-01 19:43:59 +00:00
parent cb6c8bee47
commit 4ff8386e3d
18 changed files with 239 additions and 5 deletions
+4
View File
@@ -8,6 +8,7 @@ projects_001:
description: Recipes management application
homepage: http://ecookbook.somenet.foo/
is_public: true
identifier: ecookbook
parent_id:
projects_002:
created_on: 2006-07-19 19:14:19 +02:00
@@ -18,6 +19,7 @@ projects_002:
description: E-commerce web site
homepage: ""
is_public: false
identifier: onlinestore
parent_id:
projects_003:
created_on: 2006-07-19 19:15:21 +02:00
@@ -28,6 +30,7 @@ projects_003:
description: eCookBook Subproject 1
homepage: ""
is_public: true
identifier: subproject1
parent_id: 1
projects_004:
created_on: 2006-07-19 19:15:51 +02:00
@@ -38,4 +41,5 @@ projects_004:
description: eCookbook Subproject 2
homepage: ""
is_public: true
identifier: subproject1
parent_id: 1
+1 -1
View File
@@ -45,7 +45,7 @@ class AdminTest < ActionController::IntegrationTest
get "projects/add"
assert_response :success
assert_template "projects/add"
post "projects/add", :project => { :name => "blog", :description => "weblog", :is_public => 1}
post "projects/add", :project => { :name => "blog", :description => "weblog", :identifier => "blog", :is_public => 1}
assert_redirected_to "admin/projects"
assert_equal 'Successful creation.', flash[:notice]