Kegan Dougal
2a93bbee82
Comments
8 years ago
Kegan Dougal
44abae4977
Make StarterLink a property of the AuthRealm
8 years ago
Kegan Dougal
5bccd52190
Add StarterLink as a field to the Github Service config
Use it verbatim in the responses to !commands when the caller has not authed
with Github.
8 years ago
Kegan Dougal
0dd4d357ce
Bring out expand/cmd into stand-alone functions
8 years ago
Kegsay
23df851d49
Merge pull request #24 from matrix-org/kegan/jira-webhook-2
Handle incoming JIRA webhook events
8 years ago
Kegan Dougal
df6c8e1027
Return 200 on success
8 years ago
Kegan Dougal
1723763377
Comments
8 years ago
Kegan Dougal
5d08ba7368
Handle incoming JIRA webhook requests
8 years ago
Kegan Dougal
e4b0121b31
Add JIRARealm.HasWebhook and set it on webhook creation
8 years ago
Kegsay
ad1ae3eb71
Merge pull request #23 from matrix-org/kegan/jira-webhooks
Implement JIRA webhook creation
8 years ago
Kegan Dougal
69f65321d6
Move out project key to realm ID mapping
8 years ago
Kegan Dougal
684d54d6b4
Implement JIRA webhook creation
Also start including unauthorised webhook creation semantics, though not
finished yet. Change the config format of `JIRAService` to make more sense
and allow multiple realms per room.
8 years ago
Kegsay
7bd703550a
Merge pull request #22 from matrix-org/kegan/jira-expansion
Expand JIRA issues as they are mentioned
8 years ago
Kegan Dougal
5e37053e63
Kill dangling brackets
8 years ago
Kegan Dougal
97076d2a6b
Merge branch 'master' into kegan/jira-expansion
8 years ago
Kegsay
cd5e50afa7
Merge pull request #21 from matrix-org/kegan/create-with-json
Always create realms/services consistently
8 years ago
Kegan Dougal
793189fa7f
Merge branch 'kegan/create-with-json' into kegan/jira-expansion
8 years ago
Kegan Dougal
1887fc303c
Add an Init() function to AuthRealms
8 years ago
Kegan Dougal
5026b90b52
Create services with JSON by default
8 years ago
Kegan Dougal
514aab3c61
Create realms with JSON by default
8 years ago
Kegan Dougal
f7fd2d679f
Use the RealmID in the Service rather than all of them
8 years ago
Kegan Dougal
37094acfb3
Implement JIRA issue expanding
8 years ago
Kegsay
79990c833d
Merge pull request #20 from matrix-org/kegan/jira-commands
Implement processing of !jira create commands
8 years ago
Kegan Dougal
52f3fc853d
More inlining
8 years ago
Kegan Dougal
f928b4c84e
Review comments
8 years ago
Kegan Dougal
8937e031c0
Implement processing of !jira create commands
This involves looking up JIRA realms and then auth sessions for the user.
Does not handle starter links yet.
8 years ago
Kegsay
161c5ff5ce
Delete design-notes.md
8 years ago
Kegsay
a15312e7a0
Merge pull request #17 from matrix-org/kegan/jira-auth-sessions
Implement JIRA OAuth1 flow
8 years ago
Kegan Dougal
ca798c94ea
Inline some err/if checks
8 years ago
Kegan Dougal
7e047e68be
Finish implementing auth in JIRA. Access tokens are now stored.
Added redirectURL to the factory function for AuthRealms.
8 years ago
Kegan Dougal
4fdc0c3912
Add JIRA session and requests for OAuth. Redirect not handled yet.
8 years ago
Kegsay
a64427efdb
Merge pull request #16 from matrix-org/kegan/jira-auth
Allow JIRA auth realms to be configured
8 years ago
Kegan Dougal
c6483215f6
Twiddle order of test table fields
8 years ago
Kegan Dougal
9fe0512d9f
s/nil/null/
8 years ago
Kegan Dougal
4507b696a7
More things to insert
8 years ago
Kegan Dougal
59f7fd12a3
Formalise the response JSON to /configureAuthRealm for JIRA
8 years ago
Kegan Dougal
513c9318fb
Allow the creation of [un]authenticated JIRA clients
8 years ago
Kegan Dougal
ab58c2b2a4
Merge branch 'master' into kegan/jira-auth
8 years ago
Kegan Dougal
2d27fa43c1
Add oauth1 dependency
8 years ago
Kegan Dougal
f9f1e28407
Merge branch 'master' into kegan/jira-auth
8 years ago
Kegan Dougal
4bd5ca3003
Add go-jira dependency
8 years ago
Kegan Dougal
d82036adda
Parse messy JIRA URLs into a canonicalised format
8 years ago
Kegsay
477c054588
Merge pull request #15 from matrix-org/kegan/jira-realm
Add a JIRA Realm
8 years ago
Kegan Dougal
5e375283c2
Remove password TODO
8 years ago
Kegan Dougal
a0d3180ba8
Parse out the public key
8 years ago
Kegan Dougal
0948f59a1a
Add JiraRealm type. Add Register() function to AuthRealms
Verify that PrivateKeyPEM is indeed a PEM formatted block in Register()
8 years ago
Kegsay
dea6c1d293
Update README.md
8 years ago
Kegsay
f953539228
Merge pull request #14 from matrix-org/kegan/webhook-endpoint-fn
Pass in the webhook endpoint URL for each service
8 years ago
Kegan Dougal
32ebe92535
Pass in the webhook endpoint URL for each service
Get the base URL from an env var 'BASE_URL' and pass it through to CreateService.
8 years ago
Kegsay
8e1ce1830c
Add GH service curl
8 years ago