Commit Graph

804 Commits

Author SHA1 Message Date
Konstantin Haase
1a5788e2a1 v3: allow sorting branches by exists_on_github 2015-10-13 12:33:26 +02:00
Konstantin Haase
cf416e6001 relax GET request throttling 2015-10-13 12:21:08 +02:00
Konstantin Haase
ac94487d7c lol heroku (ulimit is not an executable on heroku) 2015-10-12 18:08:24 +02:00
Konstantin Haase
5dc0e62bf6 add /sysinfo endpoint 2015-10-12 17:54:00 +02:00
Konstantin Haase
e03f79513a reinstate nginx, use it in development, add smare concurrency settings 2015-10-08 13:57:49 +02:00
Konstantin Haase
33d31131c1 v3: add ability to sort branches 2015-10-06 17:35:56 +02:00
Konstantin Haase
0249140dc8 auto banning: whitelist POST requests for in-browser handshake, on staging only ban for 10 seconds 2015-10-06 11:00:35 +02:00
Konstantin Haase
1bec0c1332 block clients sending many POST requests 2015-10-05 18:19:15 +02:00
Konstantin Haase
e218b13073 be less forgiving with /auth/github requests 2015-10-05 18:16:29 +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
36d361b7af remove empty line 2015-09-30 17:19:08 +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
d99c3c8c54 v3 update build cancel, access control, specs for build cancel 2015-09-28 18:45:52 +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
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
9f2b880f83 increase throttle limit for authenticated requests 2015-09-18 09:58:34 +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
carlad
4a0932df1e prefix ids with correct tables when ordering 2015-09-15 11:45:16 +02:00
carlad
dc7ced1c7f v3 add :default_branch to minimal representation for repository, update specs 2015-09-14 18:43:26 +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
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
2e72233213 v3 fix services 2015-09-07 17:10:03 +02:00
carlad
f44b374d79 v3 add branches endpoint 2015-09-07 17:09:05 +02:00
carlad
beaa4b7e17 add branches endpoint 2015-09-07 17:07:09 +02:00
Konstantin Haase
3242189259 v3: eager load jobs for build history if asked for 2015-09-03 15:30:18 +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
702b539ddf v3 put endpoints in routes.rb into alphabetical order 2015-09-02 18:22:10 +02:00