Commit Graph
153 Commits
Author SHA1 Message Date
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 (Flam3rboy)andGitHub 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 59c0dd0731 Merge branch 'master' of github.com:fosscord/fosscord-server 2023-03-24 04:18:19 +11:00
Madeline 0f928e479c Work towards fixing openapi spec 2023-03-24 04:16:58 +11:00
MadelineandGitHub ce52a8884a Merge pull request #1012 from Puyodead1/patch/totp-user-settings
fix totp using wrong settings key
2023-03-22 14:32:50 +11:00
Puyodead1 002480df9d fix totp using wrong settings key 2023-03-21 22:32:55 -04:00
Madeline 1fd01fa000 Merge branch 'master' of github.com:fosscord/fosscord-server 2023-03-19 22:11:54 +11:00
Madeline 240076a5d8 Add basic information page to / 2023-03-19 21:49:45 +11:00
Samuel d97dbdf73c fix: remove proxy 2023-03-18 04:18:18 +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 cae6fcc72a fix: request language property 2023-03-17 19:30:54 +01:00
Samuel d086c053bb perf: custom i18next middleware that only initializes when needed 2023-03-17 17:50:59 +01:00
Samuel 810f5dd84c perf: cache jwt secret as key 2023-03-17 17:47:43 +01:00
Samuel 1de0dbe509 build: update dependencies 2023-03-17 16:36:25 +01:00
Madeline 4d06b86d7b Fix UserSettings relation being in select rather than relations 2023-03-16 11:31:24 +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
Madeline 048459b75f Merge branch 'master' of github.com:fosscord/fosscord-server 2023-02-24 23:49:07 +11:00
Madeline 51fe1b8955 send required_action in gateway for when email verification is required 2023-02-24 23:46:52 +11:00
Puyodead1 a22cdaaac6 fix a few issues with emails 2023-02-24 07:45:29 -05:00
Puyodead1 91e9d60040 first batch of requested changes 2023-02-24 06:52:01 -05:00
Puyodead1 ed38d74b3e don't return token on register if verification required 2023-02-24 06:36:57 -05: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
Puyodead1andPuyodead1 ada821070b add right to resend verification emails 2023-02-23 22:52:24 -05:00
Puyodead1andPuyodead1 1aba7d591c fix: email verification 2023-02-23 22:49:55 -05:00
Puyodead1andPuyodead1 54dbc7190b fix: verification required for login not working correctly 2023-02-23 22:49:55 -05:00
Puyodead1andPuyodead1 34cde14f75 config: require account verification 2023-02-23 22:40:05 -05:00
Puyodead1andPuyodead1 97bafa81fc fix linting errors 2023-02-23 22:40:05 -05:00
Puyodead1andPuyodead1 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
Puyodead1andPuyodead1 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
Puyodead1andPuyodead1 cc6bf066b1 add missing copyright headers 2023-02-23 21:35:50 -05:00
Puyodead1andPuyodead1 256c7ed8fe send email verification 2023-02-23 21:35:49 -05:00
Puyodead1andPuyodead1 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 5f553cc614 Close #954 2023-02-21 11:35:06 +11:00
TheArcaneBrony 16f13616d2 Remove channel mentions from messages, in order to fix them in test client.
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
2023-02-20 05:09:57 +01:00
Madeline cc50ebf47b Fix being unable to unset nicknames
Remove unwanted guild profile handler in cdn
Fix rights check for bio/avatars of your own user
2023-02-05 12:35:27 +11:00
Puyodead1andGitHub e290965d00 various fixes for webauthn (#973) 2023-02-03 15:05:54 +11:00
Madeline 74570994c8 run add:license 2023-02-03 14:40:41 +11:00
Madeline 16a5cbac87 Don't allow message types to be edited 2023-02-03 14:39:42 +11:00
MadelineandGitHub 6e04c92f07 Merge pull request from GHSA-9qvc-84ch-5p2x
* Check permissions and rights

* Prevent editing message type unless MANAGE_MESSAGES right. Also don't send sensitive data in patch response.
2023-02-02 22:26:22 +11:00
MadelineandGitHub 067d2d8be8 Merge pull request from GHSA-hqqp-gpqw-9w5c 2023-02-02 22:24:56 +11:00
MadelineandGitHub cf04de4add Merge pull request from GHSA-9q7f-pv47-cxp9 2023-02-02 22:22:30 +11:00
MadelineandGitHub af6b5a6594 Merge pull request from GHSA-r7h4-76f7-6264
* Actually use maxUsername config value.

* Change maxUsername default to discord.com default
2023-02-02 22:15:03 +11:00
Madeline ae8f4d6752 check pw and other auth before letting users undisable 2023-01-31 15:13:19 +11:00