Commit Graph

100 Commits

Author SHA1 Message Date
Oliver Fawcett-Griffiths 1d8a6cb352
Implement further config validation
Basically just parse the config file before we save it, ensuring that it
can be parsed by `configparser` - the same parser used by Klipper.

This PR depende on the changes from https://github.com/AliceGrey/OctoprintKlipperPlugin/pull/8
in order to send a warning popup when validation fails.
2020-10-04 16:31:10 +13:00
Alice Grey e553a69ff5 Implement Configpath and Logpath Validation
Added JS popup handler. Added configpath and logpath validation when settings are saved.
Add logpath validation


Change file checking method


Check new values instead of old settings on save
2020-09-07 11:40:24 -05:00
Alice Grey a2291b1a3d Typo in github config
Solution for issue #7
2020-09-02 13:23:51 -05:00
Alice Grey 3e918afcb6 Fix Config Path Regression
Config path variable was not updated in template
2020-09-01 22:30:41 -05:00
Alice Grey 2d8a6126ca updateStatus on login
Testing updateStatus command
2020-08-30 15:08:01 -05:00
Alice Grey 1b83ceb588 Update Github Check
Change Github user and url
2020-08-30 10:44:24 -05:00
Alice Grey 53cb69e416 Rename path to configpath
Rename path to configpath to match naming scheme of logpath
2020-08-30 10:43:54 -05:00
Schnello 0141b5e130 add log path entry to config 2020-08-30 10:25:53 -05:00
Alice Grey a3a4202b00 All strings are unicode in Python 3 2020-08-29 17:25:20 -05:00
Alice Grey 89156d51f3 Update to License to all match AGPL
Some code was marked GPL and some was marked AGPL. Now it's all AGPL.
2020-08-29 17:23:22 -05:00
Alice Grey d50bca8c9e Initial Python2 to Python3 Conversion
Initial Python2 to Python3 Conversion using automated 2to3 tool.
2020-08-29 13:57:13 -05:00
Richard Kuhnt 2f3f231cc7 [fix] Improve readablity of Messages with Themeify
closes #47
2020-08-28 21:34:43 -05:00
James 31c8afcb9e Convert config file from unicode to string before writing, if necessary. 2019-02-15 20:46:52 -06:00
James Leach 5aa5400c2f Use of .split to create an array of strings which is sent to
OctoPrint.control.sendGcode instead of a single string.
This allows multiple-line Gcode to be interpreted properly.
2019-02-13 10:57:21 -06:00
James Leach f00ea284cb Split using RegEx - Cleaner 2019-02-12 10:03:36 -06:00
James Leach c9e8a2b76c Unable to test currently but this should resolve the issue. 2019-02-12 07:18:39 -06:00
James 71018f3ab0 this is not working 2019-02-11 21:40:05 -06:00
James Leach 6c273f423c Potential fix for #19 (and #32):
Multiple line Gcode commands must be sent as an array of strings.
2019-02-11 18:34:59 -06:00
James Leach a9edc04a47 Fix for Issue #31:
Send the three GCode commands with one OctoPrintClient.control.sendGcode
command by sending an array of strings instead of three separate commands
with individual strings.
2019-02-11 17:43:22 -06:00
Martin Muehlhaeuser aaf045df55 [fix] Line breaks not honored in log output 2018-08-27 19:39:09 +00:00
Martin Muehlhaeuser 97770e094e [macro] Improve parameter extraction 2018-08-25 19:16:03 +00:00
mmone 769b8a53ed
[feature] Parameterized macros (#16)
Adds the option to have parameters in Macros and show a dialog to the user on execution to change them.
Here's and example:

PID_CALIBRATE 
HEATER={label:Heater, default:extruder, options:extruder|extruder1}
TARGET={label:Temperature, unit:°C, default:190}
WRITE_FILE={label:WriteFile, default:0, options:0|1}
2018-08-25 16:55:48 +02:00
Martin Muehlhaeuser 8f38062630 [doc] Add some more help/info to the views 2018-08-24 15:23:23 +00:00
mfm 9d4384354a [view]Fix error colorring in log 2018-08-22 16:25:14 +02:00
mmone 78dabe2859
[view] Fix log hint text 2018-08-21 19:06:38 +02:00
mfm d3a62dad49 [release] Change plugin display name 2018-08-20 15:12:52 +02:00
mmone ef30648199
[view] Remove debug output 2018-08-20 01:24:37 +02:00
Martin Muehlhaeuser 591b3c988a [chores] Add copyright header 2018-08-19 11:49:24 +00:00
Martin Muehlhaeuser c23c38278c [view] Style graph dialog 2018-08-18 12:44:40 +00:00
Martin Muehlhaeuser 136f47f318 [fix] File listing not working 2018-08-18 12:44:11 +00:00
Martin Muehlhaeuser 4bcda8ee66 [fix] Log files not listed in graph dialog 2018-08-18 07:19:26 +00:00
mmone db58c0f337
[fix] erroneous import 2018-08-16 12:31:45 +02:00
Martin Muehlhaeuser 91171d40b6 [refactor] 2018-08-14 23:34:06 +00:00
Martin Muehlhaeuser a03cc70539 [feat] Add file list refresh button 2018-08-14 23:22:31 +00:00
Martin Muehlhaeuser 665654ec75 [fix] Improve config file path handling 2018-08-14 23:17:12 +00:00
Martin Muehlhaeuser cc7653dd1a [view] Keep modal offset dialog open on set btn click 2018-08-14 16:36:26 +00:00
Martin Muehlhaeuser a2ce724dd3 [view] Optimized sidebar layout 2018-08-14 16:31:27 +00:00
Martin Muehlhaeuser b3c4aba0a2 [view] Add loading spinner 2018-08-14 16:30:56 +00:00
mmone 86d8e631d5
[feat] Add performance graph (#9)
* [feat] Basic graph demo

* [feat] Basic Log analyzer with graph

* [feat] Finish graph feature.
2018-08-13 18:22:58 +02:00
Martin Muehlhaeuser a25609eea0 [conf] Make config reload command configurable 2018-08-10 15:36:35 +00:00
Martin Muehlhaeuser e2aaf5471c [release] Update version 2018-08-09 09:25:28 +00:00
Martin Muehlhaeuser 41491ffbe8 Major refactor 2018-08-09 07:25:05 +00:00
Martin Muehlhaeuser 36955f76fd [view] Cleanup sidebar layout 2018-08-09 00:17:05 +00:00
Martin Muehlhaeuser 76c5137e8a [feat] Basic config editor 2018-08-09 00:16:07 +00:00
Sillyfrog 5550f6a5e1 Provide an icon for the sidebar 2018-08-03 13:34:17 +10:00
Martin Muehlhaeuser 8d27f79b65 [feature] Add coordinate offset dialog. 2018-04-26 19:06:09 +00:00
Martin Muehlhaeuser 4f16e40d29 Adapt PID Tuning dialog to now PID_CALIBRATE cmd. 2018-03-26 15:54:58 +00:00
Martin Muehlhaeuser 4afbf61223 Fix: Error message not forwarded 2018-03-22 19:21:53 +00:00
Martin Muehlhaeuser e527fc7c4c Disable status polling 2018-03-08 10:22:42 +00:00
Martin Muehlhaeuser 83df45f693 Limit navbar status display 2018-03-04 15:09:45 +00:00