5 Commits (21910a1718dafb6cbf21c93d744e16dcc6f9d224)

Author SHA1 Message Date
JakobDev cf0df023be
More `db.DefaultContext` refactor (#27265)
Part of #27065

This PR touches functions used in templates. As templates are not static
typed, errors are harder to find, but I hope I catch it all. I think
some tests from other persons do not hurt.
9 months ago
Lunny Xiao 673cf6af76
make writing main test easier (#27270)
This PR removed `unittest.MainTest` the second parameter
`TestOptions.GiteaRoot`. Now it detects the root directory by current
working directory.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
9 months ago
Lunny Xiao 4f32abaf94
move repository deletion to service layer (#26948)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
10 months ago
Lunny Xiao 540bf9fa6d
Move notification interface to services layer (#26915)
Extract from #22266
10 months ago
Lunny Xiao f064d716c3
Move feed notification service layer (#26908)
Extract from #22266
10 months ago