Commit Graph

188 Commits

Author SHA1 Message Date
Puyodead1
a567ca3f51 auth routes 2023-04-13 14:58:53 -04:00
Madeline
2d50adf151 Add missing route middleware to messages route 2023-04-12 11:45:51 +10:00
Madeline
3c981b496b don't allow editing @everyone role 2023-04-11 13:51:55 +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
d865528442 Add erkins note 2023-04-11 13:19:26 +10:00
Madeline
7a2a41be3e Don't fetch the entire role relation when counting member ids 2023-04-11 13:17:51 +10:00
Madeline
e9ce4ca51b member-counts route 2023-04-11 13:11:19 +10:00
Madeline
debfaea866 Use partition func instead + use Promise.all 2023-04-11 12:56:32 +10:00
Madeline
6a148898a5 Remove Member.isInGuildOrFail, as it will always pass ( route permission check ) 2023-04-11 12:33:59 +10:00
Madeline
b91fca6d74 prettier 2023-04-11 12:28:16 +10:00
Rainb0w :3
88031fd0b7 Update reactions.ts 2023-04-10 20:26:00 -06:00
ochen1
f4e172eec2 Add PATCH /guilds/#guild_id/roles/#role_id/member-ids API 2023-04-09 12:38:13 -06:00
ochen1
4a7eb89a72 Fix indentation 2023-04-09 12:36:31 -06:00
ochen1
3c2d07d0b1 Add PATCH /guilds/#guild_id/roles/#role_id/members API
Discord uses this in the Edit Role menu, Manage members tab to update the list of members with the role.
2023-04-09 12:34:45 -06:00
Rainb0w :3
2c067969a0 properly track reactions 2023-04-08 22:07:23 -06:00
Madeline
844f1de6aa License information 2023-04-02 11:32:40 +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 (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
59c0dd0731 Merge branch 'master' of github.com:fosscord/fosscord-server 2023-03-24 04:18:19 +11:00
Madeline
0f928e479c Work towards fixing openapi spec 2023-03-24 04:16:58 +11:00
Madeline
ce52a8884a Merge pull request #1012 from Puyodead1/patch/totp-user-settings
fix totp using wrong settings key
2023-03-22 14:32:50 +11:00
Puyodead1
002480df9d fix totp using wrong settings key 2023-03-21 22:32:55 -04:00
Madeline
1fd01fa000 Merge branch 'master' of github.com:fosscord/fosscord-server 2023-03-19 22:11:54 +11:00
Madeline
240076a5d8 Add basic information page to / 2023-03-19 21:49:45 +11: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
Madeline
9d5c5a8292 Check visibility for connected accounts in /users/:id/profile 2023-03-18 19:28:47 -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
2bae842926 Delete connections 2023-03-18 19:26:15 -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
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
cae6fcc72a fix: request language property 2023-03-17 19:30:54 +01:00