Renée Hendricksen
3585a52ba5
fix the update method
2016-08-23 01:36:10 -04:00
Piotr Sarnacki
32dd8d9f93
Mark current_build as experimental
2016-06-22 14:19:31 +02:00
Piotr Sarnacki
fcb0e7cde4
Rename current_build_id sort option to current_build
2016-06-22 14:19:31 +02:00
Joe Corcoran
fba9a87c39
Add settings to API V3
...
This adds /repo/{repository.id}/settings endpoints for reading
and updating repo settings.
Main points:
1. Sets up Settings as a first class resource instead of as an
attribute of Repository
2. Adds new meta-programmed method to Query for accessing all
prefixed params as a hash.
2016-06-08 15:59:52 +02:00
Piotr Sarnacki
659dc4d992
Add current_build to repositories payload
...
This commit adds current_build (which is based on
repositories.current_build_id) to repositories payload. It also adds
ability to sort by current_build.
2016-05-17 14:11:09 +02:00
Piotr Sarnacki
13d9c97501
Revert "Merge pull request #257 from travis-ci/ps-current-build"
...
This reverts commit 52bebad05c
, reversing
changes made to 9d386efa4c
.
2016-05-11 17:13:40 +02:00
Piotr Sarnacki
c9b93982c9
Add current_build to repositories payload
...
current_build is the most recent build that is either completed or
running
2016-05-11 16:55:47 +02:00
Konstantin Haase
9c9aa3334c
allow setting sidekiq worker class
2015-10-30 16:29:09 +01:00
Konstantin Haase
4035b22bf6
allow specifying the sidekiq queue
2015-10-30 15:48:07 +01:00
Konstantin Haase
949a876550
v3: allow sorting branches by them being default branch or not
2015-10-13 13:08:27 +02:00
Konstantin Haase
33d31131c1
v3: add ability to sort branches
2015-10-06 17:35:56 +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
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
59835c80f6
API v3: remove n+1 query from owner page endpoint
2015-05-05 16:43:52 +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
e4f868cea7
v3: request payload needs to be json encoded
2015-03-24 11:52:27 +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
0a485d2137
make sure access control is using the non-core user model
2015-02-23 17:09: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