Commit Graph
2141 Commits
Author SHA1 Message Date
Eric Callahan 239494e4dc wled: initial support for responses
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2025-01-13 11:13:41 -05:00
Eric Callahan ca2772df79 wled: formatting and annotation fixes
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2025-01-13 11:13:41 -05:00
Eric Callahan 308a5eb5d4 wled: use async_serial utility
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2025-01-13 11:13:41 -05:00
Eric Callahan 0307a32e1b paneldue: use async_serial utility
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2025-01-13 11:13:41 -05:00
Eric Callahan 60c2bef474 async_serial: support for asyncio serial devices
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2025-01-13 11:13:41 -05:00
Eric Callahan fe60ebd89a wled: don't import tornado dependencies
Use Moonraker's http client to communicate with the wled device.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2025-01-12 10:24:56 -05:00
Eric Callahan fccffa96c6 build: replace dbus_next with dbus_fast
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>
2025-01-12 07:39:35 -05:00
Eric Callahan 73ad860bb9 install: add ubuntu specific dependencies
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2025-01-09 16:29:44 -05:00
Eric Callahan c79ba01dba install: support for package requirement specifiers
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>
2025-01-09 16:28:03 -05:00
Eric Callahan a4604e3380 python_deploy: fix github dev channel updates
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-12-22 07:38:06 -05:00
Eric Callahan ccfe32f236 datastore: store multiline commands as one entry
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-11-17 15:18:32 -05:00
Eric Callahan d4ef626961 datastore: gcode command storage fix
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-11-17 14:51:03 -05:00
Eric Callahan 4e00a0760e application: verify upload filename
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-10-22 05:37:30 -04:00
Eric Callahan 71f9e677b8 docs: update changelog for release 0.9.3
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-09-05 08:15:21 -04:00
Eric Callahan d1c2dcca0b install: update location of policy-rules script
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-09-05 08:15:21 -04:00
Eric Callahan 8df98908ca build: add scripts directly to the moonraker package
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>
2024-09-05 08:15:21 -04:00
Eric Callahan f735c04194 power: fix 'address' option percent encoding
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>
2024-08-11 13:52:00 -04:00
Eric Callahan e66744b6e9 power: improve basic auth implementation
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>
2024-08-11 06:26:23 -04:00
Eric Callahan 30ac5dfae9 docs: update changelog
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-08-09 05:58:35 -04:00
Eric Callahan 0a8590643f server: refactor startup
Use asyncio.run() to launch the server application as recommended
by the Python docs.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-08-08 16:29:01 -04:00
Eric Callahan 3a42dac02b announcements: use data path for dev mode
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-08-08 15:02:23 -04:00
Eric Callahan 863d0c1e4b confighelper: don't resolve backup path
If the configuration file is a symbolic link we want the backup
generated in the config folder.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-08-08 15:02:13 -04:00
Eric Callahan b40751ba9d docs: update install documentation
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-30 14:01:49 -04:00
Eric Callahan c2409e813e build: shared data fix
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>
2024-07-30 14:01:49 -04:00
Eric Callahan 83371cf135 project: add support for dependency syncing
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>
2024-07-30 14:01:49 -04:00
Eric Callahan 247640cc27 install: add support for installing from pip
Include distribution  detection for future support of
distros not compatible with Debian.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-30 14:01:49 -04:00
Eric Callahan 63578aefd0 release: bump version to 0.9.1
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-25 15:02:46 -04:00
Eric Callahan 8debbf8ba4 source_info: resolve importlib_metadata compatibility issues
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-25 14:16:42 -04:00
Eric Callahan 6f2c79f985 build: note support for Python 3.12
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-25 13:44:23 -04:00
Eric Callahan 7117cfc273 python_deploy: minor reporting fixes
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-25 12:46:21 -04:00
Eric Callahan 5fec55f5a0 release: bump version to v0.9.0
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-25 11:46:30 -04:00
Eric Callahan 92ce2a5a5d update_manager: correct base configuration
Remove deprecated "host_repo" option, update Klipper's venv args to invoke Python 3.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-25 10:27:21 -04:00
Eric Callahan 54d68d9394 docs: add python package update documentation
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-24 16:35:37 -04:00
Eric Callahan 003acd5f64 update_manager: fetch klipper paths from klippy_connection
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-24 16:35:37 -04:00
Eric Callahan 9097cfcce7 klippy_connection: store klipper source path and python path
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-24 16:35:37 -04:00
Eric Callahan 484551e5bf app_deploy: streamline type and channel config
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-24 16:35:37 -04:00
Eric Callahan 9beecbda92 confighelper: add getchoice method
This getter provides a pattern for configuring an item that
within a range of choices.

Signed-off-by:  Eric Callahan <arksine@gmail.com>
2024-07-24 07:37:08 -04:00
Eric Callahan 96b1c22e28 update_manager: add support for python applications
Signed-off-by:  Eric Callahan <arksine.code@gmail.com
2024-07-24 07:37:08 -04:00
Eric Callahan b8921ca593 python_deploy: support for updating python apps
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-24 07:37:08 -04:00
Eric Callahan 17dc05c9b7 versions: expand support for Python Package Versions
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-24 07:37:08 -04:00
Eric Callahan 0ff1d79b5b server: improve add_warning method
Add an exc_info parameter that optionally takes an
exception that is passed to the logging function. This
will log the traceback without an additional logging call.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-24 07:37:08 -04:00
Eric Callahan 11d15f96d1 pip_utils: add async method to invoke pip directly
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-24 07:37:08 -04:00
Eric Callahan ecb6ebcc18 pip_utils: bump pip version to 24.0.0
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-24 07:37:01 -04:00
Eric Callahan 0fb48fb9bf app_deploy: separate out pip update method
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-24 06:29:59 -04:00
Eric Callahan 4e8d50367d app_deploy: fix unbound variable
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-24 06:29:59 -04:00
Eric Callahan cdef4e7393 build: add importlib_metadata dependency
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-24 06:29:59 -04:00
Eric Callahan a101815a47 utils: add support for extracting project dist info
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-24 06:29:59 -04:00
Eric Callahan b8ba6c0d2b mqtt: add support for a user configured client id
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-22 13:55:33 -04:00
Eric Callahan 5c62149fc4 simplyprint: remove AI functionality
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-22 10:34:08 -04:00
Eric Callahan dc00d38b01 job_queue: improve state reporting
Only report ready when an item is in the queue and automatic transition is enabled.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-05 07:23:28 -04:00