Puyodead1
0d666732c6
oapi: bug fixes
2023-04-13 15:41:23 -04:00
Madeline
f040caa712
Merge pull request #1026 from ochen1/patch-3
...
Add support for Discord's new endpoints to update roles
2023-04-11 13:20:09 +10:00
Madeline
debfaea866
Use partition func instead + use Promise.all
2023-04-11 12:56:32 +10:00
ochen1
7327669672
Send guild name and icon of guild through Identify gateway opcode
...
These properties are mandatory as per the documentation:
https://discord.com/developers/docs/resources/guild#guild-object
2023-04-09 11:13:28 -06:00
Madeline
218f71b82c
Merge branch 'master' into refactor/dev/connections
2023-04-02 10:55:17 +10: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
Puyodead1
5a7765c7dc
prettier
2023-03-18 19:50:38 -04:00
Puyodead1
21bfda32e4
add connections
2023-03-18 19:09:51 -04:00
Madeline
51fe1b8955
send required_action in gateway for when email verification is required
2023-02-24 23:46:52 +11:00
Madeline
eee98516dd
Fix gateway encoding Date objects as {} when using erlpack. Fixes NaN/NaN/NaN timestamps in desktop client
2023-02-21 12:01:49 +11:00
Madeline
c59af81563
Fix a bug prevent connections using erlpack ( #977 )
2023-02-16 19:31:36 +11:00
Madeline
da20866967
Use erlpack instead of @yukikaze-bot/erlpack ( #968 )
2023-02-01 13:00:04 +11:00
Madeline
d4d1ab181e
subscribe clients to member events when they lazy request members
2023-01-30 20:23:35 +11:00
Madeline
ac51849f28
question mark.
2023-01-30 20:05:07 +11:00
Madeline
1c4cb721be
Impl member lazy request ( #970 )
2023-01-30 19:57:00 +11:00
Madeline
ac7a178f88
Fix SIGTERM handler not disconnecting gateway clients and leaving timeouts active
2023-01-26 14:29:33 +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
Madeline
f544c6890c
Fix dumping incoming messages
2023-01-13 13:49:58 +11:00
Madeline
3bbf997295
Dont send sessions replace or presence update for unidentified users
2023-01-13 13:44:19 +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
Madeline
7fc3634211
https://discord.com/channels/806142446094385153/898197424340860928/1062404340427534446
2023-01-11 14:32:30 +11:00
Madeline
2f065e6b37
Move sentry init to util. use sentry in each module, not just bundle
2023-01-10 13:20:37 +11:00
Madeline
9efac4ad16
Add error handler for individual gateway sockets
2023-01-10 12:54:03 +11:00
Madeline
9cc9df985c
Don't send private user data in ready event
2023-01-05 17:42:36 +11:00
Madeline
df449169bd
Prettier
2023-01-05 17:16:55 +11:00
Madeline
5ef4b80fc5
Merge pull request #922 from MaddyUnderStars/maddy/bodyParserPatch
...
Patch body-parser to use json-bigint, like gateway
2023-01-02 20:37:25 +11:00
Madeline
ec1af70ae5
Only send public user details in GUILD_MEMBER_LIST_UPDATE
2023-01-02 13:16:16 +11:00
Madeline
7a725bab50
Profile themes and pronouns
2022-12-31 17:51:57 +11:00
Madeline
0a09abbbfa
Add WS_LOGEVENTS and WS_VERBOSE env vars
2022-12-31 12:00:00 +11:00
Puyodead1
8a28dd4675
Client: update to canary 165341
2022-12-20 23:25:20 -05:00
TheArcaneBrony
803ab38fad
Move UserSettings to own entity
2022-12-19 17:52:44 +11:00
Madeline
d407d8ebe7
Add additional config
2022-12-19 16:51:24 +11:00
TheArcaneBrony
bc669ea9e1
Make ConfigValue a directory, move defaults to those classes instead of a separate object
2022-12-19 16:14:21 +11:00
ChrisChrome
245127f651
Add basic developer panel functionality - doesn't work yet
...
>
>
> Co-authored-by: TheArcaneBrony <myrainbowdash949@gmail.com>
2022-12-18 22:40:25 +11:00
Madeline
15090143d0
Add comment for 123 magic number
2022-12-17 19:50:30 +11:00
Madeline
5ededaf289
Remove fluent-ffmpeg dep. TODO: Merge puyo's PR
2022-12-17 19:33:51 +11:00
Madeline
b25fa163ae
Remove unneeded comments
2022-12-17 19:05:29 +11:00
Madeline
e4d85450b8
Remove IP logging from gateway
2022-12-17 19:01:48 +11:00
Madeline
444e815690
Remove bad banned words implementation
2022-12-17 18:45:42 +11:00
Madeline
e7a6be0639
Premium tier 0 SKU from staging
2022-12-17 17:44:30 +11:00
Madeline
4cb6c2639f
Rewrite gateway message decoding
2022-10-31 20:49:32 +11:00
Madeline
49ae07ff29
Allow running api, cdn, gateway separately
2022-10-31 13:17:21 +11:00
Madeline
1cacd4413a
Add private_channels_version
to client_state
in identity. also set sentry user in gateway
2022-10-31 12:16:15 +11:00
Madeline
5a5a20c203
Sentry stuff?
2022-10-30 11:34:25 +11:00