Commit Graph

5 Commits (d638067d3cb0a7f69b4d899f65b9be4940bd3e41)

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

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.
Lunny Xiao 673cf6af76
make writing main test easier ()
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>
Lunny Xiao 4f32abaf94
move repository deletion to service layer ()
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Lunny Xiao 540bf9fa6d
Move notification interface to services layer ()
Extract from 
Lunny Xiao f064d716c3
Move feed notification service layer ()
Extract from