Aakriti Gupta
9ab4111f33
Remove feature flip from requests endpoint
2016-07-20 11:20:19 +02:00
Ana Rosas
510fb8b146
Remove old code references from v3 endpoints
2016-07-20 11:17:51 +02:00
Ana Rosas
75ef3a6367
Remove old code references from v2 endpoints
2016-07-20 11:17:50 +02:00
Renée Hendricksen
652439226a
Merge branch 'master' into jc-v3-env-vars
2016-07-14 19:57:40 -04:00
Renée Hendricksen
58cd17158c
decrypt the public values for return and fix the tests
2016-07-14 17:24:49 -04:00
Renée Hendricksen
42b1661107
already required in the spec helper now
2016-07-12 19:27:04 -04:00
Renée Hendricksen
16968f445f
freeze time for the whole suite so all the Time.now calls sprinkled through the old tests won't error if there is a delay on Travis CI
2016-07-12 19:23:24 -04:00
Renée Hendricksen
c10145cc93
builds occasionally fail when the timestamps are a second off, this should fix that
2016-07-12 17:38:55 -04:00
Renée Hendricksen
35ae19c3a0
Merge branch 'jc-v3-env-vars' into rlh_cleanup3
2016-07-12 17:08:10 -04:00
Renée Hendricksen
8cdbca925b
Merge branch 'master' into jc-v3-env-vars
2016-07-12 17:07:51 -04:00
Renée Hendricksen
2783a69f89
encrpted value and working tests
2016-07-12 14:12:46 -04:00
Ana Rosas
54e9d2fd06
Get type of model in order to call correct restart event
2016-07-11 15:20:34 -05:00
Ana Rosas
b234ad73be
Use repo owner instead of current user
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
Renée Hendricksen
21f445ad64
Merge branch 'master' into jc-v3-env-vars
2016-07-05 18:02:29 -04:00
Renée Hendricksen
ac7e610510
Merge branch 'master' into jc-v3-env-vars
2016-07-05 11:44:28 -04: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
Igor Wiedler
a210cf8661
support nil ip
2016-07-05 12:46:32 +02:00
Igor Wiedler
7e8b65a311
correct test case for GitHub IP check
2016-07-05 12:39:32 +02:00
Igor Wiedler
e6d7607916
safelist github IP range in Rack::Attack
2016-07-05 12:30:10 +02:00
Joe Corcoran
829366a554
Fix duplicate lines from rebase
2016-07-01 23:55:49 -04:00
Joe Corcoran
4b14f17cc5
Fix service specs
2016-07-01 23:55:49 -04:00
Joe Corcoran
871b915515
Add env vars endpoints
...
This adds API V3 endpoints for querying, creating, modifying and
deleting environment variables.
It has no concept of encryption yet and should be considered a work in
progress.
We should also talk about the slightly off-track approach in the
EnvVars::Create service – maybe there's a way to standardise the
querying and rendering for post requests?
☕
2016-07-01 23:55:49 -04:00
Igor Wiedler
34fbfc2ccf
no longer test against user agent for github rate-limit, since it is not consistently github-camo
2016-07-01 16:27:41 +02:00
Piotr Sarnacki
32dd8d9f93
Mark current_build as experimental
2016-06-22 14:19:31 +02: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
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
51c6c8f58f
move api/serializer to api/serialize/serializer
2016-06-18 17:58:36 +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
bf20506e09
Merge branch 'master' into ar-enqueue-cancelling-jobs-builds
2016-06-15 16:15:05 +02:00
Ana Rosas
41c274b222
Remove 'type' from payload
2016-06-15 14:36:59 +02:00
Ana Rosas
5949429f75
Enqueue restart message on job/restart v3 endpoint
2016-06-14 17:39:29 +02:00
Ana Rosas
a2d1322b60
Enqueue cancel message on job/cancel v3 endpoint
2016-06-14 17:24:05 +02:00
Ana Rosas
bb7260bc9e
Enqueue restart message on build restart v3 endpoint
2016-06-14 16:46:29 +02:00
Tyranja
56a59e4cc3
Adds debugging output for canceling jobs
2016-06-14 15:18:15 +02:00
Renée Hendricksen
7c3c6bd1a9
passing specs
2016-06-14 15:16:15 +02:00
Ana Rosas
e097c8889e
Enqueue cancel message on build cancel v3 endpoint
2016-06-14 15:15:59 +02:00
Tyranja
0f2c7e0307
Update rspec due to deprecation warnings
2016-06-14 15:14:11 +02:00
Renée Hendricksen
cecc501255
working service specs
2016-06-14 15:14:11 +02:00
Renée Hendricksen
e77be8210f
working core specs
2016-06-14 15:11:58 +02:00
Renée Hendricksen
9ed43941fd
updates for v3 approved by rkh and spruce up the model tests
2016-06-14 15:11:58 +02:00
Tyranja
e1f7921223
Change Database configuration to make the test pass
2016-06-14 15:11:58 +02:00
Renée Hendricksen
ae133e649a
use the core spec helper
2016-06-14 15:10:40 +02:00
Tyranja
3b6ab6fb71
Copies spec from core
2016-06-14 15:10:40 +02:00
Ana Rosas
777e42374c
Auto-merged master into ar-enqueue-cancelling-jobs-builds on deployment.
2016-06-09 14:53:10 +02:00
Ana Rosas
1c99216e23
Fix merge conflicts
2016-06-08 17:51:48 +02:00