Commit Graph

5 Commits (5d57c287fb5ce2f5da82d75ed7837758701d5b1e)

Author SHA1 Message Date
Lunny Xiao 276500c314
Move AddCollabrator and CreateRepositoryByExample to service layer ()
- [x] Move `CreateRepositoryByExample` to service layer
- [x] Move `AddCollabrator` to service layer
- [x] Add a new parameter for `AddCollabrator` so that changing mode
immediately after that will become unnecessary.
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