Commit Graph

71 Commits

Author SHA1 Message Date
in1tiate
83c41c05f7 Squashed commit of the following:
commit e946bf124602f224ce0e371ba1374f0355b537eb
Merge: d6a4e64 4505909
Author: Rosemary Witchaven <32779090+in1tiate@users.noreply.github.com>
Date:   Fri Jan 28 19:43:36 2022 -0600

    Merge pull request #225 from Salanto/Dynamic-Area-Musiclist-Take2

    Allow users to add custom songs to the music list on a per-area basis

commit 45059092d2888b60912f721e43a380910d10ccd8
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Mon Jan 24 22:05:27 2022 +0100

    TIL what a typedef is

commit 02584db9640fff0a1969a7f516c4bccfae9b5388
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Mon Jan 24 21:39:17 2022 +0100

    Not all OR are equal. Explain weird command splitting

    Remove hardcoded URLs

commit d00ebd5692296cd0c29dd377113b53fe0e7b99c0
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Mon Jan 24 21:28:08 2022 +0100

    Salanto PR Language Update by in1tiate

    As usual, my English is absolutely unreadable.

    Co-authored-by: Rosemary Witchaven <32779090+in1tiate@users.noreply.github.com>

commit d3842106e06350dc02d8864bb28232fdc5643f00
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Mon Jan 24 20:35:32 2022 +0100

    Add missing config file + document commands for help

commit ac64360e1c1741023b01052977de77a7d5ea4f8c
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Mon Jan 24 19:52:13 2022 +0100

    Minor improvements to command usage and addition of clear command

commit c614578e78ce9afa0c8e22aa36bdf46a70a97169
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Sun Jan 23 22:19:54 2022 +0100

    Purge last traces of old songInformation system

commit 07618761f044a13d75587b28a9c994342a5980e2
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Sun Jan 23 22:10:54 2022 +0100

    Working version, needs some refinement and debugging in AOClient

commit 33c0358c98c0fd2de805356a9aa3ac7bbed204e1
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Sun Jan 23 21:48:05 2022 +0100

    Almost functional implementation

    Now only need to determine why I can't play the customs yet

commit b0acbace78b3f16f2fe4f3c6f65a422e3343f992
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Sun Jan 23 15:26:42 2022 +0100

    Fix build error, expand validation test slightly

commit a48c4f503998ce8e42f0bb409c5a3c7dc5e40329
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Sun Jan 23 01:03:27 2022 +0100

    Add commands

commit 88ab0b473953873166e291e5009b97df31547b3f
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Sat Jan 22 15:10:26 2022 +0100

    Float sucks, int has to be good enough

    + add retrival of song information

commit e924e1340be1a0909eba84072f1646fe9770bd02
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Thu Jan 20 22:28:35 2022 +0100

    Fix removing moving

    Add necessary tests

commit 3df088f8d07ce7e0d8fe08b6a97608a623e6ef97
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Wed Jan 19 19:34:16 2022 +0100

    Start work on adding this shit into commands

commit c293ecfa99d1b2bd1e0b34cb8752d69b2eca057c
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Tue Jan 18 19:07:11 2022 +0100

    Fix typo and add singal for incremental upgrades

commit 10a42322e1e23af5795278a40b2ac59f3ab952ef
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Tue Jan 18 06:17:51 2022 +0100

    Hookup packet sending to music manager

    This might sound like a bad idea on first glance, but otherwise it breaks the AreaData tests and I am NOT gonna try to fix those without even understanding why they break.

commit 319836296374162b0b847432e8a626778317b869
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Tue Jan 18 06:17:51 2022 +0100

    Enraged comments, make area send FM packet

    Revert "Enraged comments, make area send FM packet"

    This reverts commit ec7a1a25646b2c2acc8a3a748b853851cc47d205.

commit 224a0d7efe989a5f336167c3f716061813f93ee3
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Tue Jan 18 05:10:18 2022 +0100

    Change packet communication from area to client

    First steps to hookup the custom musiclist.

