Kegan Dougal
|
fe1854feaf
|
Use the service ID in the webhook path instead of the service type
This means we can load the Service from the database then invoke
OnIncomingWebhook on it, rather than load up a new Service.
|
9 years ago |
Kegan Dougal
|
e8be9c4a10
|
More notes
|
9 years ago |
Kegsay
|
e6813169b8
|
Merge pull request #2 from matrix-org/kegan/webhooks
Add a webhook handler and parse incoming Github webhook events
|
9 years ago |
Kegan Dougal
|
41ba67235a
|
Add handler for /services/hooks/{serviceType}
Defers through to the given service's OnReceiveWebhook method.
|
9 years ago |
Kegan Dougal
|
0168f92023
|
Add tests for webhook event parsing to HTML
|
9 years ago |
Kegan Dougal
|
665d43f726
|
Parse github webhook requests into suitable HTML messages
Verifies requests using an optional secret token. This commit doesn't
implement sending of these messages.
|
9 years ago |
Kegan Dougal
|
edf3f87674
|
Move database/types.go to types/types.go in its own 'types' package
There is nothing specific to the types to warrant them being under the database
package.
|
9 years ago |
Kegsay
|
7dda10503b
|
Merge pull request #1 from matrix-org/kegan/github
Add a github service with issue/PR expansion
|
9 years ago |
Kegan Dougal
|
d6b946f200
|
Make regexp top-level as per PR comments
|
9 years ago |
Kegan Dougal
|
9cdd546ba6
|
Remove spurious !github command
|
9 years ago |
Kegan Dougal
|
19fd719e20
|
Merge branch 'master' into kegan/github
|
9 years ago |
Kegan Dougal
|
e1f568e3fb
|
Put notes somewhere useful
|
9 years ago |
Kegan Dougal
|
01e51f36a9
|
Add github issue expansion for things that look like owner/repo#11
|
9 years ago |
Kegan Dougal
|
b808c4155a
|
Merge branch 'master' into kegan/github
|
9 years ago |
Kegan Dougal
|
4896620287
|
Add OAuth2 dep
|
9 years ago |
Kegan Dougal
|
c92fc3c19e
|
Merge branch 'master' into kegan/github
|
9 years ago |
Kegan Dougal
|
81818829c8
|
Add github dep
|
9 years ago |
Kegan Dougal
|
7f0af81330
|
Add very noddy github service. Add owner/repo#11 expander.
|
9 years ago |
Kegan Dougal
|
8af5086985
|
s/Make/New/ as is the convention in the golang stdlib
|
9 years ago |
Mark Haines
|
26f95fdeb8
|
Add the pre-commit hooks and development instructions
|
9 years ago |
Mark Haines
|
65dbf1951a
|
Add build instructions
|
9 years ago |
Mark Haines
|
01e826955e
|
Fix hypenation of go-neb in README
|
9 years ago |
Mark Haines
|
9c83637852
|
An extensible Matrix bot written in Go
|
9 years ago |