37 Commits

Author SHA1 Message Date
Madeline
46d86c4079
move guild/user prop initialisations into create/register methods 2023-04-14 22:27:22 +10:00
Puyodead1
a8a28542f7
fix some types not being generated correctly 2023-04-13 20:13:58 -04:00
Puyodead1
1ce7879ee8
oapi: users progress 2023-04-13 15:38:52 -04:00
Madeline
698ad90d3e
Revert "Merge pull request #1008 from spacebarchat/dev/samuel"
This reverts commit 69ea71aa9e0bd2e5a98904a66fba0ad3745707cb, reversing
changes made to 8b2faf0b18336e5dff1eeff4e849bcfd96b09e88.
2023-03-31 15:26:15 +11:00
Samuel (Flam3rboy)
69ea71aa9e
Merge pull request #1008 from spacebarchat/dev/samuel 2023-03-30 18:13:34 +02:00
Madeline
8b2faf0b18
SPACEBAR 2023-03-31 02:15:42 +11:00
Madeline
64e747a4d2
SPACEBAR 2023-03-31 02:05:02 +11:00
Madeline
0f928e479c
Work towards fixing openapi spec 2023-03-24 04:16:58 +11:00
Samuel
366c4935a4 feat: Database Query Cache 2023-03-18 04:11:48 +01: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
067d2d8be8 Merge pull request from GHSA-hqqp-gpqw-9w5c 2023-02-02 22:24:56 +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
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
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
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
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
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
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
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
add54e6b68 Fix user validator preventing update 2022-09-27 23:30:46 +10:00
Madeline
99ee7e9400 Prettier 2022-09-26 22:41:21 +10:00
Madeline
f44f5d7ac2 Refactor to mono-repo + upgrade packages 2022-09-25 23:35:18 +10:00