Commit Graph

104 Commits

Author SHA1 Message Date
Piotr Sarnacki
e9cdef1c9b Add /settings/ssh_keys API 2014-04-01 13:05:25 +02:00
Piotr Sarnacki
1b524071f4 Allow to handle settings collections 2014-04-01 12:00:06 +02:00
Piotr Sarnacki
d170b611b0 Connect logs to a different DB if config is present 2013-11-12 22:05:54 +01:00
Piotr Sarnacki
82ceb4fd1f Require states_cache explicitly 2013-11-08 11:23:22 +01:00
Piotr Sarnacki
4c89e067ae Require models and amqp explicitly 2013-11-08 11:05:18 +01:00
Piotr Sarnacki
d7d2fd5149 Merge pull request #74 from halorgium/fix-error-response
Use valid JSON for error responses
2013-09-23 09:53:55 -07:00
Piotr Sarnacki
cbb99afe89 Check for development rather than production to make it work on staging 2013-09-20 14:09:23 +02:00
Piotr Sarnacki
0681e54cf1 Run CORS middleware in development 2013-09-20 12:47:14 +02:00
Piotr Sarnacki
a49265f872 Disable follower for now 2013-09-10 12:05:18 +02:00
Piotr Sarnacki
e587ef0b7f Add nginx config with CORS support 2013-09-05 22:48:42 +02:00
Piotr Sarnacki
fc13284591 Revert "We don't need Rack::Deflater, nginx is doing the job"
This reverts commit 59cd6bac8f.
2013-09-04 21:39:41 +02:00
Piotr Sarnacki
59cd6bac8f We don't need Rack::Deflater, nginx is doing the job 2013-09-04 20:31:36 +02:00
Piotr Sarnacki
2492d710e1 Use new follower API added to Travis::Model 2013-09-04 16:22:32 +02:00
Piotr Sarnacki
dae72e62a8 Use memcachier gem 2013-09-02 13:46:32 +02:00
Piotr Sarnacki
85275895e7 Require dalli before rack/cache 2013-09-02 13:43:14 +02:00
Piotr Sarnacki
d1a6ff7b49 Use MEMCACHIER_SERVERS 2013-09-02 13:41:13 +02:00
Piotr Sarnacki
d549ead325 Fix wrong memcache servers code 2013-09-02 13:23:50 +02:00
Piotr Sarnacki
97958a4ce4 Try nginx 2013-09-02 09:52:26 +02:00
Tim Carey-Smith
7e8e212321 Use valid JSON for error responses 2013-09-01 23:55:11 +12:00
Henrik Hodne
a87b4238b4 Remove call to Travis::Features.start
This was deprecated in
travis-ci/travis-core@53ab3c39d8.
2013-08-05 15:13:28 -07:00
Piotr Sarnacki
e093fde18c Return error with application/json content type by default 2013-08-05 12:10:02 +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
Konstantin Haase
2c361e4292 drop rack-timeout 2013-07-11 17:27:32 +02:00
Konstantin Haase
60af7546a2 add rack-timeout 2013-07-11 16:37:02 +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
Mathias Meyer
5971946d35 Use our own middlewares explicitly. 2013-05-18 11:11:43 +02:00
Piotr Sarnacki
935288e8e9 Don't load octopus if there is no need 2013-05-05 00:27:10 +02:00
Josh Kalderimis
cd7cce54b5 add some output when the db follower is setup 2013-05-03 10:31:53 +02:00
Josh Kalderimis
a949b58d98 merging all the things 2013-05-03 10:12:16 +02:00
Josh Kalderimis
407a08f644 only use the db follower if use_database_follower is set in the config 2013-05-03 09:42:07 +02:00
Piotr Sarnacki
f6d781c248 Enable octopus 2013-05-03 00:43:57 +02:00
Josh Kalderimis
10c8d4b95f hit my head against a wall 2013-05-03 00:43:22 +02:00
Josh Kalderimis
4ea1079d39 turn on octopus in staging 2013-05-03 00:43:22 +02:00
Josh Kalderimis
135008f1ea only add the shards info if in prod mode 2013-05-03 00:43:22 +02:00
Josh Kalderimis
e6f1e22ae8 octopus is on in production by default only 2013-05-03 00:43:22 +02:00
Josh Kalderimis
76e55c0125 i don't think this is the best solution 2013-05-03 00:43:20 +02:00
Josh Kalderimis
a0a92b23fa change the require order 2013-05-03 00:42:30 +02:00
Josh Kalderimis
48c8e8c2a5 merging stuff and fun 2013-05-02 20:06:19 +02:00
Piotr Sarnacki
cd9e089631 Enable octopus 2013-05-02 19:48:23 +02:00
Josh Kalderimis
6feed54684 hit my head against a wall 2013-05-02 19:16:52 +02:00
Josh Kalderimis
1a8b60cc98 turn on octopus in staging 2013-05-02 18:50:59 +02:00
Josh Kalderimis
69b8dff382 only add the shards info if in prod mode 2013-05-02 18:44:27 +02:00
Josh Kalderimis
d72f6ca02d octopus is on in production by default only 2013-05-02 18:23:41 +02:00
Josh Kalderimis
f4132786a6 i don't think this is the best solution 2013-05-02 18:05:32 +02:00
Josh Kalderimis
de6cb2c163 change the require order 2013-05-02 17:21:56 +02:00
Josh Kalderimis
ab2714621f i wonder what i am doing wrong with octopus 2013-05-02 17:08:31 +02:00
Josh Kalderimis
afddbb76ba require octopus 2013-05-02 16:45:34 +02:00
Josh Kalderimis
fa6ea0692d use a follower for one of the repos endpoint 2013-05-02 16:38:20 +02:00