1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-05 18:32:33 +01:00
Commit Graph

3477 Commits

Author SHA1 Message Date
Madeline
3bbf997295 Dont send sessions replace or presence update for unidentified users 2023-01-13 13:44:19 +11:00
TheArcaneBrony
6122374e4d Dev/post refactor fixes (#927)
* Re-introduce outgoing message logging

Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>

* Websocket dumping

* Sentry user count on API

* Generate session ID upon opening websocket, fix gateway dumps

* Async file io in src/gateway/events/Message.ts

Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>

* Async file io in src/util/util/Config.ts

Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>

* Make pre-commit hook executable

Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>

* Fixed sync file io in src/util/util/Config.ts

Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>

* Fixed missing await call in src/util/util/AutoUpdate.ts

Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>

* Add comment to src/gateway/events/Connection.ts

Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>

* Clean up gateway dumping code

Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com>
2023-01-12 23:46:36 +11:00
Madeline
da9ce34933 Temp fix for DMs 2023-01-12 00:32:24 +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
7fc3634211 https://discord.com/channels/806142446094385153/898197424340860928/1062404340427534446 2023-01-11 14:32:30 +11:00
Madeline
8a31d66742 Add sentry close to sigterm handler 2023-01-10 18:31:36 +11:00
Madeline
d151283b08 Add back include_url param to reg tokens 2023-01-10 18:08:31 +11:00
Madeline
2f065e6b37 Move sentry init to util. use sentry in each module, not just bundle 2023-01-10 13:20:37 +11:00
Madeline
9efac4ad16 Add error handler for individual gateway sockets 2023-01-10 12:54:03 +11:00
Madeline
98d318fd88 add back openapi generation. todo: find way to keep route text descriptions in code, and find way to get usages of right/permission .hasThrow 2023-01-06 19:30:03 +11:00
Madeline
3c7b5f2656 Don't allow BaseClass props through schema 2023-01-06 18:07:14 +11:00
Madeline
1149c12df1 Prettier precommit hook 2023-01-05 18:56:39 +11:00
Madeline
9cc9df985c Don't send private user data in ready event 2023-01-05 17:42:36 +11:00
Madeline
e54912a726 migration stuff again 2023-01-05 17:30:50 +11:00
Madeline
df449169bd Prettier 2023-01-05 17:16:55 +11:00
Madeline
a665a39523 channel flags whoops 2023-01-05 17:10:13 +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
5ef4b80fc5 Merge pull request #922 from MaddyUnderStars/maddy/bodyParserPatch
Patch body-parser to use json-bigint, like gateway
2023-01-02 20:37:25 +11:00
Madeline
7453dd0119 Use adjusted email in /auth/login 2023-01-02 13:18:07 +11:00
Madeline
ec1af70ae5 Only send public user details in GUILD_MEMBER_LIST_UPDATE 2023-01-02 13:16:16 +11:00
Madeline
1bee8dc48f Revert "Don't let users undisable their accounts"
This reverts commit cd84412c92.
2023-01-01 14:20:41 +11:00
Madeline
cd84412c92 Don't let users undisable their accounts 2023-01-01 12:59:45 +11:00
Madeline
7a725bab50 Profile themes and pronouns 2022-12-31 17:51:57 +11:00
Madeline
13453129e7 Merge branch 'maddy/refactor' into maddy/bodyParserPatch 2022-12-31 14:53:56 +11:00
Madeline
bc086a070c Allow Bearer tokens through, like Bot 2022-12-31 14:52:58 +11:00
Madeline
0a09abbbfa Add WS_LOGEVENTS and WS_VERBOSE env vars 2022-12-31 12:00:00 +11:00
Madeline
0826d9125a Update build workflow to use v3 checkout and setup-node 2022-12-30 23:28:45 +11:00
Madeline
402f358751 Patch body-parser to use json-bigint 2022-12-30 23:19:05 +11:00
Madeline
a1c07173bb Fix new roles having duplicate positions 2022-12-30 18:07:56 +11:00
Madeline
6b8c0d6e85 Fix npm ci!!! 2022-12-27 18:50:33 +11:00
Madeline
d34177160a Update build workflow to use node 18, update lock file to v3 2022-12-27 18:25:11 +11:00
Madeline
8aa355dee7 Move datasource to own file for typeorm cli 2022-12-27 15:23:56 +11:00
Madeline
a5b337b99a Add GH workflow for build 2022-12-27 13:32:44 +11:00
Madeline
a02f929d34 OAuth2 authorize bot flow 2022-12-24 18:55:14 +11:00
Madeline
35938556fe Fix creating bot accounts 2022-12-24 16:28:00 +11:00
Madeline
92f6b4fd89 Merge branch 'maddy/refactor' of github.com:fosscord/fosscord-server into maddy/refactor 2022-12-24 16:08:51 +11:00
Madeline
150f3dbf43 Use config for some default guild properties 2022-12-24 13:47:38 +11:00
Madeline
b52206b9e4 Merge pull request #921 from Puyodead1/refactor/patch/developer-portal
[Refactor] Fix developer portal style
2022-12-23 10:05:01 +11:00
Puyodead1
783528c462 fix developer portal
- Fixes styling issues
- Changes the name to use fosscord
2022-12-22 16:22:11 -05:00
Madeline
ec1c340369 Rename limits_rate_disabled -> limits_rate_enabled and remove limits_guilds_hideOfflineMember 2022-12-22 21:01:29 +11:00
Madeline
bf5f936aec Allow BitField's to be passed as number strings. Pretty sure it fixes #722 2022-12-22 18:53:21 +11:00
Madeline
11f75c4a2b Merge pull request #918 from Puyodead1/refactor/patch/disable-qr-login
[Refactor] Disable QR Login in Test client
2022-12-22 18:28:59 +11:00
Puyodead1
edf8fda03d Update patcher to disable qr login 2022-12-22 01:03:12 -05:00
Madeline
2ec59d2ff2 Fix sync script not closing for some dbms 2022-12-22 14:30:03 +11:00
Madeline
9b8f26c512 Fix redirect when test client disabled 2022-12-22 12:13:13 +11:00
Madeline
92b1c5b800 Disable test client by default 2022-12-21 19:52:08 +11:00
Madeline
fe4db63ab8 Merge branch 'maddy/refactor' of github.com:fosscord/fosscord-server into maddy/refactor 2022-12-21 16:10:26 +11:00
Madeline
9da0d54a7b Merge pull request #917 from Puyodead1/refactor/client/165341
[Refactor] Update Test Client
2022-12-21 16:10:03 +11:00
Madeline
7160ae2f68 Fix logo patch and update changelog generator 2022-12-21 16:09:39 +11:00