Konstantin Haase
14623ed088
Revert "Revert "track and enforce user-agent""
...
This reverts commit 2227d0042f
.
2014-10-28 11:10:25 +01:00
Hiro Asari
2227d0042f
Revert "track and enforce user-agent"
2014-10-27 18:51:32 -04:00
Konstantin Haase
07fff5a7be
track and enforce user-agent
2014-10-27 19:21:23 +01:00
Piotr Sarnacki
54fb58a941
Special case for settings in rewrite is not needed
2014-04-01 16:58:36 +02:00
Piotr Sarnacki
1b524071f4
Allow to handle settings collections
2014-04-01 12:00:06 +02:00
Mathias Meyer
e85d19d33d
Add responder for svg badges.
2014-03-19 14:31:38 +01:00
Hiro Asari
3b20120c72
Accept .atom
extension
...
And return Atom feed for builds.
Specs look different, because it needs to explicitly handle the common
case where the client sends `Accept: */*`.
2013-11-11 15:21:14 -05:00
Konstantin Haase
c7c33ed2aa
also treat empty content type as no content type
2013-08-23 17:39:47 +02:00
Konstantin Haase
60d37634b2
handle missing content-type
2013-08-23 17:10:51 +02:00
Konstantin Haase
e1bcd8d2b1
use timer
2013-08-23 16:59:25 +02:00
Konstantin Haase
d7d6ffc4da
meter content-type
2013-08-23 16:53:49 +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
Mathias Meyer
ecb60f0050
Extract metric from endpoint and pattern.
2013-06-26 15:06:54 +02:00
Mathias Meyer
d4130312c2
Add a global timer for all requests.
2013-06-26 13:47:38 +02:00
Mathias Meyer
ba97ebcfff
Use accept_version.
2013-06-10 14:58:38 +02:00
Mathias Meyer
1ba02d8e2b
Track API version.
2013-06-10 14:50:36 +02:00
Mathias Meyer
63d2a69b7d
Only track endpoint if an endpoint is set.
...
For compatibility with the V1 API layer.
2013-05-09 14:18:59 +02:00
Mathias Meyer
78608b81ae
Lmao if you Object#method.
2013-05-09 14:13:33 +02:00
Mathias Meyer
729ec6e7fa
Require 'metriks'.
2013-05-09 14:04:25 +02:00
Mathias Meyer
c3249a498c
Fix Metriks reference.
2013-05-09 13:44:08 +02:00
Mathias Meyer
0cd89de38a
Merge branch 'master' into rkh-metrics
...
Conflicts:
Gemfile.lock
2013-05-09 13:37:28 +02:00
Konstantin Haase
d07f289047
whitespace
2013-04-19 15:52:44 +02:00
Mathias Meyer
cd98231c42
Add Middle ware for tracking metriks.
2013-04-16 19:47:20 +02:00
Piotr Sarnacki
212eb6d9d3
Allow passing more than one mime type in Accept
2013-02-25 17:27:56 +01:00
Konstantin Haase
62b876d2e1
keep query string when redirecting in rewrite middleware
2013-01-28 15:47:28 +01:00
Piotr Sarnacki
70cd6ef092
Allow to download logs in plain text
2013-01-15 02:23:02 +01:00
Konstantin Haase
bc1c960c20
add travis_token scope
2012-12-12 17:11:25 +01:00
Konstantin Haase
7f6df5f8b1
Merge branch 'master' of github.com:travis-ci/travis-api
2012-11-08 14:34:21 +01:00
Konstantin Haase
e1110034d1
prefix env key
2012-11-08 14:31:18 +01:00
Piotr Sarnacki
2f87153df9
Move CORS middleware in front of the stack
...
If there is an error somewhere along the line (like in DB connection
management), it should not interfere with returning proper result for
OPTIONS request. Otherwise it's hard to guess why the actual request in
the browser was not properly sent.
2012-11-05 21:48:13 +01:00
Sven Fuchs
f4d467c998
whitelist Cache-Control, Expires, Last-Modified for cors
2012-10-11 13:36:30 +02:00
Sven Fuchs
8abd6fa150
manual redirects and rewrite rules for supporting v1 style resources
2012-10-10 01:48:22 +02:00
Sven Fuchs
f8bd49e88b
on 404 redirect for /owner/name paths on v1
2012-10-10 01:47:12 +02:00
Konstantin Haase
016d929bc0
allow HEAD requests
2012-09-20 14:15:37 +02:00
Konstantin Haase
f05ea7198b
fully implement access tokens
2012-08-15 00:52:22 +02:00
Konstantin Haase
7baf61054c
rewrite all the things
2012-07-27 15:55:57 +02:00