Rory&
5f0e5a9d1f
Send user settings proto in gateway ready, if one exists
2025-09-30 20:13:23 +02:00
Rory&
b87d28c2c9
Clean up unused imports
2025-09-30 05:13:29 +02:00
Rory&
2defc309c4
Fix trace
2025-09-29 18:38:06 +02:00
Rory&
263e2e32eb
Attempt to split up even more?
2025-09-29 18:38:06 +02:00
Rory&
2cb838d0e3
Attempt to reduce OOM chance by factoring out member->guild queries
2025-09-29 18:38:06 +02:00
Rory&
bec4bfc743
Nest query times for clarity
2025-09-29 18:38:06 +02:00
Rory&
230248d6f4
Add tracing to IDENTIFY
2025-09-29 18:38:06 +02:00
Zane Helton
06ae335d1b
Remove @everyone role from onIdentify
...
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
2025-09-29 00:16:23 +02:00
Mathium05
c873b7074e
Update Identify.ts
2025-09-09 17:30:24 -05:00
Mathium05
dd3a97f056
don't filter channels
2025-09-09 09:31:34 -05:00
Rory&
479b428a2d
Make time relative, oops
2025-07-06 22:24:09 +02:00
Rory&
971fc4a84f
Log more identify timings
2025-07-06 22:22:30 +02:00
Rory&
5feebe7672
Use binary flags for default intents in identify
2025-07-06 20:17:27 +02:00
Rory&
02efa17a04
Log gateway handling time
2025-07-06 19:14:27 +02:00
dank074
526a8da8f5
add webrtc support ( #1284 )
...
Co-authored-by: MaddyUnderStars <46743919+MaddyUnderStars@users.noreply.github.com>
2025-06-22 12:41:13 +10:00
dank074
fd33d58af8
revert back to original schema, but add missing members
2025-04-11 18:39:45 -05:00
dank074
f41164945e
add type to make sure payload is consistent with other GUILD_CREATE event
2025-04-09 16:16:40 -05:00
dank074
64d5dcd53f
fix missing properties in GUILD_CREATE for bots
2025-04-09 15:39:17 -05:00
dank074
f499507698
turn off eslint rules causing issues
2024-11-13 19:05:54 -06:00
TomatoCake
e0b6dd0581
Fix bug & handle 75k/large_threshold in opcode 8
...
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>
2024-08-18 06:45:11 +02:00
greysilly7
d028a785fe
Fix: Logins Failing due to null client_status
2024-08-17 00:59:57 -04:00
TomatoCake
ea3047890b
Fix issues with requesting presences
2024-08-11 06:40:42 +02:00
Puyodead1
939d1bd8d5
add notification_settings object to ready
2024-05-26 16:01:35 -04:00
Puyodead1
105b3de19e
Revert "fix merged_members roles having everyone id"
...
This reverts commit ae5c71f39bf61da5c1d7fb9d9c75f11d6ce11d85.
2023-12-23 22:55:37 -05:00
Puyodead1
ae5c71f39b
fix merged_members roles having everyone id
2023-12-23 22:16:34 -05:00
Madeline
6bf4637a03
fucking postgres
2023-10-04 23:48:00 +11:00
Madeline
7795f1b36b
refactor channel positions in guild
2023-10-04 23:40:05 +11:00
Madeline
09f5b4f0bb
Fix identify throwing on invalid token instead of closing with auth failed close code
2023-09-02 21:05:27 +10:00
Madeline
8a7ee8c8a9
what the fuck is session_id: "all"???
2023-08-21 23:57:44 +10:00
Madeline
ccc774168a
Close #1091
2023-08-21 23:28:36 +10:00
Madeline
53aed18652
remove pomelo disclose, to be added in pomelo impl pr
2023-08-01 20:23:00 +10:00
Madeline
4c0b1391b1
send empty READY_SUPPLEMENTAL for client compatibility
2023-07-31 19:42:27 +10:00
Madeline
a0d93fb252
* call toJSON of keys in gateway when using erlpack
...
* 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
2023-07-29 16:59:21 +10:00
Madeline
f1f68c3d31
refactor checkToken
2023-07-28 09:26:18 +10:00
Madeline
df696d362a
Close if already identified
2023-04-05 20:47:47 +10:00
Madeline
3e9e8aac3b
Don't send random read state / guild settings version numbers
2023-04-04 00:16:10 +10:00
Madeline
6ee26082ef
Respect CLIENT_STATE_V2 capability
2023-04-03 23:50:48 +10:00
Madeline
d944dd4ef4
allow all role props through ready
2023-04-01 19:49:54 +11:00
Madeline
13dedb6d25
Merge branch 'master' into feat/refactorIdentify
2023-04-01 19:04:22 +11:00
Madeline
095cbf7b20
Remove ALL fosscord mentions
2023-03-31 15:52:33 +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
f228561f4c
Initial identify rewrite
2023-03-13 19:02:52 +11:00
Madeline
51fe1b8955
send required_action in gateway for when email verification is required
2023-02-24 23:46:52 +11:00
Madeline
084dc0be08
Add ESLint ( #941 )
...
* Add eslint, switch to lint-staged for precommit
* Fix all ESLint errors
* Update GH workflow to check prettier and eslint
2023-01-20 18:10:47 +11:00
Madeline
1ab279e2ef
Don't fetch the emoji owner in identify, as this causes mass-disconnects with large emoji counts.
...
TODO: Remove some additional emoji props from being sent (user_id for example)
2023-01-18 20:16:49 +11:00
Madeline
0e7f127ece
Script to add license preamble to each file. Also, does that. ( #935 )
...
* 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
2023-01-18 13:05:49 +11:00
V3L0C1T13S
eb2f6ab79a
send GUILD_CREATE after READY event ( #938 )
...
* Fix lazy guilds being sent before READY event
* Make casing consistent
2023-01-17 15:44:29 +11:00
TheArcaneBrony
6122374e4d
Dev/post refactor fixes ( #927 )
...
* 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>
2023-01-12 23:46:36 +11:00
Madeline
da9ce34933
Temp fix for DMs
2023-01-12 00:32:24 +11:00