Instead of customizing an existing tool that does a lot of stuff
that we don't need but lacks what we DO need (branch based virtual
tags), now there's a custom single file implementation that mixes
concepts from versioneer, miniver and the lookup that so far was
implemented in OctoPrint's custom build of versioneer, and does so
with less overhead.
Closes#4685
* Added regex filtering feature
Added new regex setting, new Filtering regex setting UI and filter on the incoming messages.
* Fixed a wrong variable name in the template.
* Changed settings name from 'regex' to 'filter'
In case of invalid/unusable folder configurations, OctoPrint
will roll back to its default so as to not prevent server
startup altogether (which would be a big issue for less
technical people).
However, this creates the problem that unless a user
fiddling around with base folder paths actually checks
the log and base folder config whether things are still
as originally configured, they won't see issues immediately,
e.g. caused by network shares not yet being available
during OctoPrint's startup.
Thus, we now will log such issues not only in the log but
will also show a popup to connecting admins, that will
inform them about which folders failed their validation and
were rolled back.
This will only work on the same startup, not following
startups, but it should give a bit more heads-ups to people
fiddling around with network shares specificially - hopefully.
Implements #4881
Will call `onWebcamRefresh` on the bound viewmodel of the currently
active webcam. It is up to the implementing webcam view model
to execute the actual refresh.
Only the mjpg stream type of the classicwebcam currently supports
this, for the other stream types it is a no-op.
Note that the button will be displayed on mouseover regardless of
whether it will actually be capable of triggering a refresh or not.
Also adjusted the fade-in animation of the keycontrol overlay to
match the refresh button and webcam selector.
Implements #4617
- `octoprint systeminfo` will now generate a bundle in the
current directory even without an explicitly added .
- `octoprint systeminfo --short` has been added to generate
the abridged version
This should clear up issues we saw in the past where users forgot
the . and then just pasted the abridged text only version when
we wanted a bundle.
Also make sure we don't go beyond a 1:1 aspect ration on rotation.
Finally get rid of some CSS issues caused by a loss of flexbox mode
in deeper divs.
Implements #4837
It was not storing its current value properly, thanks to an incomplete
refactoring ages ago during which etag and lastmodified types were
joined into httpheader.
Closes#4806
This works around a bug when installing PyYaml
>=5.4.1,<6.0.1 ever since Cython 3.0 has been released.
PyYaml 6.0.1 pins Cython to a version less than 3.0 which
resolves this issue (for now).
See also yaml/pyyaml#724
Safety hints in the first run end dialog have been
reworked to be more visually alerting and a
checkbox has been added for each that has
to be checked in order to proceed with the
wizard.
See discussion in #4739