Commit Graph

92 Commits

Author SHA1 Message Date
Christopher Weyand
504be84f27 cron return created_at 2016-05-30 10:02:21 +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
Steffen
13aa741e57 Merge branch 'master' into cronjobs 2016-04-18 09:42:36 +02:00
carlad
00aaf32b1e add branch_name for request 2016-04-15 17:22:41 +02:00
Jonas Chromik
fe76d38230 Merge branch 'master' into cronjobs 2016-03-21 17:08:33 +01:00
carlad
f940bffe3f more work on lint endpoint 2016-03-18 16:43:18 +01:00
Steffen Kötte
64478d50d1 rename next_build_time to next_enqueuing 2016-01-28 13:46:35 +01:00
carlad
b572a1a50e updates 2016-01-20 11:31:05 +01:00
Steffen Kötte
00e15de083 show next build time for cron 2016-01-14 16:12:27 +01:00
Steffen Kötte
0920041375 further changes for new structure with only one cron per branch 2016-01-11 14:14:00 +01:00
carlad
cf20650d39 fix syntax 2016-01-07 13:06:47 +01:00
carlad
089deeb217 add renderer for lint 2016-01-07 13:02:54 +01:00
Steffen Kötte
e4aec173ee Merge commit 'bddd9952a74d1eddad5d5a255419e07c836b286d' into addCron
Conflicts:
	spec/v3/services/owner/find_spec.rb
	spec/v3/services/repositories/for_current_user_spec.rb
	spec/v3/services/repositories/for_owner_spec.rb
	spec/v3/services/repository/find_spec.rb
2015-12-17 10:11:20 +01:00
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
Steffen Kötte
f356beaccf add time and disable_by_push options for cron 2015-11-19 13:39:13 +01:00
Steffen Kötte
aca632ed15 use branch for storing cron 2015-11-16 14:24:11 +01:00
Lennard Wolf
ec37deb17c add /repo/repo.id/crons GET endpoint 2015-11-05 15:22:10 +01:00
Lennard Wolf
772e797aae add /cron/cron.id/ GET endpoint 2015-11-05 13:31:36 +01:00
Lennard Wolf
046a63b60a add find for cron 2015-11-05 11:43:58 +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