95 Commits

Author SHA1 Message Date
Madeline
6a5dc1c361
add back guild id to message tojson 2023-08-07 12:38:20 +10:00
Madeline
496cfc8ea1
some abaddon compat 2023-07-31 21:00:03 +10:00
Madeline
a0d93fb252
* call toJSON of keys in gateway when using erlpack
* dont send bitrate/etc as null when should be undefined
* set user flags to number instead of string
* send empty 'threads' in identify when not using new state v2
2023-07-29 16:59:21 +10:00
Madeline
8a3989c297
Merge branch 'master' into feat/refactorIdentify 2023-07-28 08:24:15 +10:00
Madeline
6c603afc54
Fix docs for /users/:id/profile 2023-06-11 00:51:03 +10:00
Madeline
b438f2b071
Rewrite getRouteDescriptions, fix message route not appearing in openapi spec 2023-04-16 01:51:52 +10:00
Madeline
46d86c4079
move guild/user prop initialisations into create/register methods 2023-04-14 22:27:22 +10:00
Puyodead1
a8a28542f7
fix some types not being generated correctly 2023-04-13 20:13:58 -04:00
Puyodead1
1ce7879ee8
oapi: users progress 2023-04-13 15:38:52 -04:00
Puyodead1
c2ce88dee7
guilds 2023-04-13 15:28:41 -04:00
Madeline
5a6cb33f5e
Merge branch 'master' into feat/refactorIdentify 2023-04-13 19:45:44 +10:00
Madeline
9a6390b9bd
Fix DC client throwing on GUILD_CREATE 2023-04-12 21:03:49 +10:00
Madeline
80c7eaa70f
Merge pull request #1023 from Rainb0wCodes/master
properly track reactions
2023-04-11 13:48:08 +10:00
Madeline
ab07ad692c
send public member in message_reaction_add eventt 2023-04-11 13:47:26 +10:00
ochen1
36ac484a9d
Fix obvious bugs in Member removeRole function 2023-04-09 14:22:24 -06:00
Madeline
0095b65050
Role flags 2023-04-04 00:17:02 +10:00
Madeline
844f1de6aa
License information 2023-04-02 11:32:40 +10:00
Madeline
218f71b82c
Merge branch 'master' into refactor/dev/connections 2023-04-02 10:55:17 +10:00
Madeline
13dedb6d25
Merge branch 'master' into feat/refactorIdentify 2023-04-01 19:04:22 +11: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 69ea71aa9e0bd2e5a98904a66fba0ad3745707cb, reversing
changes made to 8b2faf0b18336e5dff1eeff4e849bcfd96b09e88.
2023-03-31 15:26:15 +11:00
Samuel (Flam3rboy)
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
0f928e479c
Work towards fixing openapi spec 2023-03-24 04:16:58 +11:00
Puyodead1
6d6944cfee
Add Twitch, error handling, revokation changes, etc 2023-03-18 19:28:45 -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
a390596e3c
Follow Discord docs for visibility and metadata_visibility fields in ConnectedAccount 2023-03-18 19:25:03 -04:00
Madeline
2364096a97
entities/ConnectionUpdateSchema -> schemas/ConnectionUpdateSchema 2023-03-18 19:25:03 -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
Samuel
366c4935a4 feat: Database Query Cache 2023-03-18 04:11:48 +01:00
Madeline
f228561f4c
Initial identify rewrite 2023-03-13 19:02:52 +11: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
Puyodead1
97bafa81fc fix linting errors 2023-02-23 22:40:05 -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
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
256c7ed8fe send email verification 2023-02-23 21:35:49 -05:00
Madeline
6d8e6eca9d On db sync/first run, add all the current migrations to migrations table to prevent running them on restarts 2023-02-03 22:39:10 +11:00
Madeline
067d2d8be8 Merge pull request from GHSA-hqqp-gpqw-9w5c 2023-02-02 22:24:56 +11:00
Madeline
63b4a8997f Fix missing props in welcome message creation, which causes every client who received the welcome message to disconnect. 2023-02-01 00:12:00 +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
0af3da6db7 Fix deleting an application if it has a bot 2023-01-17 00:01:14 +11:00
Madeline
43a0260cd8 Fix guild delete failing when template exists 2023-01-13 22:38:55 +11:00
Madeline
a69c047854 Fix setting user premium_type/etc (non-nullable) to null in db when null in config 2023-01-13 13:44:58 +11:00
Madeline
68db12378d fix rights lol 2023-01-11 20:56:11 +11:00