Security Fix, withlock action, flags, graphql alter query, rest command/run endpoint
·
415 commits
to master
since this release
Security Fix: This release has an important security fix described in #49. It is recommended everyone upgrade, although it is unlikely the vulnerability can be exploited for most SolarThing set ups.
All
millisNull
view is (in automation program and in graphql program)
Actions- Added a
withlock
action, which is recommended whenever you are dealing with an action that should never parallel itself.- As of right now, many actions that using locks in
config_templates
have bugs in them that cause them to unlock even when there's already a lock on them
- As of right now, many actions that using locks in
log
action can send to the summary log if desired- Flags are a new feature that can be set using an authorized client (currently only slack chat bots). Flags can be utilized in actions for checking if boolean configuration values are set/unset.
- New heartbeat packets. This is a good way to make sure commands stay working. You can set up alerts with the message-sender action part of the automation program
GraphQL/REST Program
- New GraphQL queries for
alter
database related stuff /commend/run
endpoint for executing actions. An API key is required. You can make your own API keys and put them in the configuration- This feature is undocumented as of now. I hope to add documentation for it in the future.
- This feature sets CORs headers that allow it to be called from a browser.