Puyodead1
a567ca3f51
auth routes
2023-04-13 14:58:53 -04:00
Puyodead1
002480df9d
fix totp using wrong settings key
2023-03-21 22:32:55 -04:00
Puyodead1
5a7765c7dc
prettier
2023-03-18 19:50:38 -04:00
Puyodead1
7116a9a1b0
fix a few linting errors
2023-03-18 19:48:44 -04:00
Puyodead1
eab530a63d
Add Youtube connection
2023-03-18 19:28:47 -04:00
Puyodead1
d8ecc4269f
replace node-fetch with wretch
2023-03-18 19:28:46 -04:00
Puyodead1
06140fc768
add Xbox connection
2023-03-18 19:28:46 -04:00
Puyodead1
0baa37e41f
add Twitter connection
2023-03-18 19:28:46 -04:00
Puyodead1
bdd4ddda52
don't send token_data on connection update
2023-03-18 19:28:45 -04:00
Puyodead1
7e10d73dac
use connection revoked error
2023-03-18 19:28:45 -04:00
Puyodead1
6d6944cfee
Add Twitch, error handling, revokation changes, etc
2023-03-18 19:28:45 -04:00
Puyodead1
02a4a6998d
Update todo in access-token route
2023-03-18 19:27:40 -04:00
Puyodead1
0db1fa5f0b
Refreshable connections, refactoring, access-token endpoint
...
- Aded /users/@me/connections/:connection_name/:connection_id/access-token
- Replaced `access_token` property on ConnectedAccount with `token_data` object for refreshing tokens
- Made a common interface for connection things like ComonOAuthTokenResponse
- Added `RefreshableConnection` class
- Added token refresh to Spotify connection (disabled)
2023-03-18 19:27:39 -04:00
Puyodead1
747ff5d322
fix discord connection
2023-03-18 19:26:15 -04:00
Puyodead1
3c7cde5985
Add spotify connection
2023-03-18 19:26:15 -04:00
Puyodead1
ab4a28ee31
Add reddit connection
2023-03-18 19:26:14 -04:00
Puyodead1
901d126d6b
Add facebook connection
2023-03-18 19:26:14 -04:00
Puyodead1
d12751006e
add epic games connection
2023-03-18 19:26:14 -04:00
Puyodead1
5c682137b2
implement PATCH connection
2023-03-18 19:16:41 -04:00
Puyodead1
6a52e65e27
adding connection now works
2023-03-18 19:15:40 -04:00
Puyodead1
21bfda32e4
add connections
2023-03-18 19:09:51 -04:00
Puyodead1
c257973741
add default group dm avatars
2023-03-07 22:59:47 -05:00
Puyodead1
b9346f7b01
use real md5 hash
2023-03-07 22:52:34 -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
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
Puyodead1
6fa4f9649f
async
2023-02-17 18:10:05 -05:00
Puyodead1
090060d580
Implement default avatars
2023-02-17 18:00:16 -05:00
Puyodead1
e290965d00
various fixes for webauthn ( #973 )
2023-02-03 15:05:54 +11:00
Puyodead1 and Madeline
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
Puyodead1
0c815fde91
fix: route file regex ( #956 )
2023-01-20 01:52:05 +11:00
Puyodead1
783528c462
fix developer portal
...
- Fixes styling issues
- Changes the name to use fosscord
2022-12-22 16:22:11 -05:00
Puyodead1
edf8fda03d
Update patcher to disable qr login
2022-12-22 01:03:12 -05:00
Puyodead1
71ca581529
Update client script js hashes
2022-12-20 23:32:54 -05:00
Puyodead1
8a28dd4675
Client: update to canary 165341
2022-12-20 23:25:20 -05:00