Commit Graph

251 Commits

Author SHA1 Message Date
Madeline 6ee26082ef Respect CLIENT_STATE_V2 capability 2023-04-03 23:50:48 +10:00
Madeline d944dd4ef4 allow all role props through ready 2023-04-01 19:49:54 +11:00
Madeline 13dedb6d25 Merge branch 'master' into feat/refactorIdentify 2023-04-01 19:04:22 +11:00
Madeline ed724472b3 gatewayresponse?? 2023-04-01 19:01:34 +11:00
Madeline 095cbf7b20 Remove ALL fosscord mentions 2023-03-31 15:52:33 +11:00
Madeline 698ad90d3e Revert "Merge pull request #1008 from spacebarchat/dev/samuel"
This reverts commit 69ea71aa9e, reversing
changes made to 8b2faf0b18.
2023-03-31 15:26:15 +11:00
Samuel c8f65ca4c7 fix: disable cache if multi threaded 2023-03-30 18:26:19 +02: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 3dc0e68534 feat: add DB_LOGGING env 2023-03-18 05:11:33 +01:00
Samuel f1f7e5ad7d fix: local cache 2023-03-18 05:11:14 +01:00
Samuel c6708f7443 build: remove sqlite3 in favor of better-sqlite3 2023-03-18 04:39:28 +01:00
Samuel fd1c99db2d build: remove sqlite3 in favor of better-sqlite3 2023-03-18 04:20:03 +01:00
Samuel 7b00e99053 fix: use entity.save() instead of insert (needed for caching) 2023-03-18 04:13:04 +01:00
Samuel 52f8508b38 fix: missing id in select query 2023-03-18 04:12:16 +01:00
Samuel 366c4935a4 feat: Database Query Cache 2023-03-18 04:11:48 +01:00
Samuel 2e473576cf wip: cache 2023-03-17 19:47:23 +01:00
Samuel 5ba7c6b5bc perf: optimize getPermission() 2023-03-17 19:18:57 +01:00
Samuel 197f1aacd2 feat: better-sqlite3 support 2023-03-17 19:18:31 +01:00
Samuel 810f5dd84c perf: cache jwt secret as key 2023-03-17 17:47:43 +01:00
Samuel 5b6b97e86c fix: types when using yarn 2023-03-17 16:36:44 +01:00
Madeline f228561f4c Initial identify rewrite 2023-03-13 19:02:52 +11:00
Madeline b9ffef8753 Remove test client and client patcher 2023-03-01 18:45:58 +11:00
Madeline deb0da524e Rename password_reset config to passwordReset as it messes with config key generation 2023-02-25 20:31:10 +11:00
Puyodead1 a22cdaaac6 fix a few issues with emails 2023-02-24 07:45:29 -05:00
Puyodead1 d3b1fd2026 move transporters to their own files 2023-02-24 07:10:56 -05:00
Puyodead1 770217b4b2 simplify replacer function 2023-02-24 07:02:36 -05:00
Puyodead1 91e9d60040 first batch of requested changes 2023-02-24 06:52:01 -05:00
Puyodead1 05453ec148 implement password reset 2023-02-24 01:54:10 -05:00
Puyodead1 dc48a74373 add SendGrid transport 2023-02-24 00:39:17 -05:00
Puyodead1 a78e13073f don't print anything if email send is successful 2023-02-24 00:10:50 -05:00
Puyodead1 6daaaf71e6 error if correspondence email is not set 2023-02-23 23:59:24 -05:00
Puyodead1 ed5aa51a8f fix for when secure is set to false 2023-02-23 23:44:48 -05:00
Puyodead1 ada821070b add right to resend verification emails 2023-02-23 22:52:24 -05:00
Puyodead1 1aba7d591c fix: email verification 2023-02-23 22:49:55 -05:00
Puyodead1 34cde14f75 config: require account verification 2023-02-23 22:40:05 -05:00
Puyodead1 97bafa81fc fix linting errors 2023-02-23 22:40:05 -05:00
Puyodead1 bf55ebc81f Add mailjet transport 2023-02-23 22:38:02 -05:00
Puyodead1 4383fcd449 Add Mailgun transport 2023-02-23 22:35:07 -05:00
Puyodead1 01103268c3 rename SMTPConfigurations to EmailConfiguration 2023-02-23 21:35:54 -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 cc6bf066b1 add missing copyright headers 2023-02-23 21:35:50 -05:00
Puyodead1 256c7ed8fe send email verification 2023-02-23 21:35:49 -05:00
Puyodead1 ed6c1cbd15 Start implementing smtp 2023-02-23 21:35:49 -05:00
Madeline eee98516dd Fix gateway encoding Date objects as {} when using erlpack. Fixes NaN/NaN/NaN timestamps in desktop client 2023-02-21 12:01:49 +11:00
Madeline e7e3c67a77 Don't use relative path for db entities. Closes #937 2023-02-03 22:45:07 +11: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