1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
Commit Graph

59 Commits

Author SHA1 Message Date
Morgan Bazalgette
65861900cd Handle refactor ()
* Replace all ctx.Handle with ctx.ServerError or ctx.NotFound

* Change Handle(403) to NotFound, avoid using macaron's NotFound
2018-01-10 23:34:17 +02:00
Ethan Koenig
f26f4a7e01 Update swagger documentation ()
* 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
Lauris BH
7a0297819d Sync releases table with tags on push and for mirrors ()
* Sync releases table with tags on push and for mirrors

* Code style fixes

* Fix api to return only releases

* Optimize release creation and update
Minimize posibility of race conditions

* Fix release lower tag name updating

* handle tag reference update by addionally comparing commit id
2017-09-20 13:26:49 +08:00
Ethan Koenig
93a1de4842 Fix repo API bug ()
Don't require token when not necessary
2017-07-12 03:23:41 +02:00
Lauris BH
783b1967e2 Fix release display and correct paging () 2017-06-29 23:11:38 +08:00
Ethan Koenig
ec0ae5d50c Refactor and fix incorrect comment () 2017-03-15 08:51:46 +08:00
Philip Couling
64375d875b Attach to release ()
* Moved attachaments POST url from /issues/attachments to /attachments

* Implemented attachment upload on release page

* Implemented downloading attachments on the release page

* Added zip and gzip files to default allowed attachments

* Implemented uploading attachments on edit release

* Renamed UploadIssueAttachment to UploadAttachment
2017-01-15 22:57:00 +08:00
Lunny Xiao
51021585a7 build failed by deleting release by API () 2017-01-03 11:45:56 +08:00
Ethan Koenig
0c301f7b5c Release API endpoints 2017-01-02 00:10:52 +01:00