Commit Graph

32 Commits

Author SHA1 Message Date
dakrk
3f753c60da Trim usernames
Previously it was possible to "impersonate" (to those not looking closely) other users by putting whitespace before or after the name of choice. This commit eliminates that.
2023-05-06 15:21:18 +01:00
dakrk
41bf76ab0d Configurable chat history length
The previous default of 5 messages is utterly lame and didn't provide enough context to anything, and was also a downgrade from the old server as that had 10 messages by default (of which we're now going back to with this change).
2023-05-01 15:03:14 +01:00
MDMCK10
ef2e226803 Only allow one active turn per IP address 2023-04-05 17:04:21 +02:00
MDMCK10
a57e299988 Fix stupid bug 2023-03-30 20:30:07 +02:00
MDMCK10
7c62a3414a New opcode: view 2023-03-28 18:13:43 +02:00
MDMCK10
39c9832a72 Revert 1d9f06f
I guess we didn't need this after all.
2023-03-28 17:31:44 +02:00
MDMCK10
1052246531 Fix another bug related to b079c09 2023-03-28 16:29:32 +02:00
MDMCK10
b079c09237 Fix rank not persisting after username change 2023-03-28 15:53:17 +02:00
MDMCK10
1d9f06f9f5 This should never happen but let's add a check for it anyway 2023-03-28 15:44:07 +02:00
MDMCK10
81ed711fac This looks like something that should work 2023-03-27 01:05:18 +02:00
MDMCK10
7295da7cac Ignore username changes from muted users 2023-03-27 00:56:26 +02:00
Elijahr2411
a09d5fc6c1 Abstract the VM, so that we can use other hypervisors in the future 2023-02-25 15:34:59 -05:00
Elijahr2411
6c50219ac7 make the snapshots config value actually work oops 2023-02-25 00:28:39 -05:00
Elijahr2411
fe32d1e487 send motd after chat history so it's more visible 2023-02-25 00:18:14 -05:00
Elijahr2411
ed5fda8021 Add proper logging 2023-02-24 22:54:28 -05:00
Elijahr2411
fb23f49a28 fix bug which broke turns if an admin disconnected while they had an indefinite turn 2023-02-23 16:45:57 -05:00
elijahr2411
5e781d5205 Disable votes when turns are disabled 2023-02-12 18:15:58 -05:00
elijahr2411
7b66f7c8a3 Add ratelimit for reset votes 2023-02-12 18:15:12 -05: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
82cbcc030e Add indefinite turn opcode 2023-02-09 20:49:27 -05:00
elijahr2411
5b59b1993b Add toggle turns opcode 2023-02-09 20:08:32 -05:00
Elijahr2411
6cbbb52143 sync goes after png 2023-02-08 10:11:31 -05:00
elijahr2411
b1f0eb7425 put jpeg quality in the toilet 2023-02-07 21:19:33 -05:00
elijahr2411
caf76a978e Add rect batching and switch to node-canvas. Currently it leaves a LOT of artifacts for some reason 2023-02-07 20:51:25 -05:00
elijahr2411
b46ee1360b add sync message for old webapp 2023-02-07 14:00:22 -05:00
elijahr2411
f21e0b9bbe fix adduser count bug 2023-02-07 13:54:18 -05:00
elijahr2411
a3bf9690cd Add a response for non-websocket connections 2023-02-07 12:52:03 -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