Commit Graph

28 Commits

Author SHA1 Message Date
Rory& 8bb0b84b5e Shorten imports 2026-03-14 05:43:42 +01:00
Rory& 491c0de845 lintstagedrc: regenerate schemas/openapi if schemas changed 2025-12-17 11:01:27 +01:00
Rory& 41b700e12a Prettier connections 2025-12-17 06:58:04 +01:00
Rory& e52c237326 Reorganise schemas a little bit 2025-10-15 08:04:23 +02:00
TomatoCake cd7641c2ae Fix loading connection settings 2024-07-06 06:47:14 +02:00
Puyodead1 fe4acbfee5 Fix linter warnings in connections 2023-08-06 23:15:35 -04:00
Puyodead1 5c8359ec45 Fix connection class imports 2023-08-06 22:56:13 -04:00
Madeline 844f1de6aa License information 2023-04-02 11:32:40 +10:00
Madeline 218f71b82c Merge branch 'master' into refactor/dev/connections 2023-04-02 10:55:17 +10:00
Puyodead1 5a7765c7dc prettier 2023-03-18 19:50:38 -04:00
Madeline c7277efbad Move redirect uri generation to getRedirectUri function of Connection class.
Use api_endpointPublic instead of cdn_endpointPublic
2023-03-18 19:33:32 -04:00
Puyodead1 eab530a63d Add Youtube connection 2023-03-18 19:28:47 -04:00
Puyodead1 d8ecc4269f replace node-fetch with wretch 2023-03-18 19:28:46 -04:00
Puyodead1 06140fc768 add Xbox connection 2023-03-18 19:28:46 -04:00
Puyodead1 0baa37e41f add Twitter connection 2023-03-18 19:28:46 -04:00
Puyodead1 6d6944cfee Add Twitch, error handling, revokation changes, etc 2023-03-18 19:28:45 -04:00
Puyodead1 0db1fa5f0b Refreshable connections, refactoring, access-token endpoint
- Aded /users/@me/connections/:connection_name/:connection_id/access-token
- Replaced `access_token` property on ConnectedAccount with `token_data` object for refreshing tokens
- Made a common interface for connection things like ComonOAuthTokenResponse
- Added `RefreshableConnection` class
- Added token refresh to Spotify connection (disabled)
2023-03-18 19:27:39 -04:00
Madeline 42b2237d0f Switch from Github real name to username for GH connection 2023-03-18 19:26:16 -04:00
Madeline 3f9887d855 Add discriminator usernames for Discord connection 2023-03-18 19:26:15 -04:00
Puyodead1 747ff5d322 fix discord connection 2023-03-18 19:26:15 -04:00
Puyodead1 3c7cde5985 Add spotify connection 2023-03-18 19:26:15 -04:00
Puyodead1 ab4a28ee31 Add reddit connection 2023-03-18 19:26:14 -04:00
Puyodead1 901d126d6b Add facebook connection 2023-03-18 19:26:14 -04:00
Puyodead1 d12751006e add epic games connection 2023-03-18 19:26:14 -04:00
Madeline d76198d200 WIP Discord connection 2023-03-18 19:26:14 -04:00
Madeline a4961800d7 handleCallback returns connection if created for USER_CONNECTIONS_UPDATE 2023-03-18 19:23:20 -04:00
Puyodead1 6a52e65e27 adding connection now works 2023-03-18 19:15:40 -04:00
Puyodead1 21bfda32e4 add connections 2023-03-18 19:09:51 -04:00