Commit graph

15395 commits

Author SHA1 Message Date
Andreas Bräu
fc1cfa4f10 luci-app-olsr-services: remove even more echos
Signed-off-by: Andreas Bräu <ab@andi95.de>
2021-10-28 10:44:20 +02:00
Andreas Bräu
8e32f4478f luci-app-olsr-services: simplify table updates
Signed-off-by: Andreas Bräu <ab@andi95.de>
2021-10-27 21:36:40 +02:00
Florian Eckert
bff0878f91 luci-mod-system: add led-trigger description
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-10-27 10:38:34 +02:00
Florian Eckert
af7b9658f4 luci-app-ledtrig-usbport: add led-trigger description
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-10-27 10:29:39 +02:00
Andreas Bräu
74c16ee65f luci-app-olsr-services: less echos
Signed-off-by: Andreas Bräu <ab@andi95.de>
2021-10-27 10:17:31 +02:00
Andreas Bräu
084f6b445c luci-app-olsr-services: migrate to js
Signed-off-by: Andreas Bräu <ab@andi95.de>
2021-10-27 00:49:07 +02:00
Jo-Philipp Wich
4424424366 rpcd-mod-luci: parse prefix size from DHCPv6 leases
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>
2021-10-26 19:40:35 +02:00
Hannu Nyman
19fe3324d2 treewide: i18n - Sync translations
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-10-26 18:04:22 +03:00
Hosted Weblate
6b79588d74 Translated using Weblate (Russian)
Currently translated at 100.0% (49 of 49 strings)

Translated using Weblate (Russian)

Currently translated at 61.4% (35 of 57 strings)

Translation: OpenWrt/LuCI/applications/nft-qos
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnft-qos/ru/

Translated using Weblate (Russian)

