1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-14 22:52:41 +01:00
Commit Graph

3746 Commits

Author SHA1 Message Date
Madeline
7cca31e68e
Remove Discord widget banners 2023-03-02 10:56:15 +11:00
Madeline
b9ffef8753
Remove test client and client patcher 2023-03-01 18:45:58 +11:00
Madeline
358494b844 Generate openapi 2023-02-26 14:20:01 +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
515a1a5efd Merge pull request #985 from Puyodead1/fix/email
fix a few issues with emails
2023-02-24 23:48:57 +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
Madeline
f507e15326 Merge pull request #984 from fosscord/dependabot/npm_and_yarn/http-cache-semantics-4.1.1
Bump http-cache-semantics from 4.1.0 to 4.1.1
2023-02-24 23:21:16 +11:00
dependabot[bot]
a31acd06f2 Bump http-cache-semantics from 4.1.0 to 4.1.1
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-24 12:18:51 +00:00
Madeline
224e2c8374 Merge pull request #965 from Puyodead1/dev/mail
Email Support
2023-02-24 23:17:36 +11: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
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
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
6131db986f use a fixed mailjet transport 2023-02-24 00:09:00 -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
54dbc7190b fix: verification required for login not working correctly 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
6b8b42ce9a Update package-lock.json 2023-02-23 22:40:04 -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
f337f2e785 Add other email templates 2023-02-23 21:35:53 -05:00
Puyodead1
878fd9d1e8 Update schemas.json 2023-02-23 21:35:53 -05:00
Puyodead1
292e722f35 update verify email template to add target 2023-02-23 21:35:53 -05:00
Puyodead1
0df1ea22cb Add an email template for email verification 2023-02-23 21:35:52 -05:00
Puyodead1
88d7b89aeb Update package-lock.json 2023-02-23 21:35:52 -05:00
Puyodead1
1f388b17a5 change verify.html title 2023-02-23 21:35:51 -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
Madeline
2cddd7a8de Send different app for /verify 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
5f553cc614 Close #954 2023-02-21 11:35:06 +11:00
Madeline
4db83ee531 Fix channel mentions #981 2023-02-20 15:12:23 +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
3dae9d4e59 Implement default avatars #979 2023-02-18 12:57:06 +11:00
Madeline
2b627ab4a4 Update default avatar colour scheme and fix ordering 2023-02-18 12:52:32 +11:00
Puyodead1
1189deaa7c add support for desktop/web 2023-02-17 19:59:12 -05:00
Puyodead1
6fa4f9649f async 2023-02-17 18:10:05 -05:00