Commit Graph

154 Commits

Author SHA1 Message Date
thelastWallE 32d08946b9
switch for navbar (#33) 2021-02-09 16:45:17 -06:00
Master92 f5d533865d
Fix switching to the tab with a navbar click (#24)
Fix switching to the plugin tab with a navbar click broken
2021-01-05 21:57:49 -06:00
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 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 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
Martin Muehlhaeuser e1f0cf60a1 Fix: plugin not showing after install 2018-03-04 14:57:42 +00:00
Martin Muehlhaeuser fc9ae039e7 Fix: Navbar status link to tab broken 2018-03-04 13:41:18 +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 d53e9a7b76 log: Filter for plugin identifier 2018-02-07 21:02:16 +00:00
Martin Muehlhaeuser befa5b0529 macro: Fix macros not executed 2018-02-06 14:31:15 +00:00
mfm c75ee40ab5 templates: Added missing space 2018-02-05 23:18:00 +01:00
Martin Muehlhaeuser 09ba954e3f templates: Fix parsing error 2018-02-05 15:46:50 +00:00
mfm 9ef81e5c03 templates: Prepare for i18n 2018-02-05 16:36:05 +01:00
Martin Muehlhaeuser 3382135360 view: Rename status button 2018-02-05 15:18:02 +00:00
Martin Muehlhaeuser 90cba8108f logging: styling 2018-02-02 21:05:45 +00:00
Martin Muehlhaeuser 4e4620fb67 logging: Optimized logging view 2018-02-02 20:51:24 +00:00
Martin Muehlhaeuser 82dcf442a6 leveling: better layout and home button 2018-02-02 19:46:27 +00:00
Martin Muehlhaeuser f6556f6e3d views: Beautify 2018-02-02 15:58:37 +00:00
Martin Muehlhaeuser b5411c26fc leveling: Enabled direct move to point 2018-02-02 15:57:29 +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 1f8f2677d5 fix. PID_TUNe throws error 2018-01-29 22:48:40 +00:00
Martin Muehlhaeuser 9fb0903b6f templates: Disable navbar status display 2018-01-29 14:26:15 +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
Martin Muehlhaeuser 8762a2c732 templates: Cleanup 2018-01-27 13:02:38 +00:00
mfm f8c41dd073 leveling: Removed redundand dependency injection 2018-01-25 00:16:45 +01: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 57c617f1a1 templates: Cosmetics 2018-01-24 21:32:44 +01:00
mfm 485cf652ee views: Add units to input settings 2018-01-24 20:54:51 +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 c3b56364b9 leveling: Fix. Point index not used 2018-01-24 18:39:48 +01:00
mfm 9b6e8faf70 leveling: Fix. Points not activated moving backwards 2018-01-24 18:36:02 +01:00
mfm bc6e2029b1 views: Extracted settings views 2018-01-24 17:15:48 +01:00
mfm a839800e3d view: Integrated new dialogs 2018-01-24 17:14:42 +01:00
mfm 40a28def71 feat: Added pid tuning dialog 2018-01-24 17:13:36 +01:00
mfm 38bda28c99 Added assisted leveling dialog 2018-01-24 17:12:57 +01:00
mfm a2fa85faf0 template: Rename leveling dialog file 2018-01-24 02:05:54 +01:00
mfm f2be4d7516 template: Rename main tab 2018-01-24 01:50:38 +01:00
Martin Muehlhaeuser 797e7bca8d view: Udpate settings view 2018-01-23 20:36:34 +00:00
Martin Muehlhaeuser 423f65a046 Leveling: Updated parameter set 2018-01-23 20:31:43 +00:00
Martin Muehlhaeuser 676f5ab0e8 styles: Log display 2018-01-23 20:18:07 +00:00
Martin Muehlhaeuser f28e1459ef logging: Log item spacing 2018-01-23 19:57:58 +00:00
Martin Muehlhaeuser 03adfbc134 logging: Color errors 2018-01-23 19:52:34 +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