Commit Graph

27 Commits

Author SHA1 Message Date
Martin Treml bad16bfcd0 Give the user the choice to parse SystemHooks 2019-03-11 08:13:22 +01:00
Martin Treml 66059be93b Remove unnecessary comment 2019-03-05 11:38:26 +01:00
Martin Treml 175959ef60 Refactor the whole event switch into own function 2019-02-27 17:58:42 +01:00
Martin Treml 57ccf4fc30 Declare err and payload to avoid scope issues 2018-12-20 17:35:44 +01:00
Martin Treml 1b9fe11c1f Add gitlab system hook parsing
If you use gitlab system hooks you can now send push/tag_push/merge_request events
2018-12-20 17:09:12 +01:00
Xackery Xtal 4708dcb9f1 Added runner to gitlab 2018-10-19 18:28:45 -07:00
Dean Karn 8bd2d158e5 parallelized GitHub tests 2018-08-03 22:52:51 -07:00
Dean Karn 20522db8e3 parallelize giblab tests 2018-08-03 22:04:41 -07:00
Dean Karn 5009b13eac move fixtures to testdata dir 2018-08-03 20:28:38 -07:00
Dean Karn fe5cf5a911 test working 2018-07-31 08:46:17 -07:00
Dean Karn 1d0289a3ae temp checkin 2018-07-26 08:54:32 -07:00
Dean Karn e452811cf1 covert bitbucket, gitlab and gogs to new style 2018-07-25 22:59:10 -07:00
Dean Karn 077706a514 Converted GitHub 2018-07-25 22:05:43 -07:00
Corey Brooks d9e847f7ea Make Logger interface more flexible 2018-06-21 09:28:35 -07:00
lukepatrick 9cafa895ff update MergeRequestEvent payload with Project, Repo objects from the API 2018-02-14 12:45:52 -07:00
Štěpán Pilař 78ce03b046 [GitLab] Parse label changes on issue and MR events 2017-12-17 17:50:34 +01:00
Dean Karn 903279e458 add test for confidential issues gitlab 2017-10-01 19:24:09 -07:00
Dean Karn 5462959f1e Merge pull request #18 from tulir/patch-2
[GitLab] Add support for confidential issues
2017-10-01 19:17:33 -07:00
Tulir Asokan 13e6611c00 Add separate payload type for confidential issues 2017-10-01 23:13:19 +03:00
Tulir Asokan b9424ab72e Add support for confidential GitLab issues 2017-10-01 13:56:19 +03:00
Tulir Asokan 203bf4218b Fix type of SourceProjectID in MergeRequest struct
It should be an int64, but was a string.
https://docs.gitlab.com/ce/user/project/integrations/webhooks.html#comment-on-merge-request

The incorrect type caused the MergeRequest field in comment event payloads to be empty.
2017-09-29 19:54:03 +00:00
Dean Karn a5141d656b Add customizable Logger interface + info,error and debugs (#14)
* Add customizable Logger interface + info,error and debugs
* update travis.yml to atest golang versions
2017-07-15 12:12:11 -07:00
Dean Karn 0d7e42cf96 correct some spelling 2017-04-21 22:13:16 -04:00
Dean Karn 2d256610b0 Update BitBucket + GitLab Payloads 2017-04-21 22:03:45 -04:00
Dean Karn 5ed22cdd66 Initial GitHub Webhook revamp 2017-04-21 19:45:07 -04:00
Dean Karn 2e471dc89c Update MergerRequestEvents to MergeRequestEvents 2017-04-21 16:11:04 -04:00
Dean Karn fe7552fcf4 Add GitLab support 2017-04-08 11:40:22 -04:00