Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

sl changes

Relentless edited this page Jul 29, 2022 · 1 revision

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Unreleased

  • /

1.10.4 - 2020-12-17

Added

  • database dump
  • more output for the dev mode

Fixed

  • database validation for irrelevant groups
  • db remove command options not collapsing properly

1.10.3 - 2020-11-11

Fixed

  • additional group filtering
  • group validation error handling

1.10.2 - 2020-10-12

Added

  • feedback for invalid groups in the configuration
  • script cancellation if no groups are valid
  • checking for incompatible SinusBot versions
  • more output to dev mode to find issues faster

1.10.1 - 2020-09-22

Changed

  • configuration options now request client UIDs as intended

Fixed

  • backend error handling
  • linebreaks not working in static texts

1.10.0 - 2020-09-21

Added

  • new static text features
    • header as text above the staff list
    • footer as text underneath the staff list

Fixed

  • formatting of a config option from earlier versions

1.9.2 - 2020-08-25

Notes

  • thanks a lot to GogadonLive for reporting these issues and for helping a lot with testing.
  • if you update to any version that starts with 1.9 from an older script version, many of your database entries will be dropped since the database requires a new formatting because of new script features

Added

  • proper handling of errors
  • reporting of errors to the log

Fixed

  • backend handling unknown errors from the script
  • database validation when updating from an old script version

1.9.1 - 2020-08-11

Notes

  • if you update to any version that starts with 1.9 from an older script version, many of your database entries will be dropped since the database requires a new formatting because of new script features

Fixed

  • bot throwing errors that it can't connect to the backend in time although it was already connected

1.9.0 - 2020-08-10

Notes

  • if you update to any version that starts with 1.9 from an older script version, many of your database entries will be dropped since the database requires a new formatting because of new script features

Added

  • new config options to customize bot messages which are sent to clients when executing commands
  • client UID parser to check if a valid UID is passed to the remove command in order to give the invoker better feedback
  • documentation for events to better unstand the script
  • dev mode to find issues more easily

Changed

  • new internal config format applied
    • script is now more lightweight
    • changes behaviour how default values are applied to config entries
  • using more ES6 methods for code
  • improved code comments to better understand functionality
  • empty group text now needs group placeholder to display group name

Removed

  • unnecessary staff list update after caching clients

Fixed

  • group name format overriding by empty group
  • rare bug where afk channel system threw errors while whole afk system was disabled
  • bot listening for commands although they were disabled in the config

1.8.0 - 2020-08-03

Added

  • ability to set custom text for groups which are considered empty
    • groups are considered empty if they have no clients assigned/stored to them
    • before this version, these groups were simply skipped and wouldn't be displayed in the staff list
  • ability to display clients in all relevant groups they have
    • previously clients were only displayed in the group with the highest priority
  • manual command to drop the whole database/reset the script
  • new database validation to remove invalid and deprecated entries
  • documentation for all functions

Changed

  • slightly increased performance by a lot of code optimization
  • improved error handling and config option checks
  • options to configure what counts as AFK are now check boxes

Fixed

  • additional group list not being recognized correctly
  • description updating too often by not checking changes correctly
  • very rare case of the script not starting because of an infinite promise loop

1.5.0 - 2020-06-24

Added

  • ablity to set multiple afk channels
  • manual command to remove a user from the stafflist/databse

Changed

  • group priority going from top to bottom
  • increased performance by cancelling loops on result

1.3.0 - 2020-05-28

Added

  • away status
    • possibility to detect muted, deaf and away clients
    • afk room detection
  • configuration guide

Changed

  • global variable handling
  • script loading event and waiting for backend
  • refactored a lot of code
  • performance increase by handling client lists different

1.2.0 - 2020-05-25

Added

  • group assigment listeners
    • description is now updated when a staff group is added or removed
  • database validation
    • config changes while the bot was offline are now recognized
  • template formatting

Removed

  • unnecessary checks

Fixed

  • move event checking for the wrong output of the staff group detection function

1.1.0 - 2020-05-22

Added

  • more explanation to the config how to configure the script and how it works

Changed

  • main script function to use placeholder instead of SinusBot
  • extracted member sort function to get more performance and reduce unnecessary checks
  • only groups with stored members are shown now

1.0.0 - 2020-05-22

  • initial release