Commit graph

3953 commits

Author SHA1 Message Date
Joseph Schorr
f27186c85f Better styling for inactive stars in the table view 2015-07-22 14:21:57 -04:00
Joseph Schorr
2ff1dfc8b7 Switch to log base for the repo popularity 2015-07-22 14:20:46 -04:00
Jimmy Zelinskie
2c29dc048d Merge pull request #260 from coreos-inc/githubfix
GitHub api now returns ALL the visible repositories for user
2015-07-22 13:53:58 -04:00
Joseph Schorr
69ca34161c GitHub api now returns ALL the visible repositories for user
Change the code to simply filter the single list returned, rather than reloading the org repos again
2015-07-22 13:50:46 -04:00
Jimmy Zelinskie
d1ed33fbfb Merge pull request #250 from coreos-inc/inviteconfirm
Support invite codes for verification of email
2015-07-22 13:44:54 -04:00
Joseph Schorr
687bab1c05 Support invite codes for verification of email
Also changes the system so we don't apply the invite until it is called explicitly from the frontend

Fixes #241
2015-07-22 13:41:27 -04:00
Jake Moshenko
5d86fa80e7 Merge pull request #197 from coreos-inc/keystone
Add Keystone Auth
2015-07-22 13:38:47 -04:00
Joseph Schorr
38a6b3621c Automatically link the superuser account to federated service for auth
When the user commits the configuration, if they have chosen a non-DB auth system, we now auto-link the superuser account to that auth system, to ensure they can login again after restart.
2015-07-22 13:37:23 -04:00
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
Joseph Schorr
33b54218cc Refactor the users class into their own files, add a common base class for federated users and add a verify_credentials method which only does the verification, without the linking. We use this in the superuser verification pass 2015-07-20 11:39:59 -04:00
Joseph Schorr
1245385808 Fix typo 2015-07-20 10:55:21 -04:00
Joseph Schorr
066637f496 Basic Keystone Auth support
Note: This has been verified as working by the end customer
2015-07-20 10:55:21 -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