Changed the way a new repository is created
authorJuho Nieminen <jumaarni@viuht.it.jyu.fi>
Thu, 8 Apr 2010 17:29:22 +0000 (20:29 +0300)
committerJuho Nieminen <jumaarni@viuht.it.jyu.fi>
Thu, 8 Apr 2010 17:29:22 +0000 (20:29 +0300)
commit7b37de5bef1a54163243e35c50faddadc8084d5d
treef120e33dc2d35d6a7ec17bada29b43ad5bf37731
parent5b83f483d2a060949bb50f91ad23d39dedee1d01
Changed the way a new repository is created

Now the repository creation form that is not under a project
(/repositories/new) asks the user to create a new project first.
It also offers a link to quickly create a project with default
settings.

NOTE: The system suggests a name for the generated project and
that is not perfect yet. It will check if some names are available
but it is not bulled proof.

Signed-off-by: Juho Nieminen <jumaarni@viuht.it.jyu.fi>
app/controllers/repositories_controller.rb
app/controllers/site_controller.rb
app/models/project.rb
app/views/repositories/_mirroring_settings.html.erb
app/views/repositories/new.html.erb
app/views/site/new_repo_and_project.html.erb
lib/gitorious_form_builder.rb
public/stylesheets/base.css