Kegsay
c38cf48b26
Merge pull request #35 from matrix-org/kegan/base64-paths
Base64 redirect and webhook paths
8 years ago
Kegan Dougal
24a2ffc6bb
Also apply base64 encoding to realm redirect paths and use URL-safe base64
8 years ago
Kegan Dougal
8e6955efd5
Base64 encode the service ID in the webhook path
We don't put any restrictions on the format of the Service ID so we need to
base64 it to prevent potentially losing data when it is inserted as a path
parameter (e.g. due to weird escaping rules).
Also, only remove webhooks if there was an old service to begin with.
8 years ago
Kegsay
8ddd4e83d0
Merge pull request #33 from matrix-org/kegan/jira-redirect
Add redirect URL for JIRA auth
8 years ago
Kegsay
d3ef0276fc
Merge pull request #32 from matrix-org/kegan/expand-with-groups
Change Expansion.Expand to include matching groups rather than just the match
8 years ago
Kegan Dougal
233e85eeee
Add redirect URL for JIRA auth
8 years ago
Kegsay
62e6ca7ce6
Merge pull request #31 from matrix-org/kegan/redirect
Add RedirectURL param when requesting GH auth sessions
8 years ago
Kegan Dougal
928a243ad2
Change Expansion.Expand to include matching groups rather than just the match
8 years ago
Kegan Dougal
17d799320e
Add RedirectURL param when requesting GH auth sessions
8 years ago
Kegsay
cc96cdc710
Merge pull request #30 from matrix-org/kegan/logging
Add LOG_DIR env var
8 years ago
Kegan Dougal
bfc5c8dd7f
Add LOG_DIR env var
8 years ago
Kegan Dougal
99ce940fe0
Add dugong for file logging
8 years ago
Kegsay
0ae43fab82
Merge pull request #29 from matrix-org/kegan/github-possible-repos
List possible GH repos on /getSession
8 years ago
Kegan Dougal
0e9411e559
s/Session/Info/ given it isn't an AuthSession object
8 years ago
Kegan Dougal
34eca3984f
List possible GH repos on /getSession
Add an Info() method to pull out info about an auth session.
8 years ago
Kegsay
d484a0a1d0
Update README.md
8 years ago
Kegsay
90b1c0f139
Update README.md
8 years ago
Kegsay
893114a584
Update README.md
8 years ago
Kegsay
9938b9bba7
Update README.md
8 years ago
Kegsay
326072519c
Merge pull request #28 from matrix-org/kegan/jira-starter-links
Implement JIRA Starter Links
8 years ago
Kegan Dougal
aab346e0fa
Tweak in-line JSON comment format
8 years ago
Kegan Dougal
a7f0be68c9
Explain what starter links are
8 years ago
Kegan Dougal
8500ee7d54
Merge branch 'master' into kegan/jira-starter-links
8 years ago
Kegsay
69b9175348
Merge pull request #27 from matrix-org/kegan/github-starter-links
Add StarterLink as a field to the Github Service config
8 years ago
Kegsay
a2290fc2ce
Merge pull request #26 from matrix-org/kegan/get-session
Add endpoint for GETing AuthSession information for a user/realm tuple
8 years ago
Kegan Dougal
2a93bbee82
Comments
8 years ago
Kegan Dougal
44abae4977
Make StarterLink a property of the AuthRealm
8 years ago
Kegan Dougal
6f4d74103e
Merge branch 'master' into kegan/get-session
8 years ago
Kegsay
721ac72896
Merge pull request #25 from matrix-org/kegan/get-service
Add endpoint to GET a Service config
8 years ago
Kegan Dougal
4ea8e6d49d
Add JIRA starter links
8 years ago
Kegan Dougal
c651293452
Merge branch 'kegan/github-starter-links' into kegan/jira-starter-links
8 years ago
Kegan Dougal
2a3b56a1dc
Return a specific not found error message when the user hasn't authed with JIRA
8 years ago
Kegan Dougal
ed53b8d3e1
Merge branch 'kegan/get-service' into kegan/get-session
8 years ago
Kegan Dougal
cb0fcbf2ad
s/GET/POST/
8 years ago
Kegan Dougal
4c340dd016
s/GET/POST/
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
Kegan Dougal
b3ff1cd54a
Add endpoint for GETing AuthSession information for a user/realm tuple
Add a new `AuthSession` function `Authenticated()` which returns `true` if the
user has completed the auth process. This allows the caller to distinguish
between:
- Never done any auth (404s)
- In the process of doing auth (`Authenticated == false`)
- Finished doing auth (`Authenticated == true`)
8 years ago
Kegan Dougal
d3ecdc0662
Add endpoint to GET a Service config
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