Check that a project is offline before allowing access to it
authorMarius Mathiesen <marius@gitorious.org>
Thu, 20 Sep 2012 11:28:57 +0000 (13:28 +0200)
committerMarius Mathiesen <marius@gitorious.org>
Thu, 20 Sep 2012 11:28:57 +0000 (13:28 +0200)
commitcea291f7cb4ea29050b2869b12c0d015d3d1a9c0
tree5a0de2c8c701c349bcf255eeac32168a44916afc
parent96960f20f9aea69035ec59a84bd1418ea053997a
Check that a project is offline before allowing access to it

This was mainly achieved by checking in ProjectFilters#find_project,
but also specifically when loading the configuration from SSH client etc.
app/controllers/application_controller.rb
app/controllers/project_filters.rb
app/controllers/repositories_controller.rb
app/models/project.rb
test/functional/projects_controller_test.rb
test/functional/repositories_controller_test.rb
test/unit/project_test.rb