Commit Graph

6 Commits (bfacb5c5017a41ec5bad48d4c639287634f7bfb0)

Author SHA1 Message Date
Lunny Xiao 9852c92e9a
Remove unnecessary parameter ()
JakobDev cc5df26680
Even more `db.DefaultContext` refactor ()
Part of 

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
JakobDev c548dde205
More refactoring of `db.DefaultContext` ()
Next step of 
JakobDev 76659b1114
Reduce usage of `db.DefaultContext` ()
Part of 

This reduces the usage of `db.DefaultContext`. I think I've got enough
files for the first PR. When this is merged, I will continue working on
this.

Considering how many files this PR affect, I hope it won't take to long
to merge, so I don't end up in the merge conflict hell.

---------

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 b9df9fa2e2
Move createrepository from module to service layer ()
Repository creation depends on many models, so moving it to service
layer is better.