2848c5eb8f 
								
							 
						 
						
							
							
								
								Swagger info corrections ( #9441 )  
							
							... 
							
							
							
							* use numbers and not http.Status___ enum
* fix test
* add many missing swagger responses
* code format
* Deletion Sould return 204 ...
* error handling improvements
* if special error type ... then add it to swagger too
* one smal nit
* invalidTopicsError is []string
* valid swagger specification 2.0
 - if you add responses swagger can tell you if you do it right 👍 
* use ctx.InternalServerError
* Revert "use numbers and not http.Status___ enum"
This reverts commit b1ff386e2418ed6a7f183e756b13277d701278ef.
* use http.Status* enum everywhere 
							
						 
						
							2019-12-20 19:07:12 +02:00  
				
					
						
							
							
								 
						
							
								280f4bebbf 
								
							 
						 
						
							
							
								
								Move issue label operations to issue service package ( #8553 )  
							
							... 
							
							
							
							* Move issue label operations to issue service package
* fix test
* fix fmt 
							
						 
						
							2019-10-19 12:48:29 +03:00  
				
					
						
							
							
								 
						
							
								20477a69ea 
								
							 
						 
						
							
							
								
								Move clearlabels from models to issue service ( #8326 )  
							
							... 
							
							
							
							* move clearlabels from models to issue service
* improve code
* Apply suggestions from code review
Co-Authored-By: zeripath <art27@cantab.net> 
							
						 
						
							2019-10-15 13:03:05 +08:00  
				
					
						
							
							
								 
						
							
								171b359877 
								
							 
						 
						
							
							
								
								Use gitea forked macaron ( #7933 )  
							
							... 
							
							
							
							Signed-off-by: Tamal Saha <tamal@appscode.com> 
							
						 
						
							2019-08-23 12:40:29 -04:00  
				
					
						
							
							
								 
						
							
								34eee25bd4 
								
							 
						 
						
							
							
								
								Move sdk structs to modules/structs ( #6905 )  
							
							... 
							
							
							
							* move sdk structs to moduels/structs
* fix tests
* fix fmt
* fix swagger
* fix vendor 
							
						 
						
							2019-05-11 18:21:34 +08:00  
				
					
						
							
							
								 
						
							
								cac9e6e760 
								
							 
						 
						
							
							
								
								Updates to API 404 responses ( #6077 )  
							
							
							
						 
						
							2019-03-18 22:29:43 -04:00  
				
					
						
							
							
								 
						
							
								f2256d9881 
								
							 
						 
						
							
							
								
								make sure labels are actually returned ( #6053 )  
							
							
							
						 
						
							2019-02-13 10:45:19 -05:00  
				
					
						
							
							
								 
						
							
								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 
							
						 
						
							2018-11-28 19:26:14 +08:00  
				
					
						
							
							
								 
						
							
								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 
							
						 
						
							2018-10-20 23:40:42 -04:00  
				
					
						
							
							
								 
						
							
								ea01decb6b 
								
							 
						 
						
							
							
								
								fix wrong issue endpoints in swagger doc ( #3914 )  
							
							
							
						 
						
							2018-05-08 14:05:18 +08:00  
				
					
						
							
							
								 
						
							
								1c5cbc390b 
								
							 
						 
						
							
							
								
								refactor: import order. ( #3736 )  
							
							
							
						 
						
							2018-03-29 21:32:40 +08:00  
				
					
						
							
							
								 
						
							
								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 
							
						 
						
							2017-11-13 09:02:25 +02:00  
				
					
						
							
							
								 
						
							
								3ffedeab03 
								
							 
						 
						
							
							
								
								Fix bug in issue labels API ( #2048 )  
							
							
							
						 
						
							2017-06-25 07:52:51 +08:00  
				
					
						
							
							
								 
						
							
								10644d6dd7 
								
							 
						 
						
							
							
								
								Bug fixes and unit tests for models/issue_label ( #802 )  
							
							
							
						 
						
							2017-02-01 09:31:35 +08:00  
				
					
						
							
							
								 
						
							
								f94869d2d1 
								
							 
						 
						
							
							
								
								Track labels changed on issue view &  resolved   #542  ( #788 )  
							
							... 
							
							
							
							* track labels changed on issue view & resolved  #542 
* add missing head comment & sort & fix refresh 
							
						 
						
							2017-01-30 20:46:45 +08:00  
				
					
						
							
							
								 
						
							
								3917ed45de 
								
							 
						 
						
							
							
								
								golint fixed for routers ( #208 )  
							
							
							
						 
						
							2016-11-24 15:04:31 +08:00  
				
					
						
							
							
								 
						
							
								a1c5f02444 
								
							 
						 
						
							
							
								
								Fix import path of go-sdk ( #141 )  
							
							... 
							
							
							
							From code.gitea.io/go-sdk/gitea
  To code.gitea.io/sdk/gitea 
							
						 
						
							2016-11-11 17:39:44 +08:00  
				
					
						
							
							
								 
						
							
								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  
							
						 
						
							2016-11-10 17:24:48 +01:00  
				
					
						
							
							
								 
						
							
								4c6c16f358 
								
							 
						 
						
							
							
								
								Replaced go-gogs-client with go-sdk imports  
							
							
							
						 
						
							2016-11-07 16:10:32 +01:00  
				
					
						
							
							
								 
						
							
								2d68bd1ef9 
								
							 
						 
						
							
							
								
								Change import reference to match gitea instead of gogs ( #37 )  
							
							
							
						 
						
							2016-11-03 10:29:56 -02:00  
				
					
						
							
							
								 
						
							
								dccb0c15b9 
								
							 
						 
						
							
							
								
								Replace convert.To with APIFormat calls  
							
							
							
						 
						
							2016-08-14 04:17:26 -07:00  
				
					
						
							
							
								 
						
							
								3f7f4852ef 
								
							 
						 
						
							
							
								
								#2246  fully support of webhooks for pull request  
							
							
							
						 
						
							2016-08-14 03:32: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