113 Commits

Author SHA1 Message Date
Samuel
366c4935a4 feat: Database Query Cache 2023-03-18 04:11:48 +01:00
Madeline
f228561f4c
Initial identify rewrite 2023-03-13 19:02:52 +11:00
Puyodead1
05453ec148 implement password reset 2023-02-24 01:54:10 -05:00
Puyodead1
a78e13073f don't print anything if email send is successful 2023-02-24 00:10:50 -05:00
Puyodead1
97bafa81fc fix linting errors 2023-02-23 22:40:05 -05:00
Puyodead1
689b710c9e Fix template rendering and use verify email template
email html is weird, some stuff isn't supported.
2023-02-23 21:35:54 -05:00
Puyodead1
a47d80b255 Email verification works
- Added /auth/verify to authenticated route whitelist
- Updated /auth/verify to properly mark a user as verified, return a response, and fix expiration time check
- Implemented /auth/verify/resend
- Moved verification email sending to a helper method
- Fixed VerifyEmailSchema requiring captcha_key
2023-02-23 21:35:51 -05:00
Puyodead1
256c7ed8fe send email verification 2023-02-23 21:35:49 -05:00
Madeline
6d8e6eca9d On db sync/first run, add all the current migrations to migrations table to prevent running them on restarts 2023-02-03 22:39:10 +11:00
Madeline
067d2d8be8 Merge pull request from GHSA-hqqp-gpqw-9w5c 2023-02-02 22:24:56 +11:00
Madeline
63b4a8997f Fix missing props in welcome message creation, which causes every client who received the welcome message to disconnect. 2023-02-01 00:12:00 +11:00
Puyodead1
709dc7280e Implement WebAuthn (#967)
* implement webauthn

* code review

---------

Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com>
2023-01-30 13:30:42 +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
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
Madeline
0af3da6db7 Fix deleting an application if it has a bot 2023-01-17 00:01:14 +11:00
Madeline
43a0260cd8 Fix guild delete failing when template exists 2023-01-13 22:38:55 +11:00
Madeline
a69c047854 Fix setting user premium_type/etc (non-nullable) to null in db when null in config 2023-01-13 13:44:58 +11:00
Madeline
68db12378d fix rights lol 2023-01-11 20:56:11 +11:00
Madeline
b0e2b450af If defaults_user_premium is false, don't give a user premium_since: new Date 2023-01-11 16:32:16 +11:00
Madeline
df449169bd Prettier 2023-01-05 17:16:55 +11:00
Madeline
e42eaeee8d Add migrations (#923)
* Fix typeorm migration cli and server migrations.
* Add `migrate-from-staging` script
2023-01-05 17:04:15 +11:00
Madeline
7a725bab50 Profile themes and pronouns 2022-12-31 17:51:57 +11:00
Madeline
35938556fe Fix creating bot accounts 2022-12-24 16:28:00 +11:00
Madeline
150f3dbf43 Use config for some default guild properties 2022-12-24 13:47:38 +11:00
Puyodead1
8a28dd4675 Client: update to canary 165341 2022-12-20 23:25:20 -05:00
Madeline
2d67355a52 Fix guild features being undefined if not using defaultFeatures 2022-12-21 14:55:23 +11:00
Madeline
ddd3c86043 Registration tokens 2022-12-19 22:04:52 +11:00
Puyodead1
b84aa73852 implement guild profiles and fix user profiles 2022-12-19 20:37:59 +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
TheArcaneBrony
bc669ea9e1 Make ConfigValue a directory, move defaults to those classes instead of a separate object 2022-12-19 16:14:21 +11:00
Erkin Alp Güney
db4ed3bb6d make it configurable by guild feature flag 2022-12-19 15:59:58 +11:00
TheArcaneBrony
5e4bbc2e83 Do the funny thing (make user->invite cascade delet) 2022-12-18 23:58:17 +11:00
ChrisChrome
ad5248ff97 Made nitro stuff make some sense 2022-12-18 23:54:48 +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
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
32e9d1828c Move to migrations. Use npm run generate:db for first database generation. 2022-12-18 22:14:12 +11:00
Madeline
1e2e82d975 Remove discord login config 2022-12-17 19:43:18 +11:00
Madeline
1148eaa6a2 user validation stuff 2022-12-17 18:50:27 +11:00
Madeline
444e815690 Remove bad banned words implementation 2022-12-17 18:45:42 +11:00
Madeline
eafa93b035 Remove use of PRODUCTION env var 2022-12-17 17:29:42 +11:00
Madeline
574fc1d7a0 various typos 2022-10-28 21:42:52 +11:00
Madeline
00e3606f7c Fix user settings not saving properly and guild folders 2022-10-28 19:23:02 +11:00
Madeline
e991e00f32 Move src-slowcord to own repo https://github.com/MaddyUnderStars/slowcord-services 2022-10-28 15:25:58 +11:00
Madeline
c00c70985c fix bad user validation 2022-10-27 23:12:48 +11:00
Madeline
070b193987 Fix typo in user validation 2022-10-26 18:45:25 +11:00
Madeline
f5b50ed3a8 Move message auto mod to the api route instead of a @beforeinsert/update method 2022-10-25 10:58:36 +11:00
Madeline
0be1949130 Change android and ios client downloads to use /download endpoint, update Release entity to suck less 2022-10-24 14:35:08 +11:00