Will Hunt
067edea451
Support diffs
2021-12-08 11:13:45 +00:00
Will Hunt
21c2baac41
Various tweaks
2021-12-08 10:49:21 +00:00
Will Hunt
d2fe2c6c2d
Merge pull request #91 from turt2live/travis/test
...
Use installations as reference for GitHub provisioning API
2021-12-07 15:15:03 +00:00
Travis Ralston
19bc21d243
Use installations as reference for GitHub provisioning API
...
This does a number of things:
* Change the error codes on some responses so integration managers can pick up on it and show "Auth your org" sort of UI.
* Only reveal organizations and repos that are accessible via the installations, saving the integration manager from exception-based control flow.
* Treat the user's own name as an organization for alignment with traditional GitHub APIs. Typically speaking, "turt2live" is no different from "t2bot" for the purposes of UI and various older GitHub APIs.
* Whitespace fixes automatically applied by my editor (sorry)
2021-12-06 17:47:20 -07:00
Will Hunt
f341f6aca2
Refactor GitHub oauth to show user repositories properly
2021-12-06 18:42:53 +00:00
Will Hunt
00633826b8
Use slug
2021-12-06 15:10:53 +00:00
Will Hunt
acdb94dc1d
Finish up ability to support multiple connections
2021-12-03 17:37:34 +00:00
Will Hunt
a3c7a29267
Support updating some configs
2021-12-03 17:27:22 +00:00
Will Hunt
431a96f693
Support removing connections
2021-12-03 16:53:00 +00:00
Will Hunt
4357d2c755
Tweak webhook mapping system
2021-12-03 16:13:41 +00:00
Will Hunt
a84d7b814f
Allow multiple webhooks in a room
2021-12-03 15:57:37 +00:00
Will Hunt
6387a15c67
Update default config
2021-12-03 12:34:24 +00:00
Will Hunt
00c89c8f2c
Support PUT creating connections syncronously
2021-12-03 12:34:03 +00:00
Will Hunt
b76274dcde
Merge branch 'main' into hs/provisioning
2021-12-03 10:59:54 +00:00
Will Hunt
11675814d9
GitHub Repo tweaks
2021-12-03 10:56:19 +00:00
Will Hunt
1b3393b7a4
Support named webhooks
2021-12-03 10:56:00 +00:00
Will Hunt
d858ef7c22
Fix provisioning array defs
2021-12-03 10:19:27 +00:00
Will Hunt
68ea138d63
Fix tests
2021-12-02 13:37:46 +00:00
Will Hunt
da20ebc855
Fix lint
2021-12-02 13:36:52 +00:00
Will Hunt
0a0f51ea75
Update config
2021-12-02 13:35:30 +00:00
Will Hunt
085ec21040
This needs a hash
2021-12-02 12:45:47 +00:00
Will Hunt
23e00319ff
Improve deduplication script
2021-12-02 12:37:19 +00:00
Will Hunt
b6e37947bd
Refactor code to use BaseConnection and make the connectionIds simpler
2021-12-02 12:34:43 +00:00
Will Hunt
76d08e0d21
Fixup IDs
2021-12-02 12:03:30 +00:00
Will Hunt
b85847a07b
Add JSON parsing
2021-12-02 11:11:01 +00:00
Will Hunt
3f67960d7f
Fix versions on API
2021-12-02 11:09:51 +00:00
Will Hunt
c82ae71396
Fix regex matcher
2021-12-02 11:00:10 +00:00
Will Hunt
d81437fd84
Filter out tags matching a regex
2021-12-02 10:40:10 +00:00
Will Hunt
5abbcfde0c
Add note on how to build docs
2021-12-01 18:01:19 +00:00
Will Hunt
49ef4cf970
Fetch the app name on startup
2021-12-01 17:33:20 +00:00
Will Hunt
4604268df1
Update sample config
2021-12-01 17:25:20 +00:00
Will Hunt
256cf989d1
Small tweaks
2021-12-01 17:23:03 +00:00
Will Hunt
0d0375ac6b
Add support for GitHub provisioning
2021-12-01 17:22:48 +00:00
Will Hunt
59df82717e
Add support for generic hook provisioning
2021-12-01 17:22:05 +00:00
Will Hunt
4eb48afa21
Add APIs for checking the state of GitHub
2021-12-01 13:55:26 +00:00
Will Hunt
fb6fdd548d
Add a little bit of validation to the provisionConnection command
2021-12-01 12:11:32 +00:00
Will Hunt
1ded0ad5e8
Fix api doc mistake
2021-12-01 12:05:30 +00:00
Will Hunt
32ac7652ca
Add new endpoint documentation
2021-12-01 12:01:42 +00:00
Will Hunt
8919703edc
Add endpoints to check account, and fetch projects
2021-12-01 11:57:34 +00:00
Will Hunt
dd84f525fc
Fix state bug
2021-12-01 11:01:37 +00:00
Will Hunt
d649d872bc
Merge remote-tracking branch 'origin/main' into hs/provisioning
2021-12-01 10:58:46 +00:00
Will Hunt
b1c68d759f
Merge pull request #88 from Half-Shot/hs/meta-create-command
...
Add `!setup` command to create new connections in rooms via bot commands
2021-12-01 10:55:00 +00:00
Will Hunt
f599618563
Update sample config
2021-12-01 10:54:47 +00:00
Will Hunt
c75977a91f
Fixup some undefineds
2021-12-01 10:51:49 +00:00
Will Hunt
0d2773a4e4
Change command from !setup to !hookshot to help with namespace clashes
2021-12-01 10:45:02 +00:00
Will Hunt
91ed232eba
Add config option for showIssueRoomLink
2021-12-01 10:41:24 +00:00
Will Hunt
998ae730f8
Add no-console rule, linting
2021-12-01 10:33:36 +00:00
Will Hunt
d2b1ff64da
Merge pull request #87 from Half-Shot/hs/ensure-webhooks-store-hookId-internally
...
Ensure webhook hookIds are stored internally
2021-11-30 19:36:01 +00:00
Will Hunt
945514bcbc
Sneaky jira tweaks
2021-11-30 19:34:46 +00:00
Will Hunt
8ab5505a0f
Add support for showing an issue room link when enabled
2021-11-30 19:34:33 +00:00