Thibault Jouan
b13efc5a4c
Improve how ruby features are required
...
* Don't require bcrypt explicitly (done by bundler);
* Regroup require calls in application configuration.
2015-04-30 11:28:07 +00:00
Thibault Jouan
3b733c349e
Fix coding standards in application files
2015-04-30 08:52:00 +00:00
Thibault Jouan
4c6adc6927
Use new "strong parameters" from rails4
2014-04-03 02:20:37 +00:00
Thibault Jouan
da96c4814a
Use ruby 2.x hash syntax
2014-04-01 10:48:18 +00:00
Thibault Jouan
638d379ec6
Add validation on User password presence
2011-09-13 20:10:38 +00:00
Thibault Jouan
688a178376
Validate uniqueness of user email address
...
* Make user.email attribute unique
* Render validations error messages in users/new view
2011-09-08 23:09:58 +00:00
Thibault Jouan
7fad9e0402
Associate a user to his playlists
2011-08-30 16:53:47 +00:00
Thibault Jouan
4f66db2682
Refactor code related to authentication:
...
* User model
* SessionsController
2011-08-29 20:23:20 +00:00
Thibault Jouan
6c6ed3b0b2
Refactor user model
2011-08-24 19:18:39 +00:00
Thibault Jouan
1fc3be42de
Save user password as a bcrypt hash
...
* Replace password field by password_hash
* Add User#password attribute
* Implement password hashing and verification with BCrypt mixin
2011-08-09 17:04:47 +00:00
Thibault Jouan
7bf4d4c5f9
Add authentication and User model
...
* Add User model
* Add SessionsController
* Add password authentication on User
* Request authentication for all actions except sign in
* Add some helpers for ApplicationController
* Update features to work with mandatory authentication
2011-08-06 23:04:36 +00:00