Skip to content

Releases: HullSeals/HalpyBOT

HalpyBOT 1.6.5

01 Jan 21:53
fdf2216
Compare
Choose a tag to compare

Changelog

Added:

n/a

Changed:

  • Fixed an issue that could occur if a user did not exist when looking up a user's WHOIS data. (@Rixxan)
  • Fixed a bug that could occur if a passed nickname was provided with excess punctuation. (@Rixxan)

Removed:

n/a

HalpyBOT 1.6.4

01 Jan 21:53
3d9f239
Compare
Choose a tag to compare

Changelog

Added:

n/a

Changed:

  • Fixed a race condition that could result from undefined behavior due to unsynchronized cross-thread read conditions. (@Rixxan, @theunkn0wn1)
  • Moved logger setup to its own function (@Rixxan)
  • Changed the entry point used to interact with Pydle. (@Rixxan)

Removed:

  • Removed some useless asyncio code that didn't actually do anything. (@Rixxan)
  • Removed a few unneeded imports. (@Rixxan)

HalpyBOT 1.6.3

01 Jan 21:53
f5455b0
Compare
Choose a tag to compare

Changelog

Added:

  • Implemented pathlib-based logic to allow running of CLIs from anywhere. (@Rixxan)

Changed:

  • Fixed a bug where the BackupFactModule would not register a "Yes" input. (@Rixxan)
  • Renamed a number of variables to be more descriptive of purpose. (@Rixxan)
  • Fixed the DSSAUpdater CLI to work with the current versions of the DSSA Tracker. (@rik079)

Removed:

  • Removed the CLI Config files from the DSSA Updater. (@Rixxan)
  • Removed a number of unused global variables. (@Rixxan)
  • Removed a few unneeded imports. (@Rixxan)

HalpyBOT 1.6.2

01 Jan 21:53
Compare
Choose a tag to compare

Changelog:

Added:

n/a

Changed:

  • Updated announcer example file to include paperwork ID. (@Rixxan)
  • Fixed a bug that could result in calling the system result in the coords command before assignment. (@Rixxan)
  • Minor edits to the printout of the shorten command. (@Rixxan)
  • Refactored GET requests to a single location with aiohttp. (@Rixxan)
  • Removed a single-character variable. (@Rixxan)
  • Minor spelling and grammar changes. (@Rixxan)
  • Updated requirements files to latest known working versions. (@Rixxan)

Removed:

  • Removed a few instances of unused imports. (@Rixxan)

HalpyBOT 1.6.1

01 Jan 21:53
Compare
Choose a tag to compare

Changelog:

Added:

  • Added the ability for the bot to link up with a YOURLS URL shortener. (@Rixxan)
  • Added a number of new logging entries. (@Rixxan)
  • Added a new EDSM-linked exception for more detailed error logging and stability. (@Rixxan)
  • Added a new test condition to validate handling of incomplete EDSM responses. (@Rixxan)

Changed:

  • Replaced all uses of python lower() with python casefold() (Thanks, @theunkn0wn1). (@Rixxan)
  • Updated documentation for new-file standards. (@Rixxan)
  • Changed a number of imports to fix duplicate import paths. (@Rixxan)

Removed:

  • Removed a number of copyright year slugs that did nothing but cause problems. (@Rixxan)
  • Removed a comment that served no purpose anymore. (@Rixxan)
  • Removed a few instances of unreachable code. (@Rixxan)

HalpyBOT 1.6.0

01 Jan 21:53
2b4d26c
Compare
Choose a tag to compare

Changelog:

Added:

  • Added a number of Pytest-based tests. (@Rixxan, @rik079)
  • Added encoding markers to a number of filesystem commands. (@Rixxan)
  • Added proper attribution to exceptions. (@Rixxan)
  • Added a number of new logging entries. (@Rixxan)
  • Added a number of new docstrings and code comments. (@Rixxan)
  • Added loguru for logging system duties. (@Rixxan)
  • Adds cattr structures for user info fetching. (@theunkn0wn1)
  • Added missing update to fallback in listsupport. (@Rixxan)
  • Added a context manager for notification timer. (@rik079)
  • Added a number of missing await statements. (@Rixxan)
  • Enabled compresison support for aiohttp. (@Rixxan)
  • Added EDSM Mocking for Tests. (@Rixxan, @theunkn0wn1)
  • Added bot mocking for tests. (@Rixxan, @theunkn0wn1)
  • Added a warning to README for users on Linux. (@Rixxan)
  • Added the ability to use custom shutdown messages. (@Rixxan)
  • Added EDDB Dump File reader for diversion stations. (@Rixxan)
  • Added a Diversion command to find the 5 closest systems to a given EDSM location. (@Rixxan, @theunkn0wn1)
  • Added a handler and logger for Pylde-unknown IRC commands. (@Rixxan)

