Gina Häußge
dbc012fa4c
🎨 Fix some left over set calls
2020-10-23 16:42:32 +02:00
Gina Häußge
fd319fc82f
🥅 PiSupport: Warning if run on a zero/zero w
2020-10-21 11:54:46 +02:00
Gina Häußge
d3cf2a8e35
🎨 Some additional pre-commit checks
2020-10-07 21:16:48 +02:00
Gina Häußge
6b44909f21
🎨 Add prettier for js, less, yaml, json, ...
2020-10-07 18:53:49 +02:00
Gina Häußge
8427383b31
🐛 Don't touch BOM test files with pre-commit
2020-10-07 17:25:46 +02:00
Gina Häußge
b5be8f3eae
🎨 Add codemods to pre-commit, fix flake8
2020-10-07 16:27:11 +02:00
Gina Häußge
cae6730ea8
🎨 EOF/trailing whitespace/TOML&YAML check
...
And armed and documented pre-commit
2020-10-07 13:45:49 +02:00
Gina Häußge
fbfb34df58
🎨 Switch to use of isort
2020-10-07 13:15:52 +02:00
Gina Häußge
1f93b2355a
🎨 Switch to black formatting
2020-10-07 13:13:06 +02:00
Gina Häußge
26151b3c42
⚡ ️ Even more aggressive caching of uploads
...
The LocalFileStorage now maintains its own internal cache for all
tracked folders and will only refresh entries if the last modification
of a (sub)folder has changed.
2020-10-01 11:44:50 +02:00
Gina Häußge
ef8903902c
✨ PMGR: Support version ranges for notices
2020-09-15 18:21:38 +02:00
Gina Häußge
b80826dd0c
Merge branch 'pr/3719' into maintenance
2020-09-14 12:44:02 +02:00
Tobias Frost
e83e2a4467
Hint mkstemp to create directory in the destination directory.
2020-09-07 15:10:50 +02:00
Gina Häußge
ffb2a0ed73
Merge branch 'master' into maintenance
2020-08-04 14:24:58 +02:00
Gina Häußge
0364130dd3
⬆️ Upgrade cypress
2020-08-04 14:14:47 +02:00
Gina Häußge
e49d0b0c22
💚 Use fixed umask for tests
2020-08-03 10:50:57 +02:00
Gina Häußge
a846fd8f83
✅ Add E2E for basic settings dialog behaviour
2020-08-03 10:31:25 +02:00
Gina Häußge
e7e04271fd
💚 Fix tests broken by 894178918
2020-08-03 09:59:56 +02:00
Gina Häußge
87cd0a88fb
Merge branch 'staging/maintenance' into maintenance
2020-07-22 14:52:41 +02:00
Gina Häußge
6165e5b0f0
💚 Fix flaky connect test
2020-07-22 14:48:15 +02:00
Gina Häußge
4511d8667b
✅ E2E: Add basic upload test
2020-07-22 14:02:36 +02:00
Gina Häußge
b1e2121682
✨ New recovery endpoint & refactoring
...
At /recovery/ there's now a (for now basic) recovery dialog that
currently allows the core functionality from the system command menu, so
shutting down and rebooting the system, restarting OctoPrint and
restarting OctoPrint in safe mode. The most important part here is the
ability to restart in safe mode, as that will allow to get OctoPrint
back into working order if an errant third party plugin or language
pack has made the standard UI non functional.
For that reason, no third party plugins are enabled or utilized on the
recovery dialog, even the theming hook is aggressively error resilient.
In order to still allow to authenticate the user (no one but ADMIN
should be allowed to use the recovery UI) the loginui plugin has been
merged into core as its own endpoint /login/ which coreui and recovery
can redirect to. This is a welcome change considering that the loginui
was absolutely necessary anyhow, and it being a plugin was merely a side
effect of backporting from forcelogin. This has now been cleaned up.
2020-07-20 17:00:31 +02:00
Gina Häußge
719c3e3b0b
💚 And now REALLY reenable them 😅
2020-07-14 18:23:15 +02:00
Gina Häußge
123266d0ff
💚 Forgot to re-enable some E2E tests
2020-07-14 17:52:42 +02:00
Gina Häußge
aa0ba6881c
💚 Improve E2E tests
...
Way less flaky now, and sprinkled with some helpers to ensure stuff has
loaded fine before trying to fire off tests 🥳
2020-07-14 17:48:36 +02:00
Gina Häußge
01940bbb10
💚 (Hopefully) fix & re-enable E2E tests
...
We now wait for full app initialization (OctoPrint.coreui.startedUp &
OctoPrint.loginui.startedUp) before trying to test against things.
At least in local test runs that solved the flakiness.
2020-07-13 16:06:28 +02:00
Gina Häußge
736dca4d07
💚 Disable login tests for now
...
They aren't stable and currently can't be relied upon. For some reason
the page sometimes just doesn't reload in the test browsers.
2020-07-06 22:56:58 +02:00
Gina Häußge
f2ca247731
💚 Fix cypress login test's wobbliness
...
Hopefully at least...
2020-07-06 22:30:36 +02:00
Gina Häußge
7fe5af0466
👷 ️ e2e: Back to VIRTUAL
...
Turns out github action runners have /dev/ttyS* 😅
2020-07-02 18:07:07 +02:00
Gina Häußge
9f68900dc5
👷 ️ e2e: Switch to auto detect & wait for profiles
2020-07-02 18:03:43 +02:00
Gina Häußge
7c4e0b2344
👷 ️ Combine connect & disconnect
2020-07-02 17:52:54 +02:00
Gina Häußge
75c1b02760
👷 ️ e2e: Add connection test
2020-07-02 17:38:31 +02:00
Gina Häußge
fd1ddab50f
👷 ️ Let's see if waiting helps
2020-07-02 16:56:28 +02:00
Gina Häußge
622aad07dc
👷 ️ First throw at E2E testing
2020-07-02 15:19:39 +02:00
Gina Häußge
4689e87a1f
♻ Fix a unit test
2020-06-15 18:41:18 +02:00
Gina Häußge
80f94946e3
Revert "➕ ➖ Switch from awesome-slugify to python-slugify"
...
This reverts commit 73fbd15b
The change causes a full rescan for renaming on the uploads folder.
Unintended, needs to be looked at closer at a later date.
2020-06-03 18:42:48 +02:00
Gina Häußge
73fbd15bca
➕ ➖ Switch from awesome-slugify to python-slugify
2020-06-03 15:13:00 +02:00
Gina Häußge
5cb7fa4dc9
💚 Fix unit test
2020-04-20 21:18:05 +02:00
Gina Häußge
09823115af
💚 Fix unit tests
2020-04-15 15:44:42 +02:00
Gina Häußge
010221ab5b
🐛 Fix handling of unset remote addresses
2020-01-29 11:35:56 +01:00
Gina Häußge
2801da5c51
💚 Fix unit tests by fixing mocked functions
...
Closes #3348
2019-11-26 16:22:08 +01:00
Gina Häußge
2e6b85990d
💚 Fix tests
2019-10-30 17:40:49 +01:00
Gina Häußge
8df2a5436b
Merge branch 'maintenance' into devel
...
# Conflicts:
# setup.py
# src/octoprint/filemanager/__init__.py
# src/octoprint/plugins/action_command_prompt/static/js/action_command_prompt.js
# src/octoprint/plugins/forcelogin/__init__.py
# src/octoprint/plugins/forcelogin/templates/forcelogin_index.jinja2
# src/octoprint/plugins/pluginmanager/__init__.py
# src/octoprint/plugins/pluginmanager/static/css/pluginmanager.css
# src/octoprint/plugins/pluginmanager/static/js/pluginmanager.js
# src/octoprint/plugins/softwareupdate/static/js/softwareupdate.js
# src/octoprint/plugins/tracking/__init__.py
# src/octoprint/printer/standard.py
# src/octoprint/server/views.py
# src/octoprint/static/js/app/viewmodels/printerstate.js
# src/octoprint/static/js/app/viewmodels/users.js
# src/octoprint/timelapse.py
# src/octoprint/users.py
# src/octoprint/util/comm.py
2019-09-12 09:30:28 +02:00
Gina Häußge
6069d74a54
💚 Fix unit tests
2019-06-18 13:35:21 +02:00
Gina Häußge
b03d43156d
🐛 Strip interface tags from addresses on local check
...
Closes #3143 and Sentry SERVER-11B
2019-05-15 13:19:14 +02:00
Gina Häußge
c0096c41a0
Merge branch 'maintenance' into devel
...
# Conflicts:
# setup.py
# src/octoprint/cli/plugins.py
# src/octoprint/events.py
# src/octoprint/filemanager/__init__.py
# src/octoprint/logging/__init__.py
# src/octoprint/plugins/announcements/__init__.py
# src/octoprint/plugins/appkeys/__init__.py
# src/octoprint/plugins/forcelogin/__init__.py
# src/octoprint/plugins/forcelogin/static/js/main.js
# src/octoprint/plugins/forcelogin/templates/forcelogin_index.jinja2
# src/octoprint/plugins/pluginmanager/static/css/pluginmanager.css
# src/octoprint/plugins/printer_safety_check/__init__.py
# src/octoprint/plugins/softwareupdate/__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/settings.py
# src/octoprint/server/api/system.py
# src/octoprint/server/apps/__init__.py
# src/octoprint/server/util/__init__.py
# src/octoprint/server/util/flask.py
# src/octoprint/server/util/sockjs.py
# src/octoprint/server/views.py
# src/octoprint/settings.py
# src/octoprint/slicing/__init__.py
# src/octoprint/static/js/app/helpers.js
# src/octoprint/static/js/app/main.js
# src/octoprint/static/js/app/viewmodels/settings.js
# src/octoprint/static/js/app/viewmodels/temperature.js
# src/octoprint/templates/dialogs/settings/accesscontrol.jinja2
# src/octoprint/templates/dialogs/settings/api.jinja2
# src/octoprint/templates/initscript.jinja2
# src/octoprint/templates/tabs/control.jinja2
# src/octoprint/timelapse.py
# src/octoprint/users.py
# src/octoprint/util/comm.py
# src/octoprint/util/gcodeInterpreter.py
# src/octoprint/vendor/sockjs/tornado/transports/rawwebsocket.py
# src/octoprint/vendor/sockjs/tornado/transports/websocket.py
# translations/messages.pot
2019-05-10 17:13:55 +02: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
4e2afbc170
Merge branch 'maintenance' into devel
...
# Conflicts:
# src/octoprint/filemanager/storage.py
# src/octoprint/util/__init__.py
# src/octoprint/util/comm.py
2019-03-06 14:49:42 +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
8b5626e49c
💚 Fix unit tests under Py3
2019-02-20 16:28:06 +01:00