Rory&
d647f882b1
Pass mergeParams: true to new router calls due to express behavior change
2025-09-30 07:14:10 +02:00
Rory&
b87d28c2c9
Clean up unused imports
2025-09-30 05:13:29 +02:00
Rory&
387722d017
Add endpoint implementations
2025-09-29 18:38:06 +02:00
Rory&
18e752a457
Do settings versioning
2025-09-29 18:38:06 +02:00
Rory&
b212cbbea1
Oops, actually send the events to a user...
2025-09-29 18:38:06 +02:00
Rory&
5466de1c02
Emit USER_SETTINGS_PROTO_UPDATE
2025-09-29 18:38:06 +02:00
Rory&
b62fc8aca8
Merge in json representation of settings protos
2025-09-29 18:38:06 +02:00
Rory&
5e3080d72f
Setting protos support
2025-09-29 18:38:06 +02:00
MathMan05 and Rory&
b461da9b8f
fix stupid bug
2025-09-29 00:08:23 +02:00
MathMan05 and Madeline
6ab26cb3ff
Fix the fix
...
this should actually be what's intended
2025-07-02 09:21:24 +10:00
MathMan05 and Madeline
76857bdcfb
Check for old password when setting new
...
Checks for password
2025-07-02 09:21:24 +10:00
MathMan05 and GitHub
90287748ce
Update index.ts
2025-03-23 13:13:03 -05:00
MathMan05 and GitHub
109bf0da7c
fix minor bug
2025-03-22 23:03:33 -05:00
TomatoCake
95bbccb6f7
Same error message if username too long
2024-08-17 18:24:38 +02:00
TomatoCake
475aee372b
Send 204 status
2024-08-15 10:14:44 +02:00
TomatoCake
20b2843680
Make profile bio max length configurable
2024-08-10 22:10:20 +02:00
Cyber and Madeline
f047f93b77
fix: check for password only if username is present in body
2024-07-28 20:48:06 +10:00
Cyber and Madeline
b682f170b9
fix: return an error on username change with no password
2024-07-28 20:48:06 +10:00
Madeline
d18584f8e9
Refactor email sending + remove email verification if mail sending is not set up
2023-08-12 15:36:29 +10:00
Puyodead1
5c8359ec45
Fix connection class imports
2023-08-06 22:56:13 -04:00
Puyodead1
866eb15d90
clusterfuck
2023-04-13 15:44:39 -04:00
Puyodead1
860b9d583e
oapi: finish users
2023-04-13 15:39:31 -04:00
Puyodead1
1ce7879ee8
oapi: users progress
2023-04-13 15:38:52 -04:00
Puyodead1
6b3a3b750f
fixing lots of openapi crap
2023-04-13 15:20:10 -04:00
Madeline
844f1de6aa
License information
2023-04-02 11:32:40 +10:00
Madeline
d90fd6b4e5
Update connection metadata visibility
2023-04-02 11:15:08 +10:00
Madeline
218f71b82c
Merge branch 'master' into refactor/dev/connections
2023-04-02 10:55:17 +10: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 (Flam3rboy) and GitHub
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 and Puyodead1
c7277efbad
Move redirect uri generation to getRedirectUri function of Connection class.
...
Use api_endpointPublic instead of cdn_endpointPublic
2023-03-18 19:33:32 -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
Madeline and Puyodead1
a60f147156
Fix connection update visibilty dying when given boolean
2023-03-18 19:27:40 -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
Madeline and Puyodead1
2bae842926
Delete connections
2023-03-18 19:26:15 -04:00
Madeline and Puyodead1
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
Samuel
7b00e99053
fix: use entity.save() instead of insert (needed for caching)
2023-03-18 04:13:04 +01:00
Madeline
4d06b86d7b
Fix UserSettings relation being in select rather than relations
2023-03-16 11:31:24 +11:00
Puyodead1 and GitHub
e290965d00
various fixes for webauthn ( #973 )
2023-02-03 15:05:54 +11:00
Madeline and GitHub
067d2d8be8
Merge pull request from GHSA-hqqp-gpqw-9w5c
2023-02-02 22:24:56 +11:00
Madeline and GitHub
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
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 and GitHub
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 and GitHub
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