Changed:

  • Several formatting updates. (@Rixxan, @theunkn0wn1, @rik079)
  • Changed how exceptions are logged and presented. (@Rixxan)
  • Converted a number of if-true-else statements to bools. (@Rixxan)
  • Renamed a number of improperly-named functions. (@Rixxan)
  • Re-ordered a number of imports to comply with conventions. (@Rixxan)
  • Fixed an issue with an improperly-labeled exception. (@Rixxan)
  • Changed the attribution of a system exit command. (@Rixxan)
  • Fixed a number of imports to more specific values. (@Rixxan)
  • Improved logic of a number of tests. (@Rixxan)
  • Renamed a number of improperly-named variables. (@Rixxan)
  • Recategorized a number of improperly leveled errors. (@Rixxan)
  • Updated requirements to more recent versions. (@Rixxan)
  • Fixed a number of spelling and grammar mistakes. (@Rixxan)
  • Updated the copyright date on numerous files. (@Rixxan)
  • Various logic improvements. (@Rixxan)
  • Changed how variables are interpolated into logging entries. (@Rixxan)
  • Fixed a few "FIXME" and "TODO"s. (@Rixxan)
  • Fixed a bug with how lengths of arguments were processed. (@Rixxan)
  • Fixed a bug that would occur due to unintentional redefining of inbuilt functions. (@Rixxan)
  • Fixed a crash that could occur if the bot was launched in Offline mode. (@Rixxan)
  • Fixes a bug that could cause a regression in future releases of Pydle. (@theunkn0wn1)
  • Fixes an incorrect exception instantiation. (@theunkn0wn1)
  • Fixes a bug due to an incorrect argument in the partchannel command. (@Rixxan)
  • Fixes a bug due to a mutable default variable. (@theunkn0wn1)
  • Updates various documentation files. (@Rixxan)
  • Updated how Discord webhook configuration options are stored. (@rik079)
  • Refactored the notification formatting system. (@rik079)
  • Unified dataclass method with attrs. (@Rixxan)
  • Changed EDSM API coding to improve forward-compatibility. (@Rixxan)
  • Moved test fixtures to their own subdirectory. (@rik079)
  • Fixed an issue with logging system where tasks were not properly defined. (@Rixxan)
  • Improve and class-ify Landmarks and Carriers system. (@Rixxan)
  • Fixed a bug that could occur on --new cache overrides with EDSM. (@Rixxan)
  • Fixed a bug that could occur if a system existed, but was outside of Landmark coverage. (@Rixxan)

Removed:

  • Removed some extraneous exception handlers. (@Rixxan)
  • Removed some in-line string breaks. (@Rixxan)
  • Removed a number of useless else statements. (@Rixxan)
  • Removed a number of useless f-strings. (@Rixxan)
  • Removed a number of useless pass statements. (@Rixxan)
  • Removed a number of unused variables. (@Rixxan)
  • Removed a number of useless keys lookups from dicts. (@Rixxan)
  • Removed Grafana logging system. (@Rixxan)
  • Removed some duplicate functions. (@Rixxan)
  • Removed some duplicate tests. (@Rixxan)
  • Removes an unnecessary pool. (@theunkn0wn1)
  • Removed some unnecessary dependencies. (@Rixxan)
  • Removed a number of useless imports. (@Rixxan)
  • Removed a number of obsolete ancillary files. (@Rixxan)
  • Removed a number of unnecessary imports. (@Rixxan)
  • Removed a few Global variables. (@Rixxan)

HalpyBOT 1.5.3

01 Jan 21:53
98c9a98
Compare
Choose a tag to compare

Changelog:

