Commit Graph

33 Commits (407b6e6dfc7ee9ebb8a16c7f1a786e4c24d0516e)

Author SHA1 Message Date
Lunny Xiao 5f82ead13c
Simplify how git repositories are opened (#28937) 10 months ago
JakobDev cc5df26680
Even more `db.DefaultContext` refactor (#27352) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
JakobDev 7047df36d4
Another round of `db.DefaultContext` refactor (#27103) 1 year ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 1 year ago
Peter c6f5029708
Preserve file size when creating attachments (#23406) 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
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 2 years ago
Lunny Xiao e09fb30d34
improvement some release related code (#19867) 3 years ago
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
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 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
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
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 44b8b07631
Add tag protection (#15629) 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
a1012112796 83cf1a894e
Create tag on ui (#13467) 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
zeripath 722a7c902d
Add Close() method to gogitRepository (#8901) 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
Lunny Xiao 4959bf1c09
Move create release from models to a standalone package (#7539) 5 years ago
Christian Muehlhaeuser 5e4e7d3df0 Added missing error checks in tests (#7554) 5 years ago
Lunny Xiao e728b55812 Fix bug conflict between SyncReleasesWithTags and InsertReleases (#7337) 5 years ago
Lunny Xiao 08069dc465
Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) 6 years ago
Lunny Xiao d578b71d61
move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364) 6 years ago
Harshit Bansal 63bd1b9203 mirror: Delete tags in mirror which are removed for original repo. (#5609) 6 years ago
Lunny Xiao 970c690681 fix release creation via API (#5076) 6 years ago