summary refs log tree commit diff
path: root/src/gateway/opcodes (follow)
Commit message (Collapse)AuthorAgeFilesLines
* eslint: arrow-body-style=as-neededRory&2026-04-191-76/+73
|
* eslint: more rules, no-duplicate-importsRory&2026-04-191-2/+1
|
* Gateway: get around some typeorm weirdnessRory&2026-04-181-0/+4
|
* Explicitly specify status for temp sessions, since that suddenly broke...?Rory&2026-04-131-0/+1
|
* Fix op19 property not found errorRory&2026-04-131-1/+1
|
* Time out presenceRory&2026-04-132-4/+4
| | | | | | Sourced from #1541 Co-authored-by: Davide <137603413+LW-Davide@users.noreply.github.com>
* prep for presenceRory&2026-04-131-5/+5
|
* Emit presence on identify, support deduped gw eventsRory&2026-04-131-1/+55
|
* revert the change on ElapsedTime read-only classOh642026-04-061-6/+6
|
* use arrayGroupBy, include group time in query tracesOh642026-04-061-47/+24
|
* Refactor Identify : batch guild queries and parallelise relation fetchesOh642026-04-062-56/+91
|
* Fix voice state query trying to include memberRory&2026-03-211-1/+7
|
* Migrate ReadyEventData to satisfies, part of #1577Rory&2026-03-201-1/+1
|
* Migrate Stream*Event to satisfies, part of #1577Rory&2026-03-203-6/+6
|
* Migrate PresenceUpdateEvent to satisfies, part of #1577Rory&2026-03-202-3/+3
|
* Migrate VoiceS*Event to satisfies, part of #1577Rory&2026-03-203-6/+13
|
* remove weird debuggingMathMan052026-03-201-2/+1
|
* a lot of small fixesMathMan052026-03-201-1/+2
|
* Some minor workRory&2026-03-141-1/+1
|
* Shorten importsRory&2026-03-141-1/+1
|
* Remove unused imports for non-entitiesRory&2026-03-141-21/+3
|
* properly mark unused paramsRory&2026-03-143-5/+2
|
* gateway offload workRory&2026-03-134-6/+25
|
* identify: use proto toVoiceStateRory&2026-03-131-1/+1
|
* Gateway: include entity counts in trace namesRory&2026-03-121-5/+5
|
* Factor out getMostRelevantSessionRory&2026-03-122-34/+2
|
* fix op43Rory&2026-03-121-3/+3
|
* Gateway: implement op43Rory&2026-03-123-1/+51
|
* requestguildmembers: immediately send data instead of bufferingRory&2026-03-111-26/+26
|
* requestguildmembers: dont forget user relation, lolRory&2026-03-111-0/+1
|
* requestguildmembers: assign presence list directly without for loopRory&2026-03-111-15/+18
|
* requestguildmembers: select only relevant dataRory&2026-03-111-1/+7
|
* requestguildmembers: track member count properlyRory&2026-03-111-3/+4
|
* requestguildmembers: log chunksRory&2026-03-111-2/+7
|
* requestguildmembers: bulk query sessionsRory&2026-03-111-5/+9
|
* when guild region is misconfigured, fallback to default regiondank0742026-03-072-4/+18
|
* gateway should not crash for clients that send Op 37 with missing channel ↵dank0742026-03-071-1/+1
| | | | ranges, instead ignore
* actually backpropagate session id in identify to ws objectRory&2026-03-061-0/+1
|
* Log creation of new sessions, fix some commentsRory&2026-03-061-0/+12
|
* onVoiceStateUpdate: change to VoiceState.merge() for copying propertiesdank0742026-02-281-2/+7
|
* Log usage of old access token versions in identifyRory&2026-02-251-0/+11
|
* Gateway: log user ID/iRory&2026-02-179-14/+21
|
* add keys to make bot libs happyMathMan052026-02-141-0/+2
|
* shoot, screwed up the merge conflict tmp-masterMathMan052026-02-051-5/+0
|
* fix merge conflicMathMan052026-02-051-4/+11
|\
| * fix slight errorMathMan052026-02-061-2/+2
| |
| * maybe fix bot threads?MathMan052026-02-061-8/+10
| |
* | create tagsMathMan052026-02-051-0/+1
| |
* | more forum fixesMathMan052026-02-041-13/+19
|/
* fix threads :3MathMan052026-02-041-1/+0
|
* some fixesMathMan052026-02-042-1/+2
|
* Merge remote-tracking branch 'mathium05/threadFixes'Rory&2026-02-041-3/+24
|\
| * some thread fixesMathMan052026-02-031-3/+24
| |
* | LazyRequest: minor cleanupRory&2026-01-301-3/+3
| |
* | Identify: hold onto access tokenRory&2026-01-301-1/+3
|/
* READY changes for threads ported from #876Rory&2026-01-291-1/+1
|
* thread API startMathMan052026-01-281-1/+4
|
* Identify: add self as recipient for DMs with nonexistnt usersRory&2026-01-231-19/+27
|
* Make this not use the whole session objectohayo2026-01-151-1/+2
|
* Deprecation: Use object-based relations for typeormRory&2025-12-196-11/+11
|
* DEPRECATION: Move most select queries to object instead of string[]Rory&2025-12-192-3/+3
|
* More gateway traceRory&2025-12-181-61/+97
|
* Fix identify traceRory&2025-12-181-3/+4
|
* Try traces againRory&2025-12-181-10/+0
|
* Fill these back in?Rory&2025-12-171-0/+3
|
* Reorganise traces?Rory&2025-12-171-9/+44
|
* trace checkTokenRory&2025-12-171-4/+10
|
* Avoid roundtrip when updating sessionRory&2025-12-171-8/+14
|
* Reorganise identify queriesRory&2025-12-171-11/+11
|
* Remove more dead codeRory&2025-12-171-10/+0
|
* Remove dead code from identifyRory&2025-12-171-22/+2
|
* Merge remote-tracking branch 'DEVTomatoCake/fix/getPublicUser-no-defaults'Rory&2025-12-171-1/+1
|\
| * Stop returning defaults when using getPublicUser()TomatoCake2024-09-011-1/+1
| |
* | lintstagedrc: regenerate schemas/openapi if schemas changedRory&2025-12-1716-1502/+1502
| |
* | Move region to webrtc schemasRory&2025-12-171-2/+2
| |
* | Prettier u8Rory&2025-12-176-132/+34
| |
* | Prettier 2Rory&2025-12-172-2/+2
| |
* | Fix typoRory&2025-12-171-1/+1
| |
* | Fix session id shenanigsRory&2025-12-171-1/+1
| |
* | forgot to clean upRory&2025-12-171-2/+0
| |
* | Centralise ip info logicRory&2025-12-171-23/+7
| |
* | Update session infoRory&2025-12-172-22/+36
| |
* | Dirty rabbitmq hackRory&2025-12-161-1/+1
| |
* | Gateway token frefreshRory&2025-12-161-0/+6
| |
* | Fix gatewayRory&2025-12-161-1/+1
| |
* | Fix bad importsRory&2025-12-161-1/+1
| |
* | Expire old sessions, update last seen on gateway heartbeatRory&2025-12-161-0/+6
| |
* | Gateway: update session last seen on heartbeatRory&2025-12-161-1/+16
| |
* | Session fixesRory&2025-12-161-18/+28
| |
* | fix: send presences array (empty for now) in READY event dataCyberL12025-12-041-0/+1
| |
* | Remove fallback URIs, remove endpointClient, expose admin apiRory&2025-12-041-1/+1
| |
* | More gateway stuffRory&2025-12-023-1/+38
| |
* | Various gateway stuffRory&2025-12-023-3/+149
| |
* | don't show invisMathMan052025-11-293-17/+7
| |
* | change partitionMathMan052025-11-261-2/+2
| |
* | remove distinctMathMan052025-11-261-4/+1
| |
* | actually include fixMathMan052025-11-251-4/+8
| |
* | remove first/lastMathMan052025-11-251-76/+20
| |
* | add extraFields optional param on toPrivateUser, expose rights on READYRory&2025-11-221-1/+1
| |
* | gateway: expose self rights on ready, maybe?Rory&2025-11-221-1/+1
| |
* | default undefinedMathMan052025-11-201-1/+1
| |
* | fix groups moreMathMan052025-11-201-1/+1
| |
* | fix groupsMathMan052025-11-191-8/+8
| |
* | More env settings to tune down log noiseRory&2025-10-191-1/+1
| |
* | More schema work, moved most stuff from entities to schemas, though messyRory&2025-10-151-6/+1
| |
* | Reorganise schemas a little bitRory&2025-10-159-9/+9
| |
* | Gateway: dont create user settingsRory&2025-10-111-3/+1
| |
* | Return defaults for missing {proto-,}settingsRory&2025-10-111-1/+1
| |
* | Try to fix duplicate user settingsRory&2025-10-111-0/+1
| |
* | Local changesEmma [it/its]@Rory&2025-10-051-1/+11
| |
* | Clean up array extensionsRory&2025-10-041-7/+5
| |
* | Send user settings proto in gateway ready, if one existsRory&2025-09-301-1/+10
| |
* | Clean up unused importsRory&2025-09-302-4/+0
| |
* | Fix traceRory&2025-09-291-1/+2
| |
* | Attempt to split up even more?Rory&2025-09-291-2/+103
| |
* | Attempt to reduce OOM chance by factoring out member->guild queriesRory&2025-09-291-108/+66
| |
* | Nest query times for clarityRory&2025-09-291-10/+21
| |
* | Add tracing to IDENTIFYRory&2025-09-291-44/+109
| |
* | Remove @everyone role from `onIdentify`Zane Helton2025-09-291-1/+4
| | | | | | | | | | | | | | | | This prevents the @everyone role from leaking into places that might display it on the frontend. The @everyone role is still visible when needed, but `merged_members` (aka GuildMembers) won't include the role. Resolves: #1213
* | Update Identify.tsMathium052025-09-091-2/+15
| |
* | don't filter channelsMathium052025-09-091-12/+0
| |
* | Make time relative, oopsRory&2025-07-061-8/+8
| |
* | Log more identify timingsRory&2025-07-061-0/+29
| |
* | Use binary flags for default intents in identifyRory&2025-07-061-1/+1
| |
* | Log gateway handling timeRory&2025-07-069-3/+47
| |
* | Fix opcode 8Rory&2025-07-061-2/+7
| |
* | add webrtc support (#1284)dank0742025-06-226-19/+373
| | | | | | | | Co-authored-by: MaddyUnderStars <46743919+MaddyUnderStars@users.noreply.github.com>
* | fix op 8 handler for some discord librariesdank0742025-04-121-1/+8
| |
* | Merge pull request #1269 from dank074/patch/fix-missing-guildcreate-propertiesMadeline2025-04-121-5/+22
|\ \
| * | revert back to original schema, but add missing `members`dank0742025-04-111-6/+19
| | |
| * | add type to make sure payload is consistent with other GUILD_CREATE eventdank0742025-04-091-1/+2
| | |
| * | fix missing properties in GUILD_CREATE for botsdank0742025-04-091-1/+4
| | |
* | | add ophandler for GuildSubscriptionsBulk messagedank0742025-04-122-0/+26
|/ /
* | Merge pull request #1232 from dank074/patch/eslintConfigMadeline2024-11-143-3/+0
|\ \
| * | turn off eslint rules causing issuesdank0742024-11-133-3/+0
| | |
* | | fix op 8dank0742024-11-131-10/+12
|/ /
* / Fix op 8MathMan052024-09-091-1/+0
|/ | | Unless someone says this is wrong for some reason, this should fix op 8
* Merge branch 'spacebarchat:master' into fix/lazy-request-filterTomatoCake2024-08-242-17/+85
|\
| * Fix bug & handle 75k/large_threshold in opcode 8TomatoCake2024-08-182-23/+87
| | | | | | | | | | | | Also fixes a bug that only allowed "guild_id" and "user_ids" to be an Array instead of also a String Co-Authored-By: Puyodead1 <puyodead@proton.me>
| * fix: allow array in op 8Cyber2024-08-171-3/+6
| |
| * Fix: Logins Failing due to null client_statusgreysilly72024-08-171-0/+1
| |
* | Order by status & invisible/no session usersTomatoCake2024-08-171-4/+3
|/
* Fix typo in Request Guild Members relationTomatoCake2024-08-141-1/+1
|
* Fix issues with requesting presencesTomatoCake2024-08-114-19/+33
|
* Fix chunk_count & not_foundTomatoCake2024-08-101-20/+24
|
* opcode 8TomatoCake2024-08-091-6/+94
|
* add `notification_settings` object to readyPuyodead12024-05-261-0/+4
|
* Revert "fix merged_members roles having everyone id"Puyodead12023-12-231-4/+1
| | | | This reverts commit ae5c71f39bf61da5c1d7fb9d9c75f11d6ce11d85.
* fix merged_members roles having everyone idPuyodead12023-12-231-1/+4
|
* handle possibly null activities in session sortPuyodead12023-12-051-1/+1
|
* fucking postgresMadeline2023-10-041-1/+1
|
* refactor channel positions in guildMadeline2023-10-041-12/+26
|
* Fix identify throwing on invalid token instead of closing with auth failed ↵Madeline2023-09-021-1/+9
| | | | close code
* what the fuck is session_id: "all"???Madeline2023-08-211-2/+1
|
* Close #1091Madeline2023-08-211-26/+26
|
* remove pomelo disclose, to be added in pomelo impl prMadeline2023-08-011-1/+1
|
* lazyrequest dont crash when no members can be found in lazyrequestMadeline2023-07-311-1/+1
|
* send empty READY_SUPPLEMENTAL for client compatibilityMadeline2023-07-311-1/+20
|
* * call toJSON of keys in gateway when using erlpackMadeline2023-07-291-0/+2
| | | | | | * 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
* refactor checkTokenMadeline2023-07-281-40/+22
|
* Merge branch 'master' into feat/refactorIdentifyMadeline2023-07-281-2/+29
|\
| * feat: implement member list id generationV3L0C1T13S2023-05-241-1/+26
| |
| * oapi: bug fixesPuyodead12023-04-131-1/+3
| |
* | Merge branch 'master' into feat/refactorIdentifyMadeline2023-04-131-8/+1
|\|
| * Merge pull request #1026 from ochen1/patch-3Madeline2023-04-111-8/+1
| |\ | | | | | | Add support for Discord's new endpoints to update roles
| | * Use partition func instead + use Promise.allMadeline2023-04-111-8/+1
| | |
| * | Send guild name and icon of guild through Identify gateway opcodeochen12023-04-091-0/+2
| |/ | | | | | | These properties are mandatory as per the documentation: https://discord.com/developers/docs/resources/guild#guild-object
| * Merge branch 'master' into refactor/dev/connectionsMadeline2023-04-029-32/+32
| |\
| * | prettierPuyodead12023-03-181-47/+54
| | |
| * | add connectionsPuyodead12023-03-181-2/+4
| | |
* | | Close if already identifiedMadeline2023-04-051-2/+6
| | |
* | | Don't send random read state / guild settings version numbersMadeline2023-04-041-5/+2
| | |
* | | Send d: {} in heartbeat ackMadeline2023-04-041-1/+1
| | |
* | | Respect CLIENT_STATE_V2 capabilityMadeline2023-04-031-5/+15
| | |
* | | allow all role props through readyMadeline2023-04-011-11/+5
| | |
* | | Merge branch 'master' into feat/refactorIdentifyMadeline2023-04-019-32/+32
|\ \ \ | | |/ | |/|
| * | Remove ALL fosscord mentionsMadeline2023-03-319-14/+14
| | |
| * | SPACEBARMadeline2023-03-319-9/+9
| | |
| * | SPACEBARMadeline2023-03-319-9/+9
| |/
* / Initial identify rewriteMadeline2023-03-131-193/+295
|/
* send required_action in gateway for when email verification is requiredMadeline2023-02-241-0/+6
|
* 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-301-18/+60
|
* Add ESLint (#941)Madeline2023-01-208-64/+68
| | | | | | | * Add eslint, switch to lint-staged for precommit * Fix all ESLint errors * Update GH workflow to check prettier and eslint
* Don't fetch the emoji owner in identify, as this causes mass-disconnects ↵Madeline2023-01-181-1/+0
| | | | | | with large emoji counts. TODO: Remove some additional emoji props from being sent (user_id for example)
* Script to add license preamble to each file. Also, does that. (#935)Madeline2023-01-189-0/+162
| | | | | | | | | * Add script to automatically add license to each file * Add license preamble to each file. * Fix existing preamble detection breaking due to line endings. Git :( * Prevent license from being added to code with other licenses
* send GUILD_CREATE after READY event (#938)V3L0C1T13S2023-01-171-9/+13
| | | | | * Fix lazy guilds being sent before READY event * Make casing consistent
* Dev/post refactor fixes (#927)TheArcaneBrony2023-01-121-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Re-introduce outgoing message logging Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Websocket dumping * Sentry user count on API * Generate session ID upon opening websocket, fix gateway dumps * Async file io in src/gateway/events/Message.ts Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Async file io in src/util/util/Config.ts Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Make pre-commit hook executable Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Fixed sync file io in src/util/util/Config.ts Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Fixed missing await call in src/util/util/AutoUpdate.ts Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Add comment to src/gateway/events/Connection.ts Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> * Clean up gateway dumping code Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com> Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com>
* Temp fix for DMsMadeline2023-01-121-4/+5
|
* https://discord.com/channels/806142446094385153/898197424340860928/106240434 ↵Madeline2023-01-111-1/+1
| | | | 0427534446
* Don't send private user data in ready eventMadeline2023-01-051-3/+4
|
* PrettierMadeline2023-01-053-4/+11
|
* Merge pull request #922 from MaddyUnderStars/maddy/bodyParserPatchMadeline2023-01-021-0/+1
|\ | | | | Patch body-parser to use json-bigint, like gateway
| * Profile themes and pronounsMadeline2022-12-311-0/+1
| |
* | Only send public user details in GUILD_MEMBER_LIST_UPDATEMadeline2023-01-021-1/+1
|/
* Client: update to canary 165341Puyodead12022-12-201-8/+8
|
* Move UserSettings to own entityTheArcaneBrony2022-12-192-3/+12
|
* Add additional configMadeline2022-12-191-1/+1
|
* Make ConfigValue a directory, move defaults to those classes instead of a ↵TheArcaneBrony2022-12-191-2/+1
| | | | separate object
* Add basic developer panel functionality - doesn't work yetChrisChrome2022-12-181-1/+1
| | | | | | > > > Co-authored-by: TheArcaneBrony <myrainbowdash949@gmail.com>
* Remove unneeded commentsMadeline2022-12-171-2/+2
|
* Remove IP logging from gatewayMadeline2022-12-171-1/+1
|
* Premium tier 0 SKU from stagingMadeline2022-12-172-1/+2
|
* Add `private_channels_version` to `client_state` in identity. also set ↵Madeline2022-10-311-1/+5
| | | | sentry user in gateway
* Remove user settings from GUILD_MEMBER_LIST_UPDATE responseMadeline2022-09-281-1/+1
|
* Set tutorial to nullMadeline2022-09-271-0/+1
|
* PrettierMadeline2022-09-264-30/+72
|
* Move schemas to /src/util/schemasMadeline2022-09-264-8/+6
|
* Refactor to mono-repo + upgrade packagesMadeline2022-09-2510-0/+802