ca1c3f1926 
								
							 
						 
						
							
							
								
								Implement GPG api ( #710 )  
							
							... 
							
							
							
							* Implement GPG API
* Better handle error
* Apply review recommendation + simplify database operations
* Remove useless comments 
							
						 
						
							2017-03-16 09:27:35 +08:00  
				
					
						
							
							
								 
						
							
								01d957677f 
								
							 
						 
						
							
							
								
								Oauth2 consumer ( #679 )  
							
							... 
							
							
							
							* initial stuff for oauth2 login, fails on:
* login button on the signIn page to start the OAuth2 flow and a callback for each provider
Only GitHub is implemented for now
* show login button only when the OAuth2 consumer is configured (and activated)
* create macaron group for oauth2 urls
* prevent net/http in modules (other then oauth2)
* use a new data sessions oauth2 folder for storing the oauth2 session data
* add missing 2FA when this is enabled on the user
* add password option for OAuth2 user , for use with git over http and login to the GUI
* add tip for registering a GitHub OAuth application
* at startup of Gitea register all configured providers and also on adding/deleting of new providers
* custom handling of errors in oauth2 request init + show better tip
* add ExternalLoginUser model and migration script to add it to database
* link a external account to an existing account (still need to handle wrong login and signup) and remove if user is removed
* remove the linked external account from the user his settings
* if user is unknown we allow him to register a new account or link it to some existing account
* sign up with button on signin page (als change OAuth2Provider structure so we can store basic stuff about providers)
* from gorilla/sessions docs:
"Important Note: If you aren't using gorilla/mux, you need to wrap your handlers with context.ClearHandler as or else you will leak memory!"
(we're using gorilla/sessions for storing oauth2 sessions)
* use updated goth lib that now supports getting the OAuth2 user if the AccessToken is still valid instead of re-authenticating (prevent flooding the OAuth2 provider) 
							
						 
						
							2017-02-22 08:14:37 +01:00  
				
					
						
							
							
								 
						
							
								7eb8daffa3 
								
							 
						 
						
							
							
								
								Use fingerprint to check instead content for public key ( #911 )  
							
							... 
							
							
							
							* use fingerprint to check instead content for public key
* add fingerprint field for ErrKeyAlreadyExist 
							
						 
						
							2017-02-14 14:12:52 +08:00  
				
					
						
							
							
								 
						
							
								1ec6b1a258 
								
							 
						 
						
							
							
								
								fix: gofmt error. ( #918 )  
							
							
							
						 
						
							2017-02-14 10:12:03 +08:00  
				
					
						
							
							
								 
						
							
								027591a3a5 
								
							 
						 
						
							
							
								
								Redirects for renamed repos ( #807 )  
							
							... 
							
							
							
							* Redirects for renamed repos
* Remove unused phrase from locales 
							
						 
						
							2017-02-05 22:35:03 +08:00  
				
					
						
							
							
								 
						
							
								6dd096b7f0 
								
							 
						 
						
							
							
								
								Two factor authentication support ( #630 )  
							
							... 
							
							
							
							* Initial commit for 2FA support
Signed-off-by: Andrew <write@imaginarycode.com>
* Add vendored files
* Add missing depends
* A few clean ups
* Added improvements, proper encryption
* Better encryption key
* Simplify "key" generation
* Make 2FA enrollment page more robust
* Fix typo
* Rename twofa/2FA to TwoFactor
* UNIQUE INDEX -> UNIQUE 
							
						 
						
							2017-01-16 10:14:29 +08:00  
				
					
						
							
							
								 
						
							
								1207bda94b 
								
							 
						 
						
							
							
								
								Fix typos in models/ ( #576 )  
							
							
							
						 
						
							2017-01-05 08:50:34 +08:00  
				
					
						
							
							
								 
						
							
								c0904f1942 
								
							 
						 
						
							
							
								
								Restrict creating organisations by user ( #193 )  
							
							... 
							
							
							
							* restrict creating organizations based on right on user
* revert bindata.go
* reverse vendor lib
* revert goimports change
* set AllowCreateOrganization default value to true
* revert locale
* added default value for AllowCreateOrganization
* fix typo in migration-comment
* fix comment
* add coments in migration 
							
						 
						
							2016-12-31 10:33:30 +08:00  
				
					
						
							
							
								 
						
							
								0f05470cb8 
								
							 
						 
						
							
							
								
								[API] Pull Requests ( #248 )  
							
							
							
						 
						
							2016-12-02 12:10:39 +01:00  
				
					
						
							
							
								 
						
							
								0a61d54a9c 
								
							 
						 
						
							
							
								
								Expand documentation a bit more  
							
							
							
						 
						
							2016-11-24 09:20:28 +01:00  
				
					
						
							
							
								 
						
							
								170f2e98cc 
								
							 
						 
						
							
							
								
								Lint error.go  
							
							... 
							
							
							
							This was done semi-programmatically, not really documenting anything 
							
						 
						
							2016-11-24 09:03:17 +01:00  
				
					
						
							
							
								 
						
							
								555d8b16cb 
								
							 
						 
						
							
							
								
								fixed bug  #151  caused Find should be Get ( #153 )  
							
							
							
						 
						
							2016-11-12 00:01:09 +01:00  
				
					
						
							
							
								 
						
							
								152e715999 
								
							 
						 
						
							
							
								
								models/login_source: code improvement  
							
							
							
						 
						
							2016-08-31 01:22:41 -07:00  
				
					
						
							
							
								 
						
							
								99c2ae7b35 
								
							 
						 
						
							
							
								
								#3515  use alert instead 500 for duplicated login source name  
							
							
							
						 
						
							2016-08-31 00:56:10 -07:00  
				
					
						
							
							
								 
						
							
								643142acab 
								
							 
						 
						
							
							
								
								Web editor: support upload files  
							
							
							
						 
						
							2016-08-30 05:23:59 -07:00  
				
					
						
							
							
								 
						
							
								6b98d58906 
								
							 
						 
						
							
							
								
								#2966  code cleanup  
							
							
							
						 
						
							2016-08-26 13:40:53 -07:00  
				
					
						
							
							
								 
						
							
								15845cb287 
								
							 
						 
						
							
							
								
								Code clean up for new config options  
							
							
							
						 
						
							2016-08-14 23:52:24 -07:00  
				
					
						
							
							
								 
						
							
								d0a0239bac 
								
							 
						 
						
							
							
								
								Squashed commit of the following:  
							
							... 
							
							
							
							commit 0afcb843d7ffd596991c4885cab768273a6eb42c
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 17:13:29 2016 -0600
    Removed Upload stats as the upload table is just a temporary table
commit 7ecd73ff5535612d79d471409173ee7f1fcfa157
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 08:42:41 2016 -0600
    Fix for CodeMirror mode
commit c29b9ab531e2e7af0fb5db24dc17e51027dd1174
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 08:03:33 2016 -0600
    Made tabbing in editor use spaces
commit 23af384c53206a8a40e11e45bf49d7a149c4adcd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date:   Sun Jul 31 07:56:46 2016 -0600
    Fix for data-url
commit cfb8a97591cb6fc0a92e49563b7b764c524db0e9
Merge: 7fc8a89 991ce42ad7ea88cf85e9e1c7dcdd 
							
						 
						
							2016-08-14 23:52:24 -07:00  
				
					
						
							
							
								 
						
							
								e7fd65f0cf 
								
							 
						 
						
							
							
								
								#3290  better code structure and batch minor improvements  
							
							
							
						 
						
							2016-08-03 11:51:22 -07:00  
				
					
						
							
							
								 
						
							
								2eeb0ec9b0 
								
							 
						 
						
							
							
								
								Additional API support for labels ( #3290 )  
							
							... 
							
							
							
							* Add API support for labels.
* Error handling for adding/replacing multiple issue labels
* Revisions to function names and error handling. Use issue.ClearLabels in replace/clear functions
* Additional code cleanup 
							
						 
						
							2016-08-03 09:24:16 -07:00  
				
					
						
							
							
								 
						
							
								c912494609 
								
							 
						 
						
							
							
								
								#3076  detect invalid tag name git error  
							
							
							
						 
						
							2016-07-23 15:59:19 +08:00  
				
					
						
							
							
								 
						
							
								8b35c194ec 
								
							 
						 
						
							
							
								
								Fixes   #3110  ( #3136 )  
							
							
							
						 
						
							2016-06-27 17:02:39 +08:00  
				
					
						
							
							
								 
						
							
								995487e822 
								
							 
						 
						
							
							
								
								Minor fix for  #2506  
							
							
							
						 
						
							2016-02-02 17:07:40 -05:00  
				
					
						
							
							
								 
						
							
								112a7cab31 
								
							 
						 
						
							
							
								
								#2497  incorrect error handle for team name  
							
							
							
						 
						
							2016-01-29 17:06:14 -05:00  
				
					
						
							
							
								 
						
							
								2a0bb1fa90 
								
							 
						 
						
							
							
								
								#1575  Limit repo creation  
							
							
							
						 
						
							2015-12-10 12:37:53 -05:00  
				
					
						
							
							
								 
						
							
								978dc00305 
								
							 
						 
						
							
							
								
								APIs: admin users  
							
							
							
						 
						
							2015-12-05 17:13:13 -05:00  
				
					
						
							
							
								 
						
							
								cc8f5add6e 
								
							 
						 
						
							
							
								
								fix   #976  
							
							
							
						 
						
							2015-12-03 00:24:37 -05:00  
				
					
						
							
							
								 
						
							
								e42fcb033d 
								
							 
						 
						
							
							
								
								wiki: finish edit  
							
							
							
						 
						
							2015-11-27 01:50:38 -05:00  
				
					
						
							
							
								 
						
							
								987dcc5372 
								
							 
						 
						
							
							
								
								fix   #1383  
							
							
							
						 
						
							2015-11-20 02:38:41 -05:00  
				
					
						
							
							
								 
						
							
								f455125d4d 
								
							 
						 
						
							
							
								
								fix   #878  
							
							
							
						 
						
							2015-11-18 21:21:47 -05:00  
				
					
						
							
							
								 
						
							
								18de67380c 
								
							 
						 
						
							
							
								
								fix   #1958  
							
							
							
						 
						
							2015-11-15 23:52:46 -05:00  
				
					
						
							
							
								 
						
							
								f255b1e86d 
								
							 
						 
						
							
							
								
								#1896  fatal when no needed update task  
							
							
							
						 
						
							2015-11-04 21:57:10 -05:00  
				
					
						
							
							
								 
						
							
								6f0a41b8b2 
								
							 
						 
						
							
							
								
								#1511  Allow local import only for admin users  
							
							
							
						 
						
							2015-11-03 18:40:52 -05:00  
				
					
						
							
							
								 
						
							
								04af4b24fd 
								
							 
						 
						
							
							
								
								work on  #1818  
							
							
							
						 
						
							2015-10-22 14:47:32 -04:00  
				
					
						
							
							
								 
						
							
								1abfe4e05f 
								
							 
						 
						
							
							
								
								PR: nothing to commit and has pull request check  
							
							
							
						 
						
							2015-09-02 05:09:12 -04:00  
				
					
						
							
							
								 
						
							
								2ac8e11f46 
								
							 
						 
						
							
							
								
								#842  able to use access token replace basic auth  
							
							
							
						 
						
							2015-09-02 02:40:15 -04:00  
				
					
						
							
							
								 
						
							
								8c046073a8 
								
							 
						 
						
							
							
								
								work on PR conversation  
							
							
							
						 
						
							2015-09-01 19:07:02 -04:00  
				
					
						
							
							
								 
						
							
								23f42d92c9 
								
							 
						 
						
							
							
								
								add webhook recent deliveries  
							
							
							
						 
						
							2015-08-27 23:06:14 +08:00  
				
					
						
							
							
								 
						
							
								371572cf5f 
								
							 
						 
						
							
							
								
								allow edit issue and comment  
							
							
							
						 
						
							2015-08-20 04:31:28 +08:00  
				
					
						
							
							
								 
						
							
								b4c0b7b98b 
								
							 
						 
						
							
							
								
								finish view issue without comments and ops  
							
							
							
						 
						
							2015-08-12 17:04:23 +08:00  
				
					
						
							
							
								 
						
							
								34f6cbfc2a 
								
							 
						 
						
							
							
								
								finish attachments when create issue  
							
							
							
						 
						
							2015-08-11 23:24:40 +08:00  
				
					
						
							
							
								 
						
							
								09a1b2a1f5 
								
							 
						 
						
							
							
								
								finish create issue with milestone  
							
							
							
						 
						
							2015-08-10 18:57:57 +08:00  
				
					
						
							
							
								 
						
							
								17de3ab0a3 
								
							 
						 
						
							
							
								
								add migrate from issue.label_ids to issue_label  
							
							
							
						 
						
							2015-08-10 14:42:50 +08:00  
				
					
						
							
							
								 
						
							
								9db4acc62e 
								
							 
						 
						
							
							
								
								improve fork process  
							
							
							
						 
						
							2015-08-08 17:10:34 +08:00  
				
					
						
							
							
								 
						
							
								9d414d4dd9 
								
							 
						 
						
							
							
								
								remove Index field of milestone  
							
							
							
						 
						
							2015-08-06 23:25:35 +08:00  
				
					
						
							
							
								 
						
							
								39a3b768bc 
								
							 
						 
						
							
							
								
								#334 : Add Deployment Key Support  
							
							
							
						 
						
							2015-08-06 22:48:11 +08:00  
				
					
						
							
							
								 
						
							
								2c507667bf 
								
							 
						 
						
							
							
								
								Merge branch 'develop' of github.com:gogits/gogs into feature/milestone  
							
							... 
							
							
							
							# Conflicts:
#	gogs.go
#	models/issue.go
#	templates/.VERSION 
							
						 
						
							2015-08-05 20:26:00 +08:00  
				
					
						
							
							
								 
						
							
								74bd6b939c 
								
							 
						 
						
							
							
								
								milestone: edit  
							
							
							
						 
						
							2015-08-05 18:26:18 +08:00  
				
					
						
							
							
								 
						
							
								e50982f5ec 
								
							 
						 
						
							
							
								
								allow anonymous SSH clone  
							
							
							
						 
						
							2015-08-05 11:14:17 +08:00  
				
					
						
							
							
								 
						
							
								698b9e2acc 
								
							 
						 
						
							
							
								
								#1070  Clearer error message for illegal characters  
							
							
							
						 
						
							2015-03-26 17:11:47 -04:00  
				
					
						
							
							
								 
						
							
								466facc009 
								
							 
						 
						
							
							
								
								#1067 : Deleting users should remove them from collaborator lists  
							
							... 
							
							
							
							- fix delete user but repository watches are not decreased 
							
						 
						
							2015-03-17 21:51:39 -04:00  
				
					
						
							
							
								 
						
							
								588f3215c6 
								
							 
						 
						
							
							
								
								#1040 : dashboard no longer accessible when repo is missing  
							
							
							
						 
						
							2015-03-16 04:04:27 -04:00