Arksine
2c5bb4710e
websockets: Add metadata update notification
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-30 15:30:38 -04:00
Arksine
5a6f1ae062
websockets: don't handle ServerError in local callbacks
...
They can propogate back to the JSONRPC.execute_method() where they will be correctly handled.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-17 20:16:03 -04:00
Arksine
279d53afde
moonraker: rework klippy state events
...
Emit specific events for each klippy state rather than one for all of them.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-16 18:08:41 -04:00
Arksine
43b057c40c
moonraker: klippy requests no longer take a "request method"
...
Klippy rpc methods now accept either GET or POST, the method will be executed.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-15 08:38:06 -04:00
Arksine
a7147a44ca
moonraker: refactor "make_request"
...
The make_request() method is now awaitable and returns the result directly vs the previous behavior of returning a request that was awaited.
There is no longer a need to check the result to see if it is an error, exceptions are raised if an error is detected.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-12 08:43:37 -04:00
Arksine
7cd22804dd
moonraker: replace legacy string interpolation with f-strings
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-11 14:28:41 -04:00
Arksine
e93e4521a4
websockets: don't alter dictionary during iteration of "view"
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-04 11:32:42 -04:00
Arksine
b6f8ba775c
file_manager: implement file_list_changed notifcation
...
This notification is moved from moonraker.py. Instead of sending a filelist, it now updates the file list and sends all relevant information to the client.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-01 06:05:19 -04:00
Arksine
973b1ffa7d
moonraker: enable debug logging via the command line
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-31 06:22:31 -04:00
Arksine
45bed374ea
moonraker: explicitly declare "None" when calling dict.pop()
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-13 15:13:34 -04:00
Arksine
0e79b6f3f7
file_manager: add JSON-RPC "directory" APIs
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-04 14:33:17 -04:00
Arksine
d1c740b900
moonraker: add initial source
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-02 12:24:15 -04:00