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
..
2019-11-16 12:03:07 +00:00
2019-11-19 20:33:42 +02:00
2019-10-16 22:28:41 +03:00
2019-11-19 20:33:42 +02:00
2019-09-18 08:39:45 +03:00
2019-10-05 14:09:27 +03:00
2019-11-13 00:45:19 +00:00
2019-11-17 14:42:44 -05:00
2019-11-05 00:45:48 -05:00
2019-08-27 22:23:18 -04:00
2018-03-19 22:29:16 +08:00
2019-10-16 14:42:42 +01:00
2019-06-14 09:32:13 +08:00
2019-11-04 18:20:12 +08:00
2019-11-01 22:02:41 +00:00
2017-12-30 18:47:52 -06:00
2019-11-24 12:57:52 -05:00
2019-01-23 13:58:38 -05:00
2016-08-05 12:12:54 -07:00
2019-10-14 22:38:35 +01:00
2019-11-11 23:15:29 +08:00
2019-11-11 23:15:29 +08:00
2019-05-07 09:12:51 +08:00
2019-10-22 20:11:01 +08:00
2018-03-23 22:10:42 +08:00
2019-11-13 00:45:19 +00:00
2019-04-20 00:15:19 -04:00
2019-10-29 23:32:21 +02:00
2019-11-02 00:26:21 +00:00
2015-12-21 04:24:11 -08:00