33 Commits

Author SHA1 Message Date
Thibault Jouan
c510c8f871 Remove secret token initializer 2015-04-30 09:28:46 +00:00
Thibault Jouan
2fe3eb1158 Remove dependencies on Scube constant 2015-04-30 09:28:14 +00:00
Thibault Jouan
aa6f6a103e Update to rails 4.2.1 2015-04-29 11:33:21 +00:00
Thibault Jouan
53d9956961 Fix default headers 2014-04-01 19:35:28 +00:00
Thibault Jouan
da96c4814a Use ruby 2.x hash syntax 2014-04-01 10:48:18 +00:00
Thibault Jouan
aa2b43ab42 Update rails to 4.0:
* Add protected_attributes gem dependency;
* Remove deprecated usages of AR .find method;
2014-04-01 10:01:02 +00:00
Thibault Jouan
40f4ced3b8 Add inflection for API acronym 2013-06-30 21:37:30 +00:00
Thibault Jouan
9b9e17e591 Implement track/index action for API 2012-05-03 21:11:03 +00:00
Thibault Jouan
fc1ec120ae Add sound/show action (FIXME: need tests!) 2012-05-03 21:11:00 +00:00
Thibault Jouan
df6d4991f8 Implement playlists/create action for API 2012-03-19 02:23:48 +00:00
Thibault Jouan
b25d4d256f Update all bundled gems to lastest versions 2012-03-18 23:51:20 +00:00
Thibault Jouan
10a8e1f094 Remove v0 version namespacing for API 2012-03-18 23:16:43 +00:00
Thibault Jouan
5dfafdcc46 Implement sessions/create in JSON API 2012-03-18 17:30:36 +00:00
Thibault Jouan
196ea16a94 Use RABL to build JSON responses given by API 2012-03-11 23:31:01 +00:00
Thibault Jouan
6379da88e2 Implement Cross-Origin Resource Sharing:
* Add Api::ApplicationController
* Route OPTION requests (CORS preflight) to API application controller
* Filter all API requests through #cor_filter in API application
  controller
2012-03-11 22:19:42 +00:00
Thibault Jouan
88d3242843 Implements playlists/index action in JSON API 2012-02-26 11:33:43 +00:00
Thibault Jouan
fae41abf5d Update config defaults for new rails version 2011-12-04 23:03:31 +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
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
f49a5a3f67 Update to rails 3.1.0
* Bump rails version to 3.1.0 in Gemfile
* Update config files
* Fix bcrypt monkey patch for specs
* Fix TracksController
* Replace track streaming with track download
* Remove assets from application layout
2011-09-15 16:10:21 +00:00
Thibault Jouan
639293e4ca Replace cucumber features by rails integration specs 2011-09-14 17:39:14 +00:00
Thibault Jouan
20e8bdbf4f Change database backend to PostgreSQL
* Bundle pg gem
* Add a database config file sample
2011-09-13 19:26:13 +00:00
Thibault Jouan
1057cab009 Implement user registration feature
* Add users/new action and view
* Add users/create action
* Add link to sign up in sign in page
2011-09-07 18:36:06 +00:00
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
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
b39bc2d6da Add home page with playlists list and link to add a track 2011-07-27 19:40:30 +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
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
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