It works baby, seems like timing could be improved or something, but it freakin works

This commit is contained in:
Nate Anderson
2025-06-18 20:59:24 -06:00
parent b68614257d
commit 0745a4eb75
50 changed files with 7679 additions and 20 deletions
+71
View File
@@ -0,0 +1,71 @@
# Mumble server configuration file for testing
# Database configuration
database=/data/mumble-server.sqlite
# Welcome message
welcometext="Welcome to the MumBullet Test Server"
# Server password (empty for no password)
serverpassword=testpass
# Maximum bandwidth (in bits per second) clients may use
bandwidth=128000
# Maximum number of concurrent clients allowed
users=100
# Regular expression used to validate channel names
channelname=[ \\-=\\w\\#\\[\\]\\{\\}\\(\\)\\@\\|]+
# Regular expression used to validate user names
username=[-=\\w\\[\\]\\{\\}\\(\\)\\@\\|\\.]+
# Maximum length of text messages in characters. 0 for no limit.
textmessagelength=5000
# Allow HTML in messages
allowhtml=true
# Set autoban duration for failed attempts, in seconds
autobantime=300
# Set autoban attempts, set to 0 to disable
autobancount=10
# Set autoban timeframe, in seconds
autobantime=300
# Default channel when users join the server
defaultchannel=0
# Enable bonjour service discovery
bonjour=False
# Maximum length of channel name
channellength=100
# Force clients to use certificate authentication
certrequired=False
# Maximum number of channels allowed
channelcount=100
# How deep the channel hierarchy can be
channelnestinglimit=10
# Maximum number of channels to operate on in a single transaction
channelfilterlinks=100
# Send voice to all channels the user is linked to
allowping=true
# User message limit per second
messagelimit=5
# Message burst limit per second
messageburst=10
# Create a Music channel
registerName=Music
registerPassword=
+69
View File
@@ -0,0 +1,69 @@
# Mumble server configuration file for testing
# Basic server settings
database=/var/lib/mumble-server/mumble-server.sqlite
welcometext="<strong>Welcome to the MumBullet Test Server</strong><br/>This server is used for integration testing."
host=0.0.0.0
port=64738
# Server access
serverpassword=serverpassword
users=100
allowhtml=true
registerName=admin
registerPassword=adminpassword
# Channels configuration
# Root channel is always created automatically
# These register channels on first run
registerName=Music
registerPassword=
position=0
registerName=General
registerPassword=
position=1
registerName=Gaming
registerPassword=
position=2
# Create subchannels
registerName=Music/Subroom1
registerPassword=
position=0
registerName=Music/Subroom2
registerPassword=
position=1
registerName=General/Subroom3
registerPassword=
position=0
# Default channel (Root channel is always id 0)
defaultchannel=1 # Music channel
# User settings
username=[-=\\w\\[\\]\\{\\}\\(\\)\\@\\|\\.]+
textmessagelength=5000
imagemessagelength=131072
allowhtml=true
# Bandwidth settings
bandwidth=128000
# Log settings
logfile=
# Registration
# Allow users to register themselves
registerself=true
# Don't require registration to join
registerpassword=false
# Security
# Automatically ban IPs with more than 10 failed attempts in 120 seconds for 300 seconds
autobanAttempts=10
autobanTimeframe=120
autobanTime=300
+21
View File
@@ -0,0 +1,21 @@
{
"mumble": {
"server": "localhost",
"port": 64738,
"username": "TestBot",
"password": "serverpassword",
"channel": "Music"
},
"bot": {
"command_prefix": "!",
"default_permission_level": 0,
"max_queue_size": 50,
"cache_directory": "./test/fixtures/cache",
"max_cache_size_gb": 1
},
"dashboard": {
"port": 8081,
"admin_username": "testadmin",
"admin_password": "testpass"
}
}
+21
View File
@@ -0,0 +1,21 @@
{
"mumble": {
"server": "localhost",
"port": 64738,
"username": "AdminBot",
"password": "serverpassword",
"channel": "Music"
},
"bot": {
"command_prefix": "!",
"default_permission_level": 0,
"max_queue_size": 50,
"cache_directory": "./test/fixtures/cache",
"max_cache_size_gb": 1
},
"dashboard": {
"port": 8081,
"admin_username": "testadmin",
"admin_password": "testpass"
}
}
+21
View File
@@ -0,0 +1,21 @@
{
"mumble": {
"server": "localhost",
"port": 64738,
"username": "UserBot",
"password": "serverpassword",
"channel": "General"
},
"bot": {
"command_prefix": "?",
"default_permission_level": 1,
"max_queue_size": 30,
"cache_directory": "./test/fixtures/cache",
"max_cache_size_gb": 0.5
},
"dashboard": {
"port": 8082,
"admin_username": "user",
"admin_password": "userpass"
}
}