commit 65aa8f7855a36f2c668b1399a5ed22fefeaf186d
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Mon Jan 17 00:48:38 2022 +0100

    Add test for custom list sanitisation.

    + Fix intentionally broken tests

commit 7c00ab437a6ff12033742d029ce49037f5bb1ebe
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Mon Jan 17 00:29:51 2022 +0100

    Sanitise the custom list opposed to deleting it

    This will fail tests intentionally to test the CI.

commit 80ad401267068e75707b2517a0bf836763141f8b
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Sun Jan 16 17:17:12 2022 +0100

    Add custom category capabilities

commit 08d8f5f8f683816ceba532f9c47cd0d5ab34389a
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Sun Jan 16 03:58:18 2022 +0100

    Fix music addition and move relevant tests

commit 6ebf0d03b5da61a9c287115009d28038710ba7af
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Sat Jan 15 08:08:20 2022 +0100

    Hookup music_manager into server, change default musiclist source for new clients

    + More tests 🆒

commit bd50c62376f131e2508ecdd3e272209894ecaec1
Author: Salanto <62221668+Salanto@users.noreply.github.com>
Date:   Sat Jan 15 03:13:42 2022 +0100

    Add central song validator for other classes

    Also added applicable test cases to ensure proper operation.
2022-01-28 19:51:30 -06:00
Salanto
68270f69cb Purge ms2 advertiser and streamline naming 2022-01-07 23:18:54 +01:00
Salanto
659d53f0a3 Fix incorrect playercount when advertising
+ Some design changes because they are better imo. Fight me.
2021-12-20 01:07:10 +01:00
Salanto
9d9cbdb4e2 Implement an area specific message
This feature improves RP/Casing slightly by allowing an automatic message to be send when they enter the area.
2021-12-17 02:31:52 +01:00
Rosemary Witchaven
48dc849b32
Merge pull request #201 from PresJoeBiden/Keeping-People-Out-With-an-IP-Subnet-Ban,-man!
Executive Order 14042 : Implement IPRange Ban
2021-12-13 19:30:42 -06:00
Rosemary Witchaven
64c1d01876
Merge pull request #216 from Salanto/me-log-ugly-pls-fix
Make log entries formatting reloadable and configurable
2021-12-02 13:44:17 -06:00
Salanto
a3d89c352c Make log entries formatting reloadable and configurable 2021-11-21 16:43:55 +01:00
Salanto
efa1dd0a42 Add vanilla content host to default config 2021-11-20 20:02:25 +01:00
stonedDiscord
09df305de2 add example ranges
https://en.wikipedia.org/wiki/Reserved_IP_addresses
2021-11-14 13:28:37 +01:00
Salanto
2c96e2683f Add optional color configuration 2021-09-20 21:09:28 +02:00
Salanto
3ec07bdf89 Remove trailing comma in helpfile 2021-09-19 18:51:28 +02:00
Salanto
18281ae401 Implement clearcm command 2021-09-19 17:00:14 +02:00
Salanto
2f6b4b85f4
Literally unreadable, again
Co-authored-by: Rosemary Witchaven <32779090+in1tiate@users.noreply.github.com>
2021-09-18 19:58:17 +02:00
Salanto
db0bd77299 Apply change suggestions
Alternative title : Literally unreadable 2
2021-09-18 17:30:38 +02:00
Salanto
983a2365fb Update helpfile for all commands.
+ Document cmdCharSelect
2021-09-16 23:16:58 +02:00
Salanto
650a071006 Add syntax suggestion on invalid argument
+ Fill in help file
2021-09-15 22:45:38 +02:00
Salanto
970b0975b4 Add command to retrieve help information
+ Rename old help that displays available commands to commands
+ Layout basic helpfile
2021-09-15 20:27:05 +02:00
Salanto
fb4c3481d2 Implement help information loader 2021-09-15 00:44:00 +02:00
Salanto
fc8a74e273 Add default durations to the musiclist.
I have no idea how accurate they are.
2021-09-13 18:25:23 +02:00
Salanto
5115b97721 Implement JSON musiclist file loading 2021-09-12 13:46:18 +02:00
Salanto
c7181dfcd6 Document change in config.ini 2021-09-10 18:51:39 +02:00
Salanto
5b07bb5557 Update config descriptions for Discord.ini 2021-08-12 23:03:46 +02:00
Salanto
f604e9c8de Split discord configuration into different file
The current config.ini is both long and full of text.
This reduces readability and combines essential configuration with non-essential configuration.
Splitting optional features like Discord into its own config helps the readability issue by not beating the users to death with information.
2021-08-11 23:52:53 +02:00
Salanto
2fd9dd9288 Add uptime url to sample configuration 2021-08-11 08:04:23 +02:00
Salanto
aaccf8e605 Implement Uptime Webhook
This commit implements a functional uptime webhook which posts a message to the config defined webhook URL. The interval is configurable, but not updatable.
2021-08-11 07:56:08 +02:00
Rose Witchaven
21a8f95a20
Merge pull request #185 from Salanto/more-hook-urls
Add ban webhook url option
2021-08-10 16:47:25 -05:00
Salanto
058b5cef63 Update ban webhook to utilize different url
+ Update sample config
+ Clarify webhook urls in the config and configmanager.
2021-08-10 22:16:09 +02:00
Salanto
a9c8cf7248 Add missing afk timeout configuration to sample config 2021-08-10 19:04:07 +02:00
Salanto
9e824e1256 Implement Webhook for Ban Information
Co-Authored-By: Rose Witchaven <32779090+in1tiate@users.noreply.github.com>
2021-08-02 23:49:37 +02:00
Rebecca
2a1ce15403
Update config.ini
Update sample config to reflect webhook_enabled not being reloadable.
2021-07-28 01:44:37 -05:00
Salanto
ca8c3105f0
Update config.ini 2021-07-27 12:06:13 +02:00
Salanto
edaa42b0f4
Correct straight up incorrect information
Discord, why thou curse the?
2021-07-27 12:05:47 +02:00
Salanto
8994ba2626 Implement new advertiser
I want to die.
2021-07-08 23:18:49 +02:00
MangosArentLiterature
624202beba Add comments to the sample config 2021-06-19 23:41:56 -05:00
MangosArentLiterature
65467df4ba Merge branch 'master' into password-requirements 2021-06-03 11:56:27 -05:00
Rebecca
93de5d3860
Update bin/config_sample/config.ini
Co-authored-by: Rose <32779090+in1tiate@users.noreply.github.com>
2021-05-11 18:17:13 -05:00
Salanto
d55f4b58cf Somehow this got not commited 2021-05-12 00:13:22 +02:00
MangosArentLiterature
7c09ce6b5c Add password requirements
* Adds several configurable options for server owners to set requirements for passwords.
* This system can be enabled/disabled with the password_requirements option.
* Checks new and updated passwords against these requirements.
2021-05-08 21:15:16 -05:00
Salanto
ea741f07a6 Update sample config.ini 2021-05-05 00:13:19 +02:00
MangosArentLiterature
4dabc723ac Add message_floodguard to default config.ini 2021-05-01 23:06:11 -05: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
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
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
scatterflower
e252ed04e9 make it configurable 2021-04-19 02:09:24 -05:00
Salanto
3c5659af22 Add testimony loading and saving 2021-04-18 03:59:12 +02:00
in1tiate
6ed4909088 add ability to force immediate text processing 2021-04-14 16:32:24 -05:00
scatterflower
853e6e3ff4
Merge pull request #60 from Salanto/Testimony-Playback
Add testimony playback
2021-04-14 14:11:10 -05:00
MangosArentLiterature
a6d602e32e Add config/text/gimp.txt 2021-04-14 02:17:47 -05:00
Salanto
0a001141cf Increase the amount of allowed messages 2021-04-13 21:25:24 +02:00