1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-09 20:22:47 +01:00
Commit Graph

3501 Commits

Author SHA1 Message Date
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
bdd4ddda52
don't send token_data on connection update 2023-03-18 19:28:45 -04:00
Puyodead1
7e10d73dac
use connection revoked error 2023-03-18 19:28:45 -04:00
Puyodead1
6d6944cfee
Add Twitch, error handling, revokation changes, etc 2023-03-18 19:28:45 -04:00
Madeline
a60f147156
Fix connection update visibilty dying when given boolean 2023-03-18 19:27:40 -04:00
Puyodead1
02a4a6998d
Update todo in access-token route 2023-03-18 19:27:40 -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
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
Madeline
2bae842926
Delete connections 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
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
5491c58ffc
Don't use mergeDeep 2023-03-18 19:23:57 -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
Samuel
f1f7e5ad7d fix: local cache 2023-03-18 05:11:14 +01:00
Samuel
c6708f7443 build: remove sqlite3 in favor of better-sqlite3 2023-03-18 04:39:28 +01:00
Samuel
fd1c99db2d build: remove sqlite3 in favor of better-sqlite3 2023-03-18 04:20:03 +01:00
Samuel
d97dbdf73c fix: remove proxy 2023-03-18 04:18:18 +01:00
Samuel
7b00e99053 fix: use entity.save() instead of insert (needed for caching) 2023-03-18 04:13:04 +01:00
Samuel
52f8508b38 fix: missing id in select query 2023-03-18 04:12:16 +01:00
Samuel
366c4935a4 feat: Database Query Cache 2023-03-18 04:11:48 +01:00
Samuel
6c009c3b88 fix: package-lock.json 2023-03-17 20:36:33 +01:00
Samuel
2e473576cf wip: cache 2023-03-17 19:47:23 +01:00
Samuel
cae6fcc72a fix: request language property 2023-03-17 19:30:54 +01:00
Samuel
5ba7c6b5bc perf: optimize getPermission() 2023-03-17 19:18:57 +01:00
Samuel
197f1aacd2 feat: better-sqlite3 support 2023-03-17 19:18:31 +01:00
Samuel
d086c053bb perf: custom i18next middleware that only initializes when needed 2023-03-17 17:50:59 +01:00
Samuel
810f5dd84c perf: cache jwt secret as key 2023-03-17 17:47:43 +01:00
Samuel
5b6b97e86c fix: types when using yarn 2023-03-17 16:36:44 +01:00
Samuel
1de0dbe509 build: update dependencies 2023-03-17 16:36:25 +01:00
Samuel (Flam3rboy)
ea89f62ccb
Merge pull request #1005 from Xanderplayz18/patch-1
Grammar fix in env-vars.md
2023-03-17 14:43:15 +01:00
Samuel (Flam3rboy)
5bbe0fc25c
Delete env-vars.md 2023-03-17 14:41:29 +01:00
Samuel (Flam3rboy)
2b2f1cb932
Merge pull request #1002 from fosscord/dependabot/npm_and_yarn/sqlite3-5.1.5
Bump sqlite3 from 5.1.4 to 5.1.5
2023-03-17 14:39:39 +01:00
Xanderplayz18
2332d83101
Fix grammar 2023-03-16 13:55:31 -04:00
Madeline
1234d0c95b
Merge pull request #997 from Puyodead1/dev/default-group-dm-avatars
Add default group dm icons
2023-03-16 15:50:08 +11:00
Madeline
d76568bd29
Merge pull request #996 from Puyodead1/patch/rename-default-avatars
Rename default avatar files
2023-03-16 15:49:48 +11:00