Commit Graph

626 Commits

Author SHA1 Message Date
Piotr Sarnacki
e093fde18c Return error with application/json content type by default 2013-08-05 12:10:02 +02:00
Konstantin Haase
1c149bcdb4 use client_domain in config 2013-08-03 14:36:42 +02:00
Piotr Sarnacki
383d233d9e Add missing spec for UserManager (when drop_token is true) 2013-08-02 13:18:54 +02:00
Piotr Sarnacki
207a6e3e04 Explicitly use self when using info in Authorization 2013-07-27 01:42:14 +02:00
Konstantin Haase
2c9d4f0490 moar libs 2013-07-24 00:29:02 +02:00
Konstantin Haase
d924c15901 add travis-api-wrapper 2013-07-24 00:14:25 +02:00
Konstantin Haase
5f002cad0e add php library 2013-07-24 00:06:54 +02:00
Konstantin Haase
021ddceafa add travis gem 2013-07-23 23:43:42 +02:00
Konstantin Haase
c90b7d86ab Merge branch 'master' of https://github.com/pwmckenna/travis-api
Conflicts:
	docs/00_overview.md
2013-07-23 23:43:28 +02:00
Henrik Hodne
c3b215a3d3 Remove link to v1 API documentation 2013-07-23 09:58:35 -07:00
Piotr Sarnacki
c4ebb3d922 Merge branch 'rename-fixes'
Conflicts:
	Gemfile.lock
	lib/travis/api/app/endpoint.rb
2013-07-23 17:08:17 +02:00
Piotr Sarnacki
1387ef34a1 Bump travis-core (renaming user fixes from master) 2013-07-23 17:02:24 +02:00
Patrick Williams
f6dd1f6f2e Update 00_overview.md 2013-07-22 17:40:45 -07:00
Konstantin Haase
b731127ea8 add RackTimer 2013-07-19 15:56:31 +02:00
Piotr Sarnacki
375651e458 Bump travis-core 2013-07-18 16:36:50 +02:00
Piotr Sarnacki
c194f25a24 Set json content type only when content type is not set 2013-07-16 19:56:53 +02:00
Piotr Sarnacki
8e1a855812 Don't set content type to JSON by default 2013-07-16 19:30:16 +02:00
Josh Kalderimis
b529f61675 bundle update for a core build matrix fix 2013-07-14 13:54:30 +02:00
Josh Kalderimis
5a6e4b4a98 Merge branch 'master' of https://github.com/travis-ci/travis-api
update travis-core, and lock down bunny for now

Conflicts:
	Gemfile.lock
2013-07-13 16:21:34 +02:00
Henrik Hodne
4df02514dd Update core to get latest dalli changes 2013-07-12 15:19:13 -07:00
Josh Kalderimis
ea89ec125b Merge branch 'master' of https://github.com/travis-ci/travis-api 2013-07-12 18:32:44 +02:00
Konstantin Haase
04ea79ceec fix time parsing 2013-07-11 18:31:29 +02:00
Konstantin Haase
40acdfba4f Revert "also support X-Request-Start"
This reverts commit 63b4ac3338.
2013-07-11 18:28:44 +02:00
Konstantin Haase
63b4ac3338 also support X-Request-Start 2013-07-11 18:22:52 +02:00
Konstantin Haase
03d124d1b7 metrics for request queue 2013-07-11 18:13:23 +02:00
Konstantin Haase
8707f3b357 set X-Middleware-Start for NewRelic 2013-07-11 17:49:21 +02:00
Josh Kalderimis
387b63739a update core for dalli conn pool changes 2013-07-11 17:42:58 +02:00
Josh Kalderimis
f980cb2872 update travis-core for the dalli connection pool chagnes 2013-07-11 17:36:27 +02:00
Konstantin Haase
2c361e4292 drop rack-timeout 2013-07-11 17:27:32 +02:00
Konstantin Haase
273b328082 switch to rack-timeout edge 2013-07-11 17:15:03 +02:00
Konstantin Haase
60af7546a2 add rack-timeout 2013-07-11 16:37:02 +02:00
Henrik Hodne
2909fe28a1 Update the gemspec 2013-07-10 22:18:13 -07:00
Henrik Hodne
024eefb569 Update RSpec to 2.14
This undoes 785c46db53, since the bug
that appeared there is now fixed in RSpec.
2013-07-10 22:18:05 -07:00
Piotr Sarnacki
eb1ffaeb77 Bump travis-core 2013-07-11 00:14:47 +02:00
Piotr Sarnacki
3508f25bdf Nullify logins and rename repos owner when updating/creating user 2013-07-10 01:38:10 +02:00
Piotr Sarnacki
5fc8cd7860 Use hh-update-user-when-renamed branch in travis-core 2013-07-10 01:37:42 +02:00
Piotr Sarnacki
b6a351c766 Convert params['ids'] to array
Services like find_builds can accept :ids as a param, but it needs to be
an array, string will be passed to find and converted into integer.
2013-07-09 15:18:31 +02:00
Piotr Sarnacki
40430ac34d Encryption rake task - increase batch size, don't be so verbose 2013-07-09 15:18:31 +02:00
Josh Kalderimis
5de99829c6 update core for a sidebar ordering fix 2013-07-09 12:33:11 +02:00
Mathias Meyer
e6b61f92f4 Return 420 to a blacklisted client. 2013-07-09 11:37:37 +02:00
Mathias Meyer
a46488078f Add rack-attack, block one client who's hammering us. 2013-07-09 11:02:38 +02:00
Josh Kalderimis
64653c0307 bundle update for travis-core redis pool changes 2013-07-08 18:15:43 +02:00
Josh Kalderimis
785c46db53 lock to rspec 2.13.x as 2.14.x rspec-mocks breaks one of our tests 2013-07-08 13:39:24 +02:00
Josh Kalderimis
cf66b6bb6d raise_error(Error) is deprecated 2013-07-08 13:38:50 +02:00
Josh Kalderimis
e409f1b623 big bundle update
primarily for core, but also for GH and puma
2013-07-08 13:03:31 +02:00
Josh Kalderimis
dad40bfa3b bundle update core for some api payload changes 2013-07-05 16:02:21 +02:00
Josh Kalderimis
1a286b9591 updated travis-core for the build config error handling updates 2013-07-05 13:42:59 +02:00
Mathias Meyer
ecb60f0050 Extract metric from endpoint and pattern. 2013-06-26 15:06:54 +02:00
Mathias Meyer
4b7fc07171 Merge pull request #65 from travis-ci/rkh-metrics
Add a Metriks middleware
2013-06-26 05:10:30 -07:00
Mathias Meyer
d4130312c2 Add a global timer for all requests. 2013-06-26 13:47:38 +02:00