Commit Graph

288 Commits

Author SHA1 Message Date
Puyodead1 a8a28542f7 fix some types not being generated correctly 2023-04-13 20:13:58 -04:00
Puyodead1 866eb15d90 clusterfuck 2023-04-13 15:44:39 -04:00
Puyodead1 e68819d97a oapi: add missing 2fa types to login 2023-04-13 15:41:49 -04:00
Puyodead1 0d666732c6 oapi: bug fixes 2023-04-13 15:41:23 -04:00
Puyodead1 3a23842924 oapi: root level routes 2023-04-13 15:40:51 -04:00
Puyodead1 860b9d583e oapi: finish users 2023-04-13 15:39:31 -04:00
Puyodead1 1ce7879ee8 oapi: users progress 2023-04-13 15:38:52 -04:00
Puyodead1 ad5f5cb90d oapi: sticker packs 2023-04-13 15:32:37 -04:00
Puyodead1 3fa2a95429 oapi: policies 2023-04-13 15:32:04 -04:00
Puyodead1 1b1fbce4d3 oapi: oauth2 2023-04-13 15:30:37 -04:00
Puyodead1 5c0a6f4e55 oapi: fix guild discovery requirements 2023-04-13 15:29:21 -04:00
Puyodead1 c2ce88dee7 guilds 2023-04-13 15:28:41 -04:00
Puyodead1 0dc5b19bd8 gifs and query params 2023-04-13 15:24:37 -04:00
Puyodead1 6b3a3b750f fixing lots of openapi crap 2023-04-13 15:20:10 -04:00
Puyodead1 777e7208dc AAA 2023-04-13 15:06:21 -04:00
Puyodead1 4a7811a25c channels 2023-04-13 15:04:56 -04:00
Puyodead1 3335f16ad1 applications 2023-04-13 15:00:32 -04:00
Puyodead1 a567ca3f51 auth routes 2023-04-13 14:58:53 -04:00
Madeline 9a6390b9bd Fix DC client throwing on GUILD_CREATE 2023-04-12 21:03:49 +10:00
Madeline 80c7eaa70f Merge pull request #1023 from Rainb0wCodes/master
properly track reactions
2023-04-11 13:48:08 +10:00
Madeline ab07ad692c send public member in message_reaction_add eventt 2023-04-11 13:47:26 +10:00
Madeline f040caa712 Merge pull request #1026 from ochen1/patch-3
Add support for Discord's new endpoints to update roles
2023-04-11 13:20:09 +10:00
Madeline debfaea866 Use partition func instead + use Promise.all 2023-04-11 12:56:32 +10:00
ochen1 36ac484a9d Fix obvious bugs in Member removeRole function 2023-04-09 14:22:24 -06:00
Madeline 844f1de6aa License information 2023-04-02 11:32:40 +10:00
Madeline 2e27281e23 Less spammy user connection logs 2023-04-02 11:26:51 +10:00
Madeline d90fd6b4e5 Update connection metadata visibility 2023-04-02 11:15:08 +10:00
Madeline 218f71b82c Merge branch 'master' into refactor/dev/connections 2023-04-02 10:55:17 +10:00
Madeline 095cbf7b20 Remove ALL fosscord mentions 2023-03-31 15:52:33 +11:00
Madeline 698ad90d3e Revert "Merge pull request #1008 from spacebarchat/dev/samuel"
This reverts commit 69ea71aa9e, reversing
changes made to 8b2faf0b18.
2023-03-31 15:26:15 +11:00
Samuel c8f65ca4c7 fix: disable cache if multi threaded 2023-03-30 18:26:19 +02:00
Samuel (Flam3rboy) 69ea71aa9e Merge pull request #1008 from spacebarchat/dev/samuel 2023-03-30 18:13:34 +02:00
Madeline 8b2faf0b18 SPACEBAR 2023-03-31 02:15:42 +11:00
Madeline 64e747a4d2 SPACEBAR 2023-03-31 02:05:02 +11:00
Madeline 0f928e479c Work towards fixing openapi spec 2023-03-24 04:16:58 +11:00
Puyodead1 5a7765c7dc prettier 2023-03-18 19:50:38 -04:00
Puyodead1 7116a9a1b0 fix a few linting errors 2023-03-18 19:48:44 -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 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 50f068400d Don't try to upload entire config for each connection loaded 2023-03-18 19:26:16 -04:00
Madeline d76198d200 WIP Discord connection 2023-03-18 19:26:14 -04:00
Madeline 8ff3767d32 Fix ConnectionLoader from throwing when uploading default config keys 2023-03-18 19:25:03 -04:00
Madeline a390596e3c Follow Discord docs for visibility and metadata_visibility fields in ConnectedAccount 2023-03-18 19:25:03 -04:00
Madeline 2364096a97 entities/ConnectionUpdateSchema -> schemas/ConnectionUpdateSchema 2023-03-18 19:25:03 -04:00
Madeline a4961800d7 handleCallback returns connection if created for USER_CONNECTIONS_UPDATE 2023-03-18 19:23:20 -04:00
Puyodead1 5c682137b2 implement PATCH connection 2023-03-18 19:16:41 -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
Samuel 3dc0e68534 feat: add DB_LOGGING env 2023-03-18 05:11:33 +01:00