Commit Graph

30 Commits (d3b8127ad372bbce8d891d8893ffe6e834590751)

Author SHA1 Message Date
Lunny Xiao 8567cba0d9
Implement delete release attachments and update release attachments' name (#14130) 4 years ago
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 4 years ago
6543 d453533beb
[Refactor] Move APIFormat functions into convert package (#12856) 4 years ago
Lunny Xiao 62e6c9bc6c
Add a storage layer for attachments (#11387) 4 years ago
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
Lunny Xiao 1dd3f19ee3
Use google/uuid to instead satori/go.uuid (#11943) 5 years ago
Lunny Xiao 1645d4a5d8
Use ID or Where to instead directly use Get when load object from database (#11925) 5 years ago
6543 e57ac841de
Fix potential bugs (#10513) 5 years ago
zeripath 41294b53b3
Reading pull attachments should depend on read UnitTypePullRequests (#10346) 5 years ago
Antoine GIRARD 8b24073713 Only serve attachments when linked to issue/release and if accessible by user (#9340) 5 years ago
Antoine GIRARD c3d31e5534 refactor(models/attachement): use getAttachmentsByUUIDs (#9317) 5 years ago
Lunny Xiao d151503d34 Upgrade xorm to v0.8.0 (#8536) 5 years ago
Lunny Xiao 3249c0ccba
Extract actions on deletereleasebyid from models to release service (#8219) 5 years ago
Lunny Xiao 85202d4784
Display ui time with customize time location (#7792) 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
gdeverlant d3dc07f282 Added URL mapping for Release attachments like on github.com (#1707) 6 years ago
Jonas Franz 3e06490d38 Add Size column to attachment (#3734) 7 years ago
Jonas Franz 43fc430c07 Improve release page UI (#3693) 7 years ago
Jonas Franz 9a5e628a7e Add Attachment API (#3478) 7 years ago
Lunny Xiao f5155b9913 Small improve on deleting attachements (#3145) 7 years ago
Lunny Xiao 956354885a simple usage of x (#3144) 7 years ago
Lunny Xiao f2e20c81b6 Refactor struct's time to remove unnecessary memory usage (#3142) 7 years ago
Lunny Xiao a8717e5e3a Use AfterLoad instead of AfterSet on Structs (#2628) 7 years ago
Lunny Xiao 005900baea Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 7 years ago
Lauris BH 6db387a21e Refactor session close as xorm already does everything needed internally (#2020) 8 years ago
Bo-Yi Wu fa2a513c62 feat: add download count field and unit testing for attachment. (#1512) 8 years ago
Ethan Koenig 136e6beb0f Fix unused Engine bugs (#1064) 8 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