cp2004
27ced65a4d
🐛 Fix virtual eeprom on Python 2 & decimal place handling
...
It was requiring 2 dp, rather than optional
2020-10-27 17:21:41 +00:00
cp2004
3db176e77f
🐛 Fix reset if eeprom not enabled
2020-10-19 17:50:02 +01:00
cp2004
021748e81a
✨ Add more EEPROM commands
...
Adds:
* M201 Max acceleration
* M204 Starting acceleration
* M206 Home offset
* M851 Z probe offset
* M200 filament
* M666 endstop adjustment
* M665 delta
* M420 Bed levelling
* M900 Linear advance
* M205 Advanced
* M145 Material heating
* M301 PID tool
* M304 PID bed
2020-10-17 11:19:04 +01:00
cp2004
3478aa1305
🐛 Fix issue with commands if EEPROM disabled
2020-10-11 19:14:43 +01:00
cp2004
8033692873
✨ Add M503, M504, refactor parsing to helper methods
2020-10-11 19:09:07 +01:00
cp2004
78f26de1d8
✨ Initial implementation of EEPROM in Virtual
2020-10-10 23:22:26 +01:00
Gina Häußge
b5be8f3eae
🎨 Add codemods to pre-commit, fix flake8
2020-10-07 16:27:11 +02:00
Gina Häußge
fbfb34df58
🎨 Switch to use of isort
2020-10-07 13:15:52 +02:00
Gina Häußge
1f93b2355a
🎨 Switch to black formatting
2020-10-07 13:13:06 +02:00
Gina Häußge
af60fd6428
🎨 Change dict constructors to literals
2020-10-06 14:57:47 +02:00
Gina Häußge
c0495d22c9
🐛 Remove default submit from settings forms
...
We only want explicitly defined form behaviour.
Otherwise stuff might be triggered by hitting
the enter key that should not be triggered.
Closes #3740
2020-09-23 11:25:32 +02:00
Gina Häußge
0dd43d7bcc
✨ virtual printer: format strings for temp report
2020-09-08 15:09:38 +02:00
Gina Häußge
f415010337
✨ virtual printer: M600 with busy wait & prompt
...
Needed for testing #3699
2020-09-03 17:46:46 +02:00
Gina Häußge
df66dd9abf
✨ Virtual: Support M33 & M20 w/ long name
2020-07-13 13:39:58 +02:00
Gina Häußge
0a9e9ef3a3
🐛 Fix handling of shared nozzle reporting w/ only T0
...
Fixes #3467
2020-06-12 13:55:57 +02:00
Gina Häußge
eef51b1cb9
🐛 Mark all bundled plugins py3 compatible
...
That somehow got forgotten. Wasn't needed since bundled always get
loaded, however now that we display that kind of information in the
plugin manager it should reflect reality.
2020-06-10 15:02:46 +02:00
Gina Häußge
5cbba2b2b7
✨ virtual printer: fake port/baudrate properties
2020-06-05 12:28:21 +02:00
Gina Häußge
a4d6e24dad
♻ Isolate virtual printer fully into plugin
2020-06-04 19:02:25 +02:00
Gina Häußge
ed1b02dcb2
Merge branch 'pr/3553' into maintenance
2020-05-06 15:42:52 +02:00
Shawn Bruce
3bc4ae14cc
Fix issue where _simulateTemps may never reach target temp but instead be stuck within 0.5C(delta)
2020-05-05 12:24:05 -04:00
Gina Häußge
014d32b83b
💬 foosel/OctoPrint => OctoPrint/OctoPrint
...
Also fixed some links while at it.
2020-04-03 15:00:53 +02:00
Gina Häußge
30a4b9e9ab
Merge branch 'maintenance' into devel
...
# Conflicts:
# src/octoprint/plugins/pluginmanager/static/css/pluginmanager.css
# src/octoprint/plugins/virtual_printer/virtual.py
2019-10-30 15:59:30 +01:00
Gina Häußge
81a259e51b
☔ virtual printer: parameter existence checks
...
Closes #3319
2019-10-30 15:45:36 +01:00
Gina Häußge
8df2a5436b
Merge branch 'maintenance' into devel
...
# Conflicts:
# setup.py
# src/octoprint/filemanager/__init__.py
# src/octoprint/plugins/action_command_prompt/static/js/action_command_prompt.js
# src/octoprint/plugins/forcelogin/__init__.py
# src/octoprint/plugins/forcelogin/templates/forcelogin_index.jinja2
# src/octoprint/plugins/pluginmanager/__init__.py
# src/octoprint/plugins/pluginmanager/static/css/pluginmanager.css
# src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js
# src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js
# src/octoprint/plugins/tracking/__init__.py
# src/octoprint/printer/standard.py
# src/octoprint/server/views.py
# src/octoprint/static/js/app/viewmodels/printerstate.js
# src/octoprint/static/js/app/viewmodels/users.js
# src/octoprint/timelapse.py
# src/octoprint/users.py
# src/octoprint/util/comm.py
2019-09-12 09:30:28 +02:00
Piotr Usewicz
ee93e25ffd
Rename currentLine to current_line
2019-07-16 11:02:52 +02:00
Gina Häußge
81342acccc
☔ Detect endless resend requests & abort
...
If the printer keeps requesting the same line over and over again,
something is either seriously wrong with the line or with the connection
In any case, log an error and disconnect.
2019-06-17 18:35:44 +02:00
Gina Häußge
c0096c41a0
Merge branch 'maintenance' into devel
...
# Conflicts:
# setup.py
# src/octoprint/cli/plugins.py
# src/octoprint/events.py
# src/octoprint/filemanager/__init__.py
# src/octoprint/logging/__init__.py
# src/octoprint/plugins/announcements/__init__.py
# src/octoprint/plugins/appkeys/__init__.py
# src/octoprint/plugins/forcelogin/__init__.py
# src/octoprint/plugins/forcelogin/static/js/main.js
# src/octoprint/plugins/forcelogin/templates/forcelogin_index.jinja2
# src/octoprint/plugins/pluginmanager/static/css/pluginmanager.css
# src/octoprint/plugins/printer_safety_check/__init__.py
# src/octoprint/plugins/softwareupdate/__init__.py
# src/octoprint/plugins/virtual_printer/virtual.py
# src/octoprint/printer/__init__.py
# src/octoprint/printer/estimation.py
# src/octoprint/printer/standard.py
# src/octoprint/server/__init__.py
# src/octoprint/server/api/__init__.py
# src/octoprint/server/api/settings.py
# src/octoprint/server/api/system.py
# src/octoprint/server/apps/__init__.py
# src/octoprint/server/util/__init__.py
# src/octoprint/server/util/flask.py
# src/octoprint/server/util/sockjs.py
# src/octoprint/server/views.py
# src/octoprint/settings.py
# src/octoprint/slicing/__init__.py
# src/octoprint/static/js/app/helpers.js
# src/octoprint/static/js/app/main.js
# src/octoprint/static/js/app/viewmodels/settings.js
# src/octoprint/static/js/app/viewmodels/temperature.js
# src/octoprint/templates/dialogs/settings/accesscontrol.jinja2
# src/octoprint/templates/dialogs/settings/api.jinja2
# src/octoprint/templates/initscript.jinja2
# src/octoprint/templates/tabs/control.jinja2
# src/octoprint/timelapse.py
# src/octoprint/users.py
# src/octoprint/util/comm.py
# src/octoprint/util/gcodeInterpreter.py
# src/octoprint/vendor/sockjs/tornado/transports/rawwebsocket.py
# src/octoprint/vendor/sockjs/tornado/transports/websocket.py
# translations/messages.pot
2019-05-10 17:13:55 +02:00
Gina Häußge
a33a7b4d67
Merge branch 'staging/maintenance' into maintenance
2019-04-11 15:25:12 +02:00
Gina Häußge
132e2cb244
🐛 virtual printer: Fix handling of closed connection
...
Closes #3114
2019-04-08 12:24:24 +02:00
Gina Häußge
3574c2ddf9
🐛 virtual printer: Fix yet another unicode issue
...
Closes #3105
2019-04-04 19:05:17 +02:00
Gina Häußge
c879ad27f4
♻ Turn lines read from serial into unicode
...
Backported from devel branch.
Should also fix #3091
2019-04-01 13:56:19 +02:00
Gina Häußge
6e069211cc
Merge remote-tracking branch 'origin/maintenance' into maintenance
2019-03-18 17:06:26 +01:00
Gina Häußge
8d3befb01f
✨ Support for heated chamber fw capabilities
...
Chamber temperatures reported via M105 will only be parsed if the
fw reports chamber capabilities (through Cap:CHAMBER_TEMPERATURE:1) or
the currently selected printer profile has a heated chamber configured.
This is to avoid incompatibility issues with firmware variants that
might already use the C parameter for something else (which might be the
case since we don't have a reliable well defined standard that people
need to adhere to...)
Chamber temperature commands M141 and M191 will only be allowed to be
sent if the selected printer profile has a heated chamber configured.
This mirrors the behaviour for the bed temperature commands M140 and
M190 and heated bed configuration.
Display of chamber data in the graph will only happen if the printer
profile has a heated chamber configured.
Implements one workflow behind #321
2019-03-18 16:51:12 +01:00
Gina Häußge
d5eefcd1a5
🐛 virtual: fix homing
2019-03-16 09:40:55 +01:00
Gina Häußge
c1670d03c8
🐛 virtual: fix parsing of negative coordinates
...
Closes #3080
2019-03-16 09:29:04 +01:00
Gina Häußge
76ad332287
♻ Use monotonic_time for relative times
...
Timeouts, durations and such shouldn't depend on the non-monotonic
system clock but instead use a monotonic time source.
2019-03-12 16:03:58 +01:00
Gina Häußge
058dbd0c2e
🐛 virtual: fix regexes again
2019-02-22 18:46:45 +01:00
Gina Häußge
54c8923087
🐛 virtual: fix some str/bytes issues
...
Threw some type annotations into it while at it. Should make the IDE
become angry at such problems in the future.
2019-02-22 18:29:36 +01:00
Matthias Urlichs
fe090cc6cc
Virtual printer: str vs. bytes
2019-02-05 14:29:27 +01:00
Matthias Urlichs
ab3c4ab66c
Don't compare with None
2019-02-05 14:29:04 +01:00
Matthias Urlichs
67c5a5e168
went through "except Exception:" with a fine comb
2019-02-03 16:39:01 +01:00
Matthias Urlichs
9fa20f0e52
rename to_str to to_bytes
2019-02-03 14:54:28 +01:00
Matthias Urlichs
1dacbc35bf
Use unicode_literals __future__
2019-02-03 14:09:57 +01:00
Matthias Urlichs
7522dbed1d
serial readline: bytes
2019-02-03 14:06:06 +01:00
Matthias Urlichs
e03feeb7ac
checked "basestring"
2019-02-01 17:23:08 +01:00
Matthias Urlichs
f3fdac7e5a
Use raw strings for all regexps.
...
No exceptions please.
2019-01-28 14:14:23 +01:00
Matthias Urlichs
a1a15e40e0
Replace all bare "except:" handlers
...
These are never what we want, as they swallow KeyboardInterrupt.
TODO: many of these handlers really should be more specific and/or
log that they replaced an unparseable value with a default.
2019-01-28 07:50:55 +01:00
Matthias Urlichs
c05b6572c5
Fix coding= headers
2019-01-27 17:36:16 +01:00
Matthias Urlichs
958fc7600d
Merge commit 'e0543de8ef5c1f67d4064e84a5e7ecacbdf1029e' into py23
2019-01-27 17:15:52 +01:00
Matthias Urlichs
f993f744ba
Merge commit 'c623e90ebc59b90b4f4cf582ab8185b2872acff4'; commit 'f416e96414f33fb31afdf4dfbf3c863e3db35543'; commit '9ecf39febe31a44e5f5db28249ebbf006ac1580c'; commit '582b03f21fe3d808bf4e11bbba90af54b6651b34'; commit 'f5c8b04958170f19f1806b1722bf5e857ded3dce'; commit '36818057a3b4769a77731f3be8bc661437db7132'; commit 'd987cb23c119132b287f70f1c979aac8c9fff7d2' into py23
2019-01-27 17:10:01 +01:00