cac9e6e760 
								
							
								 
							
						 
						
							
							
								
								Updates to API 404 responses ( #6077 )  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								eabbddcd98 
								
									
								
							
								 
							
						 
						
							
							
								
								Restrict permission check on repositories and fix some problems ( #5314 )  
							
							... 
							
							
 
							
							* fix units permission problems
* fix some bugs and merge LoadUnits to repoAssignment
* refactor permission struct and add some copyright heads
* remove unused codes
* fix routes units check
* improve permission check
* add unit tests for permission
* fix typo
* fix tests
* fix some routes
* fix api permission check
* improve permission check
* fix some permission check
* fix tests
* fix tests
* improve some permission check
* fix some permission check
* refactor AccessLevel
* fix bug
* fix tests
* fix tests
* fix tests
* fix AccessLevel
* rename CanAccess
* fix tests
* fix comment
* fix bug
* add missing unit for test repos
* fix bug
* rename some functions
* fix routes check 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								1c5cbc390b 
								
							
								 
							
						 
						
							
							
								
								refactor: import order. ( #3736 )  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								65861900cd 
								
							
								 
							
						 
						
							
							
								
								Handle refactor ( #3339 )  
							
							... 
							
							
 
							
							* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound
* Change Handle(403) to NotFound, avoid using macaron's NotFound 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								2559a34b97 
								
							
								 
							
						 
						
							
							
								
								Load label ID in NewLabels ( #2045 )  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								a345a03d99 
								
							
								 
							
						 
						
							
							
								
								Added sorting to the labels & milestones page ( #199 )  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								e6cfccdd40 
								
							
								 
							
						 
						
							
							
								
								GitHub API Compliance (& linting)  
							
							
 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								28cf0e6aaa 
								
							
								 
							
						 
						
							
							
								
								#3459  code quality improvement  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								dccb0c15b9 
								
							
								 
							
						 
						
							
							
								
								Replace convert.To with APIFormat calls  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								e7fd65f0cf 
								
							
								 
							
						 
						
							
							
								
								#3290  better code structure and batch minor improvements  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							9 years ago