Releases: BOLL7708/ActionBot
v7.0.0 Hello World
Yeah, I need to get a version out that might work. As a big gotcha here, this has not had a huge amount of testing, but it's been effective enough during my own testing, so here we go. I need to clear my head so a release it is!
What has changed?
Everything that can be is now in the database. The editor is used to set most things up. The last step was to get events, triggers and actions in there, and that has been done. I did experience some performance issues, but I've made it cache everything in memory to speed things up, the code was very unoptimized so that's what I spent a month doing before taking a break. I just recently finished up that optimization pass and things seem alright.
If anyone actually takes this version on and test it, don't hesitate to join the Discord server and share your experience, and or report issues here or on the server. With this... maybe I'll get the peace of mind I need to clean up in the apartment, I moved a few months ago, and coding projects keep distracting me.
Oh and I'm also adopting proper semantic versioning. And this is a new major version due to the old configs being completely gone.
Enjoy people!
v6.734 The calm before the storm
Defaults
OBS: To have this version of the widget have strings to speak and post in chat, you need to go into the Defaults section and import the first stage of items, the Prerequisites, which are a bunch of presets, among these a bunch of text strings referenced for system actions, to allow them to be customized (but can be left as is).
One text reference that is not a system action, CallbackAppID, was moved. It is now Game Category Match Speech and Game Category No Match Speech in the Twitch config.
Configs
This will convert a majority of the stuff in Controller, Screenshots and Twitch configs. This moves even closer to a full database conversion, and also includes a few things like a half-finished sub & raid announcement system. Those will all be built out further after the mega conversion of events that will happen... at some point.
Announcer triggers and subs/cheers/raids have been modified/added in the Twitch config. The sub announcements are untested because it's not so easy to trigger those randomly, raid notification has been tested but is not fully implemented as the view count is not conveyed, yet.
Webhooks
Some discord webhooks have also been moved out into configs.
- Chat log is moved to the TwitchChat config.
- Whisper commands is moved into the Twitch config.
- Achievement callback is moved into the Steam config.
- Channel trophy statistics is moved into the Controller config.
- Screenshots is mobed into the Screenshots config.
There might be more, but this is it for now, I need to get this out so I can focus on other stuff this week 🤣
v6.718 At the Precipice
This is a step towards a full database integration. As I'm about to move apartments I release this while incomplete, that doesn't mean it's broken, but there are a lot of things that are not used yet in the editor, like the whole Defaults
section and the Events
. While they are possible to add and edit, they aren't currently used by the widget itself.
Configs
Before you update, read this section and see if any of it affects you. The only configs that have been entirely converted since February are AudioPlayer
and OBS
, but also a small part of the Twitch
config. You can find and edit these in the editor under the Config
category.
Changes
What has actually been worked on is a lot more features for the editor itself, a defaults import system, a very WIP search page, dark mode, and the preparations and data type support for converting all existing events, but that is a huge job that will happen after the aforementioned real life events.
Why?
This release was pushed mostly as to affirm my sanity, my own testing does not currently show any errors, but I also am not streaming much at the moment due to various reasons, so I'm letting other users upgrade and I'll be on standby to fix any issues that would crop up. It will be easier now as I pause development and can quickly push fixes. Oh yeah, this release also contains fixes, enjoy!
Future
The plan is to keep resolving bugs while I'm preparing for the major conversion, as it were, so report away on this repo, in Discord, or in a message to me on any of the socials.
v6.657 Config Editor & Migrations
This moves a bunch of configs to the database, more on that further down.
Important
First off, after installing this update, you should set the database version in _data/version.json
to 3
as I've redone the migration numbering scheme to save my brain.
Major
Pipe presets have moved into Presets in the database, it can take JSON imports, so if you have them saved in the editor you can paste them in using the new import button.
Config
The field in the action called config
should be replaced with configRef
and a string matching the Key
for the preset in the database. Before all the events, actions and triggers are moved into the database as well, this will be how we reference database things.
Migrations
These configs are gone from the code based configs, and are now in the database, set them up through the editor page and the Config section. These configs have been migrated so far:
- Discord
- OpenVR2WS
- Philips Hue
- Pipe
- Relay
- Sign
- Speech (previously GoogleTTS)
- Steam
Random
The name cleaning function can now convert names that is binary hex or binary ascii. This is barely useful but such users do exist, and it would be hilarious to have it auto-convert and say their actual name out loud.
v6.607 Settings Editor
The editor for settings should now be complete. It can:
- Add new setting
- Delete setting
- Edit setting values
- Edit setting keys
And that is more than I even had planned for it originally, but there we go.
This was mostly fleshed out as a step towards having an editor for config values, this will need some more careful planning and investigation before implementing though, but that is the next step.
v6.600 Hotfix: Redirect URI Migration
If you got into the database version early, you might have a stored redirect URI to Twitch that includes login.php
, which is now deprecated, and this update fixes that, just go to Setup
on the page and apply the new migration.
v6.599 Editor can Edit
It is now finally possible to edit settings in the settings editor, which is a true fact.
This is on the root page in the Settings section.
This milestone means that soon we can also move parts of the config into the database, this will happen soon, please be scared and terrified about this future. It is coming. Soon. Very soon. Soonish.
v6.598 Hotfix: Import of Legacy Settings
Fixed importing of old settings throwing an error that would make it run forever without reporting results.
v6.593 Setup & Import fixes
This has not been tested much, but is mostly setup & website related fixes, but also the first database migration.
Make sure to go onto your local widget webpage, and click the Setup section, to upgrade your database data version.
This is kind of a maintenance release just to cover setup issues, but also a bit WIP as a number of the pages are visible, but pretty much non-functional.
v.6.582 Hotfixes for TTS & Chat
Fixes
- Chat regex fixed, smileys containing a colon could break message parsing before this.
- Fixed setting TTS voices, not sure if the APIs changed but now it should be working again. Language is mandatory, name and gender not, so that priority is now in there and some fallbacks as well.
- Fixed TTS mute, which didn't set the flag properly.
Refactoring
Note: Due to this, please delete the /dist/
folder and let the project regenerate.
A lot of files are now called *Utils, *Helper and some are *Object and *Constants too. This to sharpen up the structure a bit and makes things, hopefully, easier to find. This means a few things have been renamed that exist in your configs. Other than these, also check for broken imports, remove them, and re-import the missing classes, or rename them according to the below.
AssetFiles
is nowAssetsHelper
TwitchHelix
is nowTwitchHelixHelper
Discord
is nowDiscordUtils