Commit Graph

23 Commits

Author SHA1 Message Date
Piotr Sarnacki
bff7f76c33 v3: Implement fetching repository by slug 2015-05-21 12:29:04 +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
075e2d1c6c v3: avoid n+1 query for last_build on the default branch when loading a list of repositories 2015-04-28 22:08:27 +02:00
Konstantin Haase
d8f1075491 start working on repos by owner endpoint 2015-04-27 17:01:41 +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
Konstantin Haase
d9f5e1e736 make user and org lookup by login case insensitive 2015-04-14 16:07:23 +02:00
Konstantin Haase
5efdcc24c8 implement accounts api 2015-04-13 13:12:18 +02:00
Konstantin Haase
4ae3f5e171 v3: add owner_name and name to sidekiq payload when creating a new request 2015-03-24 12:34:37 +01:00
Konstantin Haase
e4f868cea7 v3: request payload needs to be json encoded 2015-03-24 11:52:27 +01:00
Konstantin Haase
03938cabdc v3: throttle and enable request creation 2015-03-23 15:18:36 +01:00
Konstantin Haase
eb88cf6a2a v3: avoid N+1 queries when eager loading repository relations 2015-03-10 15:59:04 +01:00
Konstantin Haase
7c6dc9a54c v3: full request create implementation and specs 2015-03-04 18:35:25 +01:00
Konstantin Haase
c968bbaab1 v3: use branches table for default_branch, eager load on /repos endpoint to avoid N+1 queries 2015-02-23 22:54:28 +01:00
Konstantin Haase
0a485d2137 make sure access control is using the non-core user model 2015-02-23 17:09:14 +01:00
Konstantin Haase
5f2dc47e07 no longer use models from travis-core in queries 2015-02-23 16:50:51 +01:00
Konstantin Haase
963a217fbf v3: add missing files 2015-02-18 13:48:29 +01:00
Konstantin Haase
b84a0a492b v3: add /org/:id endpoint 2015-02-18 10:07:14 +01:00
Konstantin Haase
3567a759c2 v3: initial stab at request creation api 2015-02-11 10:05:08 +01:00
Konstantin Haase
737a31ad23 v3: add /orgs endpoint, fixes travis-pro/api-v3#1 2015-01-27 15:50:21 +01:00
Konstantin Haase
2e4771ccd2 v3: move find repos logic to query object, allow filtering by private and active 2015-01-27 14:30:35 +01:00
Konstantin Haase
1712204321 v3: introduce query objects for DB interaction 2015-01-27 13:57:51 +01:00