1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-25 19:52:36 +01:00
Commit Graph

3291 Commits

Author SHA1 Message Date
Madeline
49a311f5d0
Return embed proxy url even if imagor not set up. Also make warning nicer 2023-01-16 14:20:17 +11:00
Madeline
b8e5f7343c
Update dead lines 2023-01-16 00:03:51 +11:00
Madeline
724564e9ec
Merge branch 'master' of github.com:fosscord/fosscord-server 2023-01-15 17:36:40 +11:00
Madeline
9e48f7753a
Window name patch + fix overlapping text in client patcher 2023-01-15 17:35:54 +11:00
Madeline
14321336cd
Add an error log if embed handler fails, in addition to the existing sentry log 2023-01-15 16:21:46 +11:00
Madeline
f2f71cafdf
Update openapi 2023-01-14 19:23:45 +11:00
Erkin Alp Güney
27dbeba821
Add /users/:id/delete (#926) 2023-01-14 19:15:35 +11:00
Madeline
daa0268674
Merge pull request #929 from fosscord/dev/fix-client-script
Fix console fuckery to allow running in a headless terminal, and to fix flickering of output.
2023-01-13 23:15:46 +11:00
TheArcaneBrony
c73f4ace24
Fix missed moveCursor call
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
2023-01-13 13:12:12 +01:00
TheArcaneBrony
25ede53748
Fix console fuckery to allow running in a headless terminal, and to fix flickering of output.
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
2023-01-13 13:09:09 +01:00
Madeline
75f39bdcc7
Merge pull request #928 from fosscord/fix/guildtemplates
Fix guild delete failing when template exists
2023-01-13 22:46:05 +11:00
Madeline
a5bc0529ed
Fix guild delete failing when template exists 2023-01-13 22:38:55 +11:00
Madeline
5a46e486cb
Fix dumping incoming messages 2023-01-13 13:49:58 +11:00
Madeline
68886cc932
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
ff15dd8a9d
Dont send sessions replace or presence update for unidentified users 2023-01-13 13:44:19 +11:00
TheArcaneBrony
1e1ba96a3c
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
d4edfd8cbe
Temp fix for DMs 2023-01-12 00:32:24 +11:00
Madeline
91598123c9
fix rights lol 2023-01-11 20:56:11 +11:00
Madeline
ba52570b44
If defaults_user_premium is false, don't give a user premium_since: new Date 2023-01-11 16:32:16 +11:00
Madeline
942aab7e02
https://discord.com/channels/806142446094385153/898197424340860928/1062404340427534446 2023-01-11 14:32:30 +11:00
Madeline
efa4411f18
Add sentry close to sigterm handler 2023-01-10 18:31:36 +11:00
Madeline
30ec479e25
Add back include_url param to reg tokens 2023-01-10 18:08:31 +11:00
Madeline
6755f1392d
Move sentry init to util. use sentry in each module, not just bundle 2023-01-10 13:20:37 +11:00
Madeline
f9ab60ce25
Add error handler for individual gateway sockets 2023-01-10 12:54:03 +11:00
Madeline
885c635d85
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
1c9f2ecdce
Don't allow BaseClass props through schema 2023-01-06 18:07:14 +11:00
Madeline
7ba0eb1726
Prettier precommit hook 2023-01-05 18:56:39 +11:00
Madeline
fe3944322a
Don't send private user data in ready event 2023-01-05 17:42:36 +11:00
Madeline
df24f62dc0
migration stuff again 2023-01-05 17:30:50 +11:00
Madeline
a3f2f997a3
Prettier 2023-01-05 17:16:55 +11:00
Madeline
ea903baa15
channel flags whoops 2023-01-05 17:10:13 +11:00
Madeline
f67375bf37
Add migrations (#923)
* Fix typeorm migration cli and server migrations.
* Add `migrate-from-staging` script
2023-01-05 17:04:15 +11:00
Madeline
b70f8fcf09
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
e38025581d
Use adjusted email in /auth/login 2023-01-02 13:18:07 +11:00
Madeline
d7460a198a
Only send public user details in GUILD_MEMBER_LIST_UPDATE 2023-01-02 13:16:16 +11:00
Madeline
82f76ba07b
Revert "Don't let users undisable their accounts"
This reverts commit 52840f4f98.
2023-01-01 14:20:41 +11:00
Madeline
52840f4f98
Don't let users undisable their accounts 2023-01-01 12:59:45 +11:00
Madeline
0fe03771ce
Profile themes and pronouns 2022-12-31 17:51:57 +11:00
Madeline
09b0eeb2dd
Merge branch 'maddy/refactor' into maddy/bodyParserPatch 2022-12-31 14:53:56 +11:00
Madeline
4b518774b1
Allow Bearer tokens through, like Bot 2022-12-31 14:52:58 +11:00
Madeline
6ca65a19f2
Add WS_LOGEVENTS and WS_VERBOSE env vars 2022-12-31 12:00:00 +11:00
Madeline
28a309bcdc
Update build workflow to use v3 checkout and setup-node 2022-12-30 23:28:45 +11:00
Madeline
22346c46d0
Patch body-parser to use json-bigint 2022-12-30 23:19:05 +11:00
Madeline
17e93b7daa
Fix new roles having duplicate positions 2022-12-30 18:07:56 +11:00
Madeline
b4c222c4eb
Fix npm ci!!! 2022-12-27 18:50:33 +11:00
Madeline
7ff2f28245
Update build workflow to use node 18, update lock file to v3 2022-12-27 18:25:11 +11:00
Madeline
c25a2e5c5b
Move datasource to own file for typeorm cli 2022-12-27 15:23:56 +11:00
Madeline
a473c63d49
Add GH workflow for build 2022-12-27 13:32:44 +11:00
Madeline
91010235b9
OAuth2 authorize bot flow 2022-12-24 18:55:14 +11:00
Madeline
ac8ac9ada0
Fix creating bot accounts 2022-12-24 16:28:00 +11:00