Gina Häußge
bc66d29d02
🐛 Fix reporting back of active port & baudrate
...
Closes #2859
2019-03-19 13:24:00 +01:00
Gina Häußge
9ea1074b03
✨ Process watched folder on startup
...
Implements #2462
2019-03-19 11:52:32 +01: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
42a6cab92e
Merge pull request #3072 from Fabi0San/maint/temperature
...
Hides temperature tab if the machine has no heated bed nor extruders.
2019-03-18 12:57:35 +01:00
Gina Häußge
083e424529
✏️ Fix a typo in the german translation
...
Closes #3061
2019-03-17 13:27:16 +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
b2637eb06a
🐛 Fix refactoring error
2019-03-13 15:09:27 +01:00
Gina Häußge
47179f2956
☔ forcelogin: Never handle the UI if ACL is disabled
...
The following `passive_login` should always succeed if ACL is disabled
and hence this *should* not have caused issues, but considering
https://community.octoprint.org/t/cant-login-to-the-web-interface/7908/3
it might have after all, so better be safe than sorry here.
2019-03-13 15:09:02 +01:00
Gina Häußge
d64b8512ab
💄 PGMR, SWU: Use scrollables instead of pagination
2019-03-12 17:02:14 +01:00
Gina Häußge
602ec5c495
🐛 Only use page size from local storage if configured
...
Should be a conscious decision by whoever uses ItemListHelper since
otherwise the size can never be changed again to a new default.
Follow-up to #2620
2019-03-12 16:52:17 +01:00
Gina Häußge
a63ee9355e
🎨 Fix some linter warnings
2019-03-12 16:47:55 +01:00
Gina Häußge
e44ae7a024
💚 Fix broken unit test
...
Who broke the test? That's right... me 😕
2019-03-12 16:26:14 +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
93ab7bb089
Merge branch 'pr/3073' into maintenance
2019-03-12 13:57:08 +01:00
Gina Häußge
b4e7e73e29
♻ Use length of tool array for visibility
...
No need for an additional variable to keep in sync.
2019-03-12 13:56:53 +01:00
Gina Häußge
92ad53a9ec
♻ Use ko computed for visibility state
2019-03-12 13:42:45 +01:00
Gina Häußge
21c9c51858
♻ Backport some more pieces from devel
2019-03-12 13:40:58 +01:00
Gina Häußge
38a321e175
✨ Add configurable list of blocked and pausing commands
...
Instead of a boolean option to block sending of M0 *and* M1 and
hardcoding them and M25 to pause an ongoing print, we now have two lists
for blocked commands and pausing commands respectively.
Blocked by default: M0 and M1.
Pausing by default: M0, M1 and M25.
Implements #2970
2019-03-12 12:16:23 +01:00
Gina Häußge
32050c31ae
🐛 Only process pause if we aren't already pausing
...
Also don't process a pause if we are cancelling. "isPrinting" is too
broad here, so we use explicit states.
2019-03-12 12:12:24 +01:00
Gina Häußge
f020fc1bc6
✨ Add ipv4- and ipv6-only command line flags
...
-4 or --ipv4 will behave as if "--host 0.0.0.0" (or any other specific
v4 address) was supplied and only bind the server socket to v4. It will
be ignored if a v6 address is set to bind to.
-6 or --ipv6 will only bind the server socket to v6 instead of dual
stack on both v4 and v6. It will be ignored if a v4 address is set to
bind to.
Implements #2904
2019-03-11 17:21:28 +01:00
Gina Häußge
a1e8694073
🐛 Don't change to PRINTING state on resume if not RESUMING
...
See #2955
2019-03-11 16:02:20 +01:00
Gina Häußge
e748b52098
🐛 Don't change to PAUSED state if not PAUSING
...
Fixes #2955
2019-03-11 15:34:11 +01:00
Gina Häußge
8668c6200a
✨ Decorator for timing methods
...
Probably mostly helpful during development...
2019-03-06 13:53:53 +01:00
Gina Häußge
e01f391b30
⚡ More intelligent use of copy & deepcopy
...
Improves performance of file manipulation, especially in cases with a
lot of files in the folder, without the added complexity of fully
decoupling metadata file serialization from general processing.
Better fix for #3057
2019-03-06 13:44:45 +01:00
Gina Häußge
92618362e1
💚 Forgot to adjust the tests for d071684
2019-03-05 17:01:10 +01:00
Gina Häußge
d071684d41
♻ Remove old metadata.yaml files
...
Were deprecated and supposed to be removed with 1.3.10, we'll do it with
1.3.11.
2019-03-05 16:53:30 +01:00
Gina Häußge
7d0bd6a339
☔ Remove stale entries from metadata
...
If a file no longer exists on disk for whatever reason it also doesn't
need to be kept in metadata.json.
See also #3057
Cherry-picked from 15d3b2ca
2019-03-05 16:20:13 +01:00
Fabi0San
1b5a654a2d
Hide Tool section in Control for machines with no extruders. Such as Lasers.
2019-03-04 19:00:08 -08:00
FabioSan
f0ee7f343e
Hides temperature tab if the machine has no heated bed nor extruders.
2019-03-04 18:34:55 -08:00
Gina Häußge
3e16f0901a
Merge remote-tracking branch 'origin/maintenance' into maintenance
2019-03-01 11:21:01 +01:00
Gina Häußge
8866ed716d
☔ Better resilience against invalid SD status reports
2019-03-01 11:20:45 +01:00
Gina Häußge
0f157d3747
♻ Load bundled plugins under octoprint.plugins.*
...
Makes more sense than putting them into sys.modules as <identifier>,
which also can cause conflicts (e.g. in the case of octoprint.plugins
.logging which then suddenly gets found instead of the built-in crucial
logging module).
2019-02-28 16:37:09 +01:00
Gina Häußge
fdb4e75241
Merge pull request #3066 from fieldOfView/fix_docs_job_state
...
Add missing documentation about state in `jobs` endpoint
2019-02-28 12:34:35 +01:00
Gina Häußge
4dbb24ecd7
📝 state is not a sub data model but a string
2019-02-28 12:26:25 +01:00
fieldOfView
a15e2de251
Fix datamodel structure
2019-02-28 12:17:35 +01:00
fieldOfView
c652bed871
Add missing documentation about state in jobs endpoint
2019-02-28 11:40:22 +01:00
Gina Häußge
253a38c32d
♻ gcode => printables
2019-02-26 15:31:22 +01:00
Gina Häußge
e08becbb4c
Merge pull request #3055 from AndyQ/show_current_layer
...
Added ability to preview the current layer to be drawn
2019-02-26 13:54:43 +01:00
Gina Häußge
09a043b393
🐛 tracking: fix handling of missing print time
...
See also #3063
2019-02-26 13:50:35 +01:00
Gina Häußge
0c4f4383e3
♻ Introduce type hints
...
For now we'll only use them to have our IDEs scream at us...
2019-02-22 11:44:45 +01:00
Gina Häußge
45aa26f13e
♻ Add central methods for getting python version
2019-02-20 15:32:07 +01:00
Gina Häußge
4a64bc6023
Merge branch 'improve/moreFlexiblePrinterSafetyChecks' into maintenance
...
# Conflicts:
# src/octoprint/plugins/printer_safety_check/__init__.py
2019-02-20 14:41:09 +01:00
Gina Häußge
8e6773d19f
🐛 printer_safety_check: Fix some issues with new implementation
2019-02-20 14:39:21 +01:00
Gina Häußge
dfcddea581
🎨 Fix some whitespace issues
2019-02-19 13:28:15 +01:00
Gina Häußge
ff59e275bf
Merge branch 'improve/errortracking_plugin' into maintenance
2019-02-19 13:11:38 +01:00
Gina Häußge
0f8f1ec8e0
✨ Finalize first version of errortracking plugin
...
Also add docs for that & the Anonymous Usage Tracking plugin.
2019-02-19 13:11:25 +01:00
AndyQ
0e302d440f
Added ability to preview the current layer to be drawn
...
If selected, the current layer is drawn at 30% opacity and then the progress is drawn over the top at 100%
Added additional checkbox on GCodeView page to include current layer as preview
2019-02-18 11:28:41 +01:00
Gina Häußge
980616519d
Merge pull request #3054 from rgriebl/master
...
Fix python version detection on Debian testing/unstable
2019-02-18 10:46:56 +01:00