summary refs log tree commit diff
path: root/src/gateway/opcodes (follow)
Commit message (Collapse)AuthorAgeFilesLines
* handle possibly null activities in session sortPuyodead12023-12-051-1/+1
|
* fucking postgresMadeline2023-10-041-1/+1
|
* refactor channel positions in guildMadeline2023-10-041-13/+27
|
* 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-194/+296
|/
* 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-19/+61
|
* 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