Commit Graph

45 Commits

Author SHA1 Message Date
Mathias Meyer
142fad9b81 Hook up activerecord metrics log subscriber. 2012-12-05 11:11:18 +01:00
Mathias Meyer
ecd236a8ff Add metriks. 2012-12-05 11:11:18 +01:00
Sven Fuchs
24b6843bda Merge branch 'master' of github.com:travis-ci/travis-api
Conflicts:
	Gemfile.lock
2012-11-27 15:23:22 +01:00
Sven Fuchs
aff75592e3 don't set services manually 2012-11-27 15:22:23 +01:00
Piotr Sarnacki
76a4becb55 Add prefix for Rack::Cache 2012-11-25 23:48:39 +01:00
Mathias Meyer
3fc6059d03 require 'raven' 2012-11-07 11:54:50 +01:00
Mathias Meyer
612b7f1e9f Switch to sentry for exceptions. 2012-11-07 11:46:43 +01:00
Mathias Meyer
901d936531 Set up Sidekiq properly. 2012-11-07 10:59:13 +01:00
Mathias Meyer
b07667c52a Set up sidekiq. 2012-11-07 10:55:45 +01:00
Mathias Meyer
308ce72aee Bump travis-core. Start features on app boot. 2012-11-07 10:43:25 +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
Piotr Sarnacki
e2b49a91d6 Use AR's ConnectionManagement before AR::QueryCache
(closes #14)
2012-11-01 13:05:49 +01:00
Piotr Sarnacki
37e6262917 Don't show backtraces on errors 2012-11-01 00:04:08 +01:00
Piotr Sarnacki
30d7b90592 Fix new relic 2012-10-24 20:49:06 +02:00
Konstantin Haase
73eea4d51b always call setup 2012-10-22 23:53:41 +02:00
Sven Fuchs
272c1275f4 add activerecord query cache 2012-10-12 01:51:59 +02:00
Sven Fuchs
02f5eea4fc try using rack/cache with memcached 2012-10-11 15:04:24 +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
Sven Fuchs
168c0abba9 rename Responder to Base (resembles Sinatra::Base and i can't come up with another name for a common base class of Middleware and Endpoint) 2012-10-09 18:31:51 +02:00
Sven Fuchs
c3428e896a add deflater, roger @rkh? 2012-10-05 21:54:01 +02:00
Sven Fuchs
4328ba8649 adapt services changes from travis-core 2012-10-05 13:06:50 +02:00
Sven Fuchs
289f7c1486 start porting api integration tests 2012-10-02 16:39:38 +02:00
Sven Fuchs
5ff58b1d6c adapt changes for split services 2012-09-29 20:48:31 +02:00
Sven Fuchs
6dc28f0c49 add Rack::PostBodyContentTypeParser and fix locale update 2012-09-26 11:58:57 +02:00
Sven Fuchs
f09cb3cac0 set the amqp configuration 2012-09-25 18:47:05 +02:00
Sven Fuchs
68caf0e26e add newrelic 2012-09-25 17:54:13 +02:00
Sven Fuchs
97e06c556f add hubble 2012-09-25 17:16:27 +02:00
Konstantin Haase
fb992184a0 add jsonp 2012-09-20 14:53:16 +02:00
Konstantin Haase
742583e8e9 make sure we don't leak the github oauth code via a referrer 2012-09-19 16:29:11 +02:00
Sven Fuchs
79e382ce0b add services 2012-09-15 12:10:46 +02:00
Konstantin Haase
f05f841a46 move config around 2012-09-11 13:54:59 +02:00
Konstantin Haase
bff18a278c split up setup method 2012-08-24 18:28:08 +02:00
Konstantin Haase
17d053ac21 setup should not take options
otherwise options would be ignored for subsequent calls
2012-08-24 18:20:20 +02:00
Konstantin Haase
0eb8b9fed2 for some reason gh is not loaded in production 2012-08-15 01:33:47 +02:00
Konstantin Haase
f05ea7198b fully implement access tokens 2012-08-15 00:52:22 +02:00
Konstantin Haase
44afb75630 add ActiveRecord::ConnectionAdapters::ConnectionManagement 2012-08-10 00:28:49 +02:00
Piotr Sarnacki
5714fcf36d Allow turning off Home::Endpoint
Home::Endpoint by default redirects GET / request to /docs. This may be
desireable when Travis::Api::App is the only app running, but if it's
running in front of other app, you may want to keep root for other
things.
2012-08-09 23:45:39 +02:00
Konstantin Haase
29e387140a first stab at authorization 2012-07-28 19:47:45 +02:00
Konstantin Haase
7baf61054c rewrite all the things 2012-07-27 15:55:57 +02:00
Konstantin Haase
f67e72602b add CORS support 2012-07-23 15:16:26 +02:00
Konstantin Haase
e2e9572b50 set all responses to json 2012-07-23 14:18:42 +02:00
Sven Fuchs
cca12ce0c9 use Job::Test 2012-07-22 15:37:58 +02:00
Sven Fuchs
76324f00a1 stuff 2012-07-20 16:53:13 +02:00
Sven Fuchs
5c29457066 initial commit 2012-07-18 14:56:41 +02:00