0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-20 04:44:37 +01:00
Commit graph

5 commits

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.
2023-09-29 12:12:54 +00:00
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>
2023-09-28 01:38:53 +00:00
Lunny Xiao
4f32abaf94
move repository deletion to service layer ()
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-09-08 04:51:15 +00:00
Lunny Xiao
540bf9fa6d
Move notification interface to services layer ()
Extract from 
2023-09-05 18:37:47 +00:00
Lunny Xiao
f064d716c3
Move feed notification service layer ()
Extract from 
2023-09-05 13:00:52 +00:00