itdoxy-lab/services
John Olheiser e84326aaec Add git hooks and webhooks to template repositories; move to services (#8926)
* Add git hooks and webhooks to template options

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Update models/repo.go

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Add tooltip if the user can't edit git hooks

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Close repositories after copying git hooks

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Wording

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Restructure for services

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Return errors

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Move GenerateRepository to using a DBContext

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Wrap with models.WithTx

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Remove debug print

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Move if-error-delete-repo outside WithTx

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Return nil if no repo generated

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2019-11-24 12:57:52 -05:00
..
comments Refactor pull request review (#8954) 2019-11-14 10:57:36 +08:00
externalaccount Allow externalID to be UUID (#8551) 2019-10-17 10:06:28 +08:00
gitdiff Expand/Collapse Files and Blob Excerpt while Reviewing/Comparing code (#8924) 2019-11-15 10:52:59 +08:00
issue Move actions to notification (#8785) 2019-11-03 20:59:09 +00:00
mailer Rewrite delivery of issue and comment mails (#9009) 2019-11-18 08:08:20 +00:00
mirror Move mirror sync actions to notification (#9022) 2019-11-24 00:16:59 -05:00
pull Fix show single review comments in the PR page (#9143) 2019-11-24 00:46:16 -05:00
release Send tag create and push webhook when release created on UI (#8671) 2019-11-22 17:13:57 -05:00
repository Add git hooks and webhooks to template repositories; move to services (#8926) 2019-11-24 12:57:52 -05:00