4253: Add a username attribute to users.
authorBrett Smith <brett@curoverse.com>
Tue, 17 Mar 2015 22:10:14 +0000 (18:10 -0400)
committerBrett Smith <brett@curoverse.com>
Wed, 25 Mar 2015 15:21:34 +0000 (11:21 -0400)
commitff8721dd5854279fab712f4a4ff8aed2256c1b87
tree3192aaf7f0d124d57e075baf5c3fe7f8c14f1878
parent8505cb4000d7e1c776cbc7ea630d9413616f49c3
4253: Add a username attribute to users.

* Add the column, and propagate it based on available VM logins or
  e-mail address, if possible.
* Add format validation and tests.
* Set new usernames based on e-mail address, with tests.
doc/api/schema/User.html.textile.liquid
services/api/app/models/user.rb
services/api/db/migrate/20150317132720_add_username_to_users.rb [new file with mode: 0644]
services/api/db/structure.sql
services/api/test/fixtures/users.yml
services/api/test/unit/user_test.rb