Commit Graph

86 Commits

Author SHA1 Message Date
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 d151283b08 Add back include_url param to reg tokens 2023-01-10 18:08:31 +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 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 7453dd0119 Use adjusted email in /auth/login 2023-01-02 13:18:07 +11:00
Madeline 1bee8dc48f Revert "Don't let users undisable their accounts"
This reverts commit cd84412c92.
2023-01-01 14:20:41 +11:00
Madeline cd84412c92 Don't let users undisable their accounts 2023-01-01 12:59:45 +11:00
Madeline 7a725bab50 Profile themes and pronouns 2022-12-31 17:51:57 +11:00
Madeline a1c07173bb Fix new roles having duplicate positions 2022-12-30 18:07:56 +11:00
Madeline a02f929d34 OAuth2 authorize bot flow 2022-12-24 18:55:14 +11:00
Madeline 35938556fe Fix creating bot accounts 2022-12-24 16:28:00 +11:00
Madeline ec1c340369 Rename limits_rate_disabled -> limits_rate_enabled and remove limits_guilds_hideOfflineMember 2022-12-22 21:01:29 +11:00
Madeline 92227cdf18 Set default cdn endpoints so that local testing works 2022-12-21 15:37:16 +11:00
Madeline 0aead491dc Fix the roles bug 2022-12-21 15:17:06 +11:00
Madeline e6ae9d32e8 Reg tokens bypass other restrictions 2022-12-19 22:23:31 +11:00
TheArcaneBrony bdda215005 Message rate limiting 2022-12-19 22:17:06 +11:00
Madeline ddd3c86043 Registration tokens 2022-12-19 22:04:52 +11:00
TheArcaneBrony 3227933f28 Add register ratelimit 2022-12-19 20:57:43 +11:00
Erkin Alp Güney 8eff4de19d flags related rights and stats api 2022-12-19 20:49:38 +11:00
Puyodead1 ae199e3445 fix user profile not displaying correctly 2022-12-19 20:43:54 +11:00
Puyodead1 b84aa73852 implement guild profiles and fix user profiles 2022-12-19 20:37:59 +11:00
TheArcaneBrony 0ab0a6ff16 Replace deprecated property 2022-12-19 19:32:39 +11:00
Madeline ac74a2cec4 Create webhooks 2022-12-19 19:31:23 +11: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
ChrisChrome cdb500e8e6 Invalidate tokens on password change 2022-12-18 23:51:42 +11:00
TheArcaneBrony 39f4aa6b70 Make teams nullable 2022-12-18 23:48:17 +11:00
Madeline b74453d802 Refactor applications 2022-12-18 23:45:29 +11:00
ChrisChrome 44c21039a3 Whoops 2022-12-18 22:44:17 +11:00
ChrisChrome 55d111c68b Whoops, missed one 2022-12-18 22:44:11 +11:00
ChrisChrome 5474ff5fbe I'm probably forgetting a lot of things, but hey, it works 2022-12-18 22:43:55 +11:00
ChrisChrome 455d7432cf It works now... I guess
Co-authored-by: TheArcaneBrony <myrainbowdash949@gmail.com>
2022-12-18 22:43:14 +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
TheArcaneBrony 974cae0332 Remove some old test logs that expose info to console 2022-12-18 22:26:06 +11:00
TheArcaneBrony 7d7567a1a0 Remove todo line that has been implemented. 2022-12-18 22:24:11 +11:00
Madeline 061a03eced Remove /policies/instance/stats 2022-12-17 19:42:40 +11:00
Madeline bf420aac32 Remove Discord oauth login support 2022-12-17 19:41:49 +11:00
Madeline 1e88d63186 Remove sharp dep 2022-12-17 18:46:44 +11:00
Madeline 444e815690 Remove bad banned words implementation 2022-12-17 18:45:42 +11:00
Madeline d1c90c8c09 Remove /api/-/monitorz 2022-12-17 18:32:46 +11:00
Madeline e7a6be0639 Premium tier 0 SKU from staging 2022-12-17 17:44:30 +11:00
Madeline ec6666edee Remove Slowcord demo user restrictions 2022-12-17 17:32:10 +11:00
Madeline d8b3e95942 Only allow specific server features to be edited 2022-12-05 20:02:34 +11:00
Madeline fbde8f978b Fix private messages being returned when no channel_id provided in search 2022-12-05 19:29:50 +11:00
Madeline b380cf19ba Fix bug allowing any member from kicking any member instance-wide 2022-12-05 19:16:40 +11:00
Madeline 9710d74541 Fix prune 2022-12-03 22:58:29 +11:00
Madeline 4469acd390 Fix 404 handler 2022-11-05 21:59:12 +11:00
Madeline 5b849749d5 Fix message patching sending old message rather than updated one 2022-10-31 15:09:52 +11:00
Madeline 49ae07ff29 Allow running api, cdn, gateway separately 2022-10-31 13:17:21 +11:00