Commit Graph

50 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 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
James 31c8afcb9e Convert config file from unicode to string before writing, if necessary. 2019-02-15 20:46:52 -06: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
mfm 9d4384354a [view]Fix error colorring in log 2018-08-22 16:25:14 +02:00
mfm d3a62dad49 [release] Change plugin display name 2018-08-20 15:12:52 +02:00
Martin Muehlhaeuser 591b3c988a [chores] Add copyright header 2018-08-19 11:49:24 +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 665654ec75 [fix] Improve config file path handling 2018-08-14 23:17:12 +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 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 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
Martin Muehlhaeuser e1f0cf60a1 Fix: plugin not showing after install 2018-03-04 14:57:42 +00:00
Martin Muehlhaeuser efabe991df Fix: Indentation error 2018-02-26 10:46:33 +00:00
Martin Muehlhaeuser 2e4a858661 status: Basic status display working 2018-02-08 15:38:48 +00:00
Martin Muehlhaeuser 4e4620fb67 logging: Optimized logging view 2018-02-02 20:51:24 +00:00
Martin Muehlhaeuser f6556f6e3d views: Beautify 2018-02-02 15:58:37 +00:00
Martin Muehlhaeuser 2e95fa1663 logging: Fix message not logged 2018-02-02 13:21:15 +00:00
Martin Muehlhaeuser aabd536566 settings: Automatically add klipper serial port 2018-02-02 13:05:21 +00:00
Martin Muehlhaeuser 0195cbf2ba refactoring 2018-02-02 11:39:06 +00:00
Martin Muehlhaeuser 7ccdc7b086 fix: Plugin not loading 2018-01-27 16:22:55 +00:00
Martin Muehlhaeuser 7946cf24e3 template: remove navbar status for now. 2018-01-27 13:54:33 +00:00
mfm 224a09a383 settings: New default macro 2018-01-24 23:49:11 +01:00
mfm e722718984 macro: Add setting to config macro btn slot 2018-01-24 23:07:55 +01:00
mfm 5585558e06 leveling: Change default speed 2018-01-24 20:54:13 +01:00
mfm ce7546b781 leveling: Added speed settings parameter 2018-01-24 19:05:28 +01:00
mfm bc6e2029b1 views: Extracted settings views 2018-01-24 17:15:48 +01:00
Martin Muehlhaeuser 423f65a046 Leveling: Updated parameter set 2018-01-23 20:31:43 +00:00
Martin Muehlhaeuser 56ed72cbd6 Added wizard template 2018-01-23 19:37:40 +00:00
Martin Muehlhaeuser d2b7a7c10b views: Cleaned up status display 2018-01-23 18:45:55 +00:00
Martin Muehlhaeuser 1c74d2e50b logging: Serverside timestamping of messages 2018-01-23 18:30:55 +00:00
Martin Muehlhaeuser 53685969d6 settings: Example macro added. 2018-01-23 18:14:28 +00:00
Martin Muehlhaeuser 1696cd43c6 logging: Basic logging of status response 2018-01-23 17:33:22 +00:00
mfm 8449b1c68e Initial commit. 2018-01-23 15:01:58 +01:00