Commit Graph

15 Commits

Author SHA1 Message Date
Elijah R
f89492cfcd Implement account authentication (server) 2024-04-08 19:23:44 -04:00
dakrk
0b0c0a5ed6 Handle ban command arguments as array
This provides a much more reliable way to handle arguments with spaces,
such as usernames.

The ban process's stdout and stderr are now redirected to the server,
in case they have output that would be good in the server's logs.
2023-10-22 15:42:39 +01:00
MDMCK10
43fddbc521 Various bug fixes and small additions
IMPORTANT:
This commit contains new config options.
Make sure your local config file is up to date with config.example.toml to avoid issues.

CHANGELOG:
- Fix crash exploit caused by abnormally long WebSocket messages
- Added config option for limiting the maximum amount of active connections from the same IP
- Made per-IP turn limiter configurable
- Fixed an issue where vote updates were not sent to clients in some cases
- Added warning about using qmpSockDir on Windows hosts
- Updated dependencies
- Removed unused code/imports
2023-09-12 00:25:57 +02:00
Elijah
bae17c6a52 add turn whitelist and password support 2023-06-05 21:59:37 -04:00
MDMCK10
b7cba2f572 Change rename ratelimit to 3/60s 2023-04-27 16:30:28 +02:00
MDMCK10
7c62a3414a New opcode: view 2023-03-28 18:13:43 +02:00
elijahr2411
7b66f7c8a3 Add ratelimit for reset votes 2023-02-12 18:15:12 -05:00
MDMCK10
e7b56d18e6 Fix crash caused by new changes 2023-02-11 17:07:34 +01:00
MDMCK10
cea28ebf8c Add IPData, Windows support, bugfixes (#2)
* Add IPData, Windows support, bugfixes

Changes:
- Added IPData: mutes and votes are now tracked per-IP instead of per-user.
- Windows support: QMP over TCP can now be enabled in the config.
- Vote cooldown can now be specified in the config.
- Fixed bugs:
"Username is already taken" message appearing when it shouldn't

* Remove vote from closed connections

---------

Co-authored-by: Elijah R <62162399+elijahr2411@users.noreply.github.com>
2023-02-11 09:58:20 -05:00
Elijahr2411
006edd4453 Move captcha support to another branch until I get time to fix it
This reverts commit 626d32d22b.
2023-02-11 14:29:06 +00:00
elijahr2411
626d32d22b add captcha support 2023-02-10 08:52:52 -05:00
elijahr2411
c3cd717a64 fix typo 2023-02-07 12:39:47 -05:00
elijahr2411
d9f8653f32 add all the staff actions and resets and uhh i forgot to commit but everything works now 2023-02-07 12:29:33 -05:00
elijahr2411
42ecfa2375 You can now take turns and control the VM. 2023-02-02 21:19:55 -05:00
elijahr2411
3235375581 everything 2023-01-31 22:00:30 -05:00