379 Commits (630b6d4b22d8e71dbcd8a23f2c19f1957009fd19)

Author SHA1 Message Date
Kegan Dougal 514aab3c61 Create realms with JSON by default 9 years ago
Kegan Dougal f7fd2d679f Use the RealmID in the Service rather than all of them 9 years ago
Kegan Dougal 37094acfb3 Implement JIRA issue expanding 9 years ago
Kegan Dougal 52f3fc853d More inlining 9 years ago
Kegan Dougal f928b4c84e Review comments 9 years ago
Kegan Dougal 8937e031c0 Implement processing of !jira create commands 9 years ago
Kegan Dougal ca798c94ea Inline some err/if checks 9 years ago
Kegan Dougal 7e047e68be Finish implementing auth in JIRA. Access tokens are now stored. 9 years ago
Kegan Dougal 4fdc0c3912 Add JIRA session and requests for OAuth. Redirect not handled yet. 9 years ago
Kegan Dougal c6483215f6 Twiddle order of test table fields 9 years ago
Kegan Dougal 59f7fd12a3 Formalise the response JSON to /configureAuthRealm for JIRA 9 years ago
Kegan Dougal 513c9318fb Allow the creation of [un]authenticated JIRA clients 9 years ago
Kegan Dougal d82036adda Parse messy JIRA URLs into a canonicalised format 9 years ago
Kegan Dougal 5e375283c2 Remove password TODO 9 years ago
Kegan Dougal a0d3180ba8 Parse out the public key 9 years ago
Kegan Dougal 0948f59a1a Add JiraRealm type. Add Register() function to AuthRealms 9 years ago
Kegan Dougal 32ebe92535 Pass in the webhook endpoint URL for each service 9 years ago
Kegan Dougal cc0325f4ff Explain what the ping event does 9 years ago
Kegan Dougal 4b41bfb484 Add TODO for order of operations 9 years ago
Kegan Dougal 28f26e61dd Formatting 9 years ago
Kegan Dougal 33b5abb84b Add Service.PostRegister(oldService) and implement GH webhook creation 9 years ago
Kegan Dougal d8cce6367f Change github service config format to include owner/repo filtering on webhooks 9 years ago
Kegan Dougal b89c3ef776 Length check the ownerRepo array 9 years ago
Kegan Dougal 8beb8fda7f Implement `!github create owner/repo title` 9 years ago
Kegan Dougal 55fda3c115 Grab access tokens from the GithubService and use them 9 years ago
Kegan Dougal 55f857db96 Add Register() function to Services 9 years ago
Kegan Dougal f15afa4780 Use non-panicking type assertion 9 years ago
Kegan Dougal a56d2b1866 s/id/session_id/ 9 years ago
Kegan Dougal ba803ccd00 Store access_tokens in the DB 9 years ago
Kegan Dougal 71be73a721 Add ID field to AuthSessions so redirects can lookup based off this key 9 years ago
Kegan Dougal 9adb89c24d Start parsing out redirect requests for github realms 9 years ago
Kegan Dougal 036cd7e7b4 Add redirect handler for AuthRealms 9 years ago
Kegan Dougal 51bf830632 Tweak the auth session API to be more transactional 9 years ago
Kegan Dougal 11df0fe3c9 Decode the realm JSON before calling methods on it 9 years ago
Kegan Dougal ed78b0cbcf Spelling 9 years ago
Kegan Dougal ca1168147f Add concept of AuthSessions 9 years ago
Kegan Dougal 098101015b Remove concept of AuthModule and ThirdPartyAuth 9 years ago
Kegan Dougal 36eb21be7c Add concept of AuthRealms 9 years ago
Kegan Dougal 8598e71124 Send webhook notifications to rooms specified in the service config 9 years ago
Kegan Dougal e88dc544bd Tweak github webhook to parse but not send webhook notifications 9 years ago
Kegan Dougal fe1854feaf Use the service ID in the webhook path instead of the service type 9 years ago
Kegan Dougal 8fea4bb0ab Add AuthModule concept 9 years ago
Kegan Dougal 514d59e4d5 Remove Service ID from ThirdPartyAuth; query off resource instead. 9 years ago
Kegan Dougal 1d08fcbb18 Add LoadThirdPartyAuthsForUser and StoreThirdPartyAuth 9 years ago
Kegan Dougal cdee3d1a51 Add ThirdPartyAuth struct and third_party_auth table with CRU operations 9 years ago
Kegan Dougal 41ba67235a Add handler for /services/hooks/{serviceType} 9 years ago
Kegan Dougal 0168f92023 Add tests for webhook event parsing to HTML 9 years ago
Kegan Dougal 665d43f726 Parse github webhook requests into suitable HTML messages 9 years ago
Kegan Dougal edf3f87674 Move database/types.go to types/types.go in its own 'types' package 9 years ago
Kegan Dougal d6b946f200 Make regexp top-level as per PR comments 9 years ago