Kegan Dougal
314db5f6c7
Fix #105 : Mention which label was added/removed
8 years ago
Kegsay
bde6fb10df
Merge pull request #122 from matrix-org/kegan/text-logging
Use a text formatter which logs as key=val instead of JSON
8 years ago
Kegsay
16902074cf
Merge pull request #124 from matrix-org/kegan/dots-in-repos
Allow '.' in owner/repo strings
8 years ago
Kegsay
aba9820844
Merge pull request #123 from matrix-org/kegan/case-insensitive-commands
Fix #59 : Make pling commands case-insensitive
8 years ago
Kegan Dougal
085d3ecfd0
Allow '.' in owner/repo strings
8 years ago
Kegan Dougal
4a3431efbb
Fix #59 : Make pling commands case-insensitive
8 years ago
Kegan Dougal
14f49f2fde
Use a text formatter which logs as key=val instead of JSON
We exclusively view logs using `less` and `tail`. These do not read JSON well.
Logging as JSON makes it a PITA to read logs and debug problems. We do not
appear to make use of JSON logging, and have no good terminal-based
structured log viewer either.
As a result, I've now removed JSON logging from this project and replaced it
with the standard `TextFormatter` (colors off). This still logs in a structured
way:
```
time="2016-11-18 16:25:46.787373" level=info msg="Got filter ID" filter=717 syncing=1 user_id="@goneb:localhost"
time="2016-11-18 16:25:46.787525" level=info msg="Starting sync" next_batch="s26928_287972_2_1029_26_1_2" syncing=1 user_id="@goneb:localhost"
```
So we can still analyse logs sanely at a later date should we need to. This
feels like the best compromise here between pragmatism and ideals.
8 years ago
Kegan Dougal
58df215ad6
Only emit travis results on success change
8 years ago
Kegsay
6bfcbfee18
Update README.md
8 years ago
Kegsay
ca24fb1955
Update README.md
8 years ago
Kegsay
182f0bbb6b
Add build badge
8 years ago
Kegan Dougal
07574c1f0d
Actually shorten the commit SHA
8 years ago
Kegan Dougal
2d61f5f186
Fix build
8 years ago
Kegan Dougal
45d167736d
Purposefully break build
8 years ago
Kegan Dougal
e8b2454b56
Kick travis
8 years ago
Kegan Dougal
9376c73838
Test travis config
8 years ago
Kegan Dougal
61c3110cfe
Fix travis-ci duration parsing
The example from the docs was very clearly with spaces after hours and minutes:
```
"committed_at": "2011-11-11T11: 11: 11Z",
```
But in fact those spaces do not exist in the wild. Great.
8 years ago
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