Commit graph

3591 commits

Author SHA1 Message Date
Jimmy Zelinskie
5a9d4155ad Merge pull request #258 from coreos-inc/repolistapi
Clean up the repository list API and loads stars with it
2015-07-22 13:19:09 -04:00
Joseph Schorr
a0c4e72f13 Clean up the repository list API and loads stars with it
We load stars with the same list API now so that we get the extra metadata needed in the repo list (popularity and last modified)
2015-07-22 13:05:02 -04:00
Jimmy Zelinskie
fe83fb40cd Merge pull request #259 from coreos-inc/landingoldcode
Delete the old landing page code
2015-07-21 16:53:59 -07:00
Jimmy Zelinskie
7311f2e600 Merge pull request #253 from coreos-inc/uiimp
Small set of UI improvements
2015-07-21 16:52:41 -07:00
Jimmy Zelinskie
486ac45783 Merge pull request #226 from coreos-inc/robotadd
Feedback bar for showing response to user actions
2015-07-21 16:47:27 -07:00
Joseph Schorr
f1736212d1 Delete the old landing page code 2015-07-21 17:32:37 -04:00
Jimmy Zelinskie
bb269a56b6 Merge pull request #252 from coreos-inc/sqlfix
Small SQL query fix
2015-07-21 13:45:33 -07:00
Jake Moshenko
27dc08c969 Merge pull request #257 from coreos-inc/bugfix
Fix string concats
2015-07-21 15:39:44 -04:00
Joseph Schorr
a397bb7af6 Update to new-style format 2015-07-21 15:39:23 -04:00
Joseph Schorr
60b05a0493 Fix string concats
Issue found here: https://app.getsentry.com/quayio/production/group/72831901/
2015-07-21 15:04:50 -04:00
Jake Moshenko
ea574cf689 Merge pull request #254 from coreos-inc/paramcheckfix
Fix logic bug in param check
2015-07-20 17:05:25 -04:00
Joseph Schorr
5f2729f41f Fix logic bug in param check 2015-07-20 17:04:06 -04:00
Joseph Schorr
2ab3376729 Nicer strength indicators 2015-07-20 14:56:04 -04:00
Joseph Schorr
2704441eed Make empty repo table a bit nicer 2015-07-20 14:43:13 -04:00
Joseph Schorr
7e4b23916a Small SQL query fix
Fixes #248
2015-07-20 14:17:26 -04:00
Jake Moshenko
679044574a Merge pull request #231 from coreos-inc/smallfix
Small API fixes
2015-07-20 13:45:24 -04:00
Jimmy Zelinskie
eb612d606c Merge pull request #246 from jakedt/python-registry-v2
Massive refactoring
2015-07-17 16:34:32 -04:00
Jake Moshenko
f2508fb48a Have the auth realm url computed based on the request url. 2015-07-17 11:56:15 -04:00
Jake Moshenko
bc29561f8f Fix and templatize the logic for external JWT AuthN and registry v2 Auth.
Make it explicit that the registry-v2 stuff is not ready for prime time.
2015-07-17 11:56:15 -04:00
Jake Moshenko
768192927a Temporarily disable registry v2. 2015-07-17 11:56:15 -04:00
Jake Moshenko
3efaa255e8 Accidental refactor, split out legacy.py into separate sumodules and update all call sites. 2015-07-17 11:56:15 -04:00
Jake Moshenko
2109d24483 Add the toposort dependency. 2015-07-17 11:50:41 -04:00
Jake Moshenko
bea8b9ac53 More changes for registry-v2 in python.
Implement the minimal changes to the local filesystem storage driver and feed them through the distributed storage driver.
Create a digest package which contains digest_tools and checksums.
Fix the tests to use the new v1 endpoint locations.
Fix repository.delete_instance to properly filter the generated queries to avoid most subquery deletes, but still generate them when not explicitly filtered.
2015-07-17 11:50:41 -04:00
Jake Moshenko
acbcc2e206 Start of a v2 API. 2015-07-17 11:50:41 -04:00
Jake Moshenko
3bfa2a6509 Merge pull request #249 from coreos-inc/fixrepolist
Fix queries for repository list popularity and action count
2015-07-16 17:10:10 -04:00
Joseph Schorr
7a548ea101 Fix queries for repository list popularity and action count
Before this change, we used extremely inefficient outer joins as part of a single query of lookup, which was spiking our CPU usage to nearly 100% on the query. We now issue two separate queries for popularity and action account, by doing a lookup of the previously found IDs. Interestingly enough, because of the way the queries are now written, MySQL can actually do both queries *directly from the indicies*, which means they each occur in approx 20ms!

Verified by local tests, postgres tests, and testing on staging with monitoring of our CPU usage during lookup
2015-07-17 00:08:27 +03:00
Jimmy Zelinskie
d21251c910 Merge pull request #247 from coreos-inc/extratest
Extra list repos test to mimic the conditions of a known issue with a customer
2015-07-15 18:26:25 -04:00
Joseph Schorr
5ae8c11638 Extra list repos test to mimic the conditions of a known issue with one customer 2015-07-16 01:25:19 +03:00
Jake Moshenko
c64e490059 Merge pull request #136 from coreos-inc/syslogviewfix
Fix logs view in superuser panel
2015-07-15 18:22:23 -04:00
josephschorr
410b5497ca Merge pull request #245 from jakedt/fixscopes
Make the scopes dynamic based on app config.
2015-07-15 18:15:12 -04:00
Jake Moshenko
f5ee7a6697 Make the scopes dynamic based on app config. 2015-07-15 18:13:15 -04:00
Jimmy Zelinskie
fa4310ce21 Merge pull request #244 from coreos-inc/configsave
The database SSL name needs to be in its own list
2015-07-15 17:50:15 -04:00
Joseph Schorr
4726559322 The database SSL name needs to be in its own list
FIxes #243
2015-07-16 00:49:07 +03:00
josephschorr
053ceb6220 Merge pull request #242 from jzelinskie/fixstatusendpoint
model: add missing params to validate_database_url
2015-07-15 17:40:41 -04:00
Jimmy Zelinskie
2869e2a6ea model: add missing params to validate_database_url 2015-07-15 17:39:26 -04:00
Barak Michener
6d7036cb4a Merge pull request #239 from jzelinskie/changes
changelog: cut 1.9.8
2015-07-14 18:40:59 -04:00
Jimmy Zelinskie
d8f5c34373 changelog: cut 1.9.8 2015-07-14 18:38:36 -04:00
Jimmy Zelinskie
68894a6cad nginx: comment out last part of OCSP stapling 2015-07-14 18:07:53 -04:00
Barak Michener
7f8fdf5c14 Merge pull request #238 from coreos-inc/oopstestslogs
Oops, added logging.basicConfig to a test.
2015-07-14 17:57:23 -04:00
Jake Moshenko
cb95a800e3 Oops, added logging.basicConfig to a test. 2015-07-14 17:56:34 -04:00
Jake Moshenko
de99d6f017 Merge pull request #237 from jzelinskie/disable-ocsp
nginx: "temporarily" disable OCSP stapling
2015-07-14 17:37:46 -04:00
Jimmy Zelinskie
973aa601ef nginx: "temporarily" disable OCSP stapling 2015-07-14 17:33:57 -04:00
Jimmy Zelinskie
608853cb12 Merge pull request #235 from coreos-inc/fixtestdata
Fix the test data to accurately reflect what initdb will create.
2015-07-14 16:59:58 -04:00
Jake Moshenko
eec7886e01 Add a server default for the broken migration. 2015-07-14 16:58:58 -04:00
Jake Moshenko
ebecb1dc89 Regenerate the test db and supporting files. 2015-07-14 16:57:04 -04:00
Jimmy Zelinskie
e2634da7eb Merge pull request #232 from coreos-inc/buildnpefix
Don't None the build_status, as it might still be used later
2015-07-14 16:22:44 -04:00
josephschorr
1ec02b5c15 Merge pull request #233 from coreos-inc/signupflow
Some small UI fixes
2015-07-14 15:47:24 -04:00
Joseph Schorr
634190d1f9 Better messaging when creating a user on the landing page
Fixes #230
2015-07-14 14:00:29 +03:00
Joseph Schorr
9453d67c32 Change default placement of form error popovers
Fixes #229
2015-07-14 13:35:10 +03:00
Joseph Schorr
d842881608 Don't None the build_status, as it might still be used later 2015-07-14 12:49:03 +03:00