Kegan Dougal
8fea4bb0ab
Add AuthModule concept
- Register them like we are with Services.
- Add `/configureAuth` endpoint to create/update auth.
- Move ThirdPartyAuth out of the database layer since they are passed as
params to `/admin/configureAuth`
8 years ago
Kegan Dougal
514d59e4d5
Remove Service ID from ThirdPartyAuth; query off resource instead.
This de-couples ThirdPartyAuth from Services so we can do auth without having
to instantiate Services.
8 years ago
Kegan Dougal
272617170d
Merge branch 'master' into kegan/auth
8 years ago
Kegan Dougal
e8be9c4a10
More notes
8 years ago
Kegan Dougal
1d08fcbb18
Add LoadThirdPartyAuthsForUser and StoreThirdPartyAuth
8 years ago
Kegan Dougal
cdee3d1a51
Add ThirdPartyAuth struct and third_party_auth table with CRU operations
8 years ago
Kegsay
e6813169b8
Merge pull request #2 from matrix-org/kegan/webhooks
Add a webhook handler and parse incoming Github webhook events
8 years ago
Kegan Dougal
41ba67235a
Add handler for /services/hooks/{serviceType}
Defers through to the given service's OnReceiveWebhook method.
8 years ago
Kegan Dougal
0168f92023
Add tests for webhook event parsing to HTML
8 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.
8 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.
8 years ago
Kegsay
7dda10503b
Merge pull request #1 from matrix-org/kegan/github
Add a github service with issue/PR expansion
8 years ago
Kegan Dougal
d6b946f200
Make regexp top-level as per PR comments
8 years ago
Kegan Dougal
9cdd546ba6
Remove spurious !github command
8 years ago
Kegan Dougal
19fd719e20
Merge branch 'master' into kegan/github
8 years ago
Kegan Dougal
e1f568e3fb
Put notes somewhere useful
8 years ago
Kegan Dougal
01e51f36a9
Add github issue expansion for things that look like owner/repo#11
8 years ago
Kegan Dougal
b808c4155a
Merge branch 'master' into kegan/github
8 years ago
Kegan Dougal
4896620287
Add OAuth2 dep
8 years ago
Kegan Dougal
c92fc3c19e
Merge branch 'master' into kegan/github
8 years ago
Kegan Dougal
81818829c8
Add github dep
8 years ago
Kegan Dougal
7f0af81330
Add very noddy github service. Add owner/repo#11 expander.
8 years ago
Kegan Dougal
8af5086985
s/Make/New/ as is the convention in the golang stdlib
8 years ago
Mark Haines
26f95fdeb8
Add the pre-commit hooks and development instructions
8 years ago
Mark Haines
65dbf1951a
Add build instructions
8 years ago
Mark Haines
01e826955e
Fix hypenation of go-neb in README
8 years ago
Mark Haines
9c83637852
An extensible Matrix bot written in Go
8 years ago