Kegan Dougal
db5683d6f5
HACK: Have private/public fields for the webhook URL
We can't just use a public field because the caller may clobber it. If they
do clobber it, we've then lost the ability to set it back to what it was because
we don't store another copy anywhere. This patch fixes it by keeping a private
ref and always clobbering on Register().
This is horrible. We need to separate internal-storage and external-fields
better.
8 years ago
Kegan Dougal
6ee73d5c49
lower_case_and_underscores webhook_url
8 years ago
Kegan Dougal
9b55ba9963
Travis: Join rooms on Register()
8 years ago
Kegsay
14cc43a6b5
Merge pull request #121 from matrix-org/kegan/travis
Implement Travis-CI Service
8 years ago
Kegan Dougal
1d23f6bd94
Actually use the default and enable travisci service
8 years ago
Kegan Dougal
be52bdedf1
Clarify docs
8 years ago
Kegan Dougal
7f8c36ba89
Add a few more tests
8 years ago
Kegan Dougal
3a8b4a6aca
Add working test and implement template parsing
8 years ago
Kegan Dougal
4825c5c4ef
Begin to add Travis-CI Service tests
Currently this verifies the signature logic, but not the templating
logic which isn't implemented yet.
8 years ago
Kegan Dougal
5bf126473e
Verify incoming Travis-CI webhook requests
8 years ago
Kegan Dougal
6d297f63ad
Process Travis webhook events
8 years ago
Kegan Dougal
2b3cbba2e6
Begin to flesh out the Travis-CI service
8 years ago
Kegan Dougal
ff8b4c41d0
Add stub travis-ci service
8 years ago
Kegsay
cb1a039b2b
Merge pull request #119 from matrix-org/kegan/guggy-tests
Add Guggy tests
8 years ago
Kegan Dougal
0b26e6330a
Add Guggy tests
8 years ago
Kegan Dougal
b93077c935
Ignore robots.txt
8 years ago
Kegsay
70ac2f1e8c
Update README.md
8 years ago
Kegsay
38350ede7f
Merge pull request #118 from matrix-org/kegan/realm-docs
Add realm documentation
8 years ago
Kegan Dougal
a1fa5c3cac
Add realm documentation
- Add godoc for realms
- Remove realm info from README
8 years ago
Kegan Dougal
6d65f77062
Use the right service type
8 years ago
Kegsay
d8265d35ac
Merge pull request #115 from matrix-org/kegan/fail-if-bad-user
400 if a service which needs a syncing client is configured without one
8 years ago
Kegan Dougal
be3b4bc22c
Mention 'syncing client'
8 years ago
Kegan Dougal
7580d93042
400 if a service which needs a syncing client is configured without one
This catches a common configuration error and fails early.
8 years ago
Kegsay
40d482f7bb
Merge pull request #114 from matrix-org/kegan/remove-docs-from-readme
Remove docs from the README and link to the godoc instead
8 years ago
Kegan Dougal
a06ac2d3be
Make it clear that these are example requests
8 years ago
Kegan Dougal
209af79efe
Add example configs for each service
8 years ago
Kegan Dougal
f0cd6be741
Remove docs from the README and link to the godoc instead
8 years ago
Kegsay
7095e234e0
Merge pull request #113 from matrix-org/kegan/service-docs
Add docs for all the remaining services and convert them to use NewDefaultService
8 years ago
Kegan Dougal
3fec1c6fa5
Add docs for all the remaining services and convert them to use NewDefaultService
My hands hurt.
8 years ago
Kegsay
5f79c046d1
Merge pull request #112 from matrix-org/kegan/shut-up-golint
Add default implementations for ServiceType(), ServiceID() and ServiceUserID()
8 years ago
Kegan Dougal
41f73214ef
Add default implementations for ServiceType(), ServiceID() and ServiceUserID()
In addition to making there be less boilerplate, this also has the nice
side-effect of shutting up golint warnings \o/
8 years ago
Kegsay
ebfe706d16
Merge pull request #111 from matrix-org/kegan/remove-plugin
Remove Plugin. Replace with Commands() and Expansions()
8 years ago
Kegan Dougal
33e15cd992
Merge branch 'master' into kegan/remove-plugin
8 years ago
Kegsay
b1332eb6c2
Merge pull request #110 from matrix-org/kegan/docs-services
Doc up Giphy service
8 years ago
Kegan Dougal
3e21e02171
Remove Plugin. Replace with Commands() and Expansions()
Also split out `types.go` into separate files by the area they cover
(services, auth, actions).
8 years ago
Kegan Dougal
6e396a95ef
Doc up Giphy service
8 years ago
Kegsay
5153857926
Merge pull request #109 from matrix-org/kegan/readme-to-docs
Delete API info from README and point to gh-page. Add gendoc script
8 years ago
Kegan Dougal
a8336cdeab
Review comments
8 years ago
Kegan Dougal
5179caceda
Add links to gh-pages in config.sample.yaml
8 years ago
Kegan Dougal
89f3776cbd
Less lying
8 years ago
Kegan Dougal
4dc1adf5e2
Allow gendoc.sh to be called multiple times
8 years ago
Kegan Dougal
579cf29231
Add a gendoc script
Dumps output to .godoc
8 years ago
Kegan Dougal
3bce58ef07
Remove some docs from README. Point to gh-pages for the docs
8 years ago
Kegsay
32553179b0
Merge pull request #108 from matrix-org/kegan/all-the-docs
Add HTTP API docs
8 years ago
Kegan Dougal
26f115d6f9
Appease golint
8 years ago
Kegan Dougal
c66fdd1bdb
Review comments
8 years ago
Kegan Dougal
81e1859cb4
Revert "Remove API docs from README which is duplicated"
This reverts commit f91f653704
.
8 years ago
Kegan Dougal
2e9eb9caa8
Revert "Make links work"
This reverts commit a4c58ae0ee
.
8 years ago
Kegsay
a4c58ae0ee
Make links work
8 years ago
Kegan Dougal
f91f653704
Remove API docs from README which is duplicated
8 years ago