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-05 00:45:48 -05:00
2019-10-15 13:19:32 +01:00
2019-10-29 23:32:21 +02:00
2019-10-14 23:40:17 +01:00
2019-11-17 23:39:06 +02:00
2019-11-15 10:52:59 +08:00
2019-10-16 06:55:31 +01:00
2019-11-13 07:01:19 +00:00
2019-11-02 15:37:05 +08:00
2019-11-23 01:33:31 +02:00
2019-10-31 13:06:10 +08:00
2018-03-30 07:21:27 +08:00
2019-10-19 12:48:29 +03:00
2019-02-18 22:55:04 +02:00
2019-02-05 13:38:11 +02:00
2018-01-10 23:34:17 +02:00
2019-04-22 23:40:51 +03:00
2019-11-02 11:33:20 +08:00
2019-10-28 18:31:55 +00:00
2017-11-30 17:52:15 +02:00
2019-11-15 10:53:20 +00:00
2019-08-15 22:46:21 +08:00
2019-11-14 10:57:36 +08:00
2019-11-21 12:08:42 -05:00
2019-11-13 07:01:19 +00:00
2019-10-01 00:10:00 +08:00
2019-11-24 12:57:52 -05:00
2019-04-20 00:15:19 -04:00
2019-10-21 09:21:45 +01:00
2019-11-15 16:06:11 +08:00
2019-09-23 23:08:03 +03:00
2019-09-03 23:46:24 +08:00
2019-10-29 23:32:21 +02:00
2019-11-03 22:13:25 +00:00
2019-11-13 07:01:19 +00:00
2019-11-13 07:01:19 +00:00