Commit Graph

24 Commits (5c2089a01d6235033ca254fc46a411d2e740e346)

Author SHA1 Message Date
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
zeripath a4a6a5987b
Return 404 NotFound if requested attachment does not exist (#20886) 2 years ago
Lunny Xiao e09fb30d34
improvement some release related code (#19867) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
KN4CK3R 80fd25524e
Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao fc3d082609
Move attachment into models/repo/ (#17650) 3 years ago
Lunny Xiao ddc709ff7f
Add repo_id for attachment (#16958) 3 years ago
6543 c4d70a0325
Rename ctx.Form() to ctx.FormString() and move code into own file (#16571) 3 years ago
Lunny Xiao 33e0b38287
Rename context.Query to context.Form (#16562) 3 years ago
Lunny Xiao 6433ba0ec3
Move macaron to chi (#14293) 4 years ago
6543 d453533beb
[Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
silverwind cda44750cb
Attachments: Add extension support, allow all types for releases (#12465) 4 years ago
Lunny Xiao 62e6c9bc6c
Add a storage layer for attachments (#11387) 4 years ago
6543 2848c5eb8f Swagger info corrections (#9441) 5 years ago
David Svantesson c6fb7fe27c Fix API for edit and delete release attachment (#8285) 5 years ago
Tamal Saha 171b359877 Use gitea forked macaron (#7933) 5 years ago
Antoine GIRARD f369788347 Refactor filetype is not allowed errors (#7309) 5 years ago
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs (#6905) 6 years ago
Lunny Xiao 09fb036ad6 fix upload attachments (#6481) 6 years ago
John Olheiser cac9e6e760 Updates to API 404 responses (#6077) 6 years ago
zeripath 43f9233914 Fix Swagger JSON autogeneration issues. (#4845) 6 years ago
Bo-Yi Wu 1c5cbc390b refactor: import order. (#3736) 7 years ago
Jonas Franz 9a5e628a7e Add Attachment API (#3478) 7 years ago