Commit graph

3665 commits

Author SHA1 Message Date
Joseph Schorr
2fd4a27496 Only hide last row in the tbody 2015-07-22 17:01:13 -04:00
Joseph Schorr
9c91a5135a Hide bottom row border in the repo list table 2015-07-22 17:00:42 -04:00
Joseph Schorr
ede9936722 Add a proper throbber to the repo list table 2015-07-22 16:59:31 -04:00
Joseph Schorr
d23965f79b Adjust margin on new org link to match 2015-07-22 16:56:18 -04:00
Joseph Schorr
93c614ae31 Default sort by popularity instead of starred 2015-07-22 16:54:21 -04:00
Joseph Schorr
7a0014b77d Tighten up the padding on the repo list view 2015-07-22 16:52:53 -04:00
Joseph Schorr
5feb07cb1a Adjust margin on the orgs list in the repos list 2015-07-22 16:47:34 -04:00
Jake Moshenko
6ba2d972d2 Merge pull request #264 from coreos-inc/missingmigration
Add missing migration
2015-07-22 16:20:23 -04:00
Joseph Schorr
ac1b46e7ec Add missing migration 2015-07-22 16:19:10 -04:00
josephschorr
396c5b2ec8 Merge pull request #262 from jzelinskie/changes
changelog: cut 1.10.0 release
2015-07-22 14:43:29 -04:00
Jimmy Zelinskie
baf74efdb0 changelog: cut 1.10.0 release 2015-07-22 14:35:59 -04:00
Jimmy Zelinskie
d19da364bd Merge pull request #261 from coreos-inc/decibel
Small improvements for the table view
2015-07-22 14:35:16 -04:00
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