Commit Graph

23 Commits (fc641b3a28300e13c822140556eca8d00f2b5196)

Author SHA1 Message Date
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270) 1 year ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948) 1 year ago
Lunny Xiao c355728a6f
Remove unnecessary code (#24610) 2 years ago
wxiaoguang 6f9c278559
Rewrite queue (#24505) 2 years ago
Lunny Xiao 5cf7da63ee
Refactor config provider (#24245) 2 years ago
Lunny Xiao c53ad052d8
Refactor the setting to make unit test easier (#22405) 2 years ago
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
wxiaoguang 88f2e457d8
Fix data-race problems in git module (quick patch) (#19934) 2 years ago
wxiaoguang a0051634b9
Refactor git module, make Gitea use internal git config (#19732) 2 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
zeripath d3dbdbe6c5
Prevent intermittent failures in RepoIndexerTest (2) (#19229) 3 years ago
zeripath 793ce9dacf
Prevent intermittent failures in RepoIndexerTest (#19225) 3 years ago
qwerty287 9d943bf374
Add missing `X-Total-Count` and fix some related bugs (#17968) 3 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 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
Cirno the Strongest 9d652002c6
Fix language stat calculation (#11692) 5 years ago
Lauris BH ea4c139cd2
Change language statistics to save size instead of percentage (#11681) 5 years ago
Lauris BH ad2642a8aa
Language statistics bar for repositories (#8037) 5 years ago