Added:

  • Added a function to replace duplicate coordinate finding fragments. (@Rixxan)
  • Added some more logging keys to EDSM module. (@theunkn0wn1)
  • Added attrs and cattrs to the project requirements. (@theunkn0wn1)
  • Add expected EDSM JSON API response to test files. (@theunkn0wn1)

Changed:

  • Completely reworked the EDSM linkup to be more resilient and efficient. (@theunkn0wn1)
  • Refactored /src/ to /halpybot/. (@theunkn0wn1, @Rixxan)
  • Fixed an improperly formatted regex string. (@Rixxan)
  • Upgraded a number of required libraries to the latest versions. (@Rixxan)
  • Changed a number of function and variable names to conform with PEP8 Standards. (@Rixxan)
  • Fixed a few documentation links. (@Rixxan)
  • Fixed a number of inconsistent whitespace issues. (@Rixxan)
  • Removed a few arguments that equal their defaults. (@Rixxan)
  • Updated the request filtering to allow a number of valid responses. (@Rixxan)
  • Renamed attribute titles for the landmark json file. (@Rixxan)

Removed:

HalpyBOT 1.5.2

01 Jan 21:53
cfb042c
Compare
Choose a tag to compare

Changelog:

Added:

  • Added the Git version to the main server GET route if running HalpyBOT as a Git Repo (Recommended). (@Rixxan)
  • Added command argument validation to Part command. (@Rixxan)

Changed:

  • Updated the default configuration example file. (@Rixxan)
  • Updated the default UserAgent string. (@Rixxan)
  • Updated included Help json file to include more administrative commands. (@Rixxan)
  • Updated Help command logic to allow for multiple command queries. (@Rixxan)
  • Fixed a number of spelling and grammar mistakes in the documentation files. (@Rixxan)
  • Fixed an issue where negative numbers or decimals would break the Coords command. (@Rixxan)
  • Corrected a problem with Twitter strings revealing too much information. (@Rixxan)
  • Updated documentation instructions for installing HalpyBOT. (@Rixxan)

Removed:

  • Removed a few unused, out-of-date debug files. (@Rixxan)

HalpyBOT 1.5.1

01 Jan 21:53
Compare
Choose a tag to compare

Changelog:

Added:

n/a

Changed:

  • Fixed an issue with Twitter API v2 preventing cases from being sent to Twitter (@Rixxan, @rik079)

Removed:

n/a

HalpyBOT 1.5.0

01 Jan 21:52
0d62434
Compare
Choose a tag to compare

A major content addition to HalpyBOT, focusing on quality of life and new feature development.

Added

  • HalpyBOT: Add a basic notice handler. (@rik079)
  • HalpyBOT: Added ability to disable the Twitter module. (@rik079)
  • HalpyBOT: Added packaged Backup Fact Updater module. (@rik079)
  • HalpyBOT: Added packaged DSSA Location Updater module. (@rik079)
  • HalpyBOT: Added contextual help options to most commands. (@Stuntphish, @Rixxan)
  • HalpyBOT: Added a system to create a Log file and folder if it does not exist. (@Stuntphish)
  • HalpyBOT: Added support for requests sent with either LF or CRLF. (@Stuntphish, @Rixxan)
  • HalpyBOT: Added a method to check given system names for misspellings or completeness in EDSM. (@Stuntphish)
  • HalpyBOT: Added a custom UserAgent check for HalpyBOT so people know who is poking their servers. (@Rixxan)
  • HalpyBOT: Added timestamps to log output. (@Stuntphish)
  • HalpyBOT: Added a dedicated "RRJoin" Command. (@Rixxan)
  • HalpyBOT: Added an additional alias for the shutdown command. (@Rixxan)
  • HalpyBOT: Added additional aliases to the CyberSignal command. (@Rixxan)
  • HalpyBOT: Added timestamp to halpybot status reporting. (@Rixxan)
  • HalpyBOT: Added offline mode status to halpybot status reporting. (@Rixxan)
  • HalpyBOT: Added a feature where if Landmark systems fail, the nearest DSSA carrier is found. (@Rixxan)
  • HalpyBOT: Added a warning if non-registered users are assigned to a case with the !go fact/command. (@Rixxan)
  • HalpyBOT: Added a system cleaner function to improve the accuracy of EDSM-facing system commands. (@Stuntphish)
  • HalpyBOT: Added a feature where HalpyBOT will send an error message on unexpected disconnect. (@Rixxan)
  • HalpyBOT: Added a logging system for errors to SQL. (@rik079)
  • HalpyBOT: Added a number of tests for HalpyBOT's code. (@Rixxan)
  • HalpyBOT: Added in-channel responses to redirect commands. (@Rixxan)
  • HalpyBOT: Added aioHTTP for asynchronous HTTP methods. (@Rixxan)
  • HalpyBOT: Added several missing entries in the Help module. (@Rixxan)
  • HalpyBOT: Added GitPython "Build Number" check to About if run in Git repo (Recommended). (@Rixxan)
  • HalpyBOT: Added non-ascii filtering to Fact manager. (@Rixxan)

