Allow components to register gcode processors which will modify
the gcode file prior to metadata processing.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Don't propagate exceptions when update_pip fails. Some
systems may not be able to update pip, and the current
version of pip should be sufficient to install packages.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Standard git repos contain a ".git" folder, however worktrees
contain a ".git" file. The file provides the path to the worktree's
git directory.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Attempt to update all dependencies of a python package to the
latest version compatible with its requirement specifier.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This change refactors zip_deploy.py, renaming it net_deploy.py.
Net hosted executables that currently exist on the system
with a valid `release_info.json` file can now be updated.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Also add a warning to the "webhooks" printer object description
stating that it should not be used to receive async "ready"
updates.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
If the connection requesting the subscription already had
an outstanding subscription, remove it before processing.
This prevents immediate status updates from being pushed
to the requesting connection.
Don't add connections to the dictionary of subscribed
connections if the request is an empty object, as this
is a request to unsubscribe from all objects.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Moonraker's external API documentation has been significantly
overhauled in an effort to improve clarity and readability.
All parameters and responses are documented with specifications.
Tables and other elements are used to make documentation more
visible and less verbose.
Spelling and other corrections have also been added.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This extension is used to collapse the example responses presented
in the API documentation, which can be quite long.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Fetch the API Key from Moonraker's SQL database when available.
Add a -g option which will generate a new API Key and insert it into the database.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
The dbus_next dependency is no longer maintained. Replace
it with dbus_fast, which is a fork and drop in compatible.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Initial support for pip-like requirement specifiers applicable
to system packages. This allows for a package dependencies
specific to distribution version.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>