Commit Graph

38 Commits (c1fe6fbcc36bd29549019274d39f273b3e37755d)

Author SHA1 Message Date
wxiaoguang 43c7a2e7b1
Refactor names (#31405) 5 months ago
KN4CK3R 70c126e618
Add support for API blob upload of release attachments (#29507) 9 months ago
Lunny Xiao 29f149bd9f
Move context from modules to services (#29440) 9 months ago
Lunny Xiao 882e502327
Fix comment permissions (#28213) 12 months ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
JakobDev c548dde205
More refactoring of `db.DefaultContext` (#27083) 1 year ago
JakobDev aaeec2a392
Add missing 404 response to Swagger (#27038) 1 year ago
Lunny Xiao 0fd1672ae4
For API attachments, use API URL (#25639) 1 year ago
Peter c6f5029708
Preserve file size when creating attachments (#23406) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
KN4CK3R a35749893b
Move `convert` package to services (#22264) 2 years ago
KN4CK3R 3c59d31bc6
Add API management for issue/pull and comment attachments (#21783) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
KN4CK3R 044c754ea5
Add `context.Context` to more methods (#21546) 2 years ago
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