Commit Graph

1908 Commits

Author SHA1 Message Date
Konstantin Haase
e218b13073 be less forgiving with /auth/github requests 2015-10-05 18:16:29 +02:00
Konstantin Haase
148e2acefe Merge branch 'rkh-v3-no-list-nesting' 2015-10-05 18:12:45 +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
3dc1c5b486 update travis-core 2015-10-05 17:42:35 +02:00
Konstantin Haase
154be5c38d Merge pull request #198 from travis-ci/cd-v3-parity
v3 Add Build and Job Restart and Cancellation
2015-10-05 14:36:58 +02:00
carlad
36d361b7af remove empty line 2015-09-30 17:19:08 +02:00
carlad
fd03316de7 v3 add spec for job restart 2015-09-30 17:07:59 +02:00
carlad
b6ffb8bdf8 v3 add job cancellation endpoint ans spec 2015-09-30 17:03:00 +02:00
carlad
d8e24bf52f v3 fix specs for build canceland restart 2015-09-30 16:37:34 +02:00
carlad
e3de9a4f07 v3 update payload again 2015-09-30 16:19:07 +02:00
carlad
a2deeb1d96 v3 update payload 2015-09-30 15:49:48 +02:00
carlad
38b73f53cb v3 more trying to get the payload right 2015-09-30 15:35:19 +02:00
carlad
f3b8258b53 v3 update payload for build restart 2015-09-30 15:29:12 +02:00
carlad
5c6e705012 v3 update sidekiq payload for build restart and cancel 2015-09-30 15:21:59 +02:00
carlad
b73a5604d0 v3 add build/id/cancel endpoint and tests 2015-09-29 16:28:42 +02:00
carlad
2bc72d8b9b v3 update buiild/cancel_spec 2015-09-29 13:43:22 +02:00
carlad
d99c3c8c54 v3 update build cancel, access control, specs for build cancel 2015-09-28 18:45:52 +02:00
carlad
c6cc6d1b96 update build cancel spec 2015-09-25 16:59:26 +02:00
carlad
2e110bc455 v3 add spec for build cancel - not yet passing 2015-09-25 16:34:37 +02:00
carlad
faf60a5f7f initial work to add build and job cancellation incl updating existing specs 2015-09-25 16:04:47 +02:00
carlad
faabb0f727 Merge pull request #193 from travis-ci/cd-v3-parity
v3 Add :category to broadcast renderer, update spec
2015-09-23 16:46:29 +02:00
carlad
6187c2a9c1 bump travis-core 2015-09-23 15:51:26 +02:00
carlad
4e2d33995a update broadcasts spec 2015-09-23 15:44:37 +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
María de Antón
aef8672cba Merge pull request #191 from travis-ci/cd-throttle-limit
increase throttle limit for authenticated requests
2015-09-18 10:19:07 +02:00
carlad
9f2b880f83 increase throttle limit for authenticated requests 2015-09-18 09:58:34 +02:00
Konstantin Haase
e40e6d3fe9 Merge pull request #190 from travis-ci/rkh-better-throttling
better request throttling and auto-banning
2015-09-17 15:32:19 +02:00
Konstantin Haase
c372b07344 only enable request throttling in production 2015-09-17 15:26:30 +02:00
Konstantin Haase
e8769dddc5 add missing constant 2015-09-17 15:21:16 +02:00
Konstantin Haase
5e40f33fc1 remove left-overs from inheriting from Rack::Attack 2015-09-17 15:18:48 +02:00
Konstantin Haase
e478c621f2 no more inheritance 2015-09-17 15:13:33 +02:00
Konstantin Haase
dc0da3645a work around strange constant lookup 2015-09-17 15:10:27 +02:00
Konstantin Haase
9303a24595 base throttling on access token if the call is authenticated, rather than on IP address, improve throttling rules 2015-09-17 14:57:50 +02:00
Konstantin Haase
b59fa6cd94 add general throttling 2015-09-15 19:30:13 +02:00
Konstantin Haase
af977ca677 use in-memory store for local development 2015-09-15 19:22:04 +02:00
Konstantin Haase
3e0423aae3 add auto-throtteling to /auth/github 2015-09-15 19:17:01 +02:00
Konstantin Haase
fb4bedbb6b move ip blacklist to redis 2015-09-15 18:29:54 +02:00
Konstantin Haase
950b922e63 Merge pull request #188 from travis-ci/cd-v3-parity
v3 prefix ids with correct tables when ordering
2015-09-15 12:10:40 +02:00
carlad
4a0932df1e prefix ids with correct tables when ordering 2015-09-15 11:45:16 +02:00
Konstantin Haase
1e6d4738e3 Merge pull request #187 from travis-ci/cd-v3-parity
v3 Add /branches, /broadcasts endpoints, :exists_on_github build attribute and :default_branch to minimal repo representation
2015-09-15 10:34:48 +02:00
carlad
dc7ced1c7f v3 add :default_branch to minimal representation for repository, update specs 2015-09-14 18:43:26 +02:00
carlad
907591e001 add spec for broadcasts 2015-09-11 16:49:53 +02:00
carlad
28c6e04eb8 put jobs service back in 2015-09-11 11:10:36 +02:00
carlad
1640c33517 fix incorrect broadcast endpoints - add correct broadcasts endpoint 2015-09-10 17:36:13 +02:00
carlad
bd61d1e58e add broadcasts - initial work 2015-09-10 15:08:41 +02:00
carlad
fba1d65e76 v3 add branches/find spec, update builds spec to use v3 models 2015-09-08 17:57:43 +02:00