Commit Graph

25 Commits

Author SHA1 Message Date
Ana
beb17165a2 Introduce an association for the selected_schedule
Association in Program fot the selected_schedule
2016-08-11 15:11:27 +02:00
Ana
c047ffd699 New associations and models: schedule versioning
For the schedule versioning in the admin interface (having multiple possible shcedules) we need to change some models and associations. It has also been create a rake:move_events_attributes task to migrate the data.

User Interface addapted to make use of the introduced associations and models
2016-08-11 15:06:52 +02:00
Ana
8d9bb56f06 Hexadecimal color changed to capital letters
The default colors in event_types and difficulty levels are in capital letters and the ones that comes from the color picker were not. Now colors are capitalized before saving the track, level or type. A rake task has also been created to capitalize color from old tracks, levels or types.
2016-07-11 13:46:02 +02:00
Henne Vogelsang
a3dd8e6c95 Use config/database.yml for ClearDB config
If we use .env heroku neither sees DATABASE_URL nor
config/database.yml and assumes we use postgre. There
also is no need to load the rails env in the task.
2016-05-25 16:49:56 +02:00
Henne Vogelsang
28eed457b2 Add a rake task to setup DATABASE_URL for ClearDB
There currently is no other way to inherit environment
variables from parent apps on heroku
2016-05-25 14:41:16 +02:00
Stella Rouzi
7f97079e9b name of task 2016-05-23 15:00:02 +03:00
Stella Rouzi
d17268e4e1 change name of task 2016-05-23 14:56:49 +03:00
Stella Rouzi
63df0d880b dry 2016-05-23 14:56:49 +03:00
Stella Rouzi
7560e0bc0c namespace data 2016-05-23 14:56:49 +03:00
Stella Rouzi
bd4f2e26be Single task 2016-05-23 14:56:49 +03:00
Stella Rouzi
eb8eda9279 Add task to fix room and difficulty_level foreign_keys 2016-05-23 14:56:49 +03:00
Stella Rouzi
aa38aa6085 Add task to remove non-existent track_id from Event. 2016-05-23 14:56:49 +03:00
Henne Vogelsang
6575bc10db Adapt the logo data migration task to carrierwave 2016-05-19 15:48:27 +02:00
Henne Vogelsang
084ee7ef43 Give a bit more demo info in the conference description 2016-05-03 16:25:39 +02:00
Henne Vogelsang
5e656e7d9f Add a rake task to create demo data
Useful for development, review apps and our demo instance
2016-05-02 16:06:32 +02:00
Henne Vogelsang
78501b17ca Rake task to migrate config.yml to a dotenv file 2016-04-29 16:37:48 +02:00
Stella Rouzi
01ec43e53a Registration for Events 2016-04-26 16:11:40 +03:00
Aditya Prakash
d47e9c317d Add rake task to reprocess sponsor logos
rake logo:reprocess
2016-04-25 17:24:14 +05:30
Nishanth Vijayan
3129c196fa Add rake task to re-add deleted roles from all conferences 2016-03-28 19:49:59 +05:30
Henne Vogelsang
9c2ef19741 Don't require support/external_request from rake tasks
If we require this we're requiring everything that
support/external_request requires for production.
2016-03-09 13:34:54 +01:00
Aditya Prakash
6301072484 Add webmock for external requests in tests
external_request.rb needs to be required before lint is run.
2016-03-02 21:15:29 +05:30
Aditya Prakash
f84150362b Move FactoryGirl.lint to rake task
This significantly improves start time of tests. It is also the recommended
way: https://github.com/thoughtbot/factory_girl/blob/master/GETTING_STARTED.md#linting-factories

Read more at: https://github.com/thoughtbot/factory_girl/issues/772
2016-03-02 21:15:28 +05:30
Stella Rouzi
760bca6ff0 task to make a user an admin. Alter migration to make admins users with old role of Admin or Organizer 2014-09-04 15:53:47 +03:00
Henne Vogelsang
f212aeeb30 Add a rake task to the deployment to backup the DB.
Apparently needed with all the broken migrations...
2014-08-20 00:49:48 +02:00
Matt Barringer
90b30db9e8 First checkin 2013-01-07 09:04:09 +01:00