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