32 Commits

Author SHA1 Message Date
Thibault Jouan
7187266982 Optimize execution duration for rspec specs
* Use in memory sqlite database for test environment
* Monkey patch BCrypt default cost factor
* Clean spec/spec_helper.rb
2011-09-05 16:24:37 +00:00
Thibault Jouan
47b4f7ac83 Refactor cucumber steps definitions 2011-08-30 17:08:49 +00:00
Thibault Jouan
a0bb9c2afe Fix outdated DB schema 2011-08-30 16:57:56 +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
07c2b5f525 Remove extra attribute change in SessionsController POST create spec 2011-08-24 20:30:53 +00:00
Thibault Jouan
c023a071d0 Fix playlist/update action behaviour with invalid params 2011-08-24 20:27:30 +00:00
Thibault Jouan
7b2b594d7d Improve PlaylistsController POST create specs 2011-08-24 19:55:11 +00:00
Thibault Jouan
6c6ed3b0b2 Refactor user model 2011-08-24 19:18:39 +00:00
Thibault Jouan
e015afed1d Refactor FactoryGirl calls to Factory 2011-08-24 19:16:49 +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
0fb9496fb3 Bundle bcrypt-ruby gem 2011-08-08 18:54:11 +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
18b254e3d1 Use Active Record session store 2011-08-04 23:04:40 +00:00
Thibault Jouan
cec8a18d42 Remove X-UA-Compatible header:
* Disable ActionDispatch::BestStandardsSupport middleware
2011-08-04 16:52:30 +00:00
Thibault Jouan
46abe07268 Add latest added tracks list on the home page 2011-07-27 22:10:22 +00:00
Thibault Jouan
b39bc2d6da Add home page with playlists list and link to add a track 2011-07-27 19:40:30 +00:00
Thibault Jouan
d452dde3ea Remove public files: index.html and robots.txt 2011-07-27 18:56:36 +00:00
Thibault Jouan
03d0fb990c Remove spec/data dir, duplicate with spec/fixtures 2011-07-27 11:12:16 +00:00
Thibault Jouan
7ae4c6297d Add doc/CONTRIBUTE text file 2011-07-26 19:31:43 +00:00
Thibault Jouan
4660b3c22c Add doc/INSTALL text file 2011-07-26 19:17:10 +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
47fa969617 Use factory_girl_rails for factories 2011-07-25 22:56:30 +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
3e7f4a7168 Refactor playlists features 2011-07-19 19:40:08 +00:00
Thibault Jouan
d35327e6f2 Fix uneeded double-quotes usage in Playlist specs 2011-07-13 18:38:10 +00:00
Thibault Jouan
301205d3f0 Implement playlist edit feature
* Display playlists as links in index
* Move playlist form in a partial
2011-07-13 17:52:27 +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
Thibault Jouan
74fb4ca86f Use Haml for views
* Bundle Haml gem
* Convert default erb layout to haml
2011-07-09 11:21:19 +00:00
Thibault Jouan
6b337d3461 Bundle needed gems for BDD
* rspec
* cucumber
* capybara
* database_cleaner
2011-07-09 11:21:19 +00:00
Thibault Jouan
b994f821f7 Add new application generated with rails new 2011-07-09 11:21:06 +00:00