e941365f3b 
								
							 
						 
						
							
							
								
								Rename capabilities to authentication_abilities  
							
							
							
						 
						
							2016-09-16 11:12:21 +02:00  
				
					
						
							
							
								 
						
							
								83b643a014 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'origin/lfs-support-for-ssh' into per-build-token  
							
							... 
							
							
							
							# Conflicts:
#	app/controllers/projects/git_http_client_controller.rb
#	app/helpers/lfs_helper.rb
#	lib/gitlab/auth.rb
#	spec/requests/lfs_http_spec.rb 
							
						 
						
							2016-09-15 21:16:38 +02:00  
				
					
						
							
							
								 
						
							
								be09bcf074 
								
							 
						 
						
							
							
								
								Refactored authentication code to make it a bit clearer, added test for wrong SSH key.  
							
							
							
						 
						
							2016-09-15 12:21:00 -05:00  
				
					
						
							
							
								 
						
							
								de24075ea5 
								
							 
						 
						
							
							
								
								Further refactoring of authentication code, and code style fixes.  
							
							
							
						 
						
							2016-09-15 12:21:00 -05:00  
				
					
						
							
							
								 
						
							
								71aff7f6a3 
								
							 
						 
						
							
							
								
								Use special characters for `lfs+deploy-key` to prevent a someone from creating a user with this username, and method name refactoring.  
							
							
							
						 
						
							2016-09-15 12:21:00 -05:00  
				
					
						
							
							
								 
						
							
								c144db2935 
								
							 
						 
						
							
							
								
								Better authentication handling, syntax fixes and better actor handling for LFS Tokens  
							
							
							
						 
						
							2016-09-15 12:21:00 -05:00  
				
					
						
							
							
								 
						
							
								85152f0291 
								
							 
						 
						
							
							
								
								Improve string handling.  
							
							
							
						 
						
							2016-09-15 12:21:00 -05:00  
				
					
						
							
							
								 
						
							
								c25630ee2c 
								
							 
						 
						
							
							
								
								Refactored handling of the `LfsToken` and added functionality to it to simplify external code.  
							
							
							
						 
						
							2016-09-15 12:21:00 -05:00  
				
					
						
							
							
								 
						
							
								48f1a61fd5 
								
							 
						 
						
							
							
								
								Refactored LFS auth logic when using SSH to use its own API endpoint `/lfs_authenticate` and added tests.  
							
							
							
						 
						
							2016-09-15 12:21:00 -05:00  
				
					
						
							
							
								 
						
							
								cb85cf1f0a 
								
							 
						 
						
							
							
								
								Refactor LFS token logic to use a Redis key instead of a DB field, making it a 1 use only token.  
							
							
							
						 
						
							2016-09-15 12:21:00 -05:00  
				
					
						
							
							
								 
						
							
								e40e3fdc82 
								
							 
						 
						
							
							
								
								Added LFS support to SSH  
							
							... 
							
							
							
							- Required on the GitLab Rails side is mostly authentication and API related. 
							
						 
						
							2016-09-15 12:21:00 -05:00  
				
					
						
							
							
								 
						
							
								548169cfb5 
								
							 
						 
						
							
							
								
								Fix most of specs  
							
							
							
						 
						
							2016-09-15 15:40:53 +02:00  
				
					
						
							
							
								 
						
							
								9d1ccd2ad3 
								
							 
						 
						
							
							
								
								Fix existing authorization specs  
							
							
							
						 
						
							2016-09-15 13:49:11 +02:00  
				
					
						
							
							
								 
						
							
								11f87700e8 
								
							 
						 
						
							
							
								
								Add access specs  
							
							
							
						 
						
							2016-09-15 11:57:09 +02:00  
				
					
						
							
							
								 
						
							
								6b381f3fdf 
								
							 
						 
						
							
							
								
								Use `build_read_container_image` and use `build_download_code`  
							
							
							
						 
						
							2016-09-15 10:34:53 +02:00  
				
					
						
							
							
								 
						
							
								79e4bb8d0b 
								
							 
						 
						
							
							
								
								Refactor Gitlab::Auth to simplify the data flow  
							
							
							
						 
						
							2016-09-14 17:28:24 +02:00  
				
					
						
							
							
								 
						
							
								ca8ed65efc 
								
							 
						 
						
							
							
								
								Fix result  
							
							
							
						 
						
							2016-09-13 15:28:42 +02:00  
				
					
						
							
							
								 
						
							
								571226f166 
								
							 
						 
						
							
							
								
								Make result to return project and capabilities granted  
							
							
							
						 
						
							2016-09-13 15:27:05 +02:00  
				
					
						
							
							
								 
						
							
								505dc808b3 
								
							 
						 
						
							
							
								
								Use a permissions of user to access all dependent projects from CI jobs (this also includes a container images, and in future LFS files)  
							
							
							
						 
						
							2016-09-13 13:30:26 +02:00  
				
					
						
							
							
								 
						
							
								de5f238029 
								
							 
						 
						
							
							
								
								Refactor `find_for_git_client` and its related methods.  
							
							
							
						 
						
							2016-08-18 17:15:50 -05:00  
				
					
						
							
							
								 
						
							
								2f86860a6d 
								
							 
						 
						
							
							
								
								Refactor `find_for_git_client` method to not use assignment in conditionals and syntax fixes.  
							
							
							
						 
						
							2016-08-17 17:21:18 -05:00  
				
					
						
							
							
								 
						
							
								5f5d8a8e09 
								
							 
						 
						
							
							
								
								Moved 2FA check to `auth.rb` and cleaned up the flow `authenticate_user`  
							
							
							
						 
						
							2016-08-16 11:19:00 -05:00  
				
					
						
							
							
								 
						
							
								c5a7a70d10 
								
							 
						 
						
							
							
								
								Allow Git over HTTP access using Personal Access Tokens  
							
							
							
						 
						
							2016-08-16 11:19:00 -05:00  
				
					
						
							
							
								 
						
							
								0e896ffe4e 
								
							 
						 
						
							
							
								
								Improve Gitlab::Auth method names  
							
							... 
							
							
							
							Auth.find was a very generic name for a very specific method.
Auth.find_in_gitlab_or_ldap was inaccurate in GitLab EE where it also
looks in Kerberos. 
							
						 
						
							2016-06-10 14:51:16 +02:00  
				
					
						
							
							
								 
						
							
								07f49626d0 
								
							 
						 
						
							
							
								
								Fix tests  
							
							
							
						 
						
							2016-06-06 17:40:26 +02:00  
				
					
						
							
							
								 
						
							
								3f3b036def 
								
							 
						 
						
							
							
								
								Use public_send  
							
							
							
						 
						
							2016-06-03 17:23:34 +02:00  
				
					
						
							
							
								 
						
							
								fa35aea3dd 
								
							 
						 
						
							
							
								
								Refactor Gitlab::Auth rate limiting  
							
							
							
						 
						
							2016-06-03 17:07:40 +02:00  
				
					
						
							
							
								 
						
							
								3ffa494ffe 
								
							 
						 
						
							
							
								
								Changes after more review from Rémy  
							
							
							
						 
						
							2016-06-03 14:57:34 +02:00  
				
					
						
							
							
								 
						
							
								fea591e5c5 
								
							 
						 
						
							
							
								
								Rename finder to find_in_gitlab_or_ldap  
							
							
							
						 
						
							2016-06-02 13:42:18 +02:00  
				
					
						
							
							
								 
						
							
								3dc276b367 
								
							 
						 
						
							
							
								
								Remove parallel assignment  
							
							
							
						 
						
							2016-05-03 11:46:14 +02:00  
				
					
						
							
							
								 
						
							
								b1ffc9f0fe 
								
							 
						 
						
							
							
								
								Make CI/Oauth/rate limiting reusable  
							
							
							
						 
						
							2016-04-29 18:58:55 +02:00  
				
					
						
							
							
								 
						
							
								bafd30f92c 
								
							 
						 
						
							
							
								
								Session API: Use case-insensitive authentication like in UI  
							
							
							
						 
						
							2014-10-30 18:29:18 +02:00  
				
					
						
							
							
								 
						
							
								9bf7bfda20 
								
							 
						 
						
							
							
								
								Remove unused methods  
							
							
							
						 
						
							2014-10-14 12:09:24 +02:00  
				
					
						
							
							
								 
						
							
								01b791237c 
								
							 
						 
						
							
							
								
								Refactor lib files for multiple LDAP groups  
							
							
							
						 
						
							2014-10-13 17:24:05 +02:00  
				
					
						
							
							
								 
						
							
								a3f645ef51 
								
							 
						 
						
							
							
								
								Remove deprecated finders  
							
							
							
						 
						
							2014-01-19 23:39:56 +04:00  
				
					
						
							
							
								 
						
							
								4f9098032c 
								
							 
						 
						
							
							
								
								Remove code that was accidently added in  5dae40f579 
							
							
							
						 
						
							2013-09-14 10:14:55 +03:00  
				
					
						
							
							
								 
						
							
								5dae40f579 
								
							 
						 
						
							
							
								
								Update to only provide one way to get a default user  
							
							... 
							
							
							
							-calling build_user will now apply defaults and only override them if as: :admin is set
Change-Id: Id1d938c0967752ecc14370af54f2d88128d18c44 
							
						 
						
							2013-09-11 14:04:15 -04:00  
				
					
						
							
							
								 
						
							
								3707cc119b 
								
							 
						 
						
							
							
								
								Refactor Gitlab::Auth  
							
							
							
						 
						
							2013-09-04 00:12:00 +03:00  
				
					
						
							
							
								 
						
							
								71abf70458 
								
							 
						 
						
							
							
								
								Move ldap auth to LDAP::User. Removed unused code  
							
							
							
						 
						
							2013-09-02 23:50:45 +03:00  
				
					
						
							
							
								 
						
							
								6bf117c601 
								
							 
						 
						
							
							
								
								Mode User+LDAP functionality from Gitlab::Auth  
							
							
							
						 
						
							2013-09-02 23:35:40 +03:00  
				
					
						
							
							
								 
						
							
								559e83d300 
								
							 
						 
						
							
							
								
								Add LDAP support to /api/session  
							
							
							
						 
						
							2013-07-16 11:28:19 +03:00  
				
					
						
							
							
								 
						
							
								ec1055076c 
								
							 
						 
						
							
							
								
								Merge branch 'add-defaults-create-group-team' of  https://github.com/dmedvinsky/gitlabhq  into dmedvinsky-add-defaults-create-group-team  
							
							... 
							
							
							
							Conflicts:
	config/gitlab.yml.example 
							
						 
						
							2013-05-27 15:17:06 +03:00  
				
					
						
							
							
								 
						
							
								63c6f30aba 
								
							 
						 
						
							
							
								
								Fix ldap auth for http push  
							
							
							
						 
						
							2013-05-24 20:36:28 +03:00  
				
					
						
							
							
								 
						
							
								22279bc558 
								
							 
						 
						
							
							
								
								Add settings for user permission defaults  
							
							... 
							
							
							
							“Can create groups” and “Can create teams” had hardcoded defaults to
`true`. Sometimes it is desirable to prohibit these for newly created
users by default. 
							
						 
						
							2013-05-16 18:02:22 +04:00  
				
					
						
							
							
								 
						
							
								67ccc8b52a 
								
							 
						 
						
							
							
								
								Replace old hashes with new 1.9 ruby hashes (rebase)  
							
							
							
						 
						
							2013-05-05 18:01:10 +04:00  
				
					
						
							
							
								 
						
							
								0d9a6fe7b1 
								
							 
						 
						
							
							
								
								User's blocked field refactored to use state machine  
							
							
							
						 
						
							2013-03-04 18:52:30 +04:00  
				
					
						
							
							
								 
						
							
								369dbaf396 
								
							 
						 
						
							
							
								
								Merge pull request  #1586  from Bregor/ber_to_string  
							
							... 
							
							
							
							Auth: Net::BER::BerIdentifiedStrings to Strings 
							
						 
						
							2013-01-16 04:55:52 -08:00  
				
					
						
							
							
								 
						
							
								19eb637419 
								
							 
						 
						
							
							
								
								Update uses of Gitolite.config.foo settings  
							
							
							
						 
						
							2012-12-20 16:54:28 +01:00  
				
					
						
							
							
								 
						
							
								c50ec72b52 
								
							 
						 
						
							
							
								
								Deprecate code for Project. Use title and path  
							
							
							
						 
						
							2012-11-23 21:11:09 +03:00  
				
					
						
							
							
								 
						
							
								054c15e7b5 
								
							 
						 
						
							
							
								
								enable Oauth login for existing regular users  
							
							... 
							
							
							
							fix: https://github.com/gitlabhq/gitlabhq/issues/1620  
							
						 
						
							2012-10-20 00:38:07 +03:00