Commit Graph

11 Commits (02ef14bea23bf72b4c3989280bcbe63ff8397c99)

Author SHA1 Message Date
JakobDev 42919ccb7c
Make Release Download URLs predictable (#23891) 2 years ago
Nathaniel Sabanski fb1a2a13f0
Preview images for Issue cards in Project Board view (#22112) 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
zeripath c772934ff6
Adjust gitea doctor --run storages to check all storage types (#21785) 2 years ago
delvh 0ebb45cfe7
Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2 years ago
zeripath 716fcfcf72
Make every not exist error unwrappable to a fs.ErrNotExist (#20891) 2 years ago
Lunny Xiao 1f146090ec
Add migrate repo archiver and packages storage support on command line (#20757) 2 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
Lunny Xiao fc3d082609
Move attachment into models/repo/ (#17650) 3 years ago
zeripath bbffcc3aec
Multiple Escaping Improvements (#17551) 3 years ago
Lunny Xiao 99b2858e62
Move unit into models/unit/ (#17576) 3 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 3 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 3 years ago
Lunny Xiao e2f0ab3343
Add doctor dbconsistency check for release and attachment (#16978) 3 years ago
Lunny Xiao ddc709ff7f
Add repo_id for attachment (#16958) 3 years ago
Lunny Xiao a807031a30
Fix storage Iterate bug and Add storage doctor to delete garbage attachments (#16971) 3 years ago
zeripath 0bb8bd8190
Add size to Save function (#15264) 4 years ago
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) 4 years ago
Lunny Xiao 1645d4a5d8
Use ID or Where to instead directly use Get when load object from database (#11925) 4 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