Make private repos more private
authorMarko Peltola <marko.peltola@jyu.fi>
Wed, 7 Apr 2010 13:29:12 +0000 (16:29 +0300)
committerMarko Peltola <marko.peltola@jyu.fi>
Wed, 7 Apr 2010 13:29:12 +0000 (16:29 +0300)
commit3fd93f7ab7c88e2b69c3be6c039df3cbf6816767
tree8b6085ee45ffaa27fff707adc5bd0baf0b1610ba
parentcfe93320d7cd1a9dee039c45777a77092039895b
Make private repos more private

Add private column to repositorises table in database.

Hide events if event in private repository - maybe?

Signed-off-by: Marko Peltola <marko.peltola@jyu.fi>
20 files changed:
app/controllers/projects_controller.rb
app/controllers/repositories_controller.rb
app/controllers/site_controller.rb
app/models/event.rb
app/models/repository.rb
app/views/events/_event.html.erb
app/views/repositories/_list.html.erb
app/views/repositories/_overview.html.erb
app/views/repositories/edit.html.erb
app/views/site/new_repo_and_project.html.erb
app/views/site/repositories.html.erb
db/migrate/20100406105021_add_private_to_repository.rb [new file with mode: 0644]
db/migrate/20100406105909_change_default_value_of_private.rb [new file with mode: 0644]
db/migrate/20100406115508_rename_private_to_private_repo_in_repositories.rb [new file with mode: 0644]
db/schema.rb
test/fixtures/views/site/qt/index.html.erb~ [deleted file]
vendor/rails/actionpack/test/fixtures/test/hello_world.erb~ [deleted file]
vendor/rails/actionpack/test/fixtures/test/malformed/malformed.en.html.erb~ [deleted file]
vendor/rails/actionpack/test/fixtures/test/malformed/malformed.erb~ [deleted file]
vendor/rails/actionpack/test/fixtures/test/malformed/malformed.html.erb~ [deleted file]