Currently translated at 50.3% (67 of 133 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (49 of 49 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (195 of 195 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (14 of 14 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (343 of 343 strings)

Translated using Weblate (Russian)

Currently translated at 100.0% (82 of 82 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 (Chinese (Simplified))

Currently translated at 100.0% (15 of 15 strings)

Translation: OpenWrt/LuCI/applications/example
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsexample/zh_Hans/

Translated using Weblate (German)

Currently translated at 100.0% (15 of 15 strings)

Translation: OpenWrt/LuCI/applications/example
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsexample/de/

Translated using Weblate (Russian)

Currently translated at 100.0% (6 of 6 strings)

Translation: OpenWrt/LuCI/applications/olsr-services
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr-services/ru/

Translated using Weblate (Chinese (Traditional))

Currently translated at 97.0% (1730 of 1783 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hant/

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 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% (1783 of 1783 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/

Added translation using Weblate (French)

Added translation using Weblate (Spanish)

Added translation using Weblate (Norwegian Bokmål)

Added translation using Weblate (Chinese (Simplified))

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/

Co-authored-by: Darin  Avdeyeva <yulyablack@inbox.lv>
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Paul Spooren <mail@aparcar.org>
Co-authored-by: megapro17 <megapro17@gmail.com>
Co-authored-by: zhanhb <zhanhb88@gmail.com>
Signed-off-by: Darin  Avdeyeva <yulyablack@inbox.lv>
Signed-off-by: Eric <spice2wolf@gmail.com>
Signed-off-by: Paul Spooren <mail@aparcar.org>
Signed-off-by: megapro17 <megapro17@gmail.com>
Signed-off-by: zhanhb <zhanhb88@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsntpc/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssplash/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsupnp/ru/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/ru/
Translation: OpenWrt/LuCI/applications/ntpc
Translation: OpenWrt/LuCI/applications/nut
Translation: OpenWrt/LuCI/applications/olsr
Translation: OpenWrt/LuCI/applications/splash
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/applications/upnp
Translation: OpenWrt/LuCI/modules/luci-mod-dashboard
2021-10-26 18:00:57 +03:00
Lukas Voegl
735d949bfc luci-base: show validation message in error
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
2021-10-26 12:31:05 +02:00
Jo-Philipp Wich
37e40e04ef luci-theme-bootstrap: work around csstidy bug
Ref: 26047fb967 (commitcomment-58638390)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-10-25 23:59:02 +02:00
Paul Dee
3165d5ea3f luci-mod-network: Add PXE Boot options tab under DHCP and DNS
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>
2021-10-25 21:09:32 +02:00
Paul Dee
d1035c1f69 luci-theme-bootstrap: fix overlay display failures
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>
2021-10-25 20:55:10 +02:00
Hosted Weblate
a1ad0d5882 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% (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
2021-10-25 20:46:13 +03:00
Jo-Philipp Wich
8fc78a26da luci-theme-bootstrap: fix header width
Fixes: 588e24f9ca ("luci-theme-bootstrap: various tweaks and cleanups")
Ref: 588e24f9ca (r58625289)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-10-25 19:39:47 +02:00
Jo-Philipp Wich
4ac048289e
Merge pull request #5444 from psiegl/master
luci-app-hd-idle: Improve content to display
2021-10-24 19:40:09 +02:00
Patrick Siegl
55e725ab7b luci-app-hd-idle: Improve content shown by luci.
Signed-off-by: Patrick Siegl <3261314+psiegl@users.noreply.github.com>
2021-10-23 21:54:06 +02:00
Jo-Philipp Wich
e9039ae8f5 luci-app-statistics: fix process graph tab captions
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>
2021-10-23 00:33:54 +02:00
Andreas Bräu
02a86624ec luci-app-example: add app
add a minimalistic example app for modern js-based apps

Signed-off-by: Andreas Bräu <ab@andi95.de>
2021-10-22 10:02:53 -10:00
Jo-Philipp Wich
63034c3607 luci-base: remove further related section types on deleting network
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>
2021-10-22 19:44:43 +02:00
Jo-Philipp Wich
216767f420 luci-mod-network: remove related bridge-vlan sections on deleting device
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-10-22 19:18:27 +02:00
Jo-Philipp Wich
f4f64b91ca luci-mod-network: allow sorting static leases
Fixes: #5453
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-10-19 23:13:43 +02:00
Jo-Philipp Wich
07569c5af2 luci-mod-system: fix time display logic
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>
2021-10-19 23:09:46 +02:00
Hannu Nyman
cd3d614c56 treewide: sync i18n translations
Sync translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-10-19 22:18:01 +03:00
Hosted Weblate
8b7c47fcdd Translated using Weblate (Italian)
Currently translated at 18.9% (40 of 211 strings)

Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/it/

Translated using Weblate (Italian)

Currently translated at 49.0% (104 of 212 strings)

Translated using Weblate (Portuguese)

Currently translated at 100.0% (1775 of 1775 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt/

Translated using Weblate (Italian)

Currently translated at 53.2% (946 of 1775 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/it/

Translated using Weblate (French)

Currently translated at 96.7% (180 of 186 strings)

Translation: OpenWrt/LuCI/applications/unbound
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsunbound/fr/

Translated using Weblate (French)

Currently translated at 100.0% (5 of 5 strings)

Translated using Weblate (French)

Currently translated at 67.0% (55 of 82 strings)

Translated using Weblate (French)

Currently translated at 84.1% (1494 of 1775 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/fr/

Co-authored-by: ButterflyOfFire <ButterflyOfFire@protonmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: pisquan8 <cimurro@outlook.de>
Co-authored-by: ssantos <ssantos@web.de>
Signed-off-by: ButterflyOfFire <ButterflyOfFire@protonmail.com>
Signed-off-by: pisquan8 <cimurro@outlook.de>
Signed-off-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscoovachilli/fr/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/it/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssplash/fr/
Translation: OpenWrt/LuCI/applications/coovachilli
Translation: OpenWrt/LuCI/applications/firewall
Translation: OpenWrt/LuCI/applications/splash
2021-10-19 22:01:12 +03:00
Hosted Weblate
d1dab6c985 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (212 of 212 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (1775 of 1775 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt_BR/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (1775 of 1775 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt_BR/

Translated using Weblate (Italian)

Currently translated at 51.9% (922 of 1775 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/it/

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Co-authored-by: pisquan8 <cimurro@outlook.de>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: pisquan8 <cimurro@outlook.de>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/pt_BR/
Translation: OpenWrt/LuCI/applications/firewall
2021-10-17 19:37:12 +03:00
Hosted Weblate
1a0c1b729d Translated using Weblate (Italian)
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
2021-10-13 23:24:23 +03:00
Jo-Philipp Wich
1c3b32dc1b luci-theme-openwrt: add success style for alert messages
Fixes: #5427
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-10-12 22:40:25 +02:00
Jo-Philipp Wich
9aaebdf8de
Merge pull request #5436 from vgaetera/dhcp-ipset 2021-10-12 11:21:56 +02:00
Jo-Philipp Wich
4b5da809e0 luci-mod-network: diagnostics: remove leftover attribute
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>
2021-10-11 23:52:40 +02:00
Jo-Philipp Wich
5ac9fd7b3b luci-mod-network: diagnostics: remove arp-scan install placeholder
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>
2021-10-11 23:47:30 +02:00
Vladislav Grigoryev
6ee3482af2 luci-mod-network: support dhcp.ipset as section
Allow configuring ipset sections in the dhcp config:
https://openwrt.org/docs/guide-user/base-system/dhcp#ip_sets
This can also be combined with instance-specific IP sets:
https://github.com/openwrt/luci/pull/5402
However, it makes easier to assign domains to IP sets.

Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
2021-10-12 00:25:01 +03:00
Paul Spooren
22b7442011 luci-mod-admin-full: add arp-scan to network diagnostic
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>
2021-10-11 11:15:17 -10:00
Jo-Philipp Wich
e4d24f07c9 luci-base: dispatcher: rework dispatching and menu filtering logic
- 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>
2021-10-11 20:38:04 +02:00
Jo-Philipp Wich
ea9b5e87e6 luci-base: sysauth.htm: switch https detection URL
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>
2021-10-11 20:37:36 +02:00
Jo-Philipp Wich
4d28c390ab luci-base: dispatcher: fix null access on dispatching unknown urls
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-10-11 19:02:18 +02:00
Dirk Brenken
34b682afac luci-app-rosy-fileserver: mark as broken
The LuCI application is unmaintained and broken.

Signed-off-by: Dirk Brenken <dev@brenken.org>
2021-10-10 11:15:06 -10:00
Jo-Philipp Wich
f974529c28
Merge pull request #5423 from jow-/master
luci-theme-bootstrap: various tweaks and cleanups
2021-10-10 19:49:34 +02:00
Jo-Philipp Wich
588e24f9ca luci-theme-bootstrap: various tweaks and cleanups
- introduce new variable --text-color-highest which results in #000/#fff
   for bright and dark modes respectively
 - drop unused navigation style rules and selectors
 - use sticky positioning for header bar and drop top margin hacks
 - use flex box layout for header bar contents
 - use uniform line-height for button elements instead of pixel paddings
 - fix too bright .cbi-value bottom border in mobile dark mode
 - avoid rendering duplicate .cbi-value bottom borders for nested sections
 - simplify header markup, get rid of unused container elements
 - use non-wrapping flex box layout for page actions, prioritize primary
   action button in automatic width calculation
 - fix border radius of ifacebox headers
 - use brightest color for log output textareas
 - fix dark mode colors for mode menu
 - use flex layout for footer

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-10-10 19:45:31 +02:00
Paul Spooren
dc7144ffed CI: add formal tests
Migrate the same formal tests used in packages.git

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-10-09 22:52:02 -10:00
Paul Spooren
530144791e CI: test build LuCI packages
While all LuCI packages should always build fine, this allows others to
directly install those packages within test setups.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-10-09 22:50:56 -10:00
Hosted Weblate
9987b39569 Translated using Weblate (Italian)
Currently translated at 7.2% (9 of 125 strings)

Translation: OpenWrt/LuCI/applications/privoxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsprivoxy/it/

Translated using Weblate (Italian)

Currently translated at 14.8% (29 of 195 strings)

Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/it/

Translated using Weblate (Italian)

Currently translated at 52.7% (95 of 180 strings)

Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/it/

Translated using Weblate (Italian)

Currently translated at 100.0% (49 of 49 strings)

Translated using Weblate (Italian)

Currently translated at 18.4% (39 of 211 strings)

Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/it/

Translated using Weblate (Italian)

Currently translated at 100.0% (28 of 28 strings)

Translation: OpenWrt/LuCI/applications/acl
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacl/it/

Translated using Weblate (Italian)

Currently translated at 21.1% (36 of 170 strings)

Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/it/

Translated using Weblate (Italian)

Currently translated at 90.0% (36 of 40 strings)

Translation: OpenWrt/LuCI/applications/clamav
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsclamav/it/

Translated using Weblate (Italian)

Currently translated at 20.4% (10 of 49 strings)

Translation: OpenWrt/LuCI/applications/bmx7
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbmx7/it/

Translated using Weblate (Italian)

Currently translated at 100.0% (38 of 38 strings)

Translation: OpenWrt/LuCI/applications/advanced-reboot
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/it/

Translated using Weblate (Italian)

Currently translated at 37.4% (73 of 195 strings)

Translated using Weblate (Italian)

Currently translated at 12.2% (42 of 343 strings)

Translated using Weblate (Turkish)

Currently translated at 100.0% (1775 of 1775 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/tr/

Translated using Weblate (Italian)

Currently translated at 50.5% (898 of 1775 strings)

Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/it/

Co-authored-by: Alaaddin Biçici <alaaddinbicici@gmail.com>
Co-authored-by: Gerardo <gerardo.zinno@aol.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Pierfrancesco Passerini <p.passerini@gmail.com>
Signed-off-by: Alaaddin Biçici <alaaddinbicici@gmail.com>
Signed-off-by: Gerardo <gerardo.zinno@aol.com>
Signed-off-by: Pierfrancesco Passerini <p.passerini@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/it/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/it/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/it/
Translation: OpenWrt/LuCI/applications/olsr
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/modules/luci-mod-dashboard
2021-10-09 23:32:35 +03:00
Paul Spooren
276ad0ca63 CI: enable jekyll for docs for overview README
the overview README contains links for the client and server side API,
it's a markdown file and therefore requires jekyll to run.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-10-08 23:35:42 -10:00
Hannu Nyman
d9c27cb1ee
Merge pull request #5424 from PolynomialDivision/luci-app-dawn-remove-settings
luci-app-dawn: remove page for steering options
2021-10-09 12:19:42 +03:00
Nick Hainke
4a78122246 luci-app-dawn: remove page for steering options
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>
2021-10-09 10:05:02 +02:00
Paul Spooren
5f5a61caf8 CI: use GITHUB_TOKEN for page deployment
The token is set automatically when running on the master branch, no
personal access token is required.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-10-08 17:20:07 -10:00
Paul Spooren
56ef04849d CI: automatically update jsapi docs
Use a GitHub Action to keep the docs updated, the current onces are 14
month old and outdated.

Use latest jsdoc package

Add full URL to LuCI.html file in README.md

Ignore generated HTML files via .gitignore

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-10-08 17:16:04 -10:00
Paul Spooren
c1f972df1b docs: remove static jsapi content
It should be dynamically created by a CI rather than being updated
manually. This should result to more accurate docs.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-10-08 17:16:04 -10:00
Paul Dee
e8194d94bf luc-app-banip: spelling / grammar
"Setup" is a noun, the thing. "Set up" is a verbal idiom, the action.

One cannot setup a DHCP server, just as one cannot fuckup a test, or
ripup some paper. One can, however, set a DHCP server up, and one can
fuck a test up, and rip some paper up.

Signed-off-by: Paul Dee <systemcrash@users.noreply.github.com>
2021-10-08 14:12:11 -10:00
Paul Dee
0c4dfc9a8c luci-app-adblock: spelling / grammar
"Setup" is a noun, the thing. "Set up" is a verbal idiom, the action.

One cannot setup a DHCP server, just as one cannot fuckup a test, or
ripup some paper. One can, however, set a DHCP server up, and one can
fuck a test up, and rip some paper up.

Signed-off-by: Paul Dee <systemcrash@users.noreply.github.com>
2021-10-08 14:12:11 -10:00