Commit Graph
100 Commits
Author SHA1 Message Date
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 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 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 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 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
Madeline bd5f750024 Remove client_test folder 2023-03-02 10:56:48 +11:00
Madeline 7cca31e68e Remove Discord widget banners 2023-03-02 10:56:15 +11:00
Madeline b9ffef8753 Remove test client and client patcher 2023-03-01 18:45:58 +11:00
Madeline 358494b844 Generate openapi 2023-02-26 14:20:01 +11:00
Madeline deb0da524e Rename password_reset config to passwordReset as it messes with config key generation 2023-02-25 20:31:10 +11:00
Madeline 048459b75f Merge branch 'master' of github.com:fosscord/fosscord-server 2023-02-24 23:49:07 +11:00
Madeline 515a1a5efd Merge pull request #985 from Puyodead1/fix/email
fix a few issues with emails
2023-02-24 23:48:57 +11:00
Madeline 51fe1b8955 send required_action in gateway for when email verification is required 2023-02-24 23:46:52 +11:00
Madeline f507e15326 Merge pull request #984 from fosscord/dependabot/npm_and_yarn/http-cache-semantics-4.1.1
Bump http-cache-semantics from 4.1.0 to 4.1.1
2023-02-24 23:21:16 +11:00
Madeline 224e2c8374 Merge pull request #965 from Puyodead1/dev/mail
Email Support
2023-02-24 23:17:36 +11:00
Madeline 2cddd7a8de Send different app for /verify 2023-02-23 21:35:50 -05:00
Madeline eee98516dd Fix gateway encoding Date objects as {} when using erlpack. Fixes NaN/NaN/NaN timestamps in desktop client 2023-02-21 12:01:49 +11:00
Madeline 5f553cc614 Close #954 2023-02-21 11:35:06 +11:00
Madeline 4db83ee531 Fix channel mentions #981 2023-02-20 15:12:23 +11:00
Madeline 3dae9d4e59 Implement default avatars #979 2023-02-18 12:57:06 +11:00
Madeline 2b627ab4a4 Update default avatar colour scheme and fix ordering 2023-02-18 12:52:32 +11:00
Madeline c59af81563 Fix a bug prevent connections using erlpack (#977) 2023-02-16 19:31:36 +11:00
Madeline cc50ebf47b Fix being unable to unset nicknames
Remove unwanted guild profile handler in cdn
Fix rights check for bio/avatars of your own user
2023-02-05 12:35:27 +11:00
Madeline e7e3c67a77 Don't use relative path for db entities. Closes #937 2023-02-03 22:45:07 +11:00
Madeline 6d8e6eca9d On db sync/first run, add all the current migrations to migrations table to prevent running them on restarts 2023-02-03 22:39:10 +11:00
Madeline d899942b1a Merge branch 'master' of github.com:fosscord/fosscord-server 2023-02-03 16:28:12 +11:00
Madeline 9aa31d24ab remove MANAGE_GUILDS, EDIT_FLAGS, SELF_EDIT_FLAGS, MANAGE_GROUPS from default rights 2023-02-03 16:26:50 +11:00
Madeline 74570994c8 run add:license 2023-02-03 14:40:41 +11:00
Madeline 16a5cbac87 Don't allow message types to be edited 2023-02-03 14:39:42 +11:00