Arksine
5836d60d88
app: allow http requests to specifiy a websocket id
...
Some requests, such "printer/objects/subscribe", require a websocket
for asynchronous updates. Clients may now specify a "connection_id"
in the form data that identifies an associated websocket.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-11-11 04:46:21 -05:00
Arksine
92d1715d88
app: Simplify request handlers
...
There is no need to pass the auth, server, or websocket manager objects to request handlers. They can be retreived directly from the application reference.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-11-11 04:46:21 -05:00
Arksine
7cd51fe1eb
authorization: update request handlers to accept WebRequest objects
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-11-11 04:46:21 -05:00
Arksine
059f5d6a73
app: allow local handlers to select their supported protocol
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-09-07 12:38:15 -04:00
Arksine
b034485ce8
authorization: update API registration
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-09-03 14:01:34 -04:00
Arksine
5b6d4371c8
moonraker: convert missed legacy strings to f-strings
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-13 19:23:17 -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
e5cb27f5b7
authorization: Add configparser support
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-11 08:38:27 -04:00
Arksine
470f1af475
authorization: refactor trusted ip checks to use ipaddress module
...
This adds support for both IPv4 and IPv6 authorization.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-28 11:03:29 -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
d1c740b900
moonraker: add initial source
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-02 12:24:15 -04:00