Commit Graph

3 Commits (a2db81063be90499c16cbe1af777ee8858aa192d)

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 fc3d082609
Move attachment into models/repo/ (#17650) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 3 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 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 ddc709ff7f
Add repo_id for attachment (#16958) 3 years ago
KN4CK3R 3607f79d78
Fixed assert statements. (#16089) 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
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 09fb036ad6 fix upload attachments (#6481) 6 years ago
Jonas Franz 9a5e628a7e Add Attachment API (#3478) 7 years ago
Ethan Koenig 66c803fae2 MySQL, Postgres integration tests in drone (#1638) 8 years ago
Bo-Yi Wu fa2a513c62 feat: add download count field and unit testing for attachment. (#1512) 8 years ago