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
Madeline
2bae842926
Delete connections
2023-03-18 19:26:15 -04:00
Madeline
5491c58ffc
Don't use mergeDeep
2023-03-18 19:23:57 -04:00
Puyodead1
5c682137b2
implement PATCH connection
2023-03-18 19:16:41 -04:00
Puyodead1
21bfda32e4
add connections
2023-03-18 19:09:51 -04:00
Madeline
4d06b86d7b
Fix UserSettings relation being in select
rather than relations
2023-03-16 11:31:24 +11:00
Puyodead1
e290965d00
various fixes for webauthn ( #973 )
2023-02-03 15:05:54 +11:00
Madeline
067d2d8be8
Merge pull request from GHSA-hqqp-gpqw-9w5c
2023-02-02 22:24:56 +11:00
Madeline
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
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
df449169bd
Prettier
2023-01-05 17:16:55 +11:00
TheArcaneBrony
803ab38fad
Move UserSettings to own entity
2022-12-19 17:52:44 +11:00
ChrisChrome
cdb500e8e6
Invalidate tokens on password change
2022-12-18 23:51:42 +11:00
Madeline
ec6666edee
Remove Slowcord demo user restrictions
2022-12-17 17:32:10 +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
138cad6b8d
Fix user guild settings
2022-09-28 16:39:26 +10:00
Madeline
7818e8dd3c
Missed some schemas
2022-09-28 16:39:05 +10:00
Madeline
99ee7e9400
Prettier
2022-09-26 22:41:21 +10:00
Madeline
849b257db7
Move schemas to /src/util/schemas
2022-09-26 22:08:14 +10:00
Madeline
f44f5d7ac2
Refactor to mono-repo + upgrade packages
2022-09-25 23:35:18 +10:00