Commit Graph

522 Commits

Author SHA1 Message Date
Denton Poss
2ee842d66b
Merge pull request #118 from AttorneyOnline/add-ic-floodguard
Set a floodguard between IC messages
2021-05-03 18:37:36 -05:00
MangosArentLiterature
4dabc723ac Add message_floodguard to default config.ini 2021-05-01 23:06:11 -05:00
MangosArentLiterature
9b03d91396 Set a floodguard between IC messages
- Adds a timer to run between IC messages, preventing IC messages from being sent until it times out.
- The duration of this timer is configurable.
2021-05-01 23:03:29 -05:00
Denton Poss
220b9373fa
Merge pull request #106 from AttorneyOnline/login-changes
Change /login to use a "prompt" based system
2021-05-01 19:56:47 -05:00
MangosArentLiterature
fb6692d69d Merge branch 'master' into login-changes 2021-05-01 19:22:06 -05:00
Denton Poss
4117d6f3b0
Merge pull request #116 from AttorneyOnline/kicking-changes
Add /kickuid
2021-05-01 19:15:41 -05:00
Denton Poss
7ca24ae9cf
Merge pull request #115 from AttorneyOnline/disconnect-handling
Add disconnect handling
2021-05-01 19:15:25 -05:00
MangosArentLiterature
8cb4ccd847 Merge branch 'master' into kicking-changes 2021-05-01 19:08:07 -05:00
MangosArentLiterature
0862c4b717 Add disconnect handling
- Server will now attempt to reconnect to the master server when connection to it is lost.
2021-05-01 19:06:37 -05:00
Denton Poss
04862c3757
Merge pull request #107 from MangosArentLiterature/discord
Add Discord Webhook for Modcall + Optional Buffer Log Upload
2021-05-01 10:08:50 -05:00
Denton Poss
984de65c7f
Merge pull request #112 from AttorneyOnline/fix-zalgo
Fix Dezalgo
2021-05-01 10:07:41 -05:00
Denton Poss
6d31a28325
Merge pull request #113 from AttorneyOnline/fix-force-immediate
Fix force_immediate
2021-05-01 10:06:58 -05:00
Denton Poss
c9ed23024c
Merge pull request #114 from AttorneyOnline/firstperson
Add first person mode
2021-05-01 10:06:40 -05:00
in1tiate
05201ac82d woops, thats not how that works 2021-04-30 23:05:18 -05:00
in1tiate
b6f4982643 validate ic packets with a cid of -1 2021-04-30 23:01:52 -05:00
in1tiate
0e05ed63f2 add firstperson cid check 2021-04-30 23:01:12 -05:00
in1tiate
69f77548a8 add firstperson variable and command toggle 2021-04-30 22:58:04 -05:00
MangosArentLiterature
f98df4e0b7 Add /kickuid
I keep being pestered to add this and it's a useful command. Let's you kick a specific UID, instead of all clients belonging to one IPID.
2021-04-29 23:34:13 -05:00
MangosArentLiterature
b48ac1873c Fix force_immediate 2021-04-29 22:54:54 -05:00
MangosArentLiterature
8ef6a3526b Purge zalgo_tolerance 2021-04-29 22:19:30 -05:00
MangosArentLiterature
4ca54e8761 Fix dezalgo
Changes how dezalgo works. Still filters zalgo text without breaking languages. Removes zalgo tolerance because it's not really necessary with this system.
2021-04-29 22:13:06 -05:00
Salanto
f166a6f4fc Slight improvement 2021-04-29 01:07:08 +02:00
Salanto
96396d3404 Apply some suggested changes 2021-04-29 01:02:47 +02:00
Salanto
b689c71533 Revert "Apply code suggestions"
This reverts commit e00e7b571d.
2021-04-28 23:53:03 +02:00
Salanto
e00e7b571d Apply code suggestions
Non-functional as of now.
2021-04-28 23:32:48 +02:00
Salanto
32e88d6be1 Merge remote-tracking branch 'upstream/master' into discord 2021-04-27 23:42:14 +02:00
Salanto
8aed2989f2 Add file upload if modcall logging is used
+ Configurable option if no log should be send
+ Fix  logger not flushing to file if modcall is used
+ Update sample\config.ini
2021-04-27 23:28:45 +02:00
MangosArentLiterature
dc5375fff2 Update /login documentation 2021-04-26 16:33:13 -05:00
MangosArentLiterature
a5386ddc77 Change /login to use a "prompt" based system
This commit changes /login to no longer take command arguments. Instead, upon sending /login, you will enter an interactive "prompt", where your next OOC message will be interpreted as your login attempt (and will not be shown to other users). This prevents a typo from accidentally broadcasting your credentials to the entire area.

