eee98516dd
Fix gateway encoding Date objects as {} when using erlpack. Fixes NaN/NaN/NaN timestamps in desktop client
Madeline2023-02-21 11:56:56 +11:00
c59af81563
Fix a bug prevent connections using erlpack (#977)
Madeline2023-02-16 19:31:36 +11:00
cc50ebf47b
Fix being unable to unset nicknames Remove unwanted guild profile handler in cdn Fix rights check for bio/avatars of your own user
Madeline2023-02-05 12:35:27 +11:00
e7e3c67a77
Don't use relative path for db entities. Closes#937Madeline2023-02-03 22:45:07 +11:00
6d8e6eca9d
On db sync/first run, add all the current migrations to migrations table to prevent running them on restarts
Madeline2023-02-03 22:39:10 +11:00
d899942b1a
Merge branch 'master' of github.com:fosscord/fosscord-server
Madeline2023-02-03 16:28:12 +11:00
9aa31d24ab
remove MANAGE_GUILDS, EDIT_FLAGS, SELF_EDIT_FLAGS, MANAGE_GROUPS from default rights
Madeline2023-02-03 16:26:50 +11:00
1b6bc94afc
Add a tiny bit of extra logging to database connection
TheArcaneBrony2023-01-31 23:13:23 +01:00
63b4a8997f
Fix missing props in welcome message creation, which causes every client who received the welcome message to disconnect.
Madeline2023-02-01 00:12:00 +11:00
ae8f4d6752
check pw and other auth before letting users undisable
Madeline2023-01-31 15:13:19 +11:00
d4d1ab181e
subscribe clients to member events when they lazy request members
Madeline2023-01-30 20:19:24 +11:00
e98cdfbce0
Merge branch 'master' of github.com:fosscord/fosscord-server
Madeline2023-01-26 14:30:34 +11:00
ac7a178f88
Fix SIGTERM handler not disconnecting gateway clients and leaving timeouts active
Madeline2023-01-26 14:29:33 +11:00
8384a2c539
also don't use 3002 as default when gateway endpoints are null
Madeline2023-01-26 10:21:13 +11:00
1886d53943
Use localhost:3001 as fallback when cdn endpoints are null rather than 3003
Madeline2023-01-26 10:18:16 +11:00
1dcaa9f5f9
Don't set default cdn endpoints. Null endpoints means to not update them in GLOBAL_ENV. TODO: Don't use private endpoint locations in global env if public is not set, as this limits infra config
Madeline2023-01-26 01:10:05 +11:00
e296598e1c
Don't try to cache files like /assets/;var u,p={26700:0};l.f
Madeline2023-01-24 13:28:24 +11:00
363541c8e7
Update client cacher to allow numbers in extensions ( for woff2 )
Madeline2023-01-24 11:42:17 +11:00
58b7a3c5f4
Update lintstagedrc to run on js files as well
Madeline2023-01-24 11:42:03 +11:00
fbac5c7cd7
Merge pull request #952 from fosscord/dev/endpoints-in-ping
Chris Chrome2023-01-18 12:14:05 -07:00
683cd108e8npm run generate:client downloads more assets now (Thanks Rory!). Also ONLY_CACHE_JS env var (#948)
Madeline2023-01-18 23:15:00 +11:00
1a0cbcb1d4
Merge branch 'master' of github.com:fosscord/fosscord-server
Madeline2023-01-18 20:17:36 +11:00
1ab279e2ef
Don't fetch the emoji owner in identify, as this causes mass-disconnects with large emoji counts. TODO: Remove some additional emoji props from being sent (user_id for example)
Madeline2023-01-18 20:16:22 +11:00