1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-22 10:22:39 +01:00
Commit Graph

3331 Commits

Author SHA1 Message Date
Madeline
b21d428580
use print instead of console.log in client cache so it doesn't output weirdness 2023-02-01 12:40:38 +11:00
TheArcaneBrony
a156c7bc62
Rename postgresql to postgres -> fix silently failing migrations
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
2023-01-31 23:33:07 +01:00
TheArcaneBrony
f7c0317c8d
Hotfix postgres connection string to not silently fail migrations 2023-01-31 23:27:19 +01:00
TheArcaneBrony
9764881bf5
Fix missing capitalisation in database connected log 2023-01-31 23:15:10 +01:00
TheArcaneBrony
9c77af83b9
Add a tiny bit of extra logging to database connection 2023-01-31 23:13:23 +01:00
Madeline
b8d58dba44
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
Madeline
b31ce62bd5
check pw and other auth before letting users undisable 2023-01-31 15:13:19 +11:00
Madeline
5ffa0a67f8
subscribe clients to member events when they lazy request members 2023-01-30 20:23:35 +11:00
Madeline
c4599a87ce
question mark. 2023-01-30 20:05:07 +11:00
Madeline
005aa8e52c
Impl member lazy request (#970) 2023-01-30 19:57:00 +11:00
Madeline
4906d9a78a
read-states/ack-bulk (#969) 2023-01-30 13:34:27 +11:00
Puyodead1
1e21802064
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
2a6d6b2dd2
Merge branch 'master' of github.com:fosscord/fosscord-server 2023-01-26 14:30:34 +11:00
Madeline
45793e82fd
Fix SIGTERM handler not disconnecting gateway clients and leaving timeouts active 2023-01-26 14:29:33 +11:00
Madeline
38c85e6c4f
also don't use 3002 as default when gateway endpoints are null 2023-01-26 10:21:13 +11:00
Madeline
08560d8655
Use localhost:3001 as fallback when cdn endpoints are null rather than 3003 2023-01-26 10:18:16 +11:00
Madeline
b82c6d672b
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 2023-01-26 01:10:05 +11:00
Madeline
a94c799e70
Don't try to cache files like /assets/;var u,p={26700:0};l.f 2023-01-24 13:28:24 +11:00
Madeline
aa57b9396b
Update client cacher to allow numbers in extensions ( for woff2 ) 2023-01-24 11:42:17 +11:00
Madeline
6abbf122eb
Update lintstagedrc to run on js files as well 2023-01-24 11:42:03 +11:00
Madeline
de140eb7e8
Refactor config utils (#963) 2023-01-24 11:09:14 +11:00
Madeline
7b1915ec48
Rewrite client cacher (#962) 2023-01-22 13:41:31 +11:00
Madeline
71082eb918
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
Puyodead1
071cf6c5f2
fix: route file regex (#956) 2023-01-20 01:52:05 +11:00
Chris Chrome
a9a2d89372
Merge pull request #955 from fosscord/dev/fix-bans
Fix banning users from the client
2023-01-18 19:39:36 -07:00
ChrisChrome
9bcc09ac67
Apparently its still accepted, just depricated 2023-01-18 19:37:15 -07:00
ChrisChrome
3d7d3c1e8d
It's seconds, not days 2023-01-18 19:33:30 -07:00
ChrisChrome
ca8817919e Fix a funny security vuln 2023-01-18 12:27:15 -07:00
Chris Chrome
313ba7a27b
Merge pull request #952 from fosscord/dev/endpoints-in-ping
Merge /dev/endpoints-in-ping to master
2023-01-18 12:14:05 -07:00
Madeline
48e54c20ee
npm run generate:client downloads more assets now (Thanks Rory!). Also ONLY_CACHE_JS env var (#948) 2023-01-18 23:15:00 +11:00
Madeline
51c766a831
Merge branch 'master' of github.com:fosscord/fosscord-server 2023-01-18 20:17:36 +11:00
Madeline
abe967a8f3
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)
2023-01-18 20:16:49 +11:00
Chris Chrome
7b384787f8
Add youtu.be embed handler (#945) 2023-01-18 17:47:23 +11:00
Madeline
b58cea7c41
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
V3L0C1T13S
78df79df9d
send GUILD_CREATE after READY event (#938)
* Fix lazy guilds being sent before READY event

* Make casing consistent
2023-01-17 15:44:29 +11:00
Madeline
c0b12bc166
Fix deleting an application if it has a bot 2023-01-17 00:01:14 +11:00
Madeline
54218e6873
Merge pull request #934 from fosscord/master
Merge master into dev/endpoints-in-ping
2023-01-16 17:00:32 +11:00
Madeline
49a311f5d0
Return embed proxy url even if imagor not set up. Also make warning nicer 2023-01-16 14:20:17 +11:00
Chris Chrome
d857af980c
Move endpoints from ping -> policies/instance/domains (#933) 2023-01-16 13:46:41 +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
TheArcaneBrony
bec4a61c60
Fix some default value
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
2023-01-14 23:34:33 +01:00
TheArcaneBrony
3bb002eb88
Add basic info in ping
Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
2023-01-14 19:55:19 +01: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