Jake Moshenko 
								
							 
						 
						
							
							
							
							
								
							
							
								79f1181a63 
								
							 
						 
						
							
							
								
								Switch build-scheduled to an official build phase.  
							
							
							
						 
						
							2015-06-10 16:19:51 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jake Moshenko 
								
							 
						 
						
							
							
							
							
								
							
							
								e09d84b3c8 
								
							 
						 
						
							
							
								
								Merge pull request  #55  from coreos-inc/oauthdeny  
							
							... 
							
							
							
							Fix OAuth redirect for denial action when generating for internal tokens 
							
						 
						
							2015-06-05 14:00:16 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								8aac3fd86e 
								
							 
						 
						
							
							
								
								Add support for an external JWT-based authentication system  
							
							... 
							
							
							
							This authentication system hits two HTTP endpoints to check and verify the existence of users:
Existance endpoint:
GET http://endpoint/  with Authorization: Basic (username:) =>
    Returns 200 if the username/email exists, 4** otherwise
Verification endpoint:
GET http://endpoint/  with Authorization: Basic (username:password) =>
    Returns 200 and a signed JWT with the user's username and email address if the username+password validates, 4** otherwise with the body containing an optional error message
The JWT produced by the endpoint must be issued with an issuer matching that configured in the config.yaml, and the audience must be "quay.io/jwtauthn". The JWT is signed using a private key and then validated on the Quay.io side with the associated public key, found as "jwt-authn.cert" in the conf/stack directory. 
							
						 
						
							2015-06-05 13:20:10 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jake Moshenko 
								
							 
						 
						
							
							
							
							
								
							
							
								42da017d69 
								
							 
						 
						
							
							
								
								Merge pull request  #48  from coreos-inc/nobots  
							
							... 
							
							
							
							Change API calls that expect non-robots to explicitly filter 
							
						 
						
							2015-06-02 12:31:19 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								5516911de9 
								
							 
						 
						
							
							
								
								Fix OAuth redirect for denial action when generating for internal tokens  
							
							
							
						 
						
							2015-06-02 12:25:59 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								2a56790d38 
								
							 
						 
						
							
							
								
								Switch to using a named LDAP tuple for more readable code  
							
							
							
						 
						
							2015-06-01 14:02:05 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								1aff701bc7 
								
							 
						 
						
							
							
								
								Fix LDAP referral and multiple pair handling  
							
							... 
							
							
							
							Fixes two issues found with our LDAP handling code. First, we now follow referrals in both LDAP calls, as some LDAP systems will return a referral instead of the original record. Second, we now make sure to handle multiple search result pairs properly by further filtering based on the presence of the 'mail' attribute when we have multiple valid pairs. This CL also adds tests for all of the above cases. 
							
						 
						
							2015-05-27 15:04:34 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								fdd43e2490 
								
							 
						 
						
							
							
								
								Change API calls that expect non-robots to explicitly filter  
							
							... 
							
							
							
							Before this change, we'd filter in the UI but calls to the API could allow robots accounts where we only expect real users 
							
						 
						
							2015-05-26 17:47:33 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								b0d763b5ff 
								
							 
						 
						
							
							
								
								Fix encrypted password generator to use the LDAP username, not the Quay username.  
							
							... 
							
							
							
							Currently, we use the Quay username via `verify_user` when we go to create the encrypted password. This is only correct if Quay has not generated its own different username for the LDAP user, and fails if it has. We therefore add a new method `confirm_existing_user`, which looks up the federated login for the LDAP user and then runs the auth flow using that username. 
							
						 
						
							2015-05-20 16:37:09 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								d5e70c6e2a 
								
							 
						 
						
							
							
								
								Explicitly enable LDAP referrals  
							
							... 
							
							
							
							Note: The mock LDAP system doesn't support referrals, so we can't add a unit test for this. 
							
						 
						
							2015-05-20 14:53:31 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jimmy Zelinskie 
								
							 
						 
						
							
							
							
							
								
							
							
								3daa0e6a52 
								
							 
						 
						
							
							
								
								migration: use SA boolean value for server_default  
							
							
							
						 
						
							2015-05-15 19:04:54 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jimmy Zelinskie 
								
							 
						 
						
							
							
							
							
								
							
							
								e12d5af52c 
								
							 
						 
						
							
							
								
								migration: server_default for boolean field  
							
							
							
						 
						
							2015-05-15 17:04:50 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								6a52ffa942 
								
							 
						 
						
							
							
								
								Add missing default value on the new reversion column  
							
							
							
						 
						
							2015-05-13 13:49:21 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								07b4fb9105 
								
							 
						 
						
							
							
								
								LDAP sometimes has multiple records for a user  
							
							
							
						 
						
							2015-05-12 12:02:09 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								efab02ae47 
								
							 
						 
						
							
							
								
								LDAP improvements:  
							
							... 
							
							
							
							- Better logging
  - Better error messages
  - Add unit tests
  - Clean up the setup tool for LDAP 
							
						 
						
							2015-05-11 21:23:18 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								3e1abba284 
								
							 
						 
						
							
							
								
								Add ability for super users to rename and delete organizations  
							
							
							
						 
						
							2015-05-11 18:03:25 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								1c41d34b7c 
								
							 
						 
						
							
							
								
								Add ability for superusers to change user emails  
							
							
							
						 
						
							2015-05-11 14:38:10 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								1c83def15b 
								
							 
						 
						
							
							
								
								LDAP should only show logs when asked.  
							
							
							
						 
						
							2015-05-11 13:01:49 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								f858caf6cd 
								
							 
						 
						
							
							
								
								Only return the team and repo permissions when listing robots when we absolutely need them.  
							
							
							
						 
						
							2015-05-08 16:43:07 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								561f2c7db0 
								
							 
						 
						
							
							
								
								Remove unnecessary sort  
							
							
							
						 
						
							2015-05-08 15:10:31 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								3b93854c0b 
								
							 
						 
						
							
							
								
								MySQL returns a decimal type for the tuple, which we need to convert to an int  
							
							
							
						 
						
							2015-05-08 14:55:54 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								36f33e8fd7 
								
							 
						 
						
							
							
								
								Merge branch 'master' of github.com:coreos-inc/quay  
							
							
							
						 
						
							2015-05-08 14:19:39 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								f9c1f123c2 
								
							 
						 
						
							
							
								
								Add better debugging to LDAP  
							
							
							
						 
						
							2015-05-08 14:19:32 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								8ed8367404 
								
							 
						 
						
							
							
								
								PR changes in response to comments  
							
							
							
						 
						
							2015-05-08 13:38:34 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								c767aafcd6 
								
							 
						 
						
							
							
								
								Make the repository API faster by only checking the log entries table once for each kind of entry, rather than twice. We make use of a special subquery-like syntax, which allows us to count those entries that are both 30 days only and 1 day old in the same query. This was tested successfully on MySQL, Postgres and Sqlite.  
							
							
							
						 
						
							2015-05-07 22:49:11 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								3627de103c 
								
							 
						 
						
							
							
								
								Minimize the queries used when retrieve builds. Previously, we'd call out to SQL extra times per build.  
							
							
							
						 
						
							2015-05-07 21:11:15 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								7b35555776 
								
							 
						 
						
							
							
								
								Make sure to test for unicode usernames, since the collate on the username field is latin1  
							
							
							
						 
						
							2015-05-07 18:13:45 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								729249f42b 
								
							 
						 
						
							
							
								
								Need to add the tables to the .select() to prevent N+1, not merely to the join  
							
							
							
						 
						
							2015-05-07 16:59:13 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								b50600cde8 
								
							 
						 
						
							
							
								
								Make sure to join the Repo table on its namespace user and its visibility so we don't issue additional queries from the starred repos API call  
							
							
							
						 
						
							2015-05-07 16:18:17 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								3cec22defe 
								
							 
						 
						
							
							
								
								Make sorting by repo ID, rather than description  
							
							
							
						 
						
							2015-05-07 13:10:26 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								73193e2ab5 
								
							 
						 
						
							
							
								
								Remove sort by description, which is slow (and fairly useless anyway)  
							
							
							
						 
						
							2015-05-06 20:55:31 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								c89760278f 
								
							 
						 
						
							
							
								
								Add migration to add gitlab trigger type  
							
							
							
						 
						
							2015-05-03 10:49:13 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								a59100b231 
								
							 
						 
						
							
							
								
								Add the missing index on the peewee side. We already have the associated migration.  
							
							
							
						 
						
							2015-04-30 15:56:40 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								17bc9b81bf 
								
							 
						 
						
							
							
								
								Add bitbucket trigger type  
							
							
							
						 
						
							2015-04-30 15:55:57 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								b96e35b28c 
								
							 
						 
						
							
							
								
								Merge master into bitbucket  
							
							
							
						 
						
							2015-04-30 15:52:08 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								31260d50f5 
								
							 
						 
						
							
							
								
								Rename the new images method to a slightly better name  
							
							
							
						 
						
							2015-04-24 16:37:37 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								e70343d849 
								
							 
						 
						
							
							
								
								Faster cache lookup by removing a join with the ImagePlacementTable, removing the extra loop to add the locations and filtering the images looked up by the base image  
							
							
							
						 
						
							2015-04-24 16:22:19 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jimmy Zelinskie 
								
							 
						 
						
							
							
							
							
								
							
							
								fd65ca5916 
								
							 
						 
						
							
							
								
								migration: add custom-git service to database  
							
							
							
						 
						
							2015-04-24 16:11:58 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								c480fb2105 
								
							 
						 
						
							
							
								
								Work in progress: bitbucket support  
							
							
							
						 
						
							2015-04-24 15:13:08 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jimmy Zelinskie 
								
							 
						 
						
							
							
							
							
								
							
							
								d25cc4db9c 
								
							 
						 
						
							
							
								
								migrations: fix percona migration test  
							
							
							
						 
						
							2015-04-21 18:01:40 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jimmy Zelinskie 
								
							 
						 
						
							
							
							
							
								
							
							
								93cd459460 
								
							 
						 
						
							
							
								
								Merge branch 'master' into git  
							
							
							
						 
						
							2015-04-20 10:58:49 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								43ff6839b8 
								
							 
						 
						
							
							
								
								Hide hidden tags in the tags timeline  
							
							
							
						 
						
							2015-04-19 18:12:06 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								ed342ae831 
								
							 
						 
						
							
							
								
								Add migration for properly creating the repository_id+datetime index  
							
							
							
						 
						
							2015-04-19 16:03:06 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								d1e2d072ea 
								
							 
						 
						
							
							
								
								Add unit tests and a stronger restriction on the revert API call  
							
							
							
						 
						
							2015-04-19 15:43:16 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								a8f8c317f9 
								
							 
						 
						
							
							
								
								Fix branch in alembic migrations  
							
							
							
						 
						
							2015-04-19 15:20:01 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								2815ea2723 
								
							 
						 
						
							
							
								
								Merge branch 'master' of github.com:coreos-inc/quay  
							
							
							
						 
						
							2015-04-19 15:16:39 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								8714eb207a 
								
							 
						 
						
							
							
								
								Merge branch 'actioncount'  
							
							
							
						 
						
							2015-04-19 15:12:44 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jimmy Zelinskie 
								
							 
						 
						
							
							
							
							
								
							
							
								4133924813 
								
							 
						 
						
							
							
								
								migrations: rebase on top of master's changes  
							
							
							
						 
						
							2015-04-17 13:19:04 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jimmy Zelinskie 
								
							 
						 
						
							
							
							
							
								
							
							
								ba2cb08904 
								
							 
						 
						
							
							
								
								Merge branch 'master' into git  
							
							
							
						 
						
							2015-04-16 17:38:35 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joseph Schorr 
								
							 
						 
						
							
							
							
							
								
							
							
								f19d2f684e 
								
							 
						 
						
							
							
								
								Add ability to revert tags via time machine  
							
							
							
						 
						
							2015-04-16 17:18:00 -04:00