Skip to content

v3.1.0 - Web Interface, Database Backups, Updated PGUI, etc.

Compare
Choose a tag to compare
@DuckBoss DuckBoss released this 15 Jun 21:01
· 857 commits to master since this release

Note: Keep your dependencies up to date! The requirements.txt package versions will probably be outdated by the time you download this release.

New Features

Web Interface (Optional Feature)

I've implemented a basic web interface that shows the currently active plugins and allows
commands to be sent remotely to the bot.
This is just a basic interface, and will be improved over time to include more features.
Please refer to the Quick Start Guide and the Config.ini Reference in the Wiki for setup information

  • The introduction of the optional web interface brings 3 new dependencies:
    • websockets : Used for providing continuous live data between the bot and web interface.
    • flask : Provides a web page for the interface, and allows commands to be sent remotely.
    • gevent : Production-ready server for the web interface.
  • Added button for downloading bot/system reports as a JSON file. It currently has limited information but will be more useful when the interface is expanded to include more features.

PGUI Updates

  • Custom default font for PGUI content
    • The default font can be set in the PGUI section of the config.ini file. By default, the font is set to 'Calibri'.
  • Support for background colors in PGUI elements

Core Commands

  • New command: !pgui_stress_test
!pgui_stress_test 'num of lines': Runs a PGUI stress test by creating multiple lines of PGUI elements.

Quick Setup Utility

  • Updated the quick setup utility to include all the changes to the config.ini, so using the QSU should be up to date for config file generation.

Database Backups

  • The internal database is backed up to the JJMumbleBot/cfg/backups folder everytime the bot is launched. The file name is created with a date-stamp.

Other Updates

  • Improved startup logging/console outputs.
  • Removed debugs, optimized data handling
  • Added notice about murmur text-message length allowances to ReadMe and Wiki
  • Various bug fixes