Ana Rosas
f544f3b15a
Requests endpoint receives build_id and job_id
2016-07-11 15:14:30 -05:00
Ana Rosas
b234ad73be
Use repo owner instead of current user
2016-07-11 14:29:05 -05:00
Ana Rosas
2ab8af6659
Use build:restart event
2016-07-11 14:29:05 -05:00
Ana Rosas
564e95be6b
Use params instead of payload and return error message
2016-07-11 14:29:04 -05:00
Ana Rosas
db193cb541
Use new restart service on request endpoint
2016-07-05 10:25:54 -05:00
Igor Wiedler
d84d3983b8
update rack-attack to 5.0.0.beta1, use safelist/blocklist terminology
2016-07-05 12:58:58 +02:00
Ana Rosas
69f0a9d33e
Add enable_for_all? condition
2016-06-28 11:35:47 -07:00
Ana Rosas
69cc2eef7d
Check for repository owner instead of current user to validate feature flag
2016-06-23 15:15:31 -05:00
Sven Fuchs
25f74defe5
try fixing updating github oauth scopes
2016-06-21 14:00:04 +02:00
Sven Fuchs
6603990fe4
trigger sync in the auth endpoint, not the user model
2016-06-20 16:59:55 +02:00
Sven Fuchs
da4c7f26e6
fix auth endpoint
2016-06-20 15:04:38 +02:00
Sven Fuchs
84ebb6b24e
move tracking github oauth scopes out of the user model, and into Travis::Github::Oauth
2016-06-19 17:33:03 +02:00
Sven Fuchs
0f1e697abd
delete github/services/sync_user and user_mailer, remove action_mailer
2016-06-19 15:04:39 +02:00
Sven Fuchs
a6658fa4d3
get rid of spec_helper_core
2016-06-19 14:35:54 +02:00
Sven Fuchs
81d8c64e98
rename api/v[0-2] to api/serialize/v[0-2]
2016-06-18 17:52:48 +02:00
Ana Rosas
41c274b222
Remove 'type' from payload
2016-06-15 14:36:59 +02:00
Ana Rosas
1c99216e23
Fix merge conflicts
2016-06-08 17:51:48 +02:00
Ana Rosas
8b9df97e3f
Merge branch 'master' into ar-enqueue-restarting-jobs
2016-06-06 11:04:44 +02:00
Ana Rosas
1c9212ef08
Refacto on restart endpoint for Jobs
2016-06-01 14:57:55 +02:00
Ana Rosas
0038197aab
Assign variable before if statement
2016-05-30 18:10:11 +02:00
Renée Hendricksen
574dfab772
fix the error - it's reporting to Sentry - Yay
2016-05-30 18:07:54 +02:00
Renée Hendricksen
8c6477c247
try another spot to throw and error
2016-05-30 18:05:25 +02:00
Renée Hendricksen
d7d8e3bbe3
use the method directly
2016-05-30 17:26:44 +02:00
Renée Hendricksen
2ded8ac2be
some changes to get errors to report to Sentry
2016-05-30 17:16:27 +02:00
Ana Rosas
8655fd19ce
Refacto endpoint
2016-05-30 17:07:17 +02:00
Ana Rosas
6de524d84c
Enqueue restarting jobs for the Hub
2016-05-30 17:07:17 +02:00
Ana Rosas
68daabafa0
Use only params[:id]
2016-05-27 17:52:55 +02:00
Ana Rosas
00bae7a945
Remove push_matrix method, no need of it
2016-05-27 16:41:07 +02:00
Ana Rosas
29f80ab31b
Use CancelModel on Jobs endpoint
2016-05-27 16:15:41 +02:00
Ana Rosas
ef7811ead9
Small refacto
2016-05-27 16:10:16 +02:00
Ana Rosas
c3e0d6d6bb
Use CancelModel in Builds endpoint
2016-05-27 15:57:19 +02:00
Ana Rosas
fa50bd13de
Abstract enqueue restart service, to use it with Jobs and Builds
2016-05-26 17:45:31 +02:00
Ana Rosas
1863f5bd0c
Enqueue restarting jobs for the Hub
2016-05-26 17:45:31 +02:00
Ana Rosas
3c253bb88c
Move stub to before block on restart test
2016-05-23 15:07:33 -05:00
Ana Rosas
2b37d90ffb
Add permission methods to enqueue_build
2016-05-23 15:07:33 -05:00
Ana Rosas
9bd145856b
Add feature flag to enqueue restart build to Hub
2016-05-23 15:07:33 -05:00
Ana Rosas
9bbfb7ec97
Add an equeue service
2016-05-23 15:07:33 -05:00
Ana Rosas
28884f9931
Enqueue build_restart event in Hub
2016-05-18 15:11:04 -05:00
Igor Wiedler
2a66505aca
Set Access-Control-Max-Age header for CORS preflight requests to cache them (refs travis-pro/post-its#169 )
2016-05-18 12:26:06 +02:00
Sven Fuchs
75937e45ee
Remove load_endpoints, too
2016-03-24 17:03:55 +01:00
Sven Fuchs
30b8f2d772
unsmart requiring helpers
2016-03-24 12:53:57 +01:00
Sven Fuchs
2db04f068c
unsmart loading app extensions
2016-03-23 14:42:39 +01:00
Konstantin Haase
6ddb826f1d
make sure params is always a hash, fixes exceptions
2015-12-16 14:31:04 +01:00
Josh Kalderimis
bbba45990d
a little method splitting action good times
...
and high 5 @carlad
2015-12-04 17:31:06 +01:00
carlad
82f280f5d3
convert timesptamps to i for better integration w customerio
2015-12-04 17:11:18 +01:00
Josh Kalderimis
8132258b2c
tiny updates to how we update the customer io info
...
- alway fetch the primary email and don't save it to the user model as this may not match what is on github
- move some bits into their own methods
- high 5 @carlad for her awesome work
2015-12-04 17:06:22 +01:00
carlad
ff68df9fb5
fix syntax error
2015-12-04 16:13:52 +01:00
carlad
553700d402
add email to user
2015-12-04 16:10:44 +01:00
carlad
94c2edfbe1
remove debug messages and add rescues
2015-12-04 15:23:55 +01:00
carlad
13e6959b21
convert ahsh to string
2015-12-04 14:52:53 +01:00