Commit Graph

72 Commits

Author SHA1 Message Date
carlad
937cc0267a v3 fix filtering by unstarred and n+1 query 2015-11-25 16:30:42 +01:00
carlad
baa1881bf7 v3 change name of starred_repository to star 2015-11-24 18:59:16 +01:00
carlad
02d3fad23f v3 refator un/star endpoints 2015-11-20 13:20:03 +01:00
carlad
95ad9a6b56 v3 add starred to standard representation for repo 2015-11-19 19:17:46 +01:00
Konstantin Haase
083355227f v3: add developer program feature flag 2015-10-21 16:57:21 +02:00
Konstantin Haase
4cc50009aa v3: remove repository.last_build 2015-10-08 19:01:03 +02:00
Konstantin Haase
9bdc7b496e v3: repository - allow rendering minimal default branch without having to fetch the branch from the branches table 2015-10-08 18:53:26 +02:00
Konstantin Haase
2d0bb58e35 v3: minimal represenations should not use data from other tables 2015-10-08 18:45:18 +02:00
Konstantin Haase
d7c9a367e9 v3: branches - add default_branch (boolean) property 2015-10-08 18:44:40 +02:00
Konstantin Haase
06486c57a5 v3: broadcasts - better renderer 2015-10-08 18:43:57 +02:00
Konstantin Haase
1c4579008b v3: broadcasts - make sure expired is a boolean 2015-10-08 16:32:18 +02:00
Konstantin Haase
716bd1f8e6 v3: don't have recursive recursiveness trigger endless db queries, fixes travis-pro/team-teal#497 2015-10-05 17:49:10 +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
dc7ced1c7f v3 add :default_branch to minimal representation for repository, update specs 2015-09-14 18:43:26 +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
f44b374d79 v3 add branches endpoint 2015-09-07 17:09:05 +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
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
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
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
34bff32c3d v3: pagination => @pagination 2015-08-21 17:27:42 +02:00
Konstantin Haase
b3f47d3856 v3: add pagination 2015-08-21 17:04:12 +02:00
carlad
8ef0a2d8e5 implement requests 2015-08-21 14:39:28 +02:00
carlad
fe9a6536d7 add builds 2015-08-21 13:38:07 +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
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
429ad3fc6b v3: don't error on including magic fields 2015-04-29 13:44:32 +02:00
Konstantin Haase
2b0ae177fa v3: expose repo access permissions in payload 2015-04-29 11:31:05 +02:00
Konstantin Haase
283092ff92 v3: avoid fetching the same repo owner over and over again when rendering a repo list 2015-04-28 22:28:45 +02:00
Konstantin Haase
c3e96c4a55 v3: use query object for include logic to avoid n+1 queries 2015-04-28 22:02:03 +02:00
Konstantin Haase
ad7ff86aa7 v3: make sure access_control is handed on 2015-04-28 21:50:33 +02:00
Konstantin Haase
3730dc74df API v3: better eager loading and recursion detection for denormalized relations 2015-04-28 18:30:53 +02:00
Konstantin Haase
ae31a57541 v3: add @href to denormalized repository.owner 2015-04-28 18:14:36 +02:00
Konstantin Haase
595163619d API v3: allow eager loading owner repos 2015-04-28 14:58:21 +02:00
Konstantin Haase
1b19b57109 v3: add accounts api 2015-04-17 13:34:29 +02:00
Konstantin Haase
344979a2a8 v3: rename account to owner (so we can use account for private accounts api) 2015-04-17 12:44:10 +02:00