Lunny Xiao
ec0180b49c
Refactor comment ( #9330 )
* Refactor comment
* fix test
* improve code
6 years ago
Lunny Xiao
0f2865ad4f
Move mirror sync actions to notification ( #9022 )
* Move mirror sync actions to notification
* fix lint
6 years ago
Lunny Xiao
1bfb0d065a
Move merge actions to notification ( #9024 )
* Move merge actions to notification
* Add missing mail notification
6 years ago
zeripath
7934fe5925
Add Close() method to gogitRepository ( #8901 )
In investigating #7947 it has become clear that the storage component of go-git repositories needs closing.
This PR adds this Close function and adds the Close functions as necessary.
In TransferOwnership the ctx.Repo.GitRepo is closed if it is open to help prevent the risk of multiple open files.
Fixes #7947
6 years ago
zeripath
a90bf1a795
Fix Notify Create Ref Error on tag creation ( #8936 )
* Fix Notify Create Ref Error on tag creation
* Just use the provided full ref instead of BranchCommit
6 years ago
Lunny Xiao
a043208c42
Move release webhook to notification ( #8817 )
* Move release webhook to notification
* Extract release webhook method
* fix bug
* fix import
6 years ago
Lunny Xiao
af128366eb
Move repofiles webhooks to notification ( #8807 )
6 years ago
Lunny Xiao
999f85c6cf
Move pull webhook to notification ( #8805 )
* Move pull webhook to notification
* fix fmt
6 years ago
Lunny Xiao
bf59956391
Move actions to notification ( #8785 )
6 years ago
Lunny Xiao
9dd4aef62d
Move push commits events to notification ( #8783 )
* Move push commits events to notification
* Update modules/notification/base/null.go
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
6 years ago
Lunny Xiao
9e00d004b1
Move issue milestone assign to issue service and move webhook to notification ( #8780 )
6 years ago
Lunny Xiao
33914aee50
Rename HookQueue to hookQueue ( #8778 )
* Rename HookQueue to hookQueue
* fix lint
6 years ago
Lunny Xiao
36af6b5d6e
Move labels webhooks to notification ( #8749 )
* Move webhooks to notification
* fix notification
6 years ago
Lunny Xiao
a01023f251
Move webhook to a standalone package under modules ( #8747 )
* Move webhook to a standalone package under modules
* fix test
* fix comments
6 years ago
Lunny Xiao
1ca5eb7766
Move webhook codes from service to webhook notification ( #8712 )
* Move webhook codes from service to webhook notification
* move deletecomment webhook to notifications
* fix notification
6 years ago
Lunny Xiao
1a6073731f
Move issue change content from models to service ( #8711 )
* Move issue change content from models to service
* fix lint
6 years ago
Lunny Xiao
6aba0f6dd0
Move issue notifications ( #8713 )
6 years ago
Lunny Xiao
9cb678c6a4
Move issue change status from models to service ( #8691 )
6 years ago
Lunny Xiao
3e50c75c46
Move more issue assignee code from models to issue service ( #8690 )
* Move more issue assignee code from models to issue service
* fix test
6 years ago
Lunny Xiao
295b1d0f3d
Move some repositories' operations to a standalone service package ( #8557 )
* Move some repositories' operations to a standalone service package
* improve code
* remove unused codes
* add rollback when fork failed
* add repo when return
6 years ago
Lunny Xiao
37fa6f997b
Move clearlabels from models to issue service ( #8326 )
* move clearlabels from models to issue service
* improve code
* Apply suggestions from code review
Co-Authored-By: zeripath <art27@cantab.net>
6 years ago