Commit graph

3992 commits

Author SHA1 Message Date
Matt Jibson
f043bc1379 Don't enable the metric queue if there's no Cloudwatch 2015-08-12 15:14:09 -04:00
Jake Moshenko
ec6bee35b6 Allow a stripe plan to be superseded
If a plan has a direct corrolary, show that one as the selected plan
instead of showing the plan as deprecated even though it has the same
details
2015-08-12 15:01:15 -04:00
Joseph Schorr
5ea028c8be Loosen the check for mounted volumes
Docker apparently does not always use the same mounted volume type

Fixes #352
2015-08-12 13:16:58 -04:00
Matt Jibson
b483209862 Wrap API and registry requests with common metric timings
Record response times, codes, and rollup non-2XX responses.
2015-08-12 12:16:00 -04:00
Matt Jibson
b04c190ca0 Prevent the metric queue from growing unbounded 2015-08-12 12:16:00 -04:00
Matt Jibson
cfb6e884f2 Refactor metric collection
This change adds a generic queue onto which metrics can be pushed. A
separate module removes metrics from the queue and adds them to Cloudwatch.
Since these are now separate ideas, we can easily change the consumer from
Cloudwatch to anything else.

This change maintains near feature parity (the only change is there is now
just one queue instead of two - not a big deal).
2015-08-12 12:15:52 -04:00
Jimmy Zelinskie
aee746bec6 Merge pull request #349 from coreos-inc/buildreffix
Really fix the build trigger schema and add a test for it
2015-08-11 17:27:51 -04:00
Joseph Schorr
09bb98f161 Really fix the build trigger schema and add a test for it 2015-08-11 17:17:18 -04:00
Jimmy Zelinskie
a5d0569e35 Merge pull request #347 from coreos-inc/passwordnonauth
Disable password change for non-DB auth
2015-08-11 15:58:57 -04:00
Jimmy Zelinskie
1c684be11c Merge pull request #348 from coreos-inc/fixtests
Fix tests broken by the recent plan change
2015-08-11 14:11:12 -04:00
Joseph Schorr
60ab3c339f Fix tests broken by the recent plan change 2015-08-11 14:09:02 -04:00
Joseph Schorr
16b012e05c Disable password change for non-DB auth
Fixes #344
2015-08-11 13:53:09 -04:00
josephschorr
fcfeb137bc Merge pull request #345 from coreos-inc/freetrial
Unify the free trial period
2015-08-10 18:33:07 -04:00
Jake Moshenko
0cbc96a54b Unify the free trial period
Fixes #263
2015-08-10 17:36:13 -04:00
Jimmy Zelinskie
4dfab5b8e2 Merge pull request #343 from coreos-inc/favicon
Add support for custom favicon in ER
2015-08-10 13:42:03 -04:00
Joseph Schorr
5bdd7ba990 Add support for custom favicon in ER
Fixes #340
2015-08-10 13:39:39 -04:00
Jimmy Zelinskie
562bdc6a76 Merge pull request #342 from coreos-inc/orgconvert
Add removed user service load call; we need it
2015-08-10 13:36:29 -04:00
Joseph Schorr
02ba1968b9 Add removed user service load call; we need it 2015-08-10 13:35:49 -04:00
Jimmy Zelinskie
af214cc35d Merge pull request #341 from coreos-inc/orgconvert
Fix page reload on user to org conversion
2015-08-10 12:30:08 -04:00
Joseph Schorr
4d11ff4ed5 Fix page reload on user to org conversion
Fixes #339
2015-08-10 12:28:19 -04:00
Jake Moshenko
5b5b1d16b8 Merge pull request #331 from coreos-inc/queuefixes
Worker fixes
2015-08-07 15:37:54 -04:00
Jimmy Zelinskie
a5db0f0d37 Merge pull request #338 from coreos-inc/loguifix
Small UI fix
2015-08-07 15:37:18 -04:00
Joseph Schorr
76e1490d8f Small UI fix 2015-08-07 15:35:58 -04:00
Jimmy Zelinskie
8868636d23 Merge pull request #337 from coreos-inc/npefix5
Fix NPE
2015-08-07 15:27:36 -04:00
Joseph Schorr
ff6cd92841 Fix NPE 2015-08-07 15:26:45 -04:00
Jimmy Zelinskie
fc74b9569b Merge pull request #336 from coreos-inc/swiftconnectiondrown
Always create a new connection to Swift
2015-08-07 13:57:40 -04:00
Joseph Schorr
c3d7ef2ec4 Only start workers once setup is complete on the registry
Fixes #326
2015-08-07 13:44:14 -04:00
Joseph Schorr
9798f871ec Always create a new connection to Swift
Fixes #335
2015-08-07 13:41:40 -04:00
Jimmy Zelinskie
a4ea86ab60 Merge pull request #334 from coreos-inc/timemachinepublic
Add public access to time machine
2015-08-07 13:37:11 -04:00
Joseph Schorr
5044a4d58b Add public access to time machine
Fixes #333
2015-08-07 13:32:45 -04:00
Jimmy Zelinskie
7d6c6ba8e8 Merge pull request #316 from jzelinskie/read-tags
tag history requires READ instead of WRITE
2015-08-07 13:26:04 -04:00
Jimmy Zelinskie
3804c50338 Merge pull request #330 from coreos-inc/additionalprop
Add missing JSON schema for 'refs' and 'branch_name'
2015-08-07 13:05:46 -04:00
Joseph Schorr
14f511bb5a Make sure to set a default for Raven client
Fixes #327
2015-08-07 13:03:38 -04:00
Joseph Schorr
7ea4c7d17e Add missing JSON schema for 'refs' and 'branch_name'
Fixes #325
2015-08-07 13:01:49 -04:00
josephschorr
4712b27432 Merge pull request #328 from coreos-inc/fixtarheders
Fix tarfile to support non-unicode pax fields
2015-08-07 12:05:02 -04:00
Matt Jibson
c88edf8989 Fix weak DH configuration
The SSLLabs https://www.ssllabs.com/ssltest/ test reported a B rating for
our SSL configuration, mostly due to the weak DH confiugration we have,
which is vulnerable to the logjam attack. This is their recommended
configuration for nginx.

From: https://weakdh.org/sysadmin.html

This has been verified to work with docker 0.10.0.
2015-08-07 12:03:05 -04:00
Jake Moshenko
74d838697f Fix tarfile to support non-unicode pax fields 2015-08-07 11:56:38 -04:00
josephschorr
44584ff0d8 Merge pull request #322 from jzelinskie/changes
changelog: really cut 1.11.0
2015-08-06 14:20:15 -04:00
Jimmy Zelinskie
c5fd0cfea0 changelog: really cut 1.11.0 2015-08-06 14:15:59 -04:00
Jimmy Zelinskie
ef0b427311 Merge pull request #321 from coreos-inc/publicview
We need to load all repositories (including public ones) on the user …
2015-08-06 14:12:10 -04:00
Joseph Schorr
175710dc09 We need to load all repositories (including public ones) on the user view page
Fixes #310
2015-08-06 14:11:32 -04:00
Joseph Schorr
aab8866345 Fix accidental rename of key 2015-08-06 13:21:52 -04:00
Jimmy Zelinskie
42b3dd56d4 Merge pull request #319 from coreos-inc/noreallyfixlogs
MySQL and Postgres complain about the group by, so calculate dates ourselves
2015-08-06 13:02:45 -04:00
Joseph Schorr
ea25538646 MySQL and Postgres complain about the group by, so calculate dates ourselves 2015-08-06 12:52:55 -04:00
Jimmy Zelinskie
5c213df835 Merge pull request #318 from coreos-inc/reallyfixlogs
Fix logs view and API
2015-08-05 17:48:42 -04:00
Joseph Schorr
d34afde954 Fix logs view and API
- We needed to use an engine-agnostic way to extract the days
- Joining with the LogEntryKind table has *horrible* performance in MySQL, so do it ourselves
- Limit to 50 logs per page
2015-08-05 17:47:03 -04:00
josephschorr
eda26cbdc9 Merge pull request #317 from coreos-inc/noscopeheadshot
Switch the base case for when a scope string contains an invalid scope.
2015-08-05 17:39:11 -04:00
Jake Moshenko
b2844fb8c7 Switch the base case for when a scope string contains an invalid scope. 2015-08-05 17:35:02 -04:00
Jimmy Zelinskie
411d4e7abb tag history requires READ instead of WRITE
Fixes #315.
2015-08-05 17:09:34 -04:00
Joseph Schorr
d480a204f5 Revert change to queue 2015-08-05 15:27:33 -04:00