firmware: cleansing using output_cmd is futile
Move the code back to where it was in early 26.1. A number of
regressions could have been avoided. The last straw was buffering
of "." characters for fetching.
The read-guard is still effective. As it reads the file it does
not need to run unbuffered. GUI reads are still properly filtered.
captive portal: adjust accounting interval to Acct-Interim-Interval (#10474)
This changes the default interval to 600, which is the recommended
value according to RFC 2869.
ui: fix menu registration not setting "active"
It's a bit complicated: we need to ignore all invisible pages.
The menu registration isn't really a value that does something
but it successfully hides the registration from the menu code
rendering the active flag.
(cherry picked from commit 12af1e401ca949efc53e4424cc521cd71734bc10)
mvc: add file type to forms, including required javascript initialisation code.
File type input serializes offered payload in base64 and returns both the field and the filename of the offered file.
This easy to use wrapper can be used to upload files of reasonable size (a couple of megabytes max) via either a select file or drag and drop option.
Collected output exists of the offered <id> combined with a field named <id>__name which contains the offered filename
mvc: add file type to forms, including required javascript initialisation code.
File type input serializes offered payload in base64 and returns both the field and the filename of the offered file.
This easy to use wrapper can be used to upload files of reasonable size (a couple of megabytes max) via either a select file or drag and drop option.
Collected output exists of the offered <id> combined with a field named <id>__name which contains the offered filename
ui: fix menu registration not setting "active"
It's a bit complicated: we need to ignore all invisible pages.
The menu registration isn't really a value that does something
but it successfully hides the registration from the menu code
rendering the active flag.
firewall: change menu registration rules for legacy rules #9947
Keep the logic of the migration assistant but pivot to assuming
MVC rules are used by default and that menu registration hinges
on the fact that the firewall legacy plugin is installed.
Also patch outbound NAT file check although it's not needed yet
as we may want to move quicker in 26.7.x to depreate it. Since
we already have a plugin we can easily move the files there in
a minor iteration.