8 Commits (cb72c901b3250fa47c4b403182a3762685d57a02)

Author SHA1 Message Date
Lunny Xiao 65cd3f5309
Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 5 months ago
silverwind 95a935aca0
Enable gocritic `equalFold` and fix issues (#34952) 6 months ago
JakobDev ebe803e514
Penultimate round of `db.DefaultContext` refactor (#27414) 2 years ago
hr-98 cf27403e18
Round language stats percentage using largest remainder (#22026) 3 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 3 years ago
Lunny Xiao 34283a74e8
Allow detect whether it's in a database transaction for a context.Context (#21756) 3 years ago
Lunny Xiao fd7d83ace6
Move almost all functions' parameter db.Engine to context.Context (#19748) 4 years ago
Lunny Xiao 719bddcd76
Move repository model into models/repo (#17933) 4 years ago
Lunny Xiao d710af6669
Remove NewSession method from db.Engine interface (#17577) 4 years ago
zeripath 9302eba971
DBContext is just a Context (#17100) 4 years ago
Lunny Xiao a4bfef265d
Move db related basic functions to models/db (#17075) 4 years ago
Bo-Yi Wu 167b0f46ef
chore(models): rewrite code format. (#14754) 5 years ago
zeripath 502e38c33c
Increase size of the language column in language_stat (#12396) 5 years ago
Cirno the Strongest 9d652002c6
Fix language stat calculation (#11692) 6 years ago
Lauris BH ea4c139cd2
Change language statistics to save size instead of percentage (#11681) 6 years ago
Lauris BH 4dc62dadce
Migrate to go-enry new version (#10906) 6 years ago
L0veSunshine 08208cdfb8
Fix forked repo has no icon and language stat. (#10791) 6 years ago
Lauris BH a1d796f521
Index code and stats only for non-empty repositories (#10251) 6 years ago
Lauris BH ad2642a8aa
Language statistics bar for repositories (#8037) 6 years ago