When 3.12 comes around, we can always change
the python version requirement for local testing,
but this way there will be no bad surprises in the
field, OctoPrint will just refuse to install.
* add M118 echo command on the virtual printer
update string format by using format function for command M117
* clean up
* Update src/octoprint/plugins/virtual_printer/virtual.py
Add reg ex to match all , need to be tested
Co-authored-by: Gina Häußge <gina@octoprint.org>
* fix regex suggestion
Co-authored-by: Gina Häußge <gina@octoprint.org>
* Initial version. Seems tp works as intended except for skipUntil
* typo
* skipUntilThis support
* skipUntil should also be skipped if it is ""
* Update src/octoprint/plugins/gcodeviewer/__init__.py
Co-authored-by: Gina Häußge <gina@octoprint.org>
* Apply requested changes.
* Rename symbols for readability
Co-authored-by: Gina Häußge <gina@octoprint.org>
Just going by name breaks backups
with arbitrary file names created
from CLI or the helper.
Instead of matching on the name, we
now check whether it's a zip and
contains a metadata.json.
Closes#4659
Closes#4621
Individual commits:
* User names with extra spaces are invalid
* fix return value formatting
* API: Add user name validation
* Core Wizard: Add error message
Add 'invalid user name' error message
* Fix colon typo
* Fix style
* Fix import
* fix error state in core wizard
separately handle invalid user name
* fix isort style error
* Fix API validation
python strings use strip()
* add user name validation to settings
* Correct spelling of username
* implemented foosel's requested changes
changed checks from invalidUsername to validUsername everywhere
standardized the requirements for valid user names
* introduced providedUsername function
ensures user name field doesn't start in an error state
Co-authored-by: Frederik <stuff+git@fredo.org>
* 🚧 Handle multiple uploads better
Start for support. Has some TODOs and outstanding issues to tackle still, including the file upload/overwrite/rename/cancel dialog
* 🚧 Handle failed multiple uploads better
Show target filename when showing errors
Only refresh the files list if there was at least one successful file upload in the batch
* 🚧 Queue up file exists confirmations for multiple uploads
See #4300
* 🚧 Scroll to only the last uploaded file
* 🚧 Fix scrolling to the file
index starts at 0, length 1
Co-authored-by: Gina Häußge <gina@octoprint.org>
in the event handler onSlicingStarted the uploadProgressPercentage was given the parameter perecntage, but this was not know, so it will throw an error.
As this is the start of the slicing the correct value should be 0