Also convert ES6 to ES5 syntax while we're at it.
Fixes: #5476
Fixes: 5b42cd5b46 ("luci-mod-system: move default option from defaul-on trigger to none trigger")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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>
Currently translated at 100.0% (16 of 16 strings)
Translation: OpenWrt/LuCI/applications/hd-idle
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshd-idle/pt_BR/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1797 of 1797 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt_BR/
Translated using Weblate (Spanish)
Currently translated at 93.3% (14 of 15 strings)
Translation: OpenWrt/LuCI/applications/example
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsexample/es/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (16 of 16 strings)
Translation: OpenWrt/LuCI/applications/hd-idle
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshd-idle/zh_Hans/
Translated using Weblate (Polish)
Currently translated at 100.0% (16 of 16 strings)
Translation: OpenWrt/LuCI/applications/hd-idle
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshd-idle/pl/
Translated using Weblate (Spanish)
Currently translated at 100.0% (16 of 16 strings)
Translation: OpenWrt/LuCI/applications/hd-idle
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshd-idle/es/
Translated using Weblate (Russian)
Currently translated at 100.0% (72 of 72 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1797 of 1797 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/
Translated using Weblate (Russian)
Currently translated at 100.0% (1797 of 1797 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/
Translated using Weblate (Polish)
Currently translated at 100.0% (1797 of 1797 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/
Translated using Weblate (Spanish)
Currently translated at 97.9% (1761 of 1797 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/
Co-authored-by: Anton Kikin <a.a.kikin@gmail.com>
Co-authored-by: Darin Avdeyeva <yulyablack@inbox.lv>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Signed-off-by: Eric <spice2wolf@gmail.com>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopkg/ru/
Translation: OpenWrt/LuCI/applications/opkg
Remember the prefix size when parsing odhcpd lease entries and expose
it in the ip6addrs array.
Fixes: #4345
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit adds support for managing `boot` sections in /etc/config/dhcp.
Signed-off-by: Paul Dee <systemcrash@users.noreply.github.com>
[Hide alias interfaces in network select, reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Fixed overlay display failures for users on mobile, or users who booted
up in safe mode XD. Noticeable when vertical or horizontal real-estate
is too small for the displayed overlay.
This failure is most evident when you "edit" an interface, or display
your unsaved changes.
When content is wider than the screen view, the table hugs the (widest)
content maximally, and the overlay window becomes scrollable.
Disabled -webkit-overflow-scrolling, left, and right, because both FF
and Safari disable them as invalid anyway.
Signed-off-by: Paul Dee <systemcrash@users.noreply.github.com>
[Merge duplicate modal declarations, remove not applicable modal
flexbox properties]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Currently translated at 100.0% (1783 of 1783 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (212 of 212 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (72 of 72 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (1783 of 1783 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1783 of 1783 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt_BR/
Translated using Weblate (Russian)
Currently translated at 100.0% (1783 of 1783 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/
Translated using Weblate (Russian)
Currently translated at 100.0% (180 of 180 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/ru/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1783 of 1783 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt_BR/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1783 of 1783 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/
Translated using Weblate (Russian)
Currently translated at 99.7% (1779 of 1783 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1783 of 1783 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt_BR/
Translated using Weblate (Polish)
Currently translated at 100.0% (1783 of 1783 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/
Translated using Weblate (Spanish)
Currently translated at 98.4% (1755 of 1783 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/
Co-authored-by: Alexey <agarkov.alexey.viktorovich@gmail.com>
Co-authored-by: Artem <Localizer_in_Russian@protonmail.com>
Co-authored-by: Darin Avdeyeva <yulyablack@inbox.lv>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: Alexey <agarkov.alexey.viktorovich@gmail.com>
Signed-off-by: Artem <Localizer_in_Russian@protonmail.com>
Signed-off-by: Darin Avdeyeva <yulyablack@inbox.lv>
Signed-off-by: Eric <spice2wolf@gmail.com>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopkg/ru/
Translation: OpenWrt/LuCI/applications/firewall
Translation: OpenWrt/LuCI/applications/opkg
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>
When removing a `config interface` section in `/etc/config/network`, drop
related `rule` and `rule6` sections too, as well as related `dhcp` sections
in `/etc/config/dhcp`.
Ref: https://forum.openwrt.org/t/grooming-etc-config/109764/7
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Use the system/info ubus call to obtain a TZ adjusted epoch value and
format the date time string manually instead of relying on the browsers
local representation.
Fixes: #5454
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Currently translated at 50.8% (903 of 1775 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/it/
Translated using Weblate (German)
Currently translated at 100.0% (50 of 50 strings)
Translation: OpenWrt/LuCI/applications/acme
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacme/de/
Translated using Weblate (German)
Currently translated at 53.4% (39 of 73 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/de/
Translated using Weblate (German)
Currently translated at 52.9% (9 of 17 strings)
Translation: OpenWrt/LuCI/applications/udpxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsudpxy/de/
Translated using Weblate (Russian)
Currently translated at 100.0% (1775 of 1775 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/
Translated using Weblate (Italian)
Currently translated at 12.9% (15 of 116 strings)
Translation: OpenWrt/LuCI/applications/radicale
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale/it/
Translated using Weblate (Italian)
Currently translated at 10.4% (13 of 125 strings)
Translation: OpenWrt/LuCI/applications/privoxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsprivoxy/it/
Translated using Weblate (Russian)
Currently translated at 100.0% (72 of 72 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (1775 of 1775 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/
Co-authored-by: Darin Avdeyeva <yulyablack@inbox.lv>
Co-authored-by: Federico Cappon <dududede371@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jan Kindler <j.e.g.kindler@gmail.com>
Co-authored-by: pisquan8 <cimurro@outlook.de>
Signed-off-by: Darin Avdeyeva <yulyablack@inbox.lv>
Signed-off-by: Federico Cappon <dududede371@gmail.com>
Signed-off-by: Jan Kindler <j.e.g.kindler@gmail.com>
Signed-off-by: pisquan8 <cimurro@outlook.de>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopkg/ru/
Translation: OpenWrt/LuCI/applications/opkg
There is no `type` attribute for `select` elements.
Fixes: 5ac9fd7b3b ("luci-mod-network: diagnostics: remove arp-scan install placeholder")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
We do not want to advertise functionality that is not installed as it may
have been left out intentionally. Referring to "Missing" functionality
is confusing in this case. It is also not comparable to missing protocol
extension hints as those are backed by actual user configuration.
Also replace the freetext input with a dropdown of known network devices
as the hardcoded `br-lan` is not universally applicable to all setups.
In general we want to avoid hardcoding defaults which might deviate from
the system state.
Finaly drop the superfluous width annotations and add a missing space
to the RPC command declaration.
Fixes: 22b7442011 ("luci-mod-admin-full: add arp-scan to network diagnostic")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This is a JavaScript rewrite of the PR#5152
It adds the ability to perform ARP scans if the tool `arp-scan` is
installed.
Signed-off-by: Paul Spooren <mail@aparcar.org>
- Prefer nodes that do not require authentication over nodes that do
- Honour ACL dependencies while resolving firstchild nodes
- Consider currently active session while scanning menu tree instead
of only loading effective ACLs when a login node is encountered
- Do not consider nodes for firstchild dispatching which specify a
special "firstchild_ineligible" property
- Hide menu nodes that have no accessible children
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
The `up.gif` icon is not present by default anymore, it has been moved to
luci-compat. Probe loading.gif instead which is guaranteed to be available
by default.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>