Commit Graph
100 Commits
Author SHA1 Message Date
Madeline 496cfc8ea1 some abaddon compat 2023-07-31 21:00:03 +10:00
Madeline 45e7d763cf lazyrequest dont crash when no members can be found in lazyrequest 2023-07-31 20:59:06 +10:00
Madeline 4c0b1391b1 send empty READY_SUPPLEMENTAL for client compatibility 2023-07-31 19:42:27 +10:00
Madeline a0d93fb252 * call toJSON of keys in gateway when using erlpack
* dont send bitrate/etc as null when should be undefined
* set user flags to number instead of string
* send empty 'threads' in identify when not using new state v2
2023-07-29 16:59:21 +10:00
Madeline a5a6321156 Merge branch 'master' into feat/refactorIdentify 2023-07-28 10:34:36 +10:00
Madeline 4235dec54d goof 2023-07-28 09:48:03 +10:00
Madeline 08f17f88e7 Fix regression of 5f22faa57b 2023-07-28 09:45:13 +10:00
Madeline f1f68c3d31 refactor checkToken 2023-07-28 09:26:18 +10:00
Madeline 8a3989c297 Merge branch 'master' into feat/refactorIdentify 2023-07-28 08:24:15 +10:00
Madeline 5f22faa57b Merge pull request #1075 from SpecificProtagonist/get_messages_around
Fix get channel messages `around` parameter
2023-07-18 21:04:52 +10:00
Madeline bf079ffa7a Merge pull request #1066 from Zert3x/master
Fix a typo
2023-06-14 18:30:16 +10:00
Madeline eb8a2513cf Merge pull request #1069 from ngn13/pass_length_check
Implemented password length check
2023-06-11 22:27:33 +10:00
Madeline 9a227e35fa Merge pull request #1068 from V3L0C1T13S/feat/gen_memberlist_id
Implement member list ids
2023-06-11 17:55:59 +10:00
Madeline 6c603afc54 Fix docs for /users/:id/profile 2023-06-11 00:51:03 +10:00
Madeline 6e47b8e0b3 Send user and roles id array in GET /guilds/:id/members/:id 2023-06-11 00:27:38 +10:00
Madeline e545edad94 Return entire guild object in POST /guilds 2023-05-30 20:09:03 +10:00
Madeline 60394d8c43 Merge pull request #1054 from CyberL1/master
fix: don't create new vanity url when there's no ALIASABLE_NAMES flag
2023-05-13 19:12:18 +10:00
Madeline 8ee792c2a2 Prevent /invites/:code for bots 2023-05-12 14:05:28 +10:00
Madeline 91aecf2a77 Merge pull request #1048 from ppongpeauk/patch1
refactor SELECT_PROTOCOL_ACK (4) voice opcode to SESSION_DESCRIPTION
2023-05-05 22:34:51 +10:00
Madeline 009a3ad27f Merge pull request #1032 from spacebarchat/openapi
Better OpenAPI
2023-04-29 01:11:22 +10:00
Madeline d286473a0a Merge branch 'master' into openapi 2023-04-29 01:09:23 +10:00
Madeline eb62028103 start listening before starting components in bundle 2023-04-24 23:42:25 +10:00
Madeline 797778db68 start listening before starting components in bundle 2023-04-24 23:40:07 +10:00
Madeline 40ad7bb3af Merge branch 'master' into openapi 2023-04-19 01:27:19 +10:00
Madeline 4c6b1e8e16 Fix UserRelationsResponse schema 2023-04-19 01:24:51 +10:00
Madeline 31b2db8c54 Merge branch 'master' into feat/refactorIdentify 2023-04-18 21:36:28 +10:00
Madeline 1d19db52eb REALLY bad server testing 2023-04-18 21:29:58 +10:00
Madeline 9e6a465f66 update schemas/openapi 2023-04-18 21:22:12 +10:00
Madeline cec495cc5f Enforce theme_colors to be ints 2023-04-18 01:18:05 +10:00
Madeline 164fcc25f3 Fix body-parser errors not being filtered in ErrorHandler middleware 2023-04-16 21:46:50 +10:00
Madeline b438f2b071 Rewrite getRouteDescriptions, fix message route not appearing in openapi spec 2023-04-16 01:51:52 +10:00
Madeline a263ebb1e5 generated files 2023-04-14 22:59:40 +10:00
Madeline 46d86c4079 move guild/user prop initialisations into create/register methods 2023-04-14 22:27:22 +10:00
Madeline 4ecee6b291 fix typos 2023-04-14 22:26:11 +10:00
Madeline 029bc8b5f8 Fix bug where different HTTP method handlers would overwrite eachother in spec generation 2023-04-14 15:17:30 +10:00
Madeline 5a6cb33f5e Merge branch 'master' into feat/refactorIdentify 2023-04-13 19:45:44 +10:00
Madeline 174d34c376 fix style action 2023-04-12 21:24:16 +10:00
Madeline 9a6390b9bd Fix DC client throwing on GUILD_CREATE 2023-04-12 21:03:49 +10:00
Madeline 5771552408 Set eslint env properly 2023-04-12 20:43:49 +10:00
Madeline 3f4344a610 Remove unnecessary stresstest folder 2023-04-12 20:42:47 +10:00
Madeline f81e92a159 Move prettier and eslint into separate workflow 2023-04-12 20:36:55 +10:00
Madeline 3b62aff769 fix crowdin badge 2023-04-12 11:58:44 +10:00
Madeline 195ea51480 generate:openapi 2023-04-12 11:48:00 +10: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 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 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
Madeline 6dfe88d61b Merge pull request #1025 from ochen1/patch-2
Send guild name and icon of guild through Identify gateway opcode
2023-04-10 17:30:19 +10:00
Madeline b344cecebe Merge pull request #1027 from ochen1/patch-4
Fix obvious bugs in Member removeRole function
2023-04-10 10:18:08 +10:00
Madeline c3f5047e0c scripts n shit 2023-04-05 21:18:31 +10:00
Madeline df696d362a Close if already identified 2023-04-05 20:47:47 +10:00
Madeline a9eac479bb prettier whoops 2023-04-05 19:42:28 +10:00
Madeline 89c77dc449 Missing ready guild properties 2023-04-04 00:20:13 +10:00
Madeline 0095b65050 Role flags 2023-04-04 00:17:02 +10:00
Madeline 3e9e8aac3b Don't send random read state / guild settings version numbers 2023-04-04 00:16:10 +10:00
Madeline a476319fb4 Send d: {} in heartbeat ack 2023-04-04 00:15:37 +10:00
Madeline 6ee26082ef Respect CLIENT_STATE_V2 capability 2023-04-03 23:50:48 +10:00
Madeline 844f1de6aa License information 2023-04-02 11:32:40 +10:00
Madeline 86ac90b1e4 Merge pull request #1009 from Puyodead1/refactor/dev/connections
Connections Part 1
2023-04-02 11:30:31 +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 d944dd4ef4 allow all role props through ready 2023-04-01 19:49:54 +11:00
Madeline 13dedb6d25 Merge branch 'master' into feat/refactorIdentify 2023-04-01 19:04:22 +11:00
Madeline ed724472b3 gatewayresponse?? 2023-04-01 19:01:34 +11: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
Madeline 8b2faf0b18 SPACEBAR 2023-03-31 02:15:42 +11:00
Madeline 64e747a4d2 SPACEBAR 2023-03-31 02:05:02 +11:00
Madeline a86a673db3 SPACEBAR 2023-03-31 01:53:24 +11:00
Madeline 14c1b53244 SPACEBAR 2023-03-31 01:51:15 +11:00
Madeline b272c56d1a Ajv and openapi spec use different versions of typescript json schema?????? 2023-03-25 19:24:00 +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
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
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
Madeline a60f147156 Fix connection update visibilty dying when given boolean 2023-03-18 19:27:40 -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
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
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
Madeline 4d06b86d7b Fix UserSettings relation being in select rather than relations 2023-03-16 11:31:24 +11:00