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>
Per maintainers setuptool maintainers, the use of the "shared data"
path is deprecated and no longer recommended.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Allow "/" separators in the address. This patch also resolves a regression in the generic http client.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Rather than pass the user name and password via the
url, supply them directly to the http request. This should guarantee that the authorization header is
generated correctly.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Make sure the scripts directory is included in the "data/share"
folder in the wheel. In addition, remove the stray .gitignore
that is included when building a wheel from an sdist.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Use pre-commit to synchronize python requirements between
pyproject.toml and the various requirements files. In addition,
syncronize the contents of system-dependencies.json with
Moonraker's installer.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>