Eric Callahan
7890753d9f
docs: update documentation to reflect api changes
...
The file list and directory list endpoints now report file
permissions.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-27 12:02:06 -04:00
Eric Callahan
de8c0fc871
file_manager: fix inotify symlink handling
...
When a symbolic link is created there is no completion event, so immediately fire the notification.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-27 11:24:57 -04:00
Eric Callahan
e33962fdd4
file_manager: check write permissions for uploads
...
If the specified path is a symbolic link do not proceed with the upload, raise an exception.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-27 08:55:44 -04:00
Eric Callahan
734f295822
file_manager: allow registration of full access directories
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-27 08:55:44 -04:00
Eric Callahan
4c42b8d072
file_manager: report file and directory permissions
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
fix
2021-10-27 08:55:19 -04:00
Eric Callahan
1dd89bac4b
docs: bump mkdocs requirement to 1.2.3
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-24 12:46:56 -04:00
Eric Callahan
f086f75c07
docs: Add documentation for new service and power features
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-24 12:46:56 -04:00
Eric Callahan
47999e24c4
power: add support for bound services
...
A bound service is stopped when a device powers off and started when a device is powered on.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-24 12:39:52 -04:00
Eric Callahan
12e035b6eb
machine: list all active units
...
This resolves an issue where an allowed service is not
tagged as available if it is not loaded when moonraker
starts.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-24 08:45:28 -04:00
Eric Callahan
9d7dac3425
moonraker: rework Klippy init sequence
...
Stop polling Klippy after it it has exited the "startup" state.
When this has been detected, emit a "klippy_startup"
event.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-24 08:45:28 -04:00
Eric Callahan
a0b5275cc9
machine: add method to wait for service init
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-23 10:20:07 -04:00
Eric Callahan
97522947ec
proc_stats: update service state in the proc_stat timer
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-23 10:20:07 -04:00
Eric Callahan
8126a73663
machine: report active status of available services
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-23 10:20:07 -04:00
th33xitus
6a6422c16e
metadata: add IdeaMaker thumbnail parsing
...
This commit allows Moonraker to parse thumbnails from g-code files generated by IdeaMaker.
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-10-14 14:23:00 -04:00
Eric Callahan
8b510d9b03
docs: document the "timer" option for the power component
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-14 08:03:13 -04:00
Eric Callahan
838b25d288
power: implement timer functionality for gpio devices
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-14 08:03:13 -04:00
crashmaxx
2836600857
power: add timer option to tplink-smartplug devices
...
Signed-off-by: Andrew Stowell crashmaxx@gmail.com
2021-10-12 06:35:32 -04:00
Eric Callahan
562f971c3d
docs: update the mqtt documentation
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-10 18:08:25 -04:00
Eric Callahan
25f9800f77
moonraker: don't send status updates for empty objects
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-10 17:58:43 -04:00
Eric Callahan
0ed367d734
mqtt: support specifying fields in "status_objects" option
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-10 12:21:27 -04:00
Eric Callahan
070e03d741
file_manager: Don't filter inotify events on the gcodes root
...
Broadcast events for all files and let clients determine
what should be shown.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-10 11:33:33 -04:00
Eric Callahan
7f1c327f02
file_manager: hidden folder bugfix
...
Since inotify supports hidden folders we shouldn't skip them when scanning for nodes.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-10 11:04:59 -04:00
Eric Callahan
c631bff0c9
docs: Document MQTT support for printer objects
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-08 15:33:11 -04:00
Eric Callahan
0c311aeef4
mqtt: add support for publishing klipper status updates
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-08 14:17:13 -04:00
Eric Callahan
b1f122beec
scripts: update service to start after the network is brought online
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-10-08 08:07:03 -04:00
danijoo
c3f1b290f8
power: add RF transmitter support
...
Signed-off: Daniel Bauer <github@dbauer.me>
2021-10-03 09:05:12 -04:00
Eric Callahan
86764657cf
machine: add moonraker-telegram-bot to list of allowed services
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-29 18:08:08 -04:00
Eric Callahan
4df93481ec
docs: add note about nginx to installation.md
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-29 17:22:58 -04:00
Eric Callahan
4e2bbde829
scripts: remove nginx dependency
...
Moonraker itself does not depend on nginx and it
is no longer required to install clients on the host.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-29 17:22:26 -04:00
Eric Callahan
fdfab66951
metadata: add PrusaSlicer aliases
...
The varous forks of PrusaSlicer are processed identically
outside of their identifier, so there is no need to
implement new classes for each fork.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-28 06:14:24 -04:00
Eric Callahan
81b0c0a581
docs: minor API change reflecting new owner of Klipper repo
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-24 12:22:45 -04:00
Eric Callahan
00c6072274
workflows: update Klipper's repo location
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-24 12:22:45 -04:00
Eric Callahan
9c09ca2ed5
update_manager: add support for moved git repos
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-24 12:22:45 -04:00
Eric Callahan
2447ccab62
docs: update proc_stats documentation
...
The "websocket_connections" is now reported by proc_stats.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-21 14:22:19 -04:00
Eric Callahan
d6fafef902
proc_stats: report websocket connection count
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-21 14:19:01 -04:00
Eric Callahan
46a8723566
scripts: add libcurl4-openssl-dev dependency
...
This dependency is also require to build the pycurl wheel.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-21 14:02:09 -04:00
Eric Callahan
233be2e889
scripts: add libssl-dev dependency
...
This is required for operating systems that need to build
the pycurl wheel
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-21 13:08:27 -04:00
Eric Callahan
83eddf5e7d
docs: update /server/info documentation
...
Note the addition of the "websocket_count" field.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-21 11:35:58 -04:00
Eric Callahan
b1d739e032
moonraker: report websocket connection via /server/info
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-21 11:30:25 -04:00
Eric Callahan
e76e83d8c1
moonraker: configure the tornado http client to use the curl backend
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-21 08:32:24 -04:00
Eric Callahan
73d3eae8ae
scripts: add pycurl dependency
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-21 08:23:32 -04:00
Eric Callahan
e92da4c82c
power: add gpiod support for Arch Linux
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-15 18:09:20 -04:00
Eric Callahan
776e0d6c90
file_manager: strip leading slashes supplied in the upload path argument
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-14 14:43:00 -04:00
dependabot[bot]
8ca953f55c
build(deps): bump pillow from 8.2.0 to 8.3.2 in /scripts
...
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 8.2.0 to 8.3.2.
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/8.2.0...8.3.2 )
---
updated-dependencies:
- dependency-name: pillow
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 05:34:32 -04:00
Pedro Lamas
db3f69e0dd
Improves Home Assistant failure handling
...
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
2021-09-04 05:39:55 -04:00
Pedro Lamas
183f4a75e5
Adds Home Assistant power switch example
...
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
2021-09-04 05:39:55 -04:00
Eric Callahan
628c7e2e4d
docs: fix typos
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-09-04 05:38:03 -04:00
Stefan Dej
81176a6d31
confighelper: update 'Invalid config option' warning for better understanding
...
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-08-29 14:15:12 -04:00
Eric Callahan
245053434f
authorization: specifically identify basic auth
...
Raise an exception when a request with Basic Auth is received, however do not log the username/password.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-08-28 08:54:40 -04:00
Eric Callahan
dfb8da6e3e
authorization: improve error message for invalid auth headers
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-08-27 06:11:55 -04:00