Commit Graph

132 Commits

Author SHA1 Message Date
carlad
beaa4b7e17 add branches endpoint 2015-09-07 17:07:09 +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
Konstantin Haase
4eb89ab141 v3: allow filtering by /repo/…/builds?state=… as a shorthand for /repo/…/builds?build.state=… 2015-08-21 18:56:51 +02:00
Konstantin Haase
73ec1d496e v3: allow filtering builds by event_type, state and previous_state 2015-08-21 18:46:42 +02:00
Konstantin Haase
cc346ce165 v3: more eager-loading 2015-08-21 18:33:27 +02:00
Konstantin Haase
cbc5329b3d v3: avoid N+1 query in builds endpoint 2015-08-21 18:26:21 +02:00
Konstantin Haase
34bff32c3d v3: pagination => @pagination 2015-08-21 17:27:42 +02:00
carlad
8057dc7ab9 Merge branch 'master' into cd-v3-parity 2015-08-21 17:07:25 +02:00
Konstantin Haase
b3f47d3856 v3: add pagination 2015-08-21 17:04:12 +02:00
Konstantin Haase
ac522d6fdd Merge commit 'e9d1105' 2015-08-21 14:43:49 +02:00
carlad
8ef0a2d8e5 implement requests 2015-08-21 14:39:28 +02:00
Konstantin Haase
28e3e52b3e fix alignment 2015-08-21 14:39:19 +02:00
Konstantin Haase
5ef17e7da0 Merge branch 'cd-v3-parity' 2015-08-21 14:38:38 +02:00
carlad
e9d11056c0 update find for access control 2015-08-21 14:05:36 +02:00
carlad
f7634f0f39 update routes for builds 2015-08-21 13:48:47 +02:00
carlad
fe9a6536d7 add builds 2015-08-21 13:38:07 +02:00
Konstantin Haase
18a90c2561 v3: if the API is not marked as public (travis-ci.com), then do not allow read access to organizations the user is not a member of (note: private repos were never included) 2015-08-19 13:04:54 +02:00
Sven Fuchs
426a4f3a69 ignore invalidated repos on the Repositories query 2015-07-14 14:35:56 +02:00
Sven Fuchs
d831597cc2 ignore invalidated repos 2015-07-14 14:35:20 +02:00
Piotr Sarnacki
2ce1220ef5 Merge pull request #179 from travis-ci/pass-token-to-request-create
Include token in requests/create payload
2015-07-08 14:30:18 +02:00
Piotr Sarnacki
a35d78afd8 Allow to configure limit for requests creation 2015-07-08 13:55:40 +02:00
Piotr Sarnacki
b898d863c0 Increase requests creation limit to 50 2015-07-08 13:40:43 +02:00
Piotr Sarnacki
3fa44b2e3f Include token in requests/create payload 2015-07-08 13:38:55 +02:00
Konstantin Haase
0cdecaade3 API v3: add captures route dsl method 2015-05-21 14:57:16 +02:00
Piotr Sarnacki
bff7f76c33 v3: Implement fetching repository by slug 2015-05-21 12:29:04 +02:00
Konstantin Haase
b0f142a94b v3: drastically reduce objects allocated by access control 2015-05-11 17:38:40 +02:00
Konstantin Haase
16c5106cd3 v3: reduce object allocations from polyorphic relations patch 2015-05-11 17:14:24 +02:00
Konstantin Haase
2f19ba3357 API v3: don't load all builds when eagerloading repository.last_build 2015-05-05 17:01:03 +02:00
Konstantin Haase
59835c80f6 API v3: remove n+1 query from owner page endpoint 2015-05-05 16:43:52 +02:00
Konstantin Haase
cc82721565 Revert "v3: add active and private filter to owner query"
This reverts commit 2b12aadc0d.
2015-05-04 18:34:15 +02:00
Konstantin Haase
2b12aadc0d v3: add active and private filter to owner query 2015-05-04 18:23:40 +02:00
Konstantin Haase
61ae7e669e v3: allow expanding build.commit 2015-04-30 17:08:52 +02:00
Konstantin Haase
fb8e6825db v3: expose build.previous_state 2015-04-30 16:25:14 +02:00
Konstantin Haase
ae7de12bec v3: add build.event_type 2015-04-30 16:17:55 +02:00
Konstantin Haase
8215720b49 v3: don't fall back to v2 on 404 2015-04-30 16:05:58 +02:00
Konstantin Haase
857f13b26c v3: add @permissions to user payload 2015-04-29 14:39:52 +02:00