* 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
Without this patch, an attacker with admin rights could configure
a specially crafted GCODE Script to allow for code execution during
rendering of that script. An attacker might use this to extract data
managed by OctoPrint, or manipulate data managed by OctoPrint,
as well as execute arbitrary commands with the rights of the
OctoPrint process on the server system.
Fixes a reported security issue, CVE pending.
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