Packages updated via PyPI require a recent version of Pip
to perform the "dry run" installation used to determine
upstream version info.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
- Restructered `exclude_object` handling to be sent over `job_info` as
`skipped_objects`
- Append and track current job_id in `job_info` and `file_progress`
messages
- Fixed old test-url (internal usage)
- Send `current_object` as `job_info.object`
Signed-off-by: Javad Asgari Shafique <me@javad.sh>
Any transition to from an idle state to any state other
than "standby" should emit a started event. This should
nearly always be a "printing" state, however it is possible
that Klipper's API server will not have a chance to push
a "printing" status update if the print is immediately
paused, cancelled, or aborted due to an error.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
When a git project managed by moonraker is a submodule of a superproject, gitfile
contains a relative path.
Resolve contents of the gitfile relative to the directory containing the gitfile.
Signed-off-by: Božo Dragojevič <bozzo.dragojevic@gmail.com>
Currently the vendor is only detected for systems running
Raspberry Pi OS and reported as 'raspberry-pi'. This may be
used to filter Pi specific dependencies.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Implement optional polling for devices that are not updated
asynchronously. GPIO, RF, Klipper, and MQTT devices are
excluded.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Avoid binding to the detected unit name of the Klipper
service, if available. Exclude all async notifications
sent when the device is processing a request.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Version of Tornado prior to 6.5.0 have a bug that may
prematurely close websocket connections when pinging
is enabled. Disable pinging for Moonraker's websocket
server and spoolman's client.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Tornado client websockets treat the ping timeout differently
from server websockets. The ping timeout should be less than
the ping interval.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Newer versions of Python can potentially destroy tasks
before they are complete due to garbage collection. To
prevent this a reference to all created tasks are kept in
a set and removed when the task is done.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Anomalies do not prevent updates, they are intended to alert
users of potential issues detected within an extension for
update. Anomalies are always logged, however it is not
necessary for them to be reported to frontends. This option
gives users the ability to silence anomalies on a per extension
basis.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Don't use the detected public IP when the user
has configured Moonraker to listen exclusively
on the localhost.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Pillow 10 does not support Python 3.13 and Pillow 11 does not support
Python 3.8.
Allowing Pillow from 9.5.0 to 11.1.0 in requirements to adapt Pillow 11
when it's available.
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Support logging to json structures, useful for log parsers
and analytics. When enabled logging to stdout is still human
readable, so both forms of logging are available simultaneously.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Added additional essential metdata for single extruder multi-material printing. This is critical to new Mainsail functionality to map tools to MMU spools when using Happy Hare (Klipper MMU driver)
Signed-off-by: Paul Morgan (moggieuk@hotmail.com)
Embed the sysdeps_parser module in the install script
for package dependency resolution. This method is
more robust than the bash implementation and adds
support for the new requirement specifiers.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
Use the sysdeps_parser utility to parse the correct dependencies
out of the data returned by the configured system dependencies
json file.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This functionality is used by the update manager to parse
the result from system dependency files. By moving it
out of the update manager it becomes easier to test,
extend, and maintain. Additionally it can be embedded
in the install script.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>