Commit Graph

345 Commits

Author SHA1 Message Date
Master92 728dfef0c8
Fix opening in binary mode destroys parsing with python 3 (#25)
Fix performance graph can't read log with Python 3
2021-01-05 21:57:14 -06:00
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 71b23c3abe Bump Version to 0.3.2
Bump Version to 0.3.2
2020-09-27 16:48:20 -05:00
Alice dbf64faee8
Remove unicode conversion (#11)
Fixes issue #9 but keeps unicode conversion for python2 users.
2020-09-27 16:46:47 -05: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 a6aaa1157a Bump Version to 0.3.1
Bump Version to 0.3.1
2020-09-02 09:45:33 -05:00
Alice 3a7d0fa47f
Merge pull request #5 from AliceGrey/fixConfigRegression
Fix config regression
2020-09-02 09:36:03 -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 cedace2f05
Merge pull request #6 from AliceGrey/testing
updateStatus on login
2020-09-01 22:30:00 -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 35ad58006c Update Version and Plugin info
Update Version and Plugin info
2020-08-29 16:53:20 -05:00
Alice 4512f55ee4
Update README.md
Updated Readme to correct links and information
2020-08-29 16:50:35 -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 733b27a496 Updated readme 2019-02-13 20:28:27 -06:00
James Leach f010173b73 Updated version information in preparation for release 2019-02-13 11:05:18 -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
mmone f4907bfc25
[docs] Update Readme. 2018-08-25 23:19:52 +02:00
Martin Muehlhaeuser 97770e094e [macro] Improve parameter extraction 2018-08-25 19:16:03 +00:00
mmone 6ee1c81da9
[release] Bump version 2018-08-25 17:05:11 +02: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 33ae991612 Merge branch 'master' of https://github.com/mmone/OctoprintKlipperPlugin 2018-08-24 15:23:28 +00:00
Martin Muehlhaeuser 8f38062630 [doc] Add some more help/info to the views 2018-08-24 15:23:23 +00:00
mmone 154af68800
[docs] Update Readme 2018-08-23 15:00:39 +02:00
mfm 570b2e69f6 [docs] Update Readme 2018-08-23 14:17:53 +02:00
mmone 9f87e968b5
[release] Bump version 2018-08-22 16:45:00 +02: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 1523c64375
[docs] Update jekyll template settings 2018-08-20 14:28:07 +02:00
mmone 3f39c1b963 Set theme jekyll-theme-minimal 2018-08-20 14:01:55 +02:00
mmone aaa27d712f Set theme jekyll-theme-minimal 2018-08-20 14:01:11 +02:00
mmone ef30648199
[view] Remove debug output 2018-08-20 01:24:37 +02:00
mmone b5df7ba345
[docs] Update Readme 2018-08-19 23:31:13 +02:00
Martin Muehlhaeuser 591b3c988a [chores] Add copyright header 2018-08-19 11:49:24 +00:00
mmone 6b3a8b07d3
[release] Bump version 2018-08-18 15:05:31 +02:00
Martin Muehlhaeuser c23c38278c [view] Style graph dialog 2018-08-18 12:44:40 +00:00