summary refs log tree commit diff
path: root/src/gateway (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Decouple gateway connection state from inner ws object github/dev/gwsep dev/gwsepRory&3 days13-99/+98
|
* update to latest branch changes and adjust the fileLeafus4 days1-2/+11
|
* feat: address issuesLeafus4 days1-17/+24
|
* feat: restore commentsLeafus4 days1-3/+4
|
* feat: add presences on ready_supplementalLeafus4 days1-15/+63
|
* Clean up some schemasRory&10 days1-2/+2
|
* Use express for gatewayRory&2026-07-291-26/+40
|
* Prepare to use ExpressRory&2026-07-292-129/+152
|
* Rename Server to GatewayServer/WebrtcServerRory&2026-07-292-3/+4
|
* Add worker name + nixRory&2026-07-271-1/+1
|
* Add util script to send IPC messages, "fix" ID stuffRory&2026-07-261-1/+1
|
* Systemd notify hooks, move nixos integration tests to a systemd serviceRory&2026-07-111-1/+2
|
* Add JWT keypair init hooks to various servicesRory&2026-07-101-1/+2
|
* Gateway offload: gracefully fall back to TS code on failureRory&2026-06-236-7/+10
|
* Member list kinda works now? github/dev/lazyrequest dev/lazyrequestRory&2026-06-231-1/+1
|
* Close: use session as predicate rather than session_id due to early initRory&2026-06-221-1/+2
|
* LazyRequest: support offloadRory&2026-06-211-2/+6
|
* Use stopwatch for LazyRequest, clean up imports, remove unused codeRory&2026-06-211-42/+3
|
* Publish LazyRequest typescript attempt, partial C# implRory&2026-06-211-1/+41
|
* Evade metric constructors handling registration by defaultRory&2026-06-192-1/+2
|
* Signify some imports more explicitlyRory&2026-06-162-2/+2
|
* Move random string to Random class in extensionsRory&2026-06-163-7/+9
|
* Split config/response voice regions, remove APIVoiceRegion aliasRory&2026-06-131-2/+2
|
* HACKHACK: Migrate to typeorm v1.0.0, still work to do in actually updating ↵Rory&2026-06-131-2/+3
| | | | all the queries properly
* Move more extensions to extensionsRory&2026-06-124-8/+7
|
* Move entities to databaseRory&2026-06-1215-70/+110
|
* Move database to toplevelRory&2026-06-124-13/+16
|
* Use subpath imports for lambert-server, fix openapi.jsRory&2026-06-121-1/+1
|
* Allow subpath imports, move extensions to separate moduleRory&2026-06-123-3/+23
|
* Process lifecycle scriptsRory&2026-05-283-51/+84
|
* Gateway: send reconnect on shutdownRory&2026-05-281-0/+11
|
* */start.ts: unify import order for module-alias and dotenvRory&2026-05-241-4/+5
|
* Clean up erlpack typesRory&2026-05-243-26/+2
|
* Add internal status order enumRory&2026-05-191-2/+2
|
* Rework status enum schemaRory&2026-05-191-2/+7
|
* LazyRequest: dont pseudo-force users to be onlineRory&2026-05-191-7/+1
|
* switch to harmony-erlpackRory&2026-05-032-15/+19
|
* eslint: default-caseRory&2026-04-191-0/+6
|
* eslint: arrow-body-style=as-neededRory&2026-04-194-86/+79
|
* eslint: more rules, no-duplicate-importsRory&2026-04-191-2/+1
|
* eslint: array callback return, no restricted importsRory&2026-04-195-10/+10
|
* 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
|
* Make presence clear async, clean up temp session codeRory&2026-04-131-1/+16
|
* Presence disconnect works!Rory&2026-04-132-4/+9
|
* Time out presenceRory&2026-04-132-4/+4
| | | | | | Sourced from #1541 Co-authored-by: Davide <137603413+LW-Davide@users.noreply.github.com>
* Mark users as offline when gateway connection is closedRory&2026-04-131-1/+30
| | | | | | Part of #1541 Co-authored-by: Davide <137603413+LW-Davide@users.noreply.github.com>
* prep for presenceRory&2026-04-132-24/+5
|
* Emit presence on identify, support deduped gw eventsRory&2026-04-134-1/+64
|
* 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-063-56/+92
|
* Fix voice state query trying to include memberRory&2026-03-212-3/+14
|
* 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-203-20/+16
|
* Migrate VoiceS*Event to satisfies, part of #1577Rory&2026-03-204-7/+16
|
* merge the functionsMathMan052026-03-201-1/+1
|
* remove weird debuggingMathMan052026-03-201-2/+1
|
* a lot of small fixesMathMan052026-03-201-1/+2
|
* it ain't asyncMathMan052026-03-201-8/+6
|
* sign 'emMathMan052026-03-201-0/+11
|
* Some minor workRory&2026-03-141-1/+1
|
* Shorten importsRory&2026-03-143-5/+3
|
* Remove unused imports for non-entitiesRory&2026-03-144-24/+6
|
* Clean up some type guardsRory&2026-03-141-3/+3
|
* properly mark unused paramsRory&2026-03-145-9/+6
|
* Qodana: fix async warningsRory&2026-03-142-3/+3
|
* gateway offload workRory&2026-03-135-6/+26
|
* identify: use proto toVoiceStateRory&2026-03-131-1/+1
|
* gateway: util function to do gateway offload stuffRory&2026-03-131-1/+35
|
* Gateway: add SB_SESSION_CLOSE and SB_SESSION_INVALIDATE eventsRory&2026-03-132-10/+30
|
* Gateway: allow addressing dispatch events to specific sessionsRory&2026-03-131-0/+1
|
* Gateway: include entity counts in trace namesRory&2026-03-121-5/+5
|
* Factor out getMostRelevantSessionRory&2026-03-123-34/+20
|
* 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
* oooopsRory&2026-03-061-1/+1
|
* 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
|
* Inline pointless const for session_idRory&2026-03-061-3/+1
|
* 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-1712-24/+36
|
* Gateway: dont block on clearing voice statesRory&2026-02-162-8/+4
|
* gateeway debug logsRory&2026-02-161-0/+3
|
* add keys to make bot libs happyMathMan052026-02-141-0/+2
|
* fix guild joinMathMan052026-02-131-4/+9
|
* gateway: introspect endpointRory&2026-02-082-3/+117
|
* shoot, screwed up the merge conflict github/tmp-master 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 disabling migrations on nix not wirkingRory&2026-02-041-1/+5
|
* 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
| |
* | Merge remote-tracking branch 's074/add-rabbitmq-error-handling'Rory&2026-02-031-26/+78
|\ \
| * | convert event listener iterations to Promise.all + mapdank0742026-01-301-16/+24
| | |
| * | add rabbitmq reconnection logic with state recoverydank0742026-01-221-25/+69
| | |
* | | LazyRequest: minor cleanupRory&2026-01-301-3/+3
| | |
* | | Identify: hold onto access tokenRory&2026-01-302-1/+4
| |/ |/|
* | 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
|
* Gateway close logging for 4002Rory&2026-01-132-3/+16
|
* Commit evil (set process names)Rory&2025-12-201-0/+6
|
* Deprecation: Use object-based relations for typeormRory&2025-12-197-13/+13
|
* 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
|
* Clean up some pointless gateway log noiseRory&2025-12-181-2/+1
|
* 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-1729-2159/+2159
| |
* | Move region to webrtc schemasRory&2025-12-171-2/+2
| |
* | Prettier u10Rory&2025-12-174-65/+22
| |
* | Prettier u8Rory&2025-12-176-132/+34
| |
* | Prettier u4Rory&2025-12-171-16/+3
| |
* | Prettier 4Rory&2025-12-171-3/+1
| |
* | Prettier 2Rory&2025-12-173-3/+3
| |
* | Fix typoRory&2025-12-171-1/+1
| |
* | Fix session id shenanigsRory&2025-12-172-2/+2
| |
* | forgot to clean upRory&2025-12-171-2/+0
| |
* | Centralise ip info logicRory&2025-12-171-23/+7
| |
* | Update session infoRory&2025-12-173-24/+37
| |
* | Experimental unix socket modeRory&2025-12-161-3/+1
| |
* | 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-162-21/+30
| |
* | Try adjusting CORS rules to make cookies work?Rory&2025-12-131-1/+1
| |
* | Fix IP tracking for bansRory&2025-12-124-0/+24
| |
* | fix: prevent race condition in rabbitmqdank0742025-12-122-75/+41
| |
* | 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
| |
* | Log origin for missing rolesRory&2025-12-021-1/+1
| |
* | Trace origin for addToGuild call, warn if sending null rolesRory&2025-12-021-1/+10
| |
* | More gateway stuffRory&2025-12-023-1/+38
| |
* | Various gateway stuffRory&2025-12-024-3/+151
| |
* | Handle case where session is an object, merges #1412Rory&2025-11-291-1/+1
| |
* | don't show invisMathMan052025-11-294-18/+8
| |
* | change partitionMathMan052025-11-261-2/+2
| |
* | remove distinctMathMan052025-11-261-4/+1
| |
* | actually include fixMathMan052025-11-251-4/+8
| |
* | remove first/lastMathMan052025-11-252-92/+23
| |
* | 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
| |
* | ZSTD on gatewayRory&2025-10-174-22/+35
| |
* | Local changesRory&2025-10-161-3/+12
| |
* | More schema work, moved most stuff from entities to schemas, though messyRory&2025-10-151-6/+1
| |
* | Reorganise schemas a little bitRory&2025-10-1511-11/+12
| |
* | 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
| |
* | Unkown -> unkown (typo fix)Rory&2025-10-041-1/+1
| |
* | Clean up array extensionsRory&2025-10-041-7/+5
| |
* | Drop dependency on missing-native-js-functionsRory&2025-10-042-2/+0
| |
* | Send user settings proto in gateway ready, if one existsRory&2025-09-301-1/+10
| |
* | Clean up unused importsRory&2025-09-302-4/+0
| |
* | Silence, dotenv, we dont want your adsRory&2025-09-292-2/+2
| |
* | Drop @sentry/node (Sentry support) - untested and unusedRory&2025-09-292-25/+2
| |
* | 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-292-44/+114
| |
* | 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
| |
* | PrettierRory&2025-07-061-6/+11
| |
* | Resolve eslint errorsRory&2025-07-061-1/+1
| |
* | Fix forgotten function signature changesRory&2025-07-061-1/+0
| |
* | Make IP/user-agent validation in CDN workRory&2025-07-063-13/+29
| |
* | sign urls in gatewayEmma [it/its]@Rory&2025-07-063-1/+21
| |
* | Fix opcode 8Rory&2025-07-061-2/+7
| |
* | Fix typeorm queries no longer allowing empty where clausesEmma [it/its]@Rory&2025-07-061-11/+14
| |
* | Change how GUILD_DELETE cleans up the listenerZane Helton2025-06-291-1/+1
| | | | | | | | | | | | | | | | Adding `this.events[id]?.()` cleans up the listener. I removed `opts.cancel()` because with it, the event had issues firing after the first time. Resolves: #1242
* | add webrtc support (#1284)dank0742025-06-2212-24/+476
| | | | | | | | 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
|/ /
* | run prettierdank0742024-11-192-6/+25
| |
* | 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
|/ /
* | Merge pull request #1214 from MathMan05/patch-2Madeline2024-11-051-1/+0
|\ \ | | | | | | Fix op 8
| * | Fix op 8MathMan052024-09-091-1/+0
| |/ | | | | Unless someone says this is wrong for some reason, this should fix op 8
* | Log rabbitmq channel allocations 2Emma [it/its]@Rory&2024-11-021-4/+4
| |
* | Log rabbitmq channel allocationsEmma [it/its]@Rory&2024-11-021-0/+5
| |
* | Update sentry to latestEmma [it/its]@Rory&2024-10-301-2/+2
| |
* | Remove imports of erlpack in favor of @yukikaze-bot/erlpack due to the ↵Emma [it/its]@Rory&2024-10-303-21/+6
| | | | | | | | former not working on modern node
* | Fix module resolution when $CWD != .Emma [it/its]@Rory&2024-10-281-1/+2
| |
* | Fall back to @yukikaze-bot/erlpack if erlpack cant be found or loadedEmma [it/its]@Rory&2024-10-093-3/+18
|/
* Merge branch 'spacebarchat:master' into fix/lazy-request-filterTomatoCake2024-08-243-20/+89
|\
| * Fix bug & handle 75k/large_threshold in opcode 8TomatoCake2024-08-183-26/+91
| | | | | | | | | | | | 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-115-24/+38
|
* 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
* sentry db instrumentation for gateway eventsMadeline2023-09-021-30/+25
|
* what the fuck is session_id: "all"???Madeline2023-08-211-2/+1
|
* Close #1091Madeline2023-08-211-26/+26
|