Commit Graph

69 Commits

Author SHA1 Message Date
5634e7e2a0 „octoprint_fanspeedslider/__init__.py“ ändern 2020-10-26 17:23:53 +00:00
ntoff
b810440070 bump version 0.2.1
changelog: 0.2.1 Fixes missing variable init #11
2019-01-05 04:38:41 +10:00
ntoff
fb697050cb init self.lockfan
how do I keep forgetting these things?
2018-12-30 23:03:22 +10:00
ntoff
98ff9616f6 bump version to 0.2.0 2018-12-30 22:35:06 +10:00
ntoff
acf3fcce64 add missing comma 2018-12-30 22:26:22 +10:00
ntoff
a6d224be14 Merge from master 2018-12-30 22:21:47 +10:00
ntoff
9a7602b622 version increase 0.1.9 2018-12-07 04:22:43 +10:00
ntoff
28edc70855 Add option to remember last fan speed
Add the option to remember the last speed value and set the slider on load/refresh
2018-12-07 03:29:09 +10:00
ntoff
02211eb475 update readme
add disable setting description
2018-12-05 16:56:20 +10:00
ntoff
84dcad7b08 update screenshot 2018-12-05 16:53:23 +10:00
ntoff
78dd50ffb1 add dynamic button title hover info
Add the lock/unlocked state to the lock buttn's title hover for state clarity
2018-12-05 16:27:51 +10:00
ntoff
212f6a7cf8 Add lock button
https://github.com/ntoff/OctoPrint-FanSpeedSlider/issues/10
2018-12-05 02:10:11 +10:00
ntoff
5dc813fb7b add init min and max pwm 2018-11-17 11:41:55 +10:00
ntoff
2a779c9489 bump version to 0.1.8 2018-04-25 14:36:24 +10:00
ntoff
b5693e2e34 fix regex not matching properly for low digit count values of S
see issue #9
2018-04-25 14:35:06 +10:00
ntoff
55b2a05531
merge 0.1.7
update version
2017-12-02 08:03:18 +10:00
ntoff
750f49e173
Merge branch 'master' into devel 2017-12-02 08:01:16 +10:00
ntoff
8e547c6def add repo info 2017-12-02 07:01:47 +10:00
ntoff
bba91bba88 remove dev thing from version 2017-11-18 08:24:16 +10:00
ntoff
1c6e0d442e changes to the settings page
added helpful popup hints and removed the somewhat obvious line of text about limiting the fans output.
2017-11-18 08:00:16 +10:00
ntoff
22ce5c7ec7 increase the div width in settings to 90% 2017-11-18 07:55:30 +10:00
ntoff
ab2fa40b32 remove unnecessary css
plugin should now rely on touchUI's own css so removed my dodgy fix
2017-11-18 07:22:26 +10:00
ntoff
47a3537490 move input box under touchUI + fix non functional button
move the input box over underneath the feedrate / flowrate to keep them all in the same spot and fix the stupid button not working in firefox (NFI why it didn't work, the code is literally the same it's just in a new spot. GG)
2017-11-18 07:21:29 +10:00
ntoff
98d35249b0 new dev version 2017-11-18 06:55:07 +10:00
ntoff
83249281cf
update version 2017-11-18 06:39:33 +10:00
ntoff
8f710befbe
Merge pull request #5 from ntoff/devel
Devel -> master
2017-11-18 06:38:59 +10:00
ntoff
d2f1ed57ad add settings cleanup function
Clean up and remove empty config if everything is set to default values
2017-11-18 06:31:22 +10:00
ntoff
f13fda67e2 modify settings saving to save integers 2017-11-18 05:59:54 +10:00
ntoff
59ef6652eb remove use strict
testing's over, remove "use strict"
2017-11-18 05:02:44 +10:00
ntoff
c7c2f52149 add some comments
clarify fan speeds are 0-100% not 0-255 pwm values
2017-11-18 05:01:52 +10:00
ntoff
943fca8581 control -> settings + tweak info timeout
for some reason I was  saving settings in the control viewmodel, changed to the settings viewmodel and increased the default time the notices are visible by 1 second
2017-11-18 04:36:40 +10:00
ntoff
b359461d80 fix issue with touch ui max slider value being wrong and fix padding
if touchui was active the max value was 255, also added a bit of extra width so the button doesn't resize (at least when the button text is in english)
2017-11-18 04:18:37 +10:00
ntoff
addd0ffa4b check for notifications and don't display if one is active
check for high / low speed out of range popups and only display one, block popping up of multiple notifications for the same event
2017-11-12 16:26:38 +10:00
ntoff
70d3e0803b separate stuff into their own functions
move percent to pwm function and checking the slider value is within range into their own functions
2017-11-12 06:33:51 +10:00
ntoff
9ff32751f8 dev version 2017-11-12 05:53:52 +10:00
ntoff
3049d0fedf fix default fan speed slider position
oops, forgot the last bit of the if else statement
2017-11-12 05:19:12 +10:00
ntoff
21e4627da2 missing span on touchui button + less global
hopefully nothing global "use strict" seems to not complain :D
2017-11-12 04:46:00 +10:00
ntoff
a47ead4db3 tweak settings loader
parseint to make sure we're loading numbers and tweak the slider to adapt to the min/max value on UI load if the default value is outside the allowed range
2017-11-12 03:38:25 +10:00
ntoff
f7faf42a87 remove unnecessary added classes
get rid of the extra classes added to make finding the buttons easier, turns out they aren't needed
2017-11-12 02:20:17 +10:00
ntoff
2d7f2f443a update readme with new autohide setting 2017-11-12 01:20:17 +10:00
ntoff
deb15025d8 min/max requirement notification text fix
speed decrease notification used "meet minimum requirement" which might be misleading, changed to "meet maximum requirement"
2017-11-12 01:11:36 +10:00
ntoff
175722a015 fix javascript console logging of fan speed notification
log was being output after the slider was set causing it to display the wrong value
2017-11-12 01:08:27 +10:00
ntoff
f4bb25718a add some notifications about fan speed being altered
Added a popup notification (can be disabled) and some console log text if the fan speed is altered. Also made the slider snap to the min/max value if it is out of range to give visual feedback that the plugin is doing something to the fan speed.
2017-11-12 01:02:29 +10:00
ntoff
7bdd260617 use other view model push method
http://docs.octoprint.org/en/master/plugins/viewmodels.html#registering-custom-viewmodels says the other way is depreciated
2017-11-11 21:41:07 +10:00
ntoff
0e71971e66 add percentage to logger message
add a more "human readable" percentage value to the logged fan speed (if modified)
2017-11-11 21:31:05 +10:00
ntoff
99364df94e wrap it in a try catch
Hopefully when something in my plugin breaks (that's when, not if) it won't take down all of octoprint's UI.
2017-11-06 17:23:25 +10:00
ntoff
56f73ad6ab increment version to 0.1.5 2017-10-12 00:59:42 +10:00
ntoff
9fe9e04016 fix button while printing (touchUI)
missed that one :(
2017-10-11 23:18:34 +10:00
ntoff
0772aaae3a new version again
so I guess github doesn't support a b c releases?
2017-09-25 06:48:54 +10:00
ntoff
112852d619 new version 2017-09-25 06:42:48 +10:00