Gina Häußge
d197fabffc
Merge branch 'devel' into dev/commRefactoringNG
2021-04-19 18:01:30 +02:00
Gina Häußge
f97db4465f
Merge branch 'maintenance' into devel
2021-03-30 14:27:32 +02:00
Gina Häußge
631085f78f
♻️ Extract PiSupport plugin into own repo
2021-03-26 16:46:54 +01:00
Gina Häußge
983dd4d437
♻️ Actually, make it the WHOLE command line indeed
...
See #3972
2021-03-24 16:03:24 +01:00
Gina Häußge
7e37569613
✨ Make ffmpeg command line fully configurable
...
Implements #3972
2021-03-24 15:36:19 +01:00
Gina Häußge
306d4f2942
🎨 pre-commit with new settings
2021-03-17 15:11:54 +01:00
Gina Häußge
741fac4396
Merge branch 'devel' into dev/commRefactoringNG
2021-03-16 15:26:42 +01:00
Gina Häußge
d8fa8e3029
Merge branch 'maintenance' into devel
...
# Conflicts:
# .github/workflows/build.yml
# .github/workflows/test_install.yml
# setup.py
# src/octoprint/printer/standard.py
# src/octoprint/util/__init__.py
2021-03-15 18:03:51 +01:00
Gina Häußge
3feb8deb8c
💚 Fix unit tests
...
Some day I'll learn to search in src AND tests...
2021-03-15 17:55:25 +01:00
Gina Häußge
7668afcff7
💚 Fix unit tests
...
io.open is no longer used, mocks needed adjustments
2021-03-11 17:06:04 +01:00
Gina Häußge
fd2ece0f13
🎨 pyupgrade --py37-plus
2021-03-11 16:01:02 +01:00
Gina Häußge
a71f6fcd40
Merge branch 'maintenance' into devel
...
# Conflicts:
# .pre-commit-config.yaml
# setup.py
# src/octoprint/plugins/pluginmanager/__init__.py
# src/octoprint/server/api/printer.py
# src/octoprint/server/api/printer_profiles.py
# src/octoprint/server/api/settings.py
# src/octoprint/util/commandline.py
2021-03-11 15:26:46 +01:00
Gina Häußge
f9745515e1
🎨 Add pyupgrade
2021-03-11 14:34:06 +01:00
Gina Häußge
47cf12e9f3
💚 e2e: fix pmgr endpoint
...
Changed with 084625fe7c
2021-03-09 12:38:59 +01:00
Gina Häußge
bea7f34887
🎨 Get rid of py2 leftovers
2021-02-25 15:21:50 +01:00
Gina Häußge
11e30150b7
Merge branch 'devel' into dev/commRefactoringNG
...
# Conflicts:
# src/octoprint/static/css/octoprint.css
2021-02-25 14:48:18 +01:00
Gina Häußge
5b7bc6cb91
Merge branch 'maintenance' into devel
2021-02-24 15:04:22 +01:00
Gina Häußge
97b6f25cfd
Merge branch 'pr/3916' into maintenance
2021-02-23 11:32:55 +01:00
Gina Häußge
fec2f9b83e
🐛 Further firmware line parser fixes
...
Something like _KEY should never get recognized as a key.
2021-02-23 11:32:36 +01:00
cp2004
bd3f7f8897
🎨 Make black happy again
2021-02-22 18:46:24 +00:00
cp2004
e43f4ddb50
💚 Add more tests for firmware info splitting
...
Part of #3916
2021-02-22 18:34:15 +00:00
Gina Häußge
86aa5548c6
✅ Make test fix align with other such cases
2021-02-22 16:47:05 +01:00
Levi Blaney
a628549ad3
Fixes #3999 test fails to reload config file
2021-02-20 10:12:16 -05:00
Gina Häußge
0fd00ef5fc
Merge branch 'maintenance' into devel
...
# Conflicts:
# docs/development/environment.rst
2021-02-17 15:38:54 +01:00
Gina Häußge
55b08f6b5b
✨ backup: allow retore of backups from newer patch versions
...
E.g. backups from 1.6.3 can be applied on 1.6.2. However, 1.6.x still
won't be possible to restore under 1.5.x or earlier.
2021-02-17 14:05:40 +01:00
Gina Häußge
65706d4171
Merge branch 'devel' into dev/commRefactoringNG
...
# Conflicts:
# THIRDPARTYLICENSES.md
# src/octoprint/__init__.py
# src/octoprint/filemanager/__init__.py
# src/octoprint/filemanager/storage/local.py
# src/octoprint/logging/handlers.py
# src/octoprint/plugin/__init__.py
# src/octoprint/plugins/virtual_printer/__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/connection.py
# src/octoprint/server/api/files.py
# src/octoprint/server/api/settings.py
# src/octoprint/server/util/flask.py
# src/octoprint/server/views.py
# src/octoprint/settings.py
# src/octoprint/static/css/octoprint.css
# src/octoprint/static/js/app/viewmodels/connection.js
# src/octoprint/static/js/app/viewmodels/settings.js
# src/octoprint/static/less/octoprint.less
# src/octoprint/templates/dialogs/settings/serialconnection.jinja2
# src/octoprint/templates/index.jinja2
# src/octoprint/templates/sidebar/connection.jinja2
# src/octoprint/timelapse.py
# src/octoprint/util/__init__.py
# tests/filemanager/test_filemanager.py
# tests/plugin/test_settings.py
2021-02-10 16:59:45 +01:00
Gina Häußge
5e620bcdfe
Merge pull request #3981 from eumiro/py36plus
...
🚀 Modernize the code to Python 3.6+
2021-01-26 10:53:45 +01:00
Miroslav Šedivý
dcd3592fd4
✒️ Fix declared encoding of literal strings
2021-01-25 19:00:33 +01:00
Miroslav Šedivý
0308150048
📗 Compact dict creation
2021-01-25 19:00:28 +01:00
Miroslav Šedivý
95441dafd4
📦 Use Python3 default for class inheriting from object
2021-01-25 18:04:40 +01:00
Miroslav Šedivý
7810a622a9
🦕 Remove redundant float conversions from Python2
2021-01-22 13:40:44 +01:00
Gina Häußge
785a938cc6
Merge branch 'maintenance' into py2numbers
2021-01-22 11:28:48 +01:00
Miroslav Šedivý
acb9e09293
🦕 Remove redundant float conversions from Python2
...
Since we import division from __future__, the division behaves the same in Python 2.7 and 3.x
2021-01-21 19:42:42 +01:00
Gina Häußge
bb8fafaacb
💚 mock => unittest.mock
...
We don't have the mock package installed here anymore
2021-01-19 11:52:41 +01:00
Gina Häußge
977e021b36
Merge branch 'maintenance' into devel
2021-01-19 11:44:31 +01:00
Gina Häußge
e9adcddf7f
💚 Fix py2.7 test issue
...
We still need to stay compatible to py2, so
we need to import mock, not unittest.mock.
2021-01-18 17:06:08 +01:00
Gina Häußge
20c0833cbc
✏️ Fix file header
2021-01-18 16:52:33 +01:00
Levi Blaney
1be8c23069
add tests for gcode script events
2021-01-18 16:47:24 +01:00
Gina Häußge
00fb7daecf
Merge branch 'maintenance' into devel
2021-01-14 16:12:30 +01:00
Gina Häußge
6b2485363e
✅ Update e2e dep version
...
Should make dependabot happy about our e2e tests again.
2021-01-11 19:17:39 +01:00
Gina Häußge
221ecad5c8
✅ Update e2e dep version
...
Should make dependabot happy about our e2e tests again.
2021-01-11 16:17:10 +01:00
Gina Häußge
d60bb43e07
💚 Fix unit tests testing settings init
...
We now need to explicitly trigger a write to config.yaml to test proper
creation at the right places since we no longer will automatically
generate a global API key - that has been removed.
2020-11-26 12:24:12 +01:00
Gina Häußge
8ef57e2ab7
Merge branch 'maintenance' into devel
...
# Conflicts:
# src/octoprint/filemanager/storage.py
# src/octoprint/plugins/announcements/__init__.py
2020-11-25 13:19:01 +01:00
Gina Häußge
c12447dca2
♻️ Extract slugify/sanitizing into util method
...
Reduces code duplication
2020-11-23 17:14:57 +01:00
Gina Häußge
90c0675234
Merge branch 'maintenance' into devel
2020-11-17 16:23:15 +01:00
Gina Häußge
a4b44a8b0f
🥅 Do not support pyc plugins
...
A pyc file alone should really never happen anyhow in our plugin setup,
and they would not load under Py3 anyhow as we can't parse the
compatibility information right now.
Simply removing their support altogether as it should not have been
utilized anywhere anyhow as far as I am aware, and never was officially
documented as supported to boot.
2020-11-12 10:11:49 +01:00
Gina Häußge
9a57362602
🥅 Better solution for invalid plugin detection
...
Should be done at plugin manager level, not externally. Ignore pyc files
though as we currently can't parse their metadata (looking into that).
Fix tests while at it.
2020-11-11 18:23:29 +01:00
Gina Häußge
718f89fdbd
Merge branch 'maintenance' into devel
2020-10-23 16:59:02 +02:00
Gina Häußge
dbc012fa4c
🎨 Fix some left over set calls
2020-10-23 16:42:32 +02:00
Gina Häußge
c02c1452e6
♻️ Py3: Some more import & compat stragglers
2020-10-22 16:25:47 +02:00