summary refs log tree commit diff
path: root/src (follow)
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #1066 from Zert3x/masterMadeline2023-06-143-3/+3
|\
| * Update Connection.tsZert3x2023-05-281-1/+1
| * Update ipAddress.tsZert3x2023-05-281-1/+1
| * forwaded -> forwardedZert3x2023-05-281-1/+1
* | made it prettierngn2023-06-111-9/+14
* | Make sure min password length is not nullngn2023-06-111-2/+3
* | Merge branch 'spacebarchat:master' into pass_length_checkngn132023-06-111-1/+26
|\ \
| * \ Merge pull request #1068 from V3L0C1T13S/feat/gen_memberlist_idMadeline2023-06-111-1/+26
| |\ \
| | * | feat: implement member list id generationV3L0C1T13S2023-05-241-1/+26
| | |/
* | | Making the error message dynamicngn2023-06-101-1/+1
* | | making min password length configurablengn132023-06-101-1/+1
* | | Implemented password length checkngn2023-06-101-0/+8
|/ /
* | Fix docs for /users/:id/profileMadeline2023-06-114-68/+37
* | Send user and roles id array in GET /guilds/:id/members/:idMadeline2023-06-112-2/+25
* | Return entire guild object in POST /guildsMadeline2023-05-301-1/+1
|/
* fix: add return and run prettierCyberL12023-05-131-3/+8
* Merge branch 'spacebarchat:master' into masterCyber2023-05-131-0/+3
|\
| * Prevent /invites/:code for botsMadeline2023-05-121-0/+3
* | fix: don't create new vanity url when there's no ALIASABLE_NAMES flagCyberL12023-05-101-0/+6
|/
* Merge pull request #1052 from spacebarchat/feat/auto-create-bot-usersPuyodead12023-05-075-18/+35
|\
| * fix build failurePuyodead12023-05-071-1/+1
| * create util for app bot user creationPuyodead12023-05-074-35/+30
| * add option to auto add bot users to new appsPuyodead12023-05-062-0/+22
* | add initial_guild_id client state propertyPuyodead12023-05-071-0/+4
|/
* add flags property to voice state updatePuyodead12023-05-061-0/+2
* refactor SELECT_PROTOCOL_ACK (4) voice opcode to SESSION_DESCRIPTIONPete Pongpeauk2023-05-042-3/+3
* start listening before starting components in bundleMadeline2023-04-241-1/+3
* Merge branch 'master' into openapiMadeline2023-04-191-1/+6
|\
| * Fix body-parser errors not being filtered in ErrorHandler middlewareMadeline2023-04-161-1/+6
* | Fix UserRelationsResponse schemaMadeline2023-04-193-38/+10
* | Enforce theme_colors to be intsMadeline2023-04-182-6/+4
* | Rewrite getRouteDescriptions, fix message route not appearing in openapi specMadeline2023-04-1612-60/+62
* | move guild/user prop initialisations into create/register methodsMadeline2023-04-142-16/+30
* | fix typosMadeline2023-04-143-3/+5
* | fix some types not being generated correctlyPuyodead12023-04-131-2/+4
* | spacebarPuyodead12023-04-131-4/+4
* | clusterfuckPuyodead12023-04-1350-118/+112
* | oapi: fix a few response types in authPuyodead12023-04-132-3/+7
* | oapi: add missing 2fa types to loginPuyodead12023-04-132-1/+15
* | oapi: bug fixesPuyodead12023-04-137-19/+28
* | oapi: root level routesPuyodead12023-04-1314-134/+260
* | oapi: voice regionsPuyodead12023-04-131-6/+15
* | oapi: finish usersPuyodead12023-04-1312-37/+107
* | oapi: users progressPuyodead12023-04-1324-265/+570
* | oapi: stickersPuyodead12023-04-131-6/+16
* | oapi: sticker packsPuyodead12023-04-133-5/+21
* | oapi: readstatesPuyodead12023-04-131-1/+9
* | oapi: policiesPuyodead12023-04-1310-40/+110
* | oapi: oauth2Puyodead12023-04-133-94/+140
* | oapi: invitesPuyodead12023-04-131-35/+87
* | oapi: fix guild discovery requirementsPuyodead12023-04-132-2/+2
* | guildsPuyodead12023-04-1350-640/+1575
* | backfill missing query paramsPuyodead12023-04-132-0/+28
* | gifs and query paramsPuyodead12023-04-136-129/+236
* | fixing lots of openapi crapPuyodead12023-04-1356-208/+215
* | AAAPuyodead12023-04-139-25/+44
* | gatewayPuyodead12023-04-132-35/+54
* | channelsPuyodead12023-04-1320-255/+559
* | applicationsPuyodead12023-04-1312-98/+227
* | auth routesPuyodead12023-04-1322-46/+201
|/
* Fix DC client throwing on GUILD_CREATEMadeline2023-04-122-13/+28
* Add missing route middleware to messages routeMadeline2023-04-121-2/+4
* don't allow editing @everyone roleMadeline2023-04-111-1/+4
* Merge pull request #1023 from Rainb0wCodes/masterMadeline2023-04-112-1/+22
|\
| * send public member in message_reaction_add eventtMadeline2023-04-112-2/+20
| * Update reactions.tsRainb0w :32023-04-101-1/+2
| * properly track reactionsRainb0w :32023-04-081-0/+2
* | Merge pull request #1026 from ochen1/patch-3Madeline2023-04-115-8/+149
|\ \
| * | Add erkins noteMadeline2023-04-111-0/+1
| * | Don't fetch the entire role relation when counting member idsMadeline2023-04-111-8/+10
| * | member-counts routeMadeline2023-04-111-0/+39
| * | Use partition func instead + use Promise.allMadeline2023-04-113-28/+24
| * | Remove Member.isInGuildOrFail, as it will always pass ( route permission check )Madeline2023-04-111-3/+7
| * | prettierMadeline2023-04-112-35/+43
| * | Add PATCH /guilds/#guild_id/roles/#role_id/member-ids APIochen12023-04-091-0/+38
| * | Fix indentationochen12023-04-091-1/+1
| * | Add PATCH /guilds/#guild_id/roles/#role_id/members APIochen12023-04-091-0/+53
| |/
* | Merge pull request #1025 from ochen1/patch-2Madeline2023-04-101-0/+2
|\ \
| * | Send guild name and icon of guild through Identify gateway opcodeochen12023-04-091-0/+2
| |/
* / Fix obvious bugs in Member removeRole functionochen12023-04-091-2/+2
|/
* License informationMadeline2023-04-0239-0/+702
* Less spammy user connection logsMadeline2023-04-022-11/+13
* Update connection metadata visibilityMadeline2023-04-022-1/+5
* Merge branch 'master' into refactor/dev/connectionsMadeline2023-04-02443-1261/+1489
|\
| * Remove ALL fosscord mentionsMadeline2023-03-31213-379/+378
| * Revert "Merge pull request #1008 from spacebarchat/dev/samuel"Madeline2023-03-3148-542/+135
| * fix: disable cache if multi threadedSamuel2023-03-301-2/+4
| * Merge pull request #1008 from spacebarchat/dev/samuelSamuel (Flam3rboy)2023-03-3048-135/+540
| |\
| | * feat: add DB_LOGGING env dev/samuelSamuel2023-03-181-1/+1
| | * fix: local cacheSamuel2023-03-181-1/+4
| | * build: remove sqlite3 in favor of better-sqlite3Samuel2023-03-181-1/+1
| | * build: remove sqlite3 in favor of better-sqlite3Samuel2023-03-181-10/+3
| | * fix: remove proxySamuel2023-03-181-4/+0
| | * fix: use entity.save() instead of insert (needed for caching)Samuel2023-03-183-6/+6
| | * fix: missing id in select querySamuel2023-03-182-1/+2
| | * feat: Database Query CacheSamuel2023-03-1838-124/+442
| | * wip: cacheSamuel2023-03-172-1/+42
| | * fix: request language propertySamuel2023-03-171-5/+6
| | * perf: optimize getPermission()Samuel2023-03-171-15/+18
| | * feat: better-sqlite3 supportSamuel2023-03-171-2/+17
| | * perf: custom i18next middleware that only initializes when neededSamuel2023-03-171-18/+38
| | * perf: cache jwt secret as keySamuel2023-03-173-7/+21
| | * fix: types when using yarnSamuel2023-03-172-2/+2
| | * build: update dependenciesSamuel2023-03-171-1/+1
| * | SPACEBARMadeline2023-03-31425-425/+425
| * | SPACEBARMadeline2023-03-31425-413/+629
| * | Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-03-241-1/+1
| |\ \
| | * \ Merge pull request #1012 from Puyodead1/patch/totp-user-settingsMadeline2023-03-221-1/+1
| | |\ \
| | | * | fix totp using wrong settings keyPuyodead12023-03-211-1/+1
| | | |/
| * | / Work towards fixing openapi specMadeline2023-03-2410-35/+35
| |/ /
| * | Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-03-192-7/+37
| |\|
| * | Add basic information page to /Madeline2023-03-191-0/+11
* | | prettierPuyodead12023-03-185-51/+58
* | | fix a few linting errorsPuyodead12023-03-182-4/+7
* | | Move redirect uri generation to getRedirectUri function of Connection class.Madeline2023-03-1814-138/+40
* | | Check visibility for connected accounts in /users/:id/profileMadeline2023-03-181-1/+3
* | | Add Youtube connectionPuyodead12023-03-182-0/+148
* | | replace node-fetch with wretchPuyodead12023-03-1810-549/+277
* | | add Xbox connectionPuyodead12023-03-182-0/+229
* | | add Twitter connectionPuyodead12023-03-182-0/+227
* | | don't send token_data on connection updatePuyodead12023-03-181-1/+1
* | | use connection revoked errorPuyodead12023-03-181-2/+1
* | | Add Twitch, error handling, revokation changes, etcPuyodead12023-03-1818-46/+416
* | | Fix connection update visibilty dying when given booleanMadeline2023-03-181-1/+7
* | | Update todo in access-token routePuyodead12023-03-181-1/+1
* | | Refreshable connections, refactoring, access-token endpointPuyodead12023-03-1818-111/+292
* | | Don't try to upload entire config for each connection loadedMadeline2023-03-181-1/+2
* | | Switch from Github real name to username for GH connectionMadeline2023-03-181-1/+1
* | | Add discriminator usernames for Discord connectionMadeline2023-03-181-1/+2
* | | Delete connectionsMadeline2023-03-181-1/+24
* | | fix discord connectionPuyodead12023-03-181-16/+24
* | | Add spotify connectionPuyodead12023-03-182-0/+153
* | | Add reddit connectionPuyodead12023-03-182-0/+145
* | | Add facebook connectionPuyodead12023-03-182-0/+147
* | | add epic games connectionPuyodead12023-03-184-10/+166
* | | WIP Discord connectionMadeline2023-03-183-1/+124
* | | Fix ConnectionLoader from throwing when uploading default config keysMadeline2023-03-181-10/+8
* | | Follow Discord docs for `visibility` and `metadata_visibility` fields in Conn...Madeline2023-03-181-2/+2
* | | entities/ConnectionUpdateSchema -> schemas/ConnectionUpdateSchemaMadeline2023-03-184-4/+3
* | | Don't use mergeDeepMadeline2023-03-181-6/+2
* | | `handleCallback` returns connection if created for `USER_CONNECTIONS_UPDATE`Madeline2023-03-184-25/+25
* | | implement PATCH connectionPuyodead12023-03-187-4/+62
* | | adding connection now worksPuyodead12023-03-1813-41/+54
* | | add connectionsPuyodead12023-03-1823-9/+695
| |/ |/|
* | Merge pull request #997 from Puyodead1/dev/default-group-dm-avatarsMadeline2023-03-161-0/+28
|\ \
| * | add default group dm avatarsPuyodead12023-03-071-0/+28
* | | Merge pull request #996 from Puyodead1/patch/rename-default-avatarsMadeline2023-03-161-6/+6
|\ \ \ | |_|/ |/| |
| * | use real md5 hashPuyodead12023-03-071-6/+6
| |/
* / Fix UserSettings relation being in `select` rather than `relations`Madeline2023-03-164-6/+7
|/
* Remove test client and client patcherMadeline2023-03-014-29/+0
* Rename password_reset config to passwordReset as it messes with config key ge...Madeline2023-02-252-2/+2
* Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-02-242-3/+10
|\
| * fix a few issues with emailsPuyodead12023-02-242-3/+10
* | send required_action in gateway for when email verification is requiredMadeline2023-02-242-11/+6
|/
* move transporters to their own filesPuyodead12023-02-247-147/+165
* simplify replacer functionPuyodead12023-02-241-34/+20
* first batch of requested changesPuyodead12023-02-243-49/+73
* don't return token on register if verification requiredPuyodead12023-02-241-0/+11
* implement password resetPuyodead12023-02-2413-33/+326
* add SendGrid transportPuyodead12023-02-243-1/+56
* don't print anything if email send is successfulPuyodead12023-02-242-21/+16
* error if correspondence email is not setPuyodead12023-02-231-0/+5
* fix for when secure is set to falsePuyodead12023-02-231-1/+1
* add right to resend verification emailsPuyodead12023-02-233-22/+27
* fix: email verificationPuyodead12023-02-233-15/+42
* fix: verification required for login not working correctlyPuyodead12023-02-231-0/+1
* config: require account verificationPuyodead12023-02-233-6/+14
* fix linting errorsPuyodead12023-02-234-64/+19
* Add mailjet transportPuyodead12023-02-234-55/+133
* Add Mailgun transportPuyodead12023-02-235-10/+121
* rename SMTPConfigurations to EmailConfigurationPuyodead12023-02-235-7/+8
* Fix template rendering and use verify email templatePuyodead12023-02-233-12/+113
* Email verification worksPuyodead12023-02-237-24/+130
* add missing copyright headersPuyodead12023-02-233-0/+54
* send email verificationPuyodead12023-02-234-3/+97
* Start implementing smtpPuyodead12023-02-235-10/+53
* Fix gateway encoding Date objects as {} when using erlpack. Fixes NaN/NaN/NaN...Madeline2023-02-214-21/+41
* Close #954Madeline2023-02-211-0/+19
* Remove channel mentions from messages, in order to fix them in test client.TheArcaneBrony2023-02-201-6/+10
* Implement default avatars #979Madeline2023-02-181-0/+67
|\
| * Update default avatar colour scheme and fix orderingMadeline2023-02-181-5/+6
| * add support for desktop/webPuyodead12023-02-171-1/+11
| * asyncPuyodead12023-02-171-6/+6
| * Implement default avatarsPuyodead12023-02-171-0/+56
* | Fix a bug prevent connections using erlpack (#977)Madeline2023-02-161-1/+1
|/
* Fix being unable to unset nicknamesMadeline2023-02-052-29/+11
* Don't use relative path for db entities. Closes #937Madeline2023-02-031-1/+1
* On db sync/first run, add all the current migrations to migrations table to p...Madeline2023-02-032-2/+14
* Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-02-033-9/+21
|\
| * various fixes for webauthn (#973)Puyodead12023-02-033-9/+21
* | remove MANAGE_GUILDS, EDIT_FLAGS, SELF_EDIT_FLAGS, MANAGE_GROUPS from default...Madeline2023-02-031-1/+1
|/
* run add:licenseMadeline2023-02-035-0/+90
* Don't allow message types to be editedMadeline2023-02-033-6/+25
* Merge pull request from GHSA-9qvc-84ch-5p2xMadeline2023-02-021-1/+26
* Merge pull request from GHSA-hqqp-gpqw-9w5cMadeline2023-02-024-18/+15
* Merge pull request from GHSA-9q7f-pv47-cxp9Madeline2023-02-021-1/+13
* Merge pull request from GHSA-r7h4-76f7-6264Madeline2023-02-022-1/+11
* Use erlpack instead of @yukikaze-bot/erlpack (#968)Madeline2023-02-016-31/+38
* Rename postgresql to postgres -> fix silently failing migrationsTheArcaneBrony2023-01-313-2/+4
* Hotfix postgres connection string to not silently fail migrationsTheArcaneBrony2023-01-311-1/+1
* Fix missing capitalisation in database connected logTheArcaneBrony2023-01-311-1/+1
* Add a tiny bit of extra logging to database connectionTheArcaneBrony2023-01-311-4/+3
* Fix missing props in welcome message creation, which causes every client who ...Madeline2023-02-011-1/+5
* check pw and other auth before letting users undisableMadeline2023-01-311-19/+19
* subscribe clients to member events when they lazy request membersMadeline2023-01-301-8/+23
* question mark.Madeline2023-01-301-1/+1
* Impl member lazy request (#970)Madeline2023-01-302-21/+63
* read-states/ack-bulk (#969)Madeline2023-01-303-0/+65
* Implement WebAuthn (#967)Puyodead12023-01-3016-47/+675
* Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-01-268-9/+9
|\
| * also don't use 3002 as default when gateway endpoints are nullMadeline2023-01-263-3/+3
| * Use localhost:3001 as fallback when cdn endpoints are null rather than 3003Madeline2023-01-265-6/+6
* | Fix SIGTERM handler not disconnecting gateway clients and leaving timeouts ac...Madeline2023-01-262-2/+9
|/
* Don't set default cdn endpoints. Null endpoints means to not update them in G...Madeline2023-01-261-2/+2
* Refactor config utils (#963)Madeline2023-01-241-43/+38
* Add ESLint (#941)Madeline2023-01-20149-661/+706
* fix: route file regex (#956)Puyodead12023-01-201-1/+1
* Apparently its still accepted, just depricatedChrisChrome2023-01-181-0/+1
* It's seconds, not daysChrisChrome2023-01-181-1/+1
* Fix a funny security vulnChrisChrome2023-01-181-1/+1
* Merge pull request #952 from fosscord/dev/endpoints-in-pingChris Chrome2023-01-182-1/+4
|\
| * Merge pull request #934 from fosscord/masterMadeline2023-01-162-5/+15
| |\
| * | Move endpoints from ping -> policies/instance/domains (#933)Chris Chrome2023-01-162-9/+4
| * | Fix some default valueTheArcaneBrony2023-01-141-1/+2
| * | Add basic info in pingTheArcaneBrony2023-01-142-1/+8
* | | Merge branch 'master' of github.com:fosscord/fosscord-serverMadeline2023-01-181-1/+3
|\ \ \
| * | | Add youtu.be embed handler (#945)Chris Chrome2023-01-181-1/+3
* | | | Don't fetch the emoji owner in identify, as this causes mass-disconnects with...Madeline2023-01-181-1/+0
|/ / /
* | | Script to add license preamble to each file. Also, does that. (#935)Madeline2023-01-18395-3/+7044
* | | send GUILD_CREATE after READY event (#938)V3L0C1T13S2023-01-171-9/+13
* | | Fix deleting an application if it has a botMadeline2023-01-172-4/+2
| |/ |/|
* | Return embed proxy url even if imagor not set up. Also make warning nicerMadeline2023-01-161-5/+14
* | Update dead linesMadeline2023-01-161-1/+1
* | Add an error log if embed handler fails, in addition to the existing sentry logMadeline2023-01-151-0/+1
|/
* Add /users/:id/delete (#926)Erkin Alp Güney2023-01-144-0/+53
* Fix guild delete failing when template existsMadeline2023-01-134-1/+70
* Fix dumping incoming messagesMadeline2023-01-131-2/+2
* Fix setting user premium_type/etc (non-nullable) to null in db when null in c...Madeline2023-01-131-3/+3
* Dont send sessions replace or presence update for unidentified usersMadeline2023-01-131-0/+3
* Dev/post refactor fixes (#927)TheArcaneBrony2023-01-127-9/+54
* Temp fix for DMsMadeline2023-01-121-4/+5
* fix rights lolMadeline2023-01-111-1/+2
* If defaults_user_premium is false, don't give a user `premium_since: new Date`Madeline2023-01-111-9/+8
* https://discord.com/channels/806142446094385153/898197424340860928/1062404340...Madeline2023-01-111-1/+1
* Add sentry close to sigterm handlerMadeline2023-01-102-0/+5
* Add back include_url param to reg tokensMadeline2023-01-101-3/+11
* Move sentry init to util. use sentry in each module, not just bundleMadeline2023-01-107-80/+125
* Add error handler for individual gateway socketsMadeline2023-01-101-0/+3
* Don't send private user data in ready eventMadeline2023-01-051-3/+4
* PrettierMadeline2023-01-05115-901/+1255