Thibault Jouan
0f1f7106b2
Implement Key.authenticate
2015-05-06 03:14:42 +00:00
Thibault Jouan
763c9789ec
Allow user to creates named auth keys with token
2015-05-05 02:31:30 +00:00
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
bd39be32c5
Make Sound#file attr_accessible
2014-04-01 07:48:47 +00:00
Thibault Jouan
5145717a3c
Specify models attributes that must not be mass assignated
2012-01-07 18:26:38 +00:00
Thibault Jouan
a8067404f4
Use rails configuration for sounds file path
...
* Add sounds_path initializer
2011-09-21 21:21:14 +00:00
Thibault Jouan
6af1540640
Bundle shoulda and use ActiveModel matchers in specs
2011-09-21 00:07:19 +00:00
Thibault Jouan
27550fd14e
Save track files in new Sound model:
...
* Consolidate migrations
* Add Sound model. Each sound can belong to a track and contains
informations about one sound file.
2011-09-20 17:43:20 +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
Thibault Jouan
46abe07268
Add latest added tracks list on the home page
2011-07-27 22:10:22 +00:00
Thibault Jouan
2f6a447416
Implement track/stream
...
* Add Streamer class
* Use FactoryGirl for factories
* Add sha256 field to tracks
* Add mime_type field to tracks
2011-07-26 16:59:47 +00:00
Thibault Jouan
6af96b0f75
Add track/{new,create} with file upload for the track
2011-07-24 18:50:57 +00:00
Thibault Jouan
34b38b77cf
Implement tracks/{show,listen}
2011-07-19 19:42:45 +00:00
Thibault Jouan
33f979b573
Add basic playlists management
...
* Index of playlists
* Create a new playlist
* Basic playlist model with mandatory name
2011-07-12 00:32:06 +00:00