15 Commits (664522ec6bcb383ccc64b06f94889d079c1eed75)

Author SHA1 Message Date
wxiaoguang 0cbaa0b662
Remove incorrect "db.DefaultContext" usages (#35366) 4 months ago
wxiaoguang 60246730b5
Remove wrong "git.DefaultContext" (#35364) 4 months ago
Philip Peterson 08c634b7b7
Remove unused param `doer` (#34545) 6 months ago
wxiaoguang 2a1585b32e
Refactor some tests (#34580) 7 months ago
Lunny Xiao a100ac3306
Rework create/fork/adopt/generate repository to make sure resources will be cleanup once failed (#31035) 8 months ago
Xinyu Zhou 7cc7db73b9
Add option to prohibit fork if user reached maximum limit of repositories (#21848) 3 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 3 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 3 years ago
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797) 3 years ago
6543 3e88af898a
Make git.OpenRepository accept Context (#19260) 4 years ago
Lunny Xiao 5723240490
Some repository refactors (#17950) 4 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 4 years ago
Lunny Xiao a666829a37
Move user related model into models/user (#17781) 4 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 4 years ago
Lunny Xiao 48ccd325a1
Move some functions into services/repository (#17660) 4 years ago
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package (#17662) 4 years ago
wxiaoguang df64fa4865
Decouple unit test code from business code (#17623) 4 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 4 years ago
Kyle Evans cad70599a6
Refactor the fork service slightly to take ForkRepoOptions (#16744) 4 years ago
Lunny Xiao b465d0d787
Move create/fork repository from models to modules/repository (#9489) 6 years ago