Commit Graph

11 Commits (0a0cd75071ac2e2ca36f0d89efbc14ab66d2985c)

Author SHA1 Message Date
Lunny Xiao 26095115f4
Move some repository related code into sub package (#19711) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao cbd45471b1
Move access and repo permission to models/perm/access (#19350) 3 years ago
6543 06e4687cec
more context for models (#19511) 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 1bfb0a24d8
Refactor routers directory (#15800) 4 years ago
KN4CK3R a35a5b225c
Add ETag header (#15370) 4 years ago
6543 16dea6cebd
[refactor] replace int with httpStatusCodes (#15282) 4 years ago
Farid AYOUJIL f72ce26326
Add Content-Length header to HEAD requests (#14542) 4 years ago
silverwind cda44750cb
Attachments: Add extension support, allow all types for releases (#12465) 4 years ago
Lunny Xiao 3878e985b6
Add default storage configurations (#12813) 4 years ago
Lunny Xiao 62e6c9bc6c
Add a storage layer for attachments (#11387) 4 years ago
silverwind 9d3e69e867
Move dropzone.js to npm/webpack (#10645) 5 years ago
6543 e57ac841de
Fix potential bugs (#10513) 5 years ago
Antoine GIRARD 8b24073713 Only serve attachments when linked to issue/release and if accessible by user (#9340) 5 years ago
blueworrybear 8c909820a9 Enable Uploading/Removing Attachments When Editing an Issue/Comment (#8426) 5 years ago
Antoine GIRARD f369788347 Refactor filetype is not allowed errors (#7309) 5 years ago
Lunny Xiao 09fb036ad6 fix upload attachments (#6481) 6 years ago
Mahmoud Al-Qudsi 171914e9a7 Log attachment blocked events (#3615) 7 years ago
Thomas Boerger 78535fb08e Allow custom public files (#782) 8 years ago
Philip Couling 1610b9f547 Spun attachments into seperate go file (#701) 8 years ago