- Changes /login to take no command arguments, /login now sets a client state "is_logging_in".
- pktOocChat will now intercept a client's OOC message if they have this client state, and will interpret that as a moderator login.
- Adds the helper function loginAttempt() for handling moderator logins.
2021-04-26 16:29:56 -05:00
MangosArentLiterature
e75b80aaae Add modcall webhook support
This is the worst code I have ever contributed to this project. This commit is the result of several days of attempting to decipher Qt's documentation. This is the best I can write. Qt has broken me. God help us all.

- Allows sending modcalls to a discord webhook, containing the name of the sender, the area, and the reason.
- Adds configurable options to config.ini for enabling/disabling webhooks and specifying the webhook url.
2021-04-25 15:49:47 -05:00
scatterflower
e44f687030 fix crash due to empty packets 2021-04-25 12:57:02 -05:00
Marisa P
192930f180
Merge pull request #103 from Salanto/Fix-#101
Fix #101
2021-04-23 14:57:27 -05:00
Salanto
532a48cd1d Update area.cpp 2021-04-23 17:25:08 +02:00
Salanto
13d03476da Fix-#101 2021-04-23 17:24:34 +02:00
Marisa P
01d4ff9048
Merge pull request #102 from AttorneyOnline/fix/utf8
Update all QSettings instances to use UTF-8 to prevent problems with Cyrillic characters
2021-04-23 00:35:49 -05:00
scatterflower
5f07cbeff7 version bump 2021-04-23 00:32:44 -05:00
in1tiate
87fe5c214d Update all QSettings instances to use UTF-8 2021-04-22 20:02:18 -05:00
Marisa P
3e490252be
Merge pull request #100 from Salanto/Fix-Woopsie2
Fix Server Crash when deleting statements during recording
2021-04-21 05:51:49 -05:00
Marisa P
d344ebe63a
Merge pull request #99 from AttorneyOnline/packet-size-limit
Add a size limit to packets and a configurable maximum character limit for messages.
2021-04-21 05:51:11 -05:00
MangosArentLiterature
e56fc07713 Revert "Merge branch 'master' into master"
This reverts commit 1b7c53bc01, reversing
changes made to f6a52f7378.
2021-04-20 19:34:22 -05:00
MangosArentLiterature
1b7c53bc01
Merge branch 'master' into master 2021-04-20 19:32:36 -05:00
Salanto
5e05326537 Fix Server Crash when deleting statements during recording 2021-04-20 23:09:16 +02:00
MangosArentLiterature
2f69b51280 Limit the amount of data the server will read
Set a hard limit on 30KB that the server is willing to read, over two sequential reads. If the client sends more than 30KB combined, the server will disconnect the client.
2021-04-20 11:51:22 -05:00
MangosArentLiterature
9c3cd12202 Add a size limit to packets and a configurable maximum character limit for messages
- Limits packets to under 16KB
- Adds a configurable option to config.ini for setting the maximum amount of characters in an IC/OOC message
- Limits the size of OOC names to 30 chars
   - The client already limits this, but this is an added precaution.
- Limits the length of shownames to 30 chars
- Implements shownames_allowed for areas, for toggling whether shownames are allowed for messages in that area
2021-04-19 19:44:46 -05:00
Marisa P
f6a52f7378
Merge pull request #97 from Salanto/Woopsie
Wopsie
2021-04-19 16:03:55 -05:00
Salanto
4e81eeb64f Wopsie 2021-04-19 23:01:50 +02:00
Marisa P
c13438587b
Merge pull request #95 from Salanto/fix-#94
Force UTF-8
2021-04-19 14:33:55 -05:00
Salanto
5dad3c11c6 Force UTF-8 2021-04-19 15:06:11 +02:00
MangosArentLiterature
5da651bfde Add a link to source code to /about 2021-04-19 04:31:06 -05:00
Marisa P
c9e97b34d7
Merge pull request #93 from AttorneyOnline/multiclient-limit
Multiclient limit
2021-04-19 02:16:08 -05:00