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
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
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
Gina Häußge
434751634f
Merge pull request #3053 from AndyQ/MultipleFiliament_fix
...
Fixed error in GCode viewer where multiple filaments available (e.g. …
2019-02-18 10:44:33 +01:00
Robert Griebl
c35708a422
Fix python version detection on Debian testing/unstable
...
The current 2.7 Python binary on Debian returns "2.7.15+" as its version, which
is not PEP440 compliant. Tthere is no feedback at all from Debian maintainers
regarding the bug report as of now:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914072
This patch makes sure to drop any trailing '+' character in a version string.
Fixes #3049
2019-02-18 00:37:08 +01:00
AndyQ
64464a38ce
Fixed error in GCode viewer where multiple filaments available (e.g. using Prusa MMU2), but only using a filament that isn't the first one
...
e.g. filament 4
2019-02-17 11:57:13 +00:00
Gina Häußge
0e482151fd
Merge pull request #3051 from CapnBry/unfuzzy-timetips
...
Always show unfuzzy times for total print time and time left in tooltip
2019-02-14 15:59:34 +01:00
Gina Häußge
c5bf58e1cc
♻️ == -> ===
2019-02-14 15:56:09 +01:00
Bryan Mayland
38b7be0142
Fix whitespace
2019-02-14 14:52:24 +00:00
Bryan Mayland
28a515ba6a
Always show unfuzzy times for total print time and time left in tooltip
2019-02-14 14:41:01 +00:00
Gina Häußge
38868303da
🐛 Fix tests
2019-02-13 14:55:48 +01:00