Commit Graph

790 Commits

Author SHA1 Message Date
carlad
a2deeb1d96 v3 update payload 2015-09-30 15:49:48 +02:00
carlad
38b73f53cb v3 more trying to get the payload right 2015-09-30 15:35:19 +02:00
carlad
f3b8258b53 v3 update payload for build restart 2015-09-30 15:29:12 +02:00
carlad
5c6e705012 v3 update sidekiq payload for build restart and cancel 2015-09-30 15:21:59 +02:00
carlad
b73a5604d0 v3 add build/id/cancel endpoint and tests 2015-09-29 16:28:42 +02:00
carlad
d99c3c8c54 v3 update build cancel, access control, specs for build cancel 2015-09-28 18:45:52 +02:00
carlad
faf60a5f7f initial work to add build and job cancellation incl updating existing specs 2015-09-25 16:04:47 +02:00
carlad
ab979e2356 add category to broadcasts renderer 2015-09-23 15:32:15 +02:00
carlad
866ed28641 v3 revert removal of :last_build from repo renderer 2015-09-22 16:23:26 +02:00
carlad
af7fdec340 v3 remove :last_build attrubite from repository renderer 2015-09-22 16:16:01 +02:00
carlad
6821cec524 revert change to build renderer 2015-09-21 17:02:38 +02:00
carlad
986ae0ef97 add branch to build minimal rep 2015-09-21 16:26:01 +02:00
carlad
9f2b880f83 increase throttle limit for authenticated requests 2015-09-18 09:58:34 +02:00
Konstantin Haase
c372b07344 only enable request throttling in production 2015-09-17 15:26:30 +02:00
Konstantin Haase
e8769dddc5 add missing constant 2015-09-17 15:21:16 +02:00
Konstantin Haase
5e40f33fc1 remove left-overs from inheriting from Rack::Attack 2015-09-17 15:18:48 +02:00
Konstantin Haase
e478c621f2 no more inheritance 2015-09-17 15:13:33 +02:00
Konstantin Haase
dc0da3645a work around strange constant lookup 2015-09-17 15:10:27 +02:00
Konstantin Haase
9303a24595 base throttling on access token if the call is authenticated, rather than on IP address, improve throttling rules 2015-09-17 14:57:50 +02:00
Konstantin Haase
b59fa6cd94 add general throttling 2015-09-15 19:30:13 +02:00
Konstantin Haase
af977ca677 use in-memory store for local development 2015-09-15 19:22:04 +02:00
Konstantin Haase
3e0423aae3 add auto-throtteling to /auth/github 2015-09-15 19:17:01 +02:00
Konstantin Haase
fb4bedbb6b move ip blacklist to redis 2015-09-15 18:29:54 +02:00
carlad
4a0932df1e prefix ids with correct tables when ordering 2015-09-15 11:45:16 +02:00
carlad
dc7ced1c7f v3 add :default_branch to minimal representation for repository, update specs 2015-09-14 18:43:26 +02:00
carlad
28c6e04eb8 put jobs service back in 2015-09-11 11:10:36 +02:00
carlad
1640c33517 fix incorrect broadcast endpoints - add correct broadcasts endpoint 2015-09-10 17:36:13 +02:00
carlad
bd61d1e58e add broadcasts - initial work 2015-09-10 15:08:41 +02:00
carlad
2c5ad649f5 v3 add :exists_on_github to standard branch representation 2015-09-08 16:26:43 +02:00
carlad
9d7a01e60c Merge branch 'master' into cd-v3-parity
Keeping my branch up to date with the master
2015-09-08 12:21:49 +02:00
carlad
2e72233213 v3 fix services 2015-09-07 17:10:03 +02:00
carlad
f44b374d79 v3 add branches endpoint 2015-09-07 17:09:05 +02:00
carlad
beaa4b7e17 add branches endpoint 2015-09-07 17:07:09 +02:00
Konstantin Haase
3242189259 v3: eager load jobs for build history if asked for 2015-09-03 15:30:18 +02:00
Konstantin Haase
2891dd640a v3: use cached_matrix_ids for build.jobs if only job ids are being loaded 2015-09-03 15:03:12 +02:00
carlad
702b539ddf v3 put endpoints in routes.rb into alphabetical order 2015-09-02 18:22:10 +02:00
carlad
211637e247 v3 make specs use v3 models, update representations of build and job, make some indentation pretty 2015-09-02 16:21:41 +02:00
carlad
d99d80ac98 v3 add :job_ids to build payload, update builds/find_spec 2015-08-27 13:33:46 +02:00
carlad
8e6dbf9319 v3 add /job/:id endpoint 2015-08-27 11:00:09 +02:00
carlad
1a3d42da21 v3 add _type_disabled to ovveride activerecord setting wrong class on job 2015-08-26 16:33:16 +02:00
carlad
98bcc9e530 add :jobs to build payload 2015-08-26 12:44:15 +02:00
Konstantin Haase
6b0850813c Merge branch 'cd-v3-parity' 2015-08-25 19:42:00 +02:00
Konstantin Haase
e3d56ecadb v3: more info in the service index 2015-08-25 19:41:04 +02:00
Konstantin Haase
2610c03801 v3: in service index, sort resources alphabetically 2015-08-25 18:07:21 +02:00
Konstantin Haase
ee03ebfbe5 v3: have attributes in service index list representations 2015-08-25 17:53:08 +02:00
carlad
51bcdec77a add @representation attribute to collections and update specs 2015-08-25 17:50:45 +02:00
carlad
720d8aa284 add @representation attribute to payload and update specs 2015-08-25 17:21:02 +02:00
carlad
517b3b60ef Merge branch 'master' into cd-v3-parity 2015-08-24 10:01:59 +02:00
Konstantin Haase
09df061268 v3: add @warnings 2015-08-21 19:50:37 +02:00
Konstantin Haase
462b2aed0d v3: allow filtering builds by branch 2015-08-21 19:11:27 +02:00