Eric Callahan
fb6e416e1c
mqtt: push Klipper status updates after subscription
...
This resolves an issue where MQTT clients miss the first status
update after a Klipper restart.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2025-02-07 06:15:26 -05:00
Eric Callahan
b8388db18d
klippy_connection: improve subscription request handling
...
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>
2025-02-07 06:08:49 -05:00
Eric Callahan
71ab2fb80e
docs: update readthedocs configuration
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2025-02-06 19:17:41 -05:00
Eric Callahan
fae2b31acc
docs: config doc formatting improvements
...
Use block style admonitions and add titles to
fenced code.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2025-02-06 19:15:38 -05:00
Eric Callahan
9c550a8f9a
docs: complete API documentation rework
...
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>
2025-02-06 19:15:38 -05:00
Eric Callahan
5a3b35f5ac
docs: add collapse_code extension from pymdown-ex
...
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>
2025-02-05 07:35:31 -05:00
Eric Callahan
549f9fe91d
build: bump pdm-backend to 2.4.3
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2025-02-04 05:44:32 -05:00
Eric Callahan
f3b0afd574
build: bump streaming-form-data package
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2025-02-03 06:08:49 -05:00
Eric Callahan
ac4959cfbf
build: bump tornado and apprise packages
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2025-02-03 05:37:27 -05:00
dependabot[bot]
8f4ed621a7
build(deps): bump jinja2 from 3.1.4 to 3.1.5
...
Bumps [jinja2](https://github.com/pallets/jinja ) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases )
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5 )
---
updated-dependencies:
- dependency-name: jinja2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 05:25:08 -05:00
Eric Callahan
fad1a1531b
docs: update changelog
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2025-02-01 08:15:43 -05:00
Eric Callahan
e417d80244
update_manager: add upgrade endpoint
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2025-02-01 07:49:25 -05:00
Eric Callahan
7e3c86e09a
docs: update documentation with latest changes
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2025-01-30 07:43:54 -05:00
Eric Callahan
0848fa1b59
update_manager: support "extra" reqs for python updates
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2025-01-29 16:31:58 -05:00
Eric Callahan
50e1f3c0c4
update_manager: report name and type for os package manager
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2025-01-29 16:28:33 -05:00
Eric Callahan
52781fbd9e
update_manager: report updater name for git_repo types
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2025-01-27 20:25:04 -05:00
Eric Callahan
d4d2074466
scripts: update fetch-apikey.sh
...
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>
2025-01-24 07:42:19 -05:00
Eric Callahan
db64bc02c8
pip_utils: upgrade existing packages during installation
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2025-01-24 05:22:46 -05:00
Eric Callahan
432a3a653a
application: log http API request exceptions in verbose mode
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2025-01-23 08:11:41 -05:00
Eric Callahan
72ed175c52
src: type comparison fix
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2025-01-13 12:35:08 -05:00
Eric Callahan
7e765b667c
wled: lint fix
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2025-01-13 12:31:55 -05:00
Eric Callahan
73dc4e50eb
build: remove pyserial-asyncio requirement
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2025-01-13 11:13:41 -05:00
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