Changed

  • HalpyBOT: Moved the startup script from main.py to start.py. (@rik079)
  • HalpyBOT: Updated all dependencies to the latest versions. (@Rixxan)
  • HalpyBOT: Updated Twitter case logic for announcement formats. (@rik079)
  • HalpyBOT: Added DocStrings to various functions. (@rik079, @Rixxan)
  • HalpyBOT: Updated valid Python version to 3.8 or 3.9. (@rik079)
  • HalpyBOT: Updated backup facts cache for compatibility and completeness. (@rik, @Rixxan)
  • HalpyBOT: Some multi-line commands will now only reply in DMs. (@Rixxan)
  • HalpyBOT: Completely reworked HMAC authentication for security. (@Stuntphish)
  • HalpyBOT: Logging can now log CLI and File levels differently. (@Stuntphish)
  • HalpyBOT: The shutdown command will now log and shout out who ordered it to shut down. (@Rixxan)
  • HalpyBOT: Updated most of the project to follow PEP8 guidelines. (@Rixxan, @rik)
  • HalpyBOT: Refactored the command handler. (@rik)
  • HalpyBOT: Fixed a bug with the announcer module if EDSM is disabled. (@Rixxan)
  • HalpyBOT: Fixed an issue with the whoami command for a particular user. (@Rixxan)
  • HalpyBOT: Moved the About command to the new help.py file. (@Rixxan)
  • HalpyBOT: Fixed a number of misspellings and grammatical errors in documentation and replies. (@Rixxan)
  • HalpyBOT: Fixed an issue where the database functions were not properly declared in their init files. (@Rixxan)
  • HalpyBOT: Suppressed a non-issue where Pydle didn't know how to respond to certain server informational posts. (@rik, @Rixxan)
  • HalpyBOT: Changed the WHOIS lookup to use database stored procedures. (@Rixxan, @kennyrosser)
  • HalpyBOT: Fixed an issue where multiple given arguments in a whois lookup could break the query. (@Rixxan)
  • HalpyBOT: Updated Tweepy processing to adapt to newest versions of Tweepy exception handling. (@Rixxan)
  • HalpyBOT: Fixed a bug that could cause the force join command to fail if CMDR and Channel names were inverted. (@Rixxan)
  • HalpyBOT: The logger will now rotate log files every Monday, and keep the last 12 files. (@Stuntphish)
  • HalpyBOT: Fixed an issue where multiple spaces in commands would cause the bot to improperly parse arguments. (@Rixxan)
  • HalpyBOT: Fixed an issue where required values were missing if a WHOIS command was used on a user not in any channels or on services. (@Rixxan, @rik079)
  • HalpyBOT: Fixed an issue where all disconnects were considered unexpected. (@Rixxan)
  • HalpyBOT: Fixed an issue where language codes were not processed if in capital letters. (@Rixxan)
  • HalpyBOT: Fixed an issue where a CMDR existed, but was outside of landmark range. (@Rixxan)
  • HalpyBOT: Fixed an issue where coordinates would attempt to be processed if they were not all numeric. (@Rixxan)
  • HalpyBOT: Fixed an issue where manual cases could be processed with bad arguments. (@Rixxan)

Removed

  • HalpyBOT: Removed a few unused imports. (@Stuntphish, @Rixxan)
  • HalpyBOT: Removed Facts from commands.json. (@Stuntphish)
  • HalpyBOT: Removed a few input validations that were made obsolete by the Help command. (@Rixxan)
  • HalpyBOT: Removed an unused loop variable for the API server. (@Rixxan)
  • HalpyBOT: Removed Requests library and dependencies. (@Rixxan)