Gina Häußge
02566ae9d0
👷 ALLOW_UNICODE and custom pretty printer in doctests
...
We could also have set ALLOW_UNICODE globally, but this way we might
catch situations where we definitely do not expect mixed results between
py2 and py3.
2019-02-21 15:29:20 +01:00
Gina Häußge
8080e65366
Merge branch 'devel' into dev/commRefactoringNG
2019-02-21 11:52:11 +01:00
Gina Häußge
e972026ad0
🚸 PMGR: show message if plugin repo list is empty
...
E.g. due to filters or compatibility issues.
2019-02-20 18:11:08 +01:00
Gina Häußge
6592be63f8
✨ PMGR: Support python compatibility flag in plugin repo
2019-02-20 18:10:59 +01:00
Gina Häußge
8b5626e49c
💚 Fix unit tests under Py3
2019-02-20 16:28:06 +01:00
Gina Häußge
be4a931e32
✨ Add Python 3 compat control property
...
As discussed in #2722
2019-02-20 16:14:12 +01:00
Gina Häußge
548da0d64f
Merge branch 'maintenance' into devel
...
# Conflicts:
# src/octoprint/environment.py
2019-02-20 15:33:15 +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
25f26170ff
Merge branch 'maintenance' into devel
...
# Conflicts:
# setup.py
# src/octoprint/plugins/printer_safety_check/__init__.py
# tests/filemanager/test_filemanager.py
2019-02-20 15:10:25 +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
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
4c76225c41
🚧 WIP: Fixing tests, part 2
2019-02-15 18:54:07 +01:00
Gina Häußge
1f4bfa854b
👷 Switching from nose to pytest
2019-02-15 18:52:44 +01:00
Gina Häußge
4be18c2668
🚧 WIP: Fixing tests
2019-02-15 12:56:57 +01:00
Gina Häußge
225cca34e1
🔥 Remove old test code
2019-02-14 17:29:42 +01:00
Gina Häußge
9a4149164b
♻ Some porting from maintenance/devel
2019-02-14 17:29:02 +01:00
Gina Häußge
cf9243c2e7
Merge branch 'devel' into dev/commRefactoringNG
...
# Conflicts:
# src/octoprint/filemanager/storage/local.py
# src/octoprint/logging/handlers.py
# src/octoprint/plugin/__init__.py
# src/octoprint/plugins/virtual_printer/virtual.py
# src/octoprint/printer/standard.py
# src/octoprint/server/__init__.py
# src/octoprint/server/api/connection.py
# src/octoprint/server/api/files.py
# src/octoprint/settings.py
# src/octoprint/static/js/app/viewmodels/connection.js
# src/octoprint/util/__init__.py
# tests/plugin/test_settings.py
2019-02-14 17:27:00 +01: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
b6b562399e
💥 Remove deprecated AppSessionManager
...
Has been replaced by the bundled AppKeys plugin and its workflow.
Deprecation will be announced in 1.3.11.
2019-02-13 17:04:31 +01:00
Gina Häußge
3654512085
🐛 Fix mysteriously broken unit tests
2019-02-13 16:42:21 +01:00
Gina Häußge
e7dbd804ce
♻ Use to_unicode instead
...
See #2722
2019-02-13 16:35:00 +01:00
Gina Häußge
7fd03265d4
🐛 Work around for jsonify calls with bytes
...
See #2722
2019-02-13 16:32:34 +01:00
Gina Häußge
369679bae5
🐛 Work around CPython bug bpo-29097
2019-02-13 16:12:28 +01:00
Gina Häußge
27e1f2e6e7
🐛 Fix package collection
...
As mentioned in #2722
See also razerraz@d269c36
2019-02-13 15:26:15 +01:00
Gina Häußge
109cbeea6a
🐛 Fix slicing permission
2019-02-13 15:21:37 +01:00
Gina Häußge
606199dcc9
Merge branch 'maintenance' into devel
...
# Conflicts:
# tests/filemanager/test_filemanager.py
2019-02-13 14:56:40 +01:00
Gina Häußge
38868303da
🐛 Fix tests
2019-02-13 14:55:48 +01:00
Gina Häußge
75b5fe198f
Merge branch 'maintenance' into devel
...
# Conflicts:
# AUTHORS.md
# src/octoprint/_version.py
# src/octoprint/plugins/backup/__init__.py
# src/octoprint/plugins/cura/__init__.py
# src/octoprint/plugins/cura/profile.py
# src/octoprint/plugins/cura/templates/cura_settings.jinja2
# src/octoprint/plugins/softwareupdate/scripts/update-octoprint.py
# src/octoprint/printer/standard.py
# src/octoprint/server/api/files.py
# src/octoprint/server/util/tornado.py
# src/octoprint/server/views.py
# src/octoprint/users.py
# src/octoprint/util/__init__.py
# versioneer.py
2019-02-13 14:28:06 +01:00
Gina Häußge
fe65f18f78
💥 Unbundling the cura plugin
...
It lives on as curalegacy at
https://github.com/OctoPrint/OctoPrint-CuraLegacy
which will be added to the plugin repository once the first RC of 1.3.11
lands.
Due to this change, the general handling of STL files has also changed
slightly. They will no longer be supported by upload out of the box
unless a SlicerPlugin is available (which will now by default extend the
extension tree with STL files, unless overwritten). As a consequence of
that the file type filters in the file list have also been adjusted to
only show up if there are additional file types to filter for.
2019-02-13 13:41:44 +01:00
Gina Häußge
e1e302f93d
✨ Allow slicing while printing on multi core systems
...
If we don't know the number of cores or the number is less than two we
the old behaviour still applies.
Implements #1938
2019-02-13 12:06:32 +01:00
Gina Häußge
1cea388481
🐛 Fix _version.py generation
2019-02-12 13:53:20 +01:00
Gina Häußge
14a3d903d7
Merge remote-tracking branch 'origin/maintenance' into maintenance
2019-02-12 13:46:35 +01:00
Gina Häußge
34d6a6f8ce
⬆ Update versioneer & generated file
2019-02-12 12:29:00 +01:00
Gina Häußge
6a03532ea7
♻ Backport py3 compat for versioneer
2019-02-12 12:25:41 +01:00
Gina Häußge
649bfdbe37
Merge branch 'master' into maintenance
2019-02-12 12:18:31 +01:00
Gina Häußge
8ce2290d63
📝 Improve docs for connection API
...
See #3043
2019-02-12 12:07:55 +01:00
Gina Häußge
b1413abfff
Merge pull request #3045 from akraus53/patch-1
...
I fixed a few typos in the German translation
2019-02-12 12:02:42 +01:00
Alexander Kraus
772914f38c
Fixed a few typos
...
I hope this is the correct Branch....
2019-02-11 22:54:04 +01:00
Gina Häußge
c6b4eee437
🐛 treat pausing as paused for resume handling
...
See MarlinFirmware/Marlin#13039 and #2955
2019-02-11 18:21:32 +01:00
Gina Häußge
e67f72ce3d
🐛 paused action must not trigger *any* local processing
...
That includes sending M400 and M114 to capture the pause position.
See MarlinFirmware/Marlin#13039
2019-02-11 18:19:47 +01:00