Arksine
c14221a7c7
app: Add mimetype for .cfg files
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-01 06:05:19 -04:00
Arksine
ad127ce2a9
test_client: modify for new fersion of "file_list_changed" notification
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-01 06:05:19 -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
829dd27aa2
test_client: add support for configuration file transfer
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-01 06:05:19 -04:00
Arksine
e0fb261c12
file_manager: refactor upload logic
...
Break gcode and config file uploads into their own functions. Add a 'primary_config' argument to config file uploads. If set to true, the upload will overwrite printer.cfg.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-01 06:05:19 -04:00
Arksine
345229c928
test client: Add additional text box for Websocket API tests
...
Arguments are now specified in the secondary box, using JSON format without brackets.
2020-08-01 06:05:19 -04:00
Arksine
8b5c8786b4
file_manager: Verify that uploads are not written to folders outside of the "base" directory
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-01 06:05:19 -04:00
Arksine
9743772b45
file_manager: Add support for configuration files
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-01 06:05:19 -04:00
Arksine
bf1a666e20
file_manager: Allow the self.file_paths to contain paths to files
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-01 06:05:19 -04:00
Arksine
f0fa1295a7
file_manager: handle file upload processing
...
This implentation allows for uploads to different local paths by specifying a "root" argument in the form.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-01 06:05:19 -04:00
Arksine
2ae4034b97
moonraker: Add some additional logging during init
...
This logging may be useful in helping users troubleshoot problems stemming from Klippy based errors.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-31 12:49:25 -04:00
Arksine
1e018e9b92
temperature_store: directly request sensor data
...
Sensor information is no longer provided by the response to the "check_ready" remote procedure call. The temperature store now fetches the sensor data itself and sets up the subscription.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-31 08:42:07 -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
efb9a9f649
power: remove blocking call to time.sleep()
...
Replace with coroutine friendly gen.sleep()
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-29 20:34:05 -04:00
Arksine
92d7d7c2b7
power: restrict lines to 80 chars, remove trailing whitespace
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-29 17:46:27 -04:00
Arksine
31bebdd59c
docs: update installation documentation
...
Note that trusted clients may now include both IPv4 and IPv6 ranges.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-28 11:31:06 -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
b4b1356bdd
docs: Add contributing guidelines
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-27 18:28:06 -04:00
Arksine
4ea3bae516
moonraker: Implement custom logger
...
Implement a custom logging handler so the Git version is logged on Rollover.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-27 16:49:48 -04:00
Arksine
f34b76ae73
moonraker: Verify python executable version
...
Moonraker requires Python 3.7 or greater.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-27 14:56:23 -04:00
jordanruthe
c589287e0b
power: printer power on/off control plugin
...
Sign-off-by: Jordan Ruthe <jordanruthe@gmail.com>
2020-07-27 14:08:48 -04:00
Arksine
7ff36a2fd2
app: Add support for the "path" form argument to the Upload Handler
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-15 07:21:55 -04:00
Arksine
879ddea0e5
file_manager: quote file name passed to metadata process
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-14 07:49:08 -04:00
Arksine
1d1edf33c3
file_manager: Use sys.executable to identify python env
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-14 07:39:05 -04:00
Arksine
6c58bba8c5
file_manager: Add debug logging to metadata response
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-14 07:22:19 -04:00
Arksine
91419db726
moonraker: Add support for debug logging
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-14 07:22:19 -04:00
Arksine
1baa85d109
shell_command: Fix logging
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-14 07:22:19 -04:00
Arksine
29e7df38d0
file_manager: Add move and copy APIs
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-14 07:00:52 -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
00d36a5a06
docs: fix incorrect method name for retreiving metadata
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-12 17:28:55 -04:00
Arksine
5754609203
file_manager: reject requests to delete a "root" directory
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-04 15:22:08 -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
43c8affadf
docs: fix typos in install.md
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-04 11:37:42 -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
Arksine
8779bd74e2
Initial commit
2020-07-01 20:13:59 -04:00