85 Commits

Author SHA1 Message Date
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
Madeline
b0e2b450af If defaults_user_premium is false, don't give a user premium_since: new Date 2023-01-11 16:32:16 +11:00
Madeline
df449169bd Prettier 2023-01-05 17:16:55 +11:00
Madeline
e42eaeee8d Add migrations (#923)
* Fix typeorm migration cli and server migrations.
* Add `migrate-from-staging` script
2023-01-05 17:04:15 +11:00
Madeline
7a725bab50 Profile themes and pronouns 2022-12-31 17:51:57 +11:00
Madeline
35938556fe Fix creating bot accounts 2022-12-24 16:28:00 +11:00
Madeline
150f3dbf43 Use config for some default guild properties 2022-12-24 13:47:38 +11:00
Puyodead1
8a28dd4675 Client: update to canary 165341 2022-12-20 23:25:20 -05:00
Madeline
2d67355a52 Fix guild features being undefined if not using defaultFeatures 2022-12-21 14:55:23 +11:00
Madeline
ddd3c86043 Registration tokens 2022-12-19 22:04:52 +11:00
Puyodead1
b84aa73852 implement guild profiles and fix user profiles 2022-12-19 20:37:59 +11:00