Commit Graph

45 Commits (8aaba65eeeb7b312a312919c7ccd513acc301f6d)

Author SHA1 Message Date
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
Lunny Xiao b8911fb456
Use a struct as test options (#19393) 3 years ago
wxiaoguang 124b072f0b
Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 3 years ago
wxiaoguang 7a550b3af2
Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 3 years ago
silverwind 2b9df564b8
Lock gofumpt to v0.3.0 and run it (#18866) 3 years ago
6543 3043eb36bf
Delete old git.NewCommand() and use it as git.NewCommandContext() (#18552) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
zeripath 5cb0c9aa0d
Propagate context and ensure git commands run in request context (#17868) 3 years ago
KN4CK3R 8fa97a25f0
Set HeadCommit when creating tags. (#18116) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 3 years ago
Lunny Xiao fc3d082609
Move attachment into models/repo/ (#17650) 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
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
Lunny Xiao 8d7704b5a2
Fix dump and restore respository (#16698) 3 years ago
KN4CK3R 44b8b07631
Add tag protection (#15629) 4 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
a1012112796 83cf1a894e
Create tag on ui (#13467) 4 years ago
Lunny Xiao 8c086bae6e
Fix wrong publisher id (#14212) 4 years ago
Cirno the Strongest 53308de0bf
Send webhook when tag is removed via Web UI (#14015) 4 years ago
a1012112796 b687707014
Add the tag list page to the release page (#12096) 4 years ago
Lunny Xiao 4df2ed29f2
Refactor: Move PushUpdateOptions (#13363) 4 years ago
Lanre Adelowo e918636283
Enhance release list (#6025) 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
赵智超 1f12dc8e88
Add action feed for new release (#12324) 4 years ago
Richard Mahn 8a36c46a7e
Fixes #12341: Release date should only be set to current time if draft or tag created (#12343) 4 years ago
Jason Duan 4468b0b2b2
When using API CreateRelease set created_unix to the tag commit time (#11218) 5 years ago
Lunny Xiao 48ce135cc9
Move PushUpdateAddDeleteTags to repository module from models (#10106) 5 years ago
Lunny Xiao 99d869fa63
Move push commits from models to modules/repository (#9370) 5 years ago
zeripath 60c5339042 Graceful: Cancel Process on monitor pages & HammerTime (#9213) 5 years ago
Benno eb1b225d9a Send tag create and push webhook when release created on UI (#8671) 5 years ago
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901) 5 years ago
Lunny Xiao 0109229928
Move release webhook to notification (#8817) 5 years ago
Lunny Xiao f518fe6662
Rename HookQueue to hookQueue (#8778) 5 years ago
Lunny Xiao 0e7f7df3cf Move webhook to a standalone package under modules (#8747) 5 years ago
Lunny Xiao 7ff783b732
Move mirror to a standalone package from models (#7486) 5 years ago
Lunny Xiao 3249c0ccba
Extract actions on deletereleasebyid from models to release service (#8219) 5 years ago
Daniel Fonseca de Lira 7cccada51e Fix assets key on release webhook (#8253) 5 years ago
Lunny Xiao 4959bf1c09
Move create release from models to a standalone package (#7539) 5 years ago