If running on a non EFI system, the file `/sys/firmware/efi` is not
available and therefore results in an error of `fs.stat`. Wrap it with
`L.resolveDefault` to avoid the error message and make it work on
non-EFI devices again.
Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 65266c490a)
This should make the code a bit more readable and LuCI like instead of
using plain JavaScript.
Handle the filesystem correctly to avoid installing suqashfs images on
ext4 devices and the other way around, also recognize systems running
efi.
Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit de3e0bbffd)
the `irq` plugin does not show the right data if the interrupt name is only numeric
Signed-off-by: Ronny Kotzschmar <ro.ok@me.com>
(cherry picked from commit dc25703053)
Fixes#5719
Use the new `firewall.getZoneColorStyle()` helper to apply background
color styles.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 0b4b6380d0)
Support the organization option, added in 2020.
Mention in help text that a random/unique value is used in
certificate generation if the organization option is empty.
Re-order the certificate items to logical order.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit e3fbfe9909)
The OpenVPN file view uses a dummy Map() instance to render the breadcrumb
template which triggers a uci permission error since the view is being
rendered by a form() action which does not set up the expected permission
flags. CBI Map() instances should only be used for cbi() dispatch targets.
Solve the issue by appending the breadcrumb template directly to the
SimpleForm() instance and by removing the redundant dummy Map() instance.
Fixes: #4370
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 18b1130711)
* introduce 31 new providers
* uniform names (FQDNs) in provider files
* other minor fixes
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit fae45215aa)
* Add AhaDNS: thanks to @Jefe777 (account now deleted) and their PR at
https://github.com/openwrt/luci/pull/5612
* Update email addresses
* Add missing new line to ControlD files
* Add RPCD reload to uci-defaults file
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit da3bb1e80b)
Reorder the CPU utilization classes to be in a more logical order
(from hardware toward user) instead of alphabetical order.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit f4dd8b6413)
Increase the default number of data items in the RRD database
from 144 to 288. This leads to smaller summarising/averaging periods,
visible especially in the day & week graphs. The averaging intervals
will be: 30s, 5min, 35min, 2h35min, 1d6h30min
(Note: this change only applies in a live router if the RRD database is
empty. E.g after reboot or after emptying the RRD database dir.)
Reference to discussion at #4065
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit c21c6668ed)
This package was marked as broken [1], so it's time to remove it.
As package rosy-file-server will be dropped soon [2].
Reasons:
1. it's broken (and package requires LuCI, which was marked as broken,
thus it is useless)
2. maintainer is inactive
3. maintainer's company does not seem to work.
[1] 34b682afac
[2] https://github.com/openwrt/packages/pull/17031
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit ec5e336e55)
No functional changes but required for styling rules.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 01eb86f4fc105514f67fbefbcd2ac180e02ab78b)
Signed-off-by: Martin Schitter <ms+git@mur.at>
[Fixed the commit title]
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit b0279f474e)
The luci-app-dawn is blocking the PR to be merged:
https://github.com/openwrt/packages/pull/16299
Remove the configuration page and set appropriate standard values.
Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 4a78122246)
Plugins that provide both detail and non-detail instances led to a mismatch
between the instance list to render and the plugin instance list, causing
tab captions to be wrongly assigned.
Fixes: #5387
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit e9039ae8f5)
without this, only 50% of screen where used
also show version only 1 time if Ksmbd/Kmod
versions match
Signed-off-by: Fritz D. Ansel <fdansel@yandex.ru>
(cherry picked from commit a624647c2a)
This fixes the "Authentication / Users" and "Storage" tab of
luci-app-radicale2.
Signed-off-by: Dennis Dast <mail@ddast.de>
(cherry picked from commit 29f78ce73f)
Remove the unnecessary Include line from the default config.
It causes error at collectd start, as the directory is missing.
daemon.err collectd[9722]: configfile: stat (/etc/collectd/conf.d) failed: No such file or directory
Leave the line as a comment/example.
Fixes#5373
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 2c27f5c941)
This is required for the user and group ID dropdowns in the
configuration.
Fixes: #4697
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 1d9067b271)