OSDN Git Service

Validate username. Gitlab::Regex added
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Wed, 28 Nov 2012 03:14:05 +0000 (06:14 +0300)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Wed, 28 Nov 2012 03:14:05 +0000 (06:14 +0300)
commit47234ab3672697f85f8e9f452aea4453e1b9aadc
treec42f407fff251fd78f794291d2145f19222a9be1
parent5ed4e7e21682a0fa8617ddd8c5f5d1b3fc611314
Validate username. Gitlab::Regex added
app/models/namespace.rb
app/models/project.rb
app/models/user.rb
app/views/admin/users/index.html.haml
app/views/admin/users/show.html.haml
app/views/profile/account.html.haml
lib/gitlab/regex.rb [new file with mode: 0644]
spec/models/user_spec.rb