summary refs log tree commit diff
path: root/src/gateway/events/Message.ts (unfollow)
Commit message (Expand)AuthorFilesLines
2023-02-01Use erlpack instead of @yukikaze-bot/erlpack (#968)Madeline1-6/+6
2023-02-01use print instead of console.log in client cache so it doesn't output weirdnessMadeline1-1/+1
2023-01-31Rename postgresql to postgres -> fix silently failing migrationsTheArcaneBrony3-2/+4
2023-01-31Hotfix postgres connection string to not silently fail migrationsTheArcaneBrony1-1/+1
2023-01-31Fix missing capitalisation in database connected logTheArcaneBrony1-1/+1
2023-01-31Add a tiny bit of extra logging to database connectionTheArcaneBrony1-4/+3
2023-02-01Fix missing props in welcome message creation, which causes every client who ...Madeline1-1/+5
2023-01-31check pw and other auth before letting users undisableMadeline1-19/+19
2023-01-30subscribe clients to member events when they lazy request membersMadeline1-8/+23
2023-01-30question mark.Madeline1-1/+1
2023-01-30Impl member lazy request (#970)Madeline2-21/+63
2023-01-30read-states/ack-bulk (#969)Madeline5-0/+209
2023-01-30Implement WebAuthn (#967)Puyodead120-7066/+10028
2023-01-26Fix SIGTERM handler not disconnecting gateway clients and leaving timeouts ac...Madeline2-2/+9
2023-01-26also don't use 3002 as default when gateway endpoints are nullMadeline3-3/+3
2023-01-26Use localhost:3001 as fallback when cdn endpoints are null rather than 3003Madeline5-6/+6
2023-01-26Don't set default cdn endpoints. Null endpoints means to not update them in G...Madeline1-2/+2
2023-01-24Don't try to cache files like /assets/;var u,p={26700:0};l.fMadeline1-4/+9
2023-01-24Update client cacher to allow numbers in extensions ( for woff2 )Madeline1-1/+3
2023-01-24Update lintstagedrc to run on js files as wellMadeline1-1/+1
2023-01-24Refactor config utils (#963)Madeline1-43/+38
2023-01-22Rewrite client cacher (#962)Madeline2-136/+48
2023-01-20Add ESLint (#941)Madeline157-667/+1904
2023-01-20fix: route file regex (#956)Puyodead11-1/+1
2023-01-18Apparently its still accepted, just depricatedChrisChrome1-0/+1
2023-01-18It's seconds, not daysChrisChrome1-1/+1
2023-01-18Fix a funny security vulnChrisChrome1-1/+1
2023-01-18`npm run generate:client` downloads more assets now (Thanks Rory!). Also `ONL...Madeline2-15/+35
2023-01-18Don't fetch the emoji owner in identify, as this causes mass-disconnects with...Madeline1-1/+0
2023-01-18Add youtu.be embed handler (#945)Chris Chrome1-1/+3
2023-01-18Script to add license preamble to each file. Also, does that. (#935)Madeline418-33/+8090
2023-01-17send GUILD_CREATE after READY event (#938)V3L0C1T13S1-9/+13
2023-01-17Fix deleting an application if it has a botMadeline2-4/+2
2023-01-16Return embed proxy url even if imagor not set up. Also make warning nicerMadeline1-5/+14
2023-01-16Move endpoints from ping -> policies/instance/domains (#933)Chris Chrome2-9/+4
2023-01-16Update dead linesMadeline2-5/+3
2023-01-15Window name patch + fix overlapping text in client patcherMadeline1-11/+17
2023-01-15Add an error log if embed handler fails, in addition to the existing sentry logMadeline1-0/+1
2023-01-14Fix some default valueTheArcaneBrony1-1/+2
2023-01-14Add basic info in pingTheArcaneBrony2-1/+8
2023-01-14Update openapiMadeline1-0/+37
2023-01-14Add /users/:id/delete (#926)Erkin Alp Güney4-0/+53
2023-01-13Fix missed moveCursor callTheArcaneBrony1-1/+1
2023-01-13Fix console fuckery to allow running in a headless terminal, and to fix flick...TheArcaneBrony1-13/+8
2023-01-13Fix guild delete failing when template existsMadeline4-1/+70
2023-01-13Fix dumping incoming messagesMadeline1-2/+2
2023-01-13Fix setting user premium_type/etc (non-nullable) to null in db when null in c...Madeline1-3/+3
2023-01-13Dont send sessions replace or presence update for unidentified usersMadeline1-0/+3
2023-01-12Dev/post refactor fixes (#927)TheArcaneBrony9-9/+55
2023-01-12Temp fix for DMsMadeline1-4/+5
2023-01-11fix rights lolMadeline1-1/+2
2023-01-11If defaults_user_premium is false, don't give a user `premium_since: new Date`Madeline1-9/+8
2023-01-11https://discord.com/channels/806142446094385153/898197424340860928/1062404340...Madeline1-1/+1
2023-01-10Add sentry close to sigterm handlerMadeline2-0/+5
2023-01-10Add back include_url param to reg tokensMadeline1-3/+11
2023-01-10Move sentry init to util. use sentry in each module, not just bundleMadeline7-80/+125
2023-01-10Add error handler for individual gateway socketsMadeline1-0/+3
2023-01-06add back openapi generation. todo: find way to keep route text descriptions i...Madeline4-5999/+7050
2023-01-06Don't allow BaseClass props through schemaMadeline2-38/+18
2023-01-05Prettier precommit hookMadeline3-2/+372
2023-01-05Don't send private user data in ready eventMadeline1-3/+4
2023-01-05migration stuff againMadeline1-1/+13
2023-01-05PrettierMadeline124-1729/+3671
2023-01-05channel flags whoopsMadeline1-0/+2
2023-01-05Add migrations (#923)Madeline10-60/+893
2023-01-02Use adjusted email in /auth/loginMadeline1-1/+1
2023-01-02Only send public user details in GUILD_MEMBER_LIST_UPDATEMadeline1-1/+1
2023-01-01Revert "Don't let users undisable their accounts"Madeline1-6/+8
2023-01-01Don't let users undisable their accountsMadeline1-8/+6
2022-12-31Profile themes and pronounsMadeline8-5/+71
2022-12-31Allow Bearer tokens through, like BotMadeline1-0/+1
2022-12-31Add WS_LOGEVENTS and WS_VERBOSE env varsMadeline2-1/+17
2022-12-30Update build workflow to use v3 checkout and setup-nodeMadeline1-2/+2
2022-12-30Patch body-parser to use json-bigintMadeline3-45/+75
2022-12-30Fix new roles having duplicate positionsMadeline2-6/+13
2022-12-27Fix `npm ci`!!!Madeline2-10/+112
2022-12-27Update build workflow to use node 18, update lock file to v3Madeline3-4480/+2
2022-12-27Move datasource to own file for typeorm cliMadeline3-33/+48
2022-12-27Add GH workflow for buildMadeline2-215/+253
2022-12-24OAuth2 authorize bot flowMadeline5-1/+744
2022-12-24Fix creating bot accountsMadeline2-5/+16
2022-12-24Use config for some default guild propertiesMadeline2-30/+27
2022-12-22fix developer portalPuyodead11-3/+3
2022-12-22Rename limits_rate_disabled -> limits_rate_enabled and remove limits_guilds_h...Madeline3-4/+3
2022-12-22Allow BitField's to be passed as number strings. Pretty sure it fixes #722Madeline1-2/+11
2022-12-22Update patcher to disable qr loginPuyodead11-0/+3
2022-12-22Fix sync script not closing for some dbmsMadeline2-1/+2
2022-12-22Fix redirect when test client disabledMadeline1-1/+0
2022-12-21Disable test client by defaultMadeline1-1/+1
2022-12-21Fix logo patch and update changelog generatorMadeline3-3889/+5
2022-12-21Set default cdn endpoints so that local testing worksMadeline2-1/+4
2022-12-20Update client script js hashesPuyodead11-4/+4
2022-12-20Client: update to canary 165341Puyodead111-26/+4079
2022-12-21Fix the roles bugMadeline1-5/+8
2022-12-21Fix guild features being undefined if not using defaultFeaturesMadeline1-1/+1
2022-12-20Set default threads to 1. Multiple threads is broken without RabbitmqMadeline1-7/+1
2022-12-19Add back various docs/readmeMadeline4-4/+71
2022-12-19Reg tokens bypass other restrictionsMadeline1-21/+22
2022-12-19Message rate limitingTheArcaneBrony3-2/+54
2022-12-19Registration tokensMadeline6-12/+77
2022-12-19Add register ratelimitTheArcaneBrony6-5/+34
2022-12-19commentsMadeline2-0/+2
2022-12-19flags related rights and stats apiErkin Alp Güney3-0/+27
2022-12-19fix user profile not displaying correctlyPuyodead11-2/+9
2022-12-19Fix config loadingMadeline1-1/+5
2022-12-19implement guild profiles and fix user profilesPuyodead111-2422/+3755
2022-12-19Configurable MFA backup token lengthTheArcaneBrony1-0/+1
2022-12-19case insensitive header for rate limits, fix rate limit default settingsTheArcaneBrony2-30/+30
2022-12-19Added Env and Software Vars.Catalan Lover1-1/+9
2022-12-19Fix typo and add not applicable instructions for Version.Catalan Lover1-1/+1
2022-12-19Update issue templatesCatalan Lover2-0/+53
2022-12-19Update .vscode/launch.jsonErkin Alp Güney1-3/+0
2022-12-19Replace deprecated propertyTheArcaneBrony2-2/+2
2022-12-19Create webhooksMadeline5-5/+34
2022-12-19Don't override existing config valuesMadeline1-1/+3
2022-12-19Move UserSettings to own entityTheArcaneBrony12-208/+2915
2022-12-19Add additional configMadeline15-24/+53
2022-12-19Make ConfigValue a directory, move defaults to those classes instead of a sep...TheArcaneBrony52-424/+356
2022-12-19removed char joiners as they are actually useful, added page breakErkin Alp Güney1-3/+4
2022-12-19make it configurable by guild feature flagErkin Alp Güney1-5/+5
2022-12-19Make fosscord read config from json if CONFIG_PATH is setTheArcaneBrony1-8/+14
2022-12-18Do the funny thing (make user->invite cascade delet)TheArcaneBrony1-1/+3
2022-12-18Made nitro stuff make some senseChrisChrome1-1/+0
2022-12-18Invalidate tokens on password changeChrisChrome1-2/+10
2022-12-18Make teams nullableTheArcaneBrony2-1/+1
2022-12-18Refactor applicationsMadeline11-86/+1702
2022-12-18WhoopsChrisChrome1-1/+1
2022-12-18Whoops, missed oneChrisChrome1-1/+0
2022-12-18I'm probably forgetting a lot of things, but hey, it worksChrisChrome1-1/+6
2022-12-18It works now... I guessChrisChrome2-2/+1
2022-12-18Add basic developer panel functionality - doesn't work yetChrisChrome10-48/+242
2022-12-18Remove some old test logs that expose info to consoleTheArcaneBrony2-3/+0
2022-12-18Remove todo line that has been implemented.TheArcaneBrony2-7/+1
2022-12-18Move to migrations. Use `npm run generate:db` for first database generation.Madeline5-8/+22
2022-12-18Refactored testclientMadeline3-0/+1
2022-12-18fix: not being able to enable communityPuyodead12-5/+5
2022-12-17Add comment for 123 magic numberMadeline1-1/+1
2022-12-17Remove discord login configMadeline1-10/+0
2022-12-17Remove /policies/instance/statsMadeline1-21/+0
2022-12-17Remove Discord oauth login supportMadeline5-135/+13
2022-12-17Use staging's GLOBAL_ENVMadeline1-12/+13
2022-12-17Remove fluent-ffmpeg dep. TODO: Merge puyo's PRMadeline5-3009/+2157
2022-12-17Remove unneeded commentsMadeline1-2/+2
2022-12-17Remove IP logging from gatewayMadeline2-4/+4
2022-12-17comments and suchMadeline2-47/+9
2022-12-17user validation stuffMadeline2-12/+5
2022-12-17Remove `sharp` depMadeline3-107/+4
2022-12-17Remove bad banned words implementationMadeline9-60/+5
2022-12-17Remove /api/-/monitorzMadeline1-22/+0
2022-12-17Premium tier 0 SKU from stagingMadeline4-80/+207
2022-12-17Remove Slowcord demo user restrictionsMadeline2-6/+0
2022-12-17Remove use of `PRODUCTION` env varMadeline1-4/+1
2022-12-17murder migrationsMadeline9-317/+0
2022-12-17First pass of removing Slowcord mentionsMadeline21-515/+168
2022-12-17Update readmeMadeline1-100/+3
2022-12-05Only allow specific server features to be editedMadeline2-0/+27
2022-12-05Fix private messages being returned when no channel_id provided in searchMadeline1-3/+17
2022-12-05Fix bug allowing any member from kicking any member instance-wideMadeline1-3/+3
2022-12-03Fix pruneMadeline1-1/+1
2022-11-06Await some rabbitmq methods, don't reset some config values on startMadeline2-37/+37
2022-11-05Fix 404 handlerMadeline1-3/+4
2022-10-31Rewrite gateway message decodingMadeline1-11/+15
2022-10-31Disable webrtc preload pluginMadeline1-0/+0
2022-10-31Fast connect but send identifyMadeline2-1/+80
2022-10-31Fix message patching sending old message rather than updated oneMadeline1-3/+3
2022-10-31Allow running api, cdn, gateway separatelyMadeline5-14/+19
2022-10-31Add token check back to loginRedirectMadeline1-1/+1
2022-10-31Add `private_channels_version` to `client_state` in identity. also set sentry...Madeline4-933/+44
2022-10-30Sentry stuff?Madeline4-76/+125
2022-10-30Added fast connect to indexMadeline1-18/+3
2022-10-30client patcher: discordstatus.com -> status.understars.devMadeline1-1/+2
2022-10-28various typosMadeline3-16/+16
2022-10-28Fix user settings not saving properly and guild foldersMadeline6-221/+1117
2022-10-28lolMadeline1-1/+1
2022-10-28Move src-slowcord to own repo https://github.com/MaddyUnderStars/slowcord-ser...Madeline35-6530/+185
2022-10-27fix bad user validationMadeline2-8/+10
2022-10-27Try to fix loginRedirectMadeline1-1/+1
2022-10-27Added scripts for changelogs and removed premium referencesMadeline4-1/+61
2022-10-26Make /stop route not ugly as hellMadeline2-27/+8
2022-10-26Fix typo in user validationMadeline1-3/+3
2022-10-26Prevent client from deleting localStorageMadeline1-0/+5
2022-10-26'localStorage is not defined'?Madeline5-61/+43
2022-10-25handle a specific case with rtl characterMadeline1-1/+4
2022-10-25Remove whitespace characters in banned words detectionMadeline1-0/+2
2022-10-25Fix BannedWords breaking because windows line endingsMadeline1-1/+1
2022-10-25Fix fix for twitter embeds from yesterdayMadeline1-1/+1
2022-10-25Move message auto mod to the api route instead of a @beforeinsert/update methodMadeline4-17/+17
2022-10-24Fix tweets with only video breaking embedsMadeline1-8/+8
2022-10-24Forgot some schemas + only generate schemas in util/schemas + add setup scriptMadeline10-9370/+33
2022-10-24rearrange test client's index a bitMadeline7-198/+136
2022-10-24Fix server -> guild patch and add status.discord.com -> status.understars.dev...Madeline2-29/+74
2022-10-24Handle fetch errors in cdn external endpointMadeline1-0/+3
2022-10-24TestClient middleware will now add cache misses to file for generate:client s...Madeline2-15/+238
2022-10-24Change android and ios client downloads to use /download endpoint, update Rel...Madeline6-32/+68
2022-10-07remove self_edit_guilds, was dumbMadeline4-5/+3
2022-10-07fix self_edit_guilds rightMadeline1-2/+2
2022-10-05embed failMadeline1-2/+2
2022-10-05Check nonce in Message sendMadeline1-0/+13
2022-10-04Add the automatic install script, thanks @HaydaralqassamMadeline1-1/+12
2022-10-04Video attachment support!Madeline4-8/+118
2022-10-04capture exception in sentry for embed processingMadeline2-1/+7
2022-10-03Embed cacheMadeline3-7/+37
2022-10-03Twitter embedsMadeline3-11/+102
2022-10-02Make imagor optionalMadeline2-12/+17
2022-10-02Use imagor for image resizingMadeline2-3/+17
2022-10-02More embed improvementsMadeline1-50/+74
2022-10-01Update readme.Madeline1-14/+88
2022-10-01Slightly better embedsMadeline2-27/+159
2022-10-01Better embed handlingMadeline5-128/+298
2022-10-01Make `afk` optional in ActivitySchemaMadeline2-56/+2
2022-09-30Split MANAGE_GUILDS right into MANAGE_GUILDS for instance-wide control and SE...Madeline2-2/+3
2022-09-29Fix fetching members for roles in POST messageMadeline2-16/+21
2022-09-29Prevent URL embedding and mentions when in codeblockMadeline1-3/+3
2022-09-29Update read state on message createMadeline1-8/+16
2022-09-28Fix client crash on GUILD_CREATEMadeline2-0/+2
2022-09-28Remove user settings from GUILD_MEMBER_LIST_UPDATE responseMadeline1-1/+1
2022-09-28whoopsMadeline1-1/+1
2022-09-28fix loginRedirectMadeline1-1/+1
2022-09-28Discovery splashes + fix guild icons disappearing on settings changeMadeline4-7/+23
2022-09-28Fix user guild settingsMadeline1-13/+7
2022-09-28Missed some schemasMadeline11-2495/+2580
2022-09-28Use PrimaryIdColumn instead of PrimaryColumn in Invite and CategoryMadeline2-6/+5
2022-09-28Generate IDs for entities by defaultMadeline1-1/+2
2022-09-27Fix user validator preventing updateMadeline1-40/+51
2022-09-27Fix message editingMadeline1-1/+1
2022-09-27Make client cacher suck less?Madeline1-10/+18
2022-09-27Bad check for if buffer is json string instead of gzipMadeline1-2/+2
2022-09-27Set tutorial to nullMadeline1-0/+1
2022-09-27Don't fetch all members in guild in Member.addToGuildMadeline2-4/+18
2022-09-26client patcher stuffMadeline2-10/+15
2022-09-26PrettierMadeline280-4048/+6940
2022-09-26Remove the cdn storage location logMadeline2-2/+3
2022-09-26Move schemas to /src/util/schemasMadeline94-8368/+8252
2022-09-26Fix scripts/benchmark/connections.jsMadeline1-2/+2
2022-09-26Add generate:client scriptMadeline5-4/+140
2022-09-26Fix slowcord additional servicesMadeline8-12204/+249
2022-09-26Remove import to class-validator, fix listening on port message in bundleMadeline5-2/+41
2022-09-26Fix and remove some scripts + use ajv/typescript-json-schema required by patchesMadeline11-1406/+17802
2022-09-26Bring back loginRedirect but fix it. Also move some assets out of publicMadeline3