5a438ee3c0 
								
									
								
							
								 
							
						 
						
							
							
								
								Move all mail related codes from models to services/mailer ( #7200 )  
							
							... 
							
							
 
							
							* move all mail related codes from models to modules/mailer
* fix lint
* use DBContext instead Engine
* use WithContext not WithEngine
* Use DBContext instead of Engine
* don't use defer when sess.Close()
* move DBContext to context.go and add some methods
* move mailer from modules/ to services
* fix lint
* fix tests
* fix fmt
* add gitea copyright
* fix tests
* don't expose db functions
* make code clear
* add DefaultDBContext
* fix build
* fix bug 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								171b359877 
								
							
								 
							
						 
						
							
							
								
								Use gitea forked macaron ( #7933 )  
							
							... 
							
							
 
							
							Signed-off-by: Tamal Saha <tamal@appscode.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								5b902e2368 
								
							
								 
							
						 
						
							
							
								
								add pagination for admin api get orgs and fix only list public orgs bug ( #7742 )  
							
							
 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								cbf231a675 
								
							
								 
							
						 
						
							
							
								
								fix wrong email when use gitea as OAuth2 provider ( #7640 )  
							
							... 
							
							
 
							
							when you use gitea as OAuth2 provider, the /api/v1/user should return
user primary email as identifier, which is unique in OAuth2 clients.
this patch use convert.ToUser replace all u.APIFormat in api requests,
return primary email when caller is yourself or admin. 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								43cf2f3b55 
								
							
								 
							
						 
						
							
							
								
								Fixes   #7023  - API Org Visibility ( #7028 )  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								34eee25bd4 
								
									
								
							
								 
							
						 
						
							
							
								
								Move sdk structs to modules/structs ( #6905 )  
							
							... 
							
							
 
							
							* move sdk structs to moduels/structs
* fix tests
* fix fmt
* fix swagger
* fix vendor 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								6db3dc7c02 
								
							
								 
							
						 
						
							
							
								
								Fixes   #6881  - API users search fix ( #6882 )  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								837116875e 
								
							
								 
							
						 
						
							
							
								
								Return a UserList from /api/v1/admin/users ( #6629 )  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								cac9e6e760 
								
							
								 
							
						 
						
							
							
								
								Updates to API 404 responses ( #6077 )  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								7548037a64 
								
							
								 
							
						 
						
							
							
								
								Adds MustChangePassword to user create/edit API, defaults to true ( #6193 )  
							
							... 
							
							
 
							
							Signed-off-by: jolheiser <john.olheiser@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								1b90692844 
								
							
								 
							
						 
						
							
							
								
								New API routes added ( #5594 )  
							
							... 
							
							
 
							
							* New API routes added
* Comments added
* Build fix
* swagger_v1_json.tmpl without new line character
* Typo fix
* Code review changes
* Code review changes
* Add copyright
* Add copyright
* Add copyright
* Update per @lafriks  feedback
* Update org.go
* Update user.go
* Update user.go
* make fmt 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								43f9233914 
								
							
								 
							
						 
						
							
							
								
								Fix Swagger JSON autogeneration issues. ( #4845 )  
							
							... 
							
							
 
							
							* Fix Swagger JSON.
Remove unnecessary schema references for the forbidden and empty responses
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Fix swagger API for CreateAccessToken
* Fix admin create org swagger
* Fix swagger for adminCreateRepo
* More swagger fixes
Set int64 format for those which are int64
Some more form fixes
* Fix swagger description of GET /repos/{owner}/{repo}/pulls 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								912953e82a 
								
							
								 
							
						 
						
							
							
								
								API /admin/users/{username} missing parameter ( #4775 )  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								e5b8b4b5ec 
								
							
								 
							
						 
						
							
							
								
								Cleanup models.User.HashPassword ( #3334 )  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								674cfb7cac 
								
							
								 
							
						 
						
							
							
								
								Change EncodePasswd to HashPassword ( #3329 )  
							
							... 
							
							
 
							
							* Change EncodePasswd to HashPassword
* Create test+benchmark for HashPassword 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								469ab99e9a 
								
							
								 
							
						 
						
							
							
								
								Delete a user's public key via admin api ( closes   #3014 ) ( #3059 )  
							
							... 
							
							
 
							
							* Delete a user's public key via admin api
* Test admin ssh endpoint for creating a new ssh key
* Adapt public ssh key test to also test the delete operation
* Test that deleting a missing key will result in a 404
* Test that a normal user can't delete another user's ssh key
* Make DeletePublicKey return err
* Update swagger doc 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f26f4a7e01 
								
							
								 
							
						 
						
							
							
								
								Update swagger documentation ( #2899 )  
							
							... 
							
							
 
							
							* Update swagger documentation
Add docs for missing endpoints
Add documentation for request parameters
Make parameter naming consistent
Fix response documentation
* Restore delete comments 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								fd8e8a421a 
								
							
								 
							
						 
						
							
							
								
								Improve swagger doc ( #2274 )  
							
							... 
							
							
 
							
							* Add swagger comment for adminCreateOrg
* Add swagger comment for admin route
* add hook swagger doc
* Add tags
* Add auth
* Fix name of responses
* Edit name method
* Update vendor
* make generate-swagger 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								d1b5498cc0 
								
							
								 
							
						 
						
							
							
								
								Use handlers for API authorization ( #723 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								74bbec3bf9 
								
							
								 
							
						 
						
							
							
								
								Fix permission bugs in team API ( #647 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								f686a32eac 
								
							
								 
							
						 
						
							
							
								
								API endpoints for organization teams ( #370 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								380e32e129 
								
							
								 
							
						 
						
							
							
								
								Fix random string generator ( #384 )  
							
							... 
							
							
 
							
							* Remove unused custom-alphabet feature of random string generator
Fix random string generator
Random string generator should return error if it fails to read random data via crypto/rand
* Fixes variable (un)initialization mixed assign
Update test GetRandomString 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								3917ed45de 
								
							
								 
							
						 
						
							
							
								
								golint fixed for routers ( #208 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								a1c5f02444 
								
							
								 
							
						 
						
							
							
								
								Fix import path of go-sdk ( #141 )  
							
							... 
							
							
 
							
							From code.gitea.io/go-sdk/gitea
  To code.gitea.io/sdk/gitea 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								4247304f5a 
								
							
								 
							
						 
						
							
							
								
								Update import paths from github.com/go-gitea to code.gitea.io ( #135 )  
							
							... 
							
							
 
							
							- Update import paths from github.com/go-gitea to code.gitea.io
- Fix import path for travis
See https://docs.travis-ci.com/user/languages/go#Go-Import-Path  
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								aadd7dcdc3 
								
							
								 
							
						 
						
							
							
								
								And others  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								60c82a8780 
								
							
								 
							
						 
						
							
							
								
								More...  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								4c6c16f358 
								
									
								
							
								 
							
						 
						
							
							
								
								Replaced go-gogs-client with go-sdk imports  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								2d68bd1ef9 
								
							
								 
							
						 
						
							
							
								
								Change import reference to match gitea instead of gogs ( #37 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								99c2ae7b35 
								
							
								 
							
						 
						
							
							
								
								#3515  use alert instead 500 for duplicated login source name  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								dccb0c15b9 
								
							
								 
							
						 
						
							
							
								
								Replace convert.To with APIFormat calls  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								5a9709fa9d 
								
							
								 
							
						 
						
							
							
								
								Add MaxRepoCreation to EditUser API ( #2781 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								0402c803c6 
								
							
								 
							
						 
						
							
							
								
								Added Full Name to CreateUser api call ( #3333 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								1f2e173a74 
								
							
								 
							
						 
						
							
							
								
								Refactor User.Id to User.ID  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								f1b8d52eb3 
								
							
								 
							
						 
						
							
							
								
								#2854  fix no mail notification when issue is closed/reopened  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								d27ca649c7 
								
							
								 
							
						 
						
							
							
								
								api/admin: add/remove organization team repository  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								b1d41cfa60 
								
							
								 
							
						 
						
							
							
								
								#1692  add admin APIs to add/remove a user from teams  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								5e11341232 
								
							
								 
							
						 
						
							
							
								
								Fix status code  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								90e93b1f3a 
								
							
								 
							
						 
						
							
							
								
								Change list teams API to non-admin specific  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								e6f927f61a 
								
							
								 
							
						 
						
							
							
								
								#1692  api: admin list and create team under organization  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								9bd9ad4205 
								
							
								 
							
						 
						
							
							
								
								#1692  add CRUD issue APIs  
							
							... 
							
							
 
							
							- Fix go-gogs-client#10
- Related to #809  
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								dd6faf7f9b 
								
							
								 
							
						 
						
							
							
								
								Convert all API handers to use *context.APIContext  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								2bf8494332 
								
							
								 
							
						 
						
							
							
								
								#13  finish user and repository search  
							
							... 
							
							
 
							
							Both are possible on explore and admin panel 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								514382e2eb 
								
							
								 
							
						 
						
							
							
								
								Rename module: middleware -> context  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								1c9dd11ba7 
								
							
								 
							
						 
						
							
							
								
								#1692  API: admin create repo  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								9cd16c5b12 
								
							
								 
							
						 
						
							
							
								
								#1692  add organization APIs  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								3d5d61778a 
								
							
								 
							
						 
						
							
							
								
								#1938   #1374  disable password change for non-local users  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								ca8ce793d1 
								
							
								 
							
						 
						
							
							
								
								#2063  Ability to delete repo from admin panel  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								978dc00305 
								
							
								 
							
						 
						
							
							
								
								APIs: admin users  
							
							
 
							
						 
						
							10 years ago