Commit Graph
43 Commits
Author SHA1 Message Date
Madeline 77b31d79a3 More random bullshit 2022-06-05 22:02:21 +10:00
Madeline b680d179c3 Merge branch 'master' into maddyrtc 2022-06-02 16:29:56 +10:00
Madeline f420cfd36c Respect register_dateOfBirth_required = false 2022-05-30 23:29:35 +10:00
Madeline 2e84840213 While backfilling, message ids must now be valid snowflakes, cannot be in the future, and cannot overwrite existing messages 2022-04-24 16:09:38 +10:00
Madeline 6e0040a8ca Fix not assigning new changes to input fields in users/@me 2022-04-23 01:48:41 +10:00
Madeline 2846e970b4 Can no longer send messages to channel types that do not support it ( categories, voice etc ) 2022-04-23 01:28:03 +10:00
Madeline 7e7a2d3619 Fixed ability for user to edit any property of themselves, including rights, flags. Note to self: schemas.json is a GENERATED file. npm run generate:schema in api/ 2022-04-23 01:07:59 +10:00
Madeline e2e4c5715e Added README, added more UDP decryption stuff 2022-04-22 15:02:40 +10:00
Madeline 89a1258c1c Merge branch 'master' into maddyrtc 2022-04-20 18:30:17 +10:00
Madeline 12aed1db1f Fix compile errors in checkPassword's entropy check 2022-04-10 17:39:23 +03:00
Madeline 9f2e9d5faf Resolves #715 2022-04-09 17:03:31 +03:00
Madeline ecf59d30c5 User Notes (#707)
* Notes implementation.
Bug: Client does not save note locally after uploading to server. Client does save after reloading page. Is this due to the response being sent by PUT?

* I don't know why the client doesn't do optimistic UI updates with this, or any updates at all without reloading the page

* Added USER_NOTE_UPDATE event, thanks @TheRealGeoDash2019 !
2022-04-05 12:58:34 +03:00
Madeline cf97e182df Trying my hand at implementing desktop voice, magic packets courtesy of that one reverse engineering discord medium post 2022-04-05 00:53:32 +10:00
Madeline 0bbeca9237 Merge branch 'master' into maddyrtc 2022-03-31 21:48:14 +11:00
Madeline 54ffd87e8e Fix typo in table 'client_relase' -> 'client_release' ( and other of the same typo ) (#703)
* Fixed typo in table name 'client_relase' -> 'client_release'. Fixed more typos of the same typo.

* Fixed migration ( but dirty lol )
2022-03-30 17:21:40 +03:00
Madeline d45b9d7caa changes from yonks ago that I forgot to commit 2022-03-30 23:28:04 +11:00
Madeline e1f9839685 Merge branch 'master' into maddyrtc 2022-03-09 22:35:00 +11:00
Madeline 4059a00044 Changing Member.premium_since back from Date to number fixes an error in the Discord electron client related to rendering premium status. (#669)
Client throws "Invalid time value", so I'm guessing it's something to do with premium_since not being the date format they want ( allegedly ISO8601, but works with a plain number, so wtf )
2022-03-08 18:10:23 +03:00
Madeline f5f007e81f Added preferred_region optional property of VoiceStateUpdateSchema to allow electron client to connect to voice without crashing 2022-03-08 21:57:20 +11:00
Madeline 3b439f74f1 Merge branch 'fix/electron_premium_since' into maddyrtc 2022-03-08 21:46:51 +11:00
Madeline c79d464186 Changing Member.premium_since back from Date to number fixes an error in the Discord electron client related to rendering premium status.
Client throws "Invalid time value", so I'm guessing it's something to do with premium_since not being the date format they want ( allegedly ISO8601, but works with a plain number, so wtf )
2022-03-08 21:22:02 +11:00
Madeline e731a369e5 VOICE CONNECTS!!! Dtls stuck on "connecting" state + currently no way to edit/inspect packets received or use own packet format in mediasoup ( fork? ) 2022-03-07 22:57:37 +11:00
Madeline b529a37264 augh 2022-03-07 19:15:33 +11:00
Madeline ce9d7339d3 Merge branch 'master' into maddyrtc 2022-03-06 22:09:36 +11:00
Madeline 4ede702657 Fixed npm run tsnode throwing error about ES modules for node-fetch. Probably was api package.json still included node-fetch 3, but bundle still had v2 2022-03-06 10:52:19 +03:00
MadelineandErkin Alp Güney 68f6fe58d5 Tsnode support (#580)
* ts-node support. debugging is slightly wonky as vscode will not allow breakpoints in modules that aren't bundle, yet.

* apparently ts-node compilerOptions.path wasn't needed? on windows I could've sworn it was.

* Cleaned up tsconfig.json a bit ( moved tsnode config to own file ).
Fixed breakpoints for all modules under tsnode

* Removed Microsoft Corp advert
* Remove one more Microsoft Corp. ad

Signed-off-by: Erkin Alp Güney <erkinalp9035@gmail.com>

* Added `tsnode` npm script

* Added `typescript-cached-transpile` package to help improve performance

Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com>
2022-03-06 09:18:35 +03:00
Madeline d3f9fb63f3 Merge branch 'master' into maddyrtc 2022-02-17 18:57:04 +11:00
Madeline d491bcd8be Discord.js gateway connection when connecting to voice will close 4002 decode error due to not sending self_video field. temp solution: remove it from server.
this commit will probably be reverted later; I'm just trying to see if a proper ( not self signed ) SSL cert on slowcord.maddy.k.vu will fix this SSL error I'm receiving.
2022-02-17 18:54:16 +11:00
Madeline 204fe2aed1 Merge branch 'master' into maddyrtc 2022-02-13 22:29:14 +11:00
Madeline b512fa49b0 Remove nulled properties from GET /channels/#id/messages for improved compatibility with some client ( discord.js ) 2022-02-04 19:59:13 +11:00
Madeline 9bdc7933a8 ;jondfgsk 2022-02-04 18:46:09 +11:00
Madeline 108829140a revert dependabot PRs that update node-fetch to v3 2022-01-24 17:06:31 +11:00
Madeline f8f236afb2 * Replaced list of invisible characters with unicode codepoints
* No longer silently edit invalid channel names
* No longer trim channel names in unnamed check
2022-01-23 23:29:14 +03:00
Madeline 0a53860645 channel.owner_id is type string not number 2022-01-23 23:29:14 +03:00
Madeline d6f5a08cb5 Add unhandled channel types to IsTextChannel method 2022-01-23 23:29:14 +03:00
MadelineandErkin Alp Güney 028fd7b8b3 Apply suggestions from code review
Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com>
2022-01-23 23:29:14 +03:00
Madeline 35c7489f72 Added ILLEGAL_CHANNEL_NAMES and NULL_CHANNEL_NAMES guild feature flags 2022-01-23 23:29:14 +03:00
Madeline 9d86d10a85 mmmm 2022-01-21 21:04:45 +11:00
Madeline 7c87f8d60a more fuckery 2022-01-17 02:59:26 +11:00
Madeline aa0357e060 messing around with things I don't understand 2022-01-16 03:35:30 +11:00
Madeline 1569fec0cf boilerplate stuff 2022-01-16 02:38:43 +11:00
Madeline 41fca13db2 Fix typo in commit 277b28c 2022-01-13 10:49:26 +03:00
MadelineandErkin Alp Güney e275d2c77d Message fixes | Character limits and embed fixes (#581)
* Adds message character limits (#503)
* Fixed message `embeds` being ignored for `embed`
* Update Message.ts

Co-authored-by: Erkin Alp Güney <erkinalp9035@gmail.com>
2022-01-11 17:27:55 +03:00