Gina Häußge
9eafe9979a
🚧 WIP: user action logging
2019-02-22 19:25:02 +01:00
Gina Häußge
086a2c9f82
Merge branch 'devel' into dev/commRefactoringNG
...
# Conflicts:
# src/octoprint/plugins/virtual_printer/virtual.py
2019-02-22 18:48:10 +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
Gina Häußge
0c58566789
🐛 Fix on_protocol_job_resumed call
2019-02-22 17:51:34 +01:00
Gina Häußge
d2917346f5
🐛 Fix ok_timeout detection
2019-02-22 17:50:43 +01:00
Gina Häußge
e7f1302f3c
🐛 Fix pausing -> paused
...
Was not waiting for scripts and such to complete before the state
change.
2019-02-22 15:23:28 +01:00
Gina Häußge
eca74233eb
🐛 Fix resume
2019-02-22 14:47:31 +01:00
Gina Häußge
1025f0be43
💚 Revert "🎨 Remove unnecessary import"
...
This reverts commit 295b96f259 .
2019-02-22 13:31:36 +01:00
Gina Häußge
295b96f259
🎨 Remove unnecessary import
...
Already included in the next line
2019-02-22 12:53:18 +01:00
Gina Häußge
adea0db344
Merge branch 'maintenance' into devel
...
# Conflicts:
# src/octoprint/util/__init__.py
2019-02-22 12:48:52 +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
36fb7805e5
🐛 Fix type error in case of a resend
2019-02-22 11:33:45 +01:00
Gina Häußge
c7afd7951c
💚 Fix tests (final pass)
2019-02-21 16:58:44 +01:00
Gina Häußge
f489f4ffd1
Merge branch 'devel' into dev/commRefactoringNG
...
# Conflicts:
# .travis.yml
# src/octoprint/util/__init__.py
2019-02-21 15:44:27 +01:00
Gina Häußge
9f2821fe96
👷 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:36:10 +01:00
Gina Häußge
dcc1148863
👷 Switching from nose to pytest
2019-02-21 15:34:07 +01:00
Gina Häußge
ba96ba8fe8
🚧 WIP: Fixing tests, part 3
2019-02-21 15:29:41 +01:00
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