Commit Graph

40 Commits

Author SHA1 Message Date
Nishanth Vijayan
68788ce9fc Show conference changelog
Use load_and_authorize_resource in versions controlller
Add conference specifc route to revision history page
Users with role can view revision_history only for the versions they have access to
Handle versions where conference_id is not set (records before papertrail was introduced)
2017-08-24 10:24:13 +00:00
AEtherC0r3
9c58397cd2 Enable Style/IndentationWidth cop
The offenses were fixed manually
2017-07-14 12:47:20 +03:00
shlok007
7d408ee33c suggested changes
change description of organization_admin
remove assign_role callback
2017-06-28 06:55:30 +05:30
shlok007
b72e64b238 Introduce organization admins 2017-06-28 06:55:30 +05:30
nasia
6cb11ff2f3 Add Style/WordArray at rubocop.yml #1463 2017-06-06 13:53:05 +03:00
Agrim Mittal
6c7e8bc8a1 Add rake task for resources 2017-05-13 18:30:30 +03:00
Siddhant Bajaj
f78f449258 Added demo data 2017-03-10 17:40:41 +05:30
Christian Bruckmayer
734e1d4dd9 Revert "Mock request to fix factory girl rake"
This reverts commit 0295850f20.

Because it broke our Heroku deployment.
2017-03-03 15:08:31 +01:00
Christian Bruckmayer
322d58c61c Revert "fixed travis issues"
This reverts commit 1255088ff0.

Because it broke our heroku deployment
2017-03-03 15:07:54 +01:00
Ana María Martínez Gómez
7000e63700 Merge pull request #1297 from siddhantbajaj/Travis_Errors
fixed travis error
2017-02-21 18:14:43 +01:00
Siddhant Bajaj
0295850f20 Mock request to fix factory girl rake 2017-02-21 14:44:52 +05:30
Siddhant Bajaj
1255088ff0 fixed travis issues 2017-02-20 23:43:02 +05:30
JewelSam
36f97ad5e5 Added task for set email_public attribute true for all users 2017-02-15 18:07:44 +03:00
Praveen Kumar
45e53a2ae9 rake task to destroy versions with event_attatchments 2016-08-31 17:24:52 +05:30
Nishanth Vijayan
8a4a9552af Add rake task to set conference_id in pre-existing versions 2016-08-12 13:35:56 +05:30
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