oweals/luci.git
4 years agoluci-app-advanced-reboot: bugfix: luci error on reboot, logger errors 3334/head
Stan Grishin [Tue, 19 Nov 2019 16:54:21 +0000 (09:54 -0700)]
luci-app-advanced-reboot: bugfix: luci error on reboot, logger errors

Signed-off-by: Stan Grishin <stangri@melmac.net>
4 years agoMerge pull request #3330 from stangri/19.07-luci-app-vpnbypass
Florian Eckert [Tue, 19 Nov 2019 07:37:08 +0000 (08:37 +0100)]
Merge pull request #3330 from stangri/19.07-luci-app-vpnbypass

luci-app-vpnbypass: use VPN node by default

4 years agoluci-app-vpnbypass: use VPN node by default 3330/head
Stan Grishin [Mon, 18 Nov 2019 23:02:14 +0000 (16:02 -0700)]
luci-app-vpnbypass: use VPN node by default

Signed-off-by: Stan Grishin <stangri@melmac.net>
4 years agoMerge pull request #3322 from rs/feature_nextdns-19.07
Hannu Nyman [Sun, 17 Nov 2019 10:42:43 +0000 (12:42 +0200)]
Merge pull request #3322 from rs/feature_nextdns-19.07

luci-app-nextdns: add luci integration for nextdns package

4 years agoluci-app-nextdns: add luci integration for nextdns package 3322/head
Olivier Poitrey [Tue, 5 Nov 2019 20:57:29 +0000 (12:57 -0800)]
luci-app-nextdns: add luci integration for nextdns package

Signed-off-by: Olivier Poitrey <rs@nextdns.io>
4 years agotreewide: fix "Unhandled token" errors with Lua CBI maps
Jo-Philipp Wich [Sat, 16 Nov 2019 17:23:43 +0000 (18:23 +0100)]
treewide: fix "Unhandled token" errors with Lua CBI maps

The `data-type` attribute is used to bind datatype validators to a widget
while some templates used the same attribute to denote the name of the
underlying widget.

Change the `data-type` attributes referring to the widget name to
`data-widget` in order to stop the JS token error spam.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 13e9e3e9e8633c7a54fe5fec1481e9df62594982)

4 years agoMerge pull request #3296 from stangri/19.07-luci-app-https_dns_proxy
Hannu Nyman [Sat, 16 Nov 2019 09:32:32 +0000 (11:32 +0200)]
Merge pull request #3296 from stangri/19.07-luci-app-https_dns_proxy

[19.07] luci-app-https_dns_proxy: remove dnsmasq integration, better service controls, providers as plugins, misc fixes

4 years agoMerge pull request #3312 from stangri/19.07-luci-app-advanced-reboot
Hannu Nyman [Sat, 16 Nov 2019 09:22:36 +0000 (11:22 +0200)]
Merge pull request #3312 from stangri/19.07-luci-app-advanced-reboot

luci-app-advanced-reboot: show OpenWrt info on compatible NAND routers

4 years agoluci-app-advanced-reboot: show OpenWrt info on compatible NAND routers 3312/head
Stan Grishin [Fri, 15 Nov 2019 23:41:58 +0000 (16:41 -0700)]
luci-app-advanced-reboot: show OpenWrt info on compatible NAND routers

Signed-off-by: Stan Grishin <stangri@melmac.net>
4 years agoluci-mod-status: ensure comment escaping in iptables status output
Jo-Philipp Wich [Fri, 15 Nov 2019 17:51:30 +0000 (18:51 +0100)]
luci-mod-status: ensure comment escaping in iptables status output

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit b3ef7a17eacc6ce2f2385bbb517c67906dd2a753)

4 years agoluci-mod-status: display secondary lease IPv6 addresses if available
Jo-Philipp Wich [Thu, 14 Nov 2019 12:47:25 +0000 (13:47 +0100)]
luci-mod-status: display secondary lease IPv6 addresses if available

Ref: https://forum.openwrt.org/t/luci-not-showing-2nd-ipv6-address/48271
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit b03ee4a097e01e3a77943292a779f4b959ac17ac)

4 years agorpcd-mod-luci: bump version
Jo-Philipp Wich [Thu, 14 Nov 2019 12:49:40 +0000 (13:49 +0100)]
rpcd-mod-luci: bump version

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 956fd4a579084b486d7b7d78962a49a0c5aa1c7a)

4 years agorpcd-mod-luci: handle multiple IPv6 addresses per lease
Jo-Philipp Wich [Thu, 14 Nov 2019 12:36:18 +0000 (13:36 +0100)]
rpcd-mod-luci: handle multiple IPv6 addresses per lease

Ref: https://forum.openwrt.org/t/luci-not-showing-2nd-ipv6-address/48271
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 824cb658409b0267ab3790178a8e85f0216cef3b)

4 years agoluci-app-statistics: iwinfo: fix interface list preselection
Jo-Philipp Wich [Thu, 14 Nov 2019 10:14:36 +0000 (11:14 +0100)]
luci-app-statistics: iwinfo: fix interface list preselection

Fixes: #3306
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 52a68a43b8f70236bf8276b065458b51983298f1)

4 years agoluci-compat: network.lua: recognize wifi interfaces with nonstandard names
Jo-Philipp Wich [Thu, 14 Nov 2019 10:12:40 +0000 (11:12 +0100)]
luci-compat: network.lua: recognize wifi interfaces with nonstandard names

Ref: https://github.com/openwrt/luci/issues/3306
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 857cd8c7fad3ef38680b2f8a2a7ada43a7892349)

4 years agoluci-mod-status: fix free swap calculation
Jo-Philipp Wich [Thu, 14 Nov 2019 08:30:16 +0000 (09:30 +0100)]
luci-mod-status: fix free swap calculation

Fixes: #3295
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 80c9b6fee0aff23b4c56563612f70ef2c412b7ac)

4 years agoluci-base: network.js: fix getDevices()
Jo-Philipp Wich [Wed, 13 Nov 2019 17:30:22 +0000 (18:30 +0100)]
luci-base: network.js: fix getDevices()

 - Don't filter virtual interfaces
 - Skip duplicate wireless devices

Fixes: #3304
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 304dd37e3fb44843466c38b883fa91b463b5cd1c)

4 years agoluci-app-nlbwon: fix parsing relative interval values from config
Jo-Philipp Wich [Wed, 13 Nov 2019 16:08:58 +0000 (17:08 +0100)]
luci-app-nlbwon: fix parsing relative interval values from config

Fixes: #3302
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 2e8aa301aa2a1aa07438de8dd962c21f0c8559f2)

4 years agoluci-mod-system: sshkeys.js: do not incorrectly filter ecdsa keys on load
Jo-Philipp Wich [Wed, 13 Nov 2019 15:55:28 +0000 (16:55 +0100)]
luci-mod-system: sshkeys.js: do not incorrectly filter ecdsa keys on load

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a3ea891b7e6352f7f723276ef08c1fc40754bdc4)

4 years agoluci-proto-modemmanager: mark as broken
Jo-Philipp Wich [Wed, 13 Nov 2019 13:45:27 +0000 (14:45 +0100)]
luci-proto-modemmanager: mark as broken

Fixes: #3299
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-https_dns_proxy: remove dnsmasq integration, better service controls, provid... 3296/head
Stan Grishin [Wed, 13 Nov 2019 11:26:06 +0000 (04:26 -0700)]
luci-app-https_dns_proxy: remove dnsmasq integration, better service controls, providers as plugins, misc fixes

Signed-off-by: Stan Grishin <stangri@melmac.net>
4 years agoluci-lib-jsonc: store large JSON integer values as Lua doubles
Jo-Philipp Wich [Wed, 13 Nov 2019 08:03:38 +0000 (09:03 +0100)]
luci-lib-jsonc: store large JSON integer values as Lua doubles

Fixes: #3293
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 8da8f38bf97c925f6f113d3b4793edb23e7e0dc2)

4 years agoluci-app-cifsd: mark as broken
Jo-Philipp Wich [Wed, 13 Nov 2019 07:49:07 +0000 (08:49 +0100)]
luci-app-cifsd: mark as broken

Fixes: #3294
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-status: fix graph rendering with XHTML themes
Jo-Philipp Wich [Tue, 12 Nov 2019 10:51:49 +0000 (11:51 +0100)]
luci-mod-status: fix graph rendering with XHTML themes

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 95bfb3f363d130566550e61565fc8f7073020763)

4 years agoluci-mod-system: leds.js: display default state as On/Off
Jo-Philipp Wich [Mon, 11 Nov 2019 09:14:03 +0000 (10:14 +0100)]
luci-mod-system: leds.js: display default state as On/Off

Fixes: #3289
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 0731f7e5e43f490c39e364e43988a59ee2be9576)

4 years agoluci-theme-bootstrap: fix mobile input cutoff in dropdowns
Jo-Philipp Wich [Sun, 10 Nov 2019 18:52:48 +0000 (19:52 +0100)]
luci-theme-bootstrap: fix mobile input cutoff in dropdowns

Fixes: #3285
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit e8abe15483e6e740ed8efae32c2382f999a94a8f)

4 years agoluci-base: ui.js: show filename after selecting upload file
Jo-Philipp Wich [Sun, 10 Nov 2019 18:45:58 +0000 (19:45 +0100)]
luci-base: ui.js: show filename after selecting upload file

Fixes: #3286
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 4cc7772ed510e5a851f69521127471867ac9abd3)

4 years agoluci-app-opkg: support nonstandard list locations
Jo-Philipp Wich [Sun, 10 Nov 2019 17:33:49 +0000 (18:33 +0100)]
luci-app-opkg: support nonstandard list locations

Fixes: #3287
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 948c1fe6023a37e72ab2db1d5b1ad7f4436add3e)

4 years agoluci-theme-bootstrap: minor CSS fixes
Jo-Philipp Wich [Sun, 10 Nov 2019 16:33:48 +0000 (17:33 +0100)]
luci-theme-bootstrap: minor CSS fixes

 - Don't remove background for disabled buttons
 - Move inactive tooltip element further out of the view area

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 3d0861de2082fe9eb6cef0c480447d8661f783df)

4 years agoluci-app-openvpn: do not make "remote" option dependent on client mode
Jo-Philipp Wich [Fri, 8 Nov 2019 15:03:09 +0000 (16:03 +0100)]
luci-app-openvpn: do not make "remote" option dependent on client mode

Fixes: #3279
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 6496ed88a6dfa15c0f34f3865a559e1c405cdc4f)

4 years agoluci-theme-bootstrap: fix ifacebox cutoff on OS X Safari
Jo-Philipp Wich [Fri, 8 Nov 2019 14:58:39 +0000 (15:58 +0100)]
luci-theme-bootstrap: fix ifacebox cutoff on OS X Safari

Fixes: #3278
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 1116575513d4874693f56453034e25edcbb4ce1f)

4 years agoluci-mod-status: remove inline CSS hacks from wifi status
Jo-Philipp Wich [Fri, 8 Nov 2019 14:58:17 +0000 (15:58 +0100)]
luci-mod-status: remove inline CSS hacks from wifi status

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 6ee61230616245baac02bba903266c881d216008)

4 years agoluci-mod-network: dhcp.js: fix DNSSEC feature probing
Jo-Philipp Wich [Fri, 8 Nov 2019 09:33:44 +0000 (10:33 +0100)]
luci-mod-network: dhcp.js: fix DNSSEC feature probing

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 0513edade863b517a2ab49d3d66543ffd7ebcade)

4 years agoluci-base, luci-mod-network: migrate getDUIDHints method to C plugin
Jo-Philipp Wich [Fri, 8 Nov 2019 09:25:30 +0000 (10:25 +0100)]
luci-base, luci-mod-network: migrate getDUIDHints method to C plugin

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 392ba53effa26d2592db14c607c7d3103cce34d3)

4 years agorpcd-mod-luci: various improvements
Jo-Philipp Wich [Fri, 8 Nov 2019 09:01:06 +0000 (10:01 +0100)]
rpcd-mod-luci: various improvements

 - Properly handle infinite dnsmasq leases
 - Use a more efficient approach to free internal AVL trees
 - Remove redundant uci context creation
 - Add new getDUIDHints method

Fixes: #3277
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit b3681bd9dc13699759329c76ba77a0bef3ebb340)

4 years agoluci-mod-network: wireless.js: restore client disconnect functionality
Jo-Philipp Wich [Thu, 7 Nov 2019 11:18:35 +0000 (12:18 +0100)]
luci-mod-network: wireless.js: restore client disconnect functionality

Ref: https://forum.openwrt.org/t/19-07-luci-disconnect-missing/47897
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit c00d860981007a74d497f79640c446883bffe0ca)

4 years agoluci-mod-status: 60_wifi.js: use new network.js functions for wifi status
Jo-Philipp Wich [Thu, 7 Nov 2019 11:12:15 +0000 (12:12 +0100)]
luci-mod-status: 60_wifi.js: use new network.js functions for wifi status

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 9fac447bc844dc9467bf8141a96e06fb3d21c801)

4 years agoluci-base: network.js: introduce further API functions
Jo-Philipp Wich [Thu, 7 Nov 2019 11:08:15 +0000 (12:08 +0100)]
luci-base: network.js: introduce further API functions

 - Add Network.getWifiNetworks() to simplify fetching *all* networks
   instead of building a list by iterating each radio first

 - Add Network.WifiNetwork.isClientDisconnectSupported() to check whether
   a wireless network supports client disconnections

 - Add Network.WifiNetwork.disconnectClient() to trigger client
   disconnections via hostapd

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a2dc6c8216e695d758a3667a9dbc299188b423cd)

4 years agoluci-mod-status: fix stray "null" in wifi assoclist status view
Jo-Philipp Wich [Thu, 7 Nov 2019 07:29:06 +0000 (08:29 +0100)]
luci-mod-status: fix stray "null" in wifi assoclist status view

Fixes: #3272
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 861ec9e82128e151bfeda1a1343323adbddc181b)

4 years agoluci-base: network.js: prevent duplicate wan interface reporting
Jo-Philipp Wich [Wed, 6 Nov 2019 12:22:10 +0000 (13:22 +0100)]
luci-base: network.js: prevent duplicate wan interface reporting

Fixes: #3269
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a8a76978298ba1cfddadbb48da73fa2abde82692)

4 years agoluci-mod-status: 10_system.js: fix local time display
Jo-Philipp Wich [Tue, 5 Nov 2019 21:15:01 +0000 (22:15 +0100)]
luci-mod-status: 10_system.js: fix local time display

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit b27b5cfb51de91af90a05a6f31dba7511dedf8b7)

4 years agoTranslated using Weblate (Chinese (Simplified))
Hosted Weblate [Tue, 5 Nov 2019 01:58:01 +0000 (02:58 +0100)]
Translated using Weblate (Chinese (Simplified))

Currently translated at 91.7% (44 of 48 strings)

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

Signed-off-by: Richard Yu <yurichard3839@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 12.1% (4 of 33 strings)

Translation: OpenWrt/LuCI/applications/wifischedule
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswifischedule/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Ukrainian)

Currently translated at 27.3% (9 of 33 strings)

Translation: OpenWrt/LuCI/applications/wifischedule
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswifischedule/uk/

Signed-off-by: Yurii Petrashko <yuripet@gmail.com>
Translated using Weblate (Ukrainian)

Currently translated at 7.2% (10 of 139 strings)

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

Signed-off-by: Yurii Petrashko <yuripet@gmail.com>
Translated using Weblate (German)

Currently translated at 75.5% (105 of 139 strings)

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

Signed-off-by: Paul Spooren <mail@aparcar.org>
Translated using Weblate (Chinese (Simplified))

Currently translated at 7.8% (4 of 51 strings)

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

Signed-off-by: Richard Yu <yurichard3839@gmail.com>
Translated using Weblate (Ukrainian)

Currently translated at 14.7% (11 of 75 strings)

Translation: OpenWrt/LuCI/applications/shadowsocks-libev
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshadowsocks-libev/uk/

Signed-off-by: Yurii Petrashko <yuripet@gmail.com>
Translated using Weblate (German)

Currently translated at 18.7% (14 of 75 strings)

Translation: OpenWrt/LuCI/applications/shadowsocks-libev
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshadowsocks-libev/de/

Signed-off-by: Paul Spooren <mail@aparcar.org>
Translated using Weblate (German)

Currently translated at 100.0% (20 of 20 strings)

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

Signed-off-by: Paul Spooren <mail@aparcar.org>
Translated using Weblate (Ukrainian)

Currently translated at 15.8% (6 of 38 strings)

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

Signed-off-by: Yurii Petrashko <yuripet@gmail.com>
Translated using Weblate (German)

Currently translated at 39.5% (15 of 38 strings)

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

Signed-off-by: Paul Spooren <mail@aparcar.org>
Translated using Weblate (Portuguese)

Currently translated at 14.1% (9 of 64 strings)

Translation: OpenWrt/LuCI/applications/dnscrypt-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdnscrypt-proxy/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Chinese (Simplified))

Currently translated at 50.0% (3 of 6 strings)

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

Signed-off-by: Richard Yu <yurichard3839@gmail.com>
Translated using Weblate (Ukrainian)

Currently translated at 32.0% (8 of 25 strings)

Translation: OpenWrt/LuCI/applications/dcwapd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdcwapd/uk/

Signed-off-by: Yurii Petrashko <yuripet@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 100.0% (104 of 104 strings)

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

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Ukrainian)

Currently translated at 17.3% (27 of 156 strings)

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

Signed-off-by: Yurii Petrashko <yuripet@gmail.com>
Translated using Weblate (Chinese (Simplified))

Currently translated at 31.2% (5 of 16 strings)

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

Signed-off-by: Richard Yu <yurichard3839@gmail.com>
Translated using Weblate (Ukrainian)

Currently translated at 31.6% (6 of 19 strings)

Translation: OpenWrt/LuCI/applications/ltqtapi
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsltqtapi/uk/

Signed-off-by: Yurii Petrashko <yuripet@gmail.com>
Translated using Weblate (Ukrainian)

Currently translated at 4.0% (7 of 177 strings)

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

Signed-off-by: Yurii Petrashko <yuripet@gmail.com>
Translated using Weblate (German)

Currently translated at 5.6% (10 of 177 strings)

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

Signed-off-by: Paul Spooren <mail@aparcar.org>
Translated using Weblate (Chinese (Simplified))

Currently translated at 21.7% (5 of 23 strings)

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

Signed-off-by: Richard Yu <yurichard3839@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 28.8% (34 of 118 strings)

Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Ukrainian)

Currently translated at 22.0% (26 of 118 strings)

Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/uk/

Signed-off-by: Yurii Petrashko <yuripet@gmail.com>
Translated using Weblate (Chinese (Simplified))

Currently translated at 12.7% (8 of 63 strings)

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

Signed-off-by: Richard Yu <yurichard3839@gmail.com>
Translated using Weblate (Ukrainian)

Currently translated at 17.5% (11 of 63 strings)

Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/uk/

Signed-off-by: Yurii Petrashko <yuripet@gmail.com>
Translated using Weblate (Chinese (Simplified))

Currently translated at 12.5% (3 of 24 strings)

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

Signed-off-by: Richard Yu <yurichard3839@gmail.com>
Translated using Weblate (German)

Currently translated at 13.9% (10 of 72 strings)

Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/de/

Signed-off-by: Paul Spooren <mail@aparcar.org>
Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (46 of 46 strings)

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

Translated using Weblate (Ukrainian)

Currently translated at 21.7% (10 of 46 strings)

Translation: OpenWrt/LuCI/applications/minidlna
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsminidlna/uk/

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (46 of 46 strings)

Translation: OpenWrt/LuCI/applications/upnp
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsupnp/uk/

Translated using Weblate (Chinese (Simplified))

Currently translated at 4.5% (1 of 22 strings)

Translation: OpenWrt/LuCI/applications/rp-pppoe-server
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsrp-pppoe-server/zh_Hans/

Translated using Weblate (Ukrainian)

Currently translated at 12.9% (25 of 194 strings)

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

Translated using Weblate (Ukrainian)

Currently translated at 93.8% (30 of 32 strings)

Translation: OpenWrt/LuCI/applications/ahcp
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsahcp/uk/

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (12 of 12 strings)

Translation: OpenWrt/LuCI/applications/wol
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswol/uk/

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (169 of 169 strings)

Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/uk/

Translated using Weblate (Chinese (Simplified))

Currently translated at 4.5% (5 of 112 strings)

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

Translated using Weblate (Ukrainian)

Currently translated at 99.1% (1298 of 1310 strings)

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

Signed-off-by: Yurii Petrashko <yuripet@gmail.com>
Translated using Weblate (Ukrainian)

Currently translated at 100.0% (68 of 68 strings)

Translation: OpenWrt/LuCI/applications/opkg
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopkg/uk/
(cherry picked from commit 52d9ed39397a079748d3e0818a4127ee7cc247eb)

4 years agoREADME: use correct weblate badge and add status
Paul Spooren [Mon, 4 Nov 2019 22:50:51 +0000 (12:50 -1000)]
README: use correct weblate badge and add status

The weblate badge show the overall translation status, however before
only for the luci base package, now for all components at once.

Also add a overview to the bottom which languages need more attention,
hopefully motivating some more people to contribute.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit edaf67ad6ad64db779e12e8964ab6a0aeefb4b6c)

4 years agoluci-app-shadowsocks-libev: zh-cn: update translations
Yousong Zhou [Mon, 4 Nov 2019 06:03:49 +0000 (06:03 +0000)]
luci-app-shadowsocks-libev: zh-cn: update translations

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit 2ff7d246d669ecdf3536a9b3512b0b30030b3988)

4 years agoluci-app-shadowsocks-libev: resync translations
Paul Spooren [Mon, 4 Nov 2019 03:28:49 +0000 (17:28 -1000)]
luci-app-shadowsocks-libev: resync translations

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit 9f07aa04fb219ca456b90e31aea5b0f2fe097078)

4 years agoi18n: update from Weblate
Hosted Weblate [Mon, 4 Nov 2019 01:54:23 +0000 (02:54 +0100)]
i18n: update from Weblate

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: ssantos <ssantos@web.de>
Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
(cherry picked from commit 405080916c0bdf0b27219f4519388c8f5a64bdb8)

4 years agoluci-mod-system: validate log_ip as "host" instead of just ipaddr
Yousong Zhou [Sun, 3 Nov 2019 02:12:07 +0000 (02:12 +0000)]
luci-mod-system: validate log_ip as "host" instead of just ipaddr

Fixes FS#2444

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit 90051b6858c002ff146bb77457f86f172f88f9e4)

4 years agotreewide: resync translations
Jo-Philipp Wich [Sun, 3 Nov 2019 22:01:41 +0000 (23:01 +0100)]
treewide: resync translations

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoopenwrt-19.07: merge current master branch
Jo-Philipp Wich [Sun, 3 Nov 2019 21:21:57 +0000 (22:21 +0100)]
openwrt-19.07: merge current master branch

Fixes: #3092
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agotreewide: require ui.js explicitly
Jo-Philipp Wich [Sun, 3 Nov 2019 20:54:40 +0000 (21:54 +0100)]
treewide: require ui.js explicitly

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-status: move processes.js to correct directory
Jo-Philipp Wich [Sun, 3 Nov 2019 20:18:36 +0000 (21:18 +0100)]
luci-mod-status: move processes.js to correct directory

Fixes: a43b1c646 ("luci-base, luci-mod-status: convert process status to client side view")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agotreewide: move server side CBI support to luci-compat
Jo-Philipp Wich [Sun, 3 Nov 2019 19:49:31 +0000 (20:49 +0100)]
treewide: move server side CBI support to luci-compat

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base, luci-app-firewall: port custom rules to client side view
Jo-Philipp Wich [Sun, 3 Nov 2019 19:34:57 +0000 (20:34 +0100)]
luci-base, luci-app-firewall: port custom rules to client side view

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base, luci-mod-status: convert process status to client side view
Jo-Philipp Wich [Sun, 3 Nov 2019 19:07:58 +0000 (20:07 +0100)]
luci-base, luci-mod-status: convert process status to client side view

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: add luci/getProcessList RPC method
Jo-Philipp Wich [Sun, 3 Nov 2019 17:43:44 +0000 (18:43 +0100)]
luci-base: add luci/getProcessList RPC method

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-statistics: stat-genconfig: add missing i18n module import
Jo-Philipp Wich [Sun, 3 Nov 2019 19:01:39 +0000 (20:01 +0100)]
luci-app-statistics: stat-genconfig: add missing i18n module import

Fixes the following runtime error:

    /usr/bin/lua: /usr/bin/stat-genconfig:289: attempt to index field 'i18n' (a nil value)
    stack traceback:
        /usr/bin/stat-genconfig:289: in main chunk

Reported-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agorpcd-mod-luci: properly deal with failing ubus requests
Jo-Philipp Wich [Sun, 3 Nov 2019 18:53:05 +0000 (19:53 +0100)]
rpcd-mod-luci: properly deal with failing ubus requests

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3248 from weblate/weblate-openwrt-luci
Jo-Philipp Wich [Sun, 3 Nov 2019 17:31:40 +0000 (18:31 +0100)]
Merge pull request #3248 from weblate/weblate-openwrt-luci

Update from Weblate

4 years agoluci-mod-status: 60_wifi.js: fix channel and bitrate display
Jo-Philipp Wich [Sun, 3 Nov 2019 17:12:28 +0000 (18:12 +0100)]
luci-mod-status: 60_wifi.js: fix channel and bitrate display

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-system: sshkeys.js: explicitely require ui.js
Jo-Philipp Wich [Sun, 3 Nov 2019 17:03:01 +0000 (18:03 +0100)]
luci-mod-system: sshkeys.js: explicitely require ui.js

While ui.js is implicitely autoloaded by other classes, we need to require
it directly in the view to avoid race conditions during rendering.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agotreewide: move templates and libraries not used by the core to luci-compat
Jo-Philipp Wich [Sun, 3 Nov 2019 16:49:58 +0000 (17:49 +0100)]
treewide: move templates and libraries not used by the core to luci-compat

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-network: remove unused `iface_down` endpoint
Jo-Philipp Wich [Sun, 3 Nov 2019 16:35:32 +0000 (17:35 +0100)]
luci-mod-network: remove unused `iface_down` endpoint

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base, luci-mod-network: invoke ifdown directly in interface overview
Jo-Philipp Wich [Sun, 3 Nov 2019 16:29:29 +0000 (17:29 +0100)]
luci-base, luci-mod-network: invoke ifdown directly in interface overview

Replace the `iface_down` endpoint with a direct invocation of `/sbin/ifdown`
and replace the interface connectivity check with a call to the new
`remote_addr` endpoint.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-network: add admin/network/remote_addr endpoint
Jo-Philipp Wich [Sun, 3 Nov 2019 16:26:22 +0000 (17:26 +0100)]
luci-mod-network: add admin/network/remote_addr endpoint

The remote_addr endpoint allows clients to query their external IP address
as seen by the device as well as the inbound network devices and logical
interfaces on the router.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agorpcd-mod-luci: handle DHCPv6 leases in dnsmasq lease file
e9hack [Sun, 3 Nov 2019 08:05:37 +0000 (09:05 +0100)]
rpcd-mod-luci: handle DHCPv6 leases in dnsmasq lease file

For DHCPv6, the second entry of a lease is the IAID. The parsing code
expects a MAC instead of a IAID.

Reported-by: Hartmut Birr <e9hack@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base, luci-mod-status: convert realtime stats to client side views
Jo-Philipp Wich [Sat, 2 Nov 2019 21:55:59 +0000 (22:55 +0100)]
luci-base, luci-mod-status: convert realtime stats to client side views

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: add luci/getRealtimeStats and luci/getConntrackList rpc methods
Jo-Philipp Wich [Sat, 2 Nov 2019 21:47:25 +0000 (22:47 +0100)]
luci-base: add luci/getRealtimeStats and luci/getConntrackList rpc methods

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoMerge pull request #3256 from ysc3839/gridsection
Jo-Philipp Wich [Sun, 3 Nov 2019 16:55:09 +0000 (17:55 +0100)]
Merge pull request #3256 from ysc3839/gridsection

luci-base: form.js: fix GridSection not using user-input name when add

4 years agoluci-base: form.js: fix GridSection not using user-input name when add 3256/head
Richard Yu [Sun, 3 Nov 2019 16:19:33 +0000 (00:19 +0800)]
luci-base: form.js: fix GridSection not using user-input name when add

Signed-off-by: Richard Yu <yurichard3839@gmail.com>
4 years agoMerge pull request #2672 from ZachCook/feature_status_add_available_cached
Florian Eckert [Sun, 3 Nov 2019 11:03:13 +0000 (12:03 +0100)]
Merge pull request #2672 from ZachCook/feature_status_add_available_cached

luci-mod-status: use available and cached memory for progress bars

4 years agoluci-mod-status: use available and cached memory for progress bars 2672/head
Zachary Cook [Sat, 2 Nov 2019 21:01:58 +0000 (17:01 -0400)]
luci-mod-status: use available and cached memory for progress bars

Fixes: #1148

Uses available and cached memory from /proc/meminfo via procd, and carefully
handles the cases where they are nil or zero, so as to not require specific
linux or procd versions to function

MemAvailable is a better estimate than free + buffered/cached, see:
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0

Also adds a new progressbar that shows cached memory if not nil

Signed-off-by: Zachary Cook <zachcook1991@gmail.com>
4 years agorpcd-mod-luci: bump version
Jo-Philipp Wich [Sat, 2 Nov 2019 19:44:22 +0000 (20:44 +0100)]
rpcd-mod-luci: bump version

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agorpcd-mod-luci: fix crash on not existing uci options
Jo-Philipp Wich [Sat, 2 Nov 2019 19:13:00 +0000 (20:13 +0100)]
rpcd-mod-luci: fix crash on not existing uci options

Checking the return value of uci_lookup_ptr() is not enough to ensure that
the requested optiomn has actually been found.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: sys.lua: lazy-load luci.model.network
Jo-Philipp Wich [Fri, 1 Nov 2019 12:42:30 +0000 (13:42 +0100)]
luci-base: sys.lua: lazy-load luci.model.network

This allows using luci.sys without installed luci.model.network class.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoTranslated using Weblate (Portuguese) 3248/head
Hosted Weblate [Sat, 2 Nov 2019 16:07:24 +0000 (17:07 +0100)]
Translated using Weblate (Portuguese)

Currently translated at 16.7% (8 of 48 strings)

Translation: OpenWrt/LuCI/applications/ttyd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Spanish)

Currently translated at 100.0% (50 of 50 strings)

Translation: OpenWrt/LuCI/applications/mjpg-streamer
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmjpg-streamer/es/

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 10.0% (5 of 50 strings)

Translation: OpenWrt/LuCI/applications/mjpg-streamer
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmjpg-streamer/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Spanish)

Currently translated at 100.0% (139 of 139 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 67.6% (94 of 139 strings)

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

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)

Currently translated at 7.8% (4 of 51 strings)

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

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Spanish)

Currently translated at 100.0% (75 of 75 strings)

Translation: OpenWrt/LuCI/applications/shadowsocks-libev
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshadowsocks-libev/es/

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 13.3% (10 of 75 strings)

Translation: OpenWrt/LuCI/applications/shadowsocks-libev
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshadowsocks-libev/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)

Currently translated at 9.4% (6 of 64 strings)

Translation: OpenWrt/LuCI/applications/dnscrypt-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdnscrypt-proxy/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)

Currently translated at 16.7% (1 of 6 strings)

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

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)

Currently translated at 50.0% (3 of 6 strings)

Translation: OpenWrt/LuCI/applications/squid
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssquid/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Spanish)

Currently translated at 100.0% (12 of 12 strings)

Translation: OpenWrt/LuCI/applications/shairplay
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshairplay/es/

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 100.0% (39 of 39 strings)

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

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)

Currently translated at 100.0% (25 of 25 strings)

Translation: OpenWrt/LuCI/applications/dcwapd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdcwapd/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)

Currently translated at 21.2% (22 of 104 strings)

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

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Spanish)

Currently translated at 100.0% (156 of 156 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 14.1% (22 of 156 strings)

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

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Spanish)

Currently translated at 100.0% (172 of 172 strings)

Translation: OpenWrt/LuCI/applications/aria2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsaria2/es/

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 5.8% (10 of 172 strings)

Translation: OpenWrt/LuCI/applications/aria2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsaria2/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)

Currently translated at 100.0% (22 of 22 strings)

Translation: OpenWrt/LuCI/applications/cifsd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscifsd/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Spanish)

Currently translated at 100.0% (16 of 16 strings)

Translation: OpenWrt/LuCI/applications/udpxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsudpxy/es/

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 21.1% (4 of 19 strings)

Translation: OpenWrt/LuCI/applications/ltqtapi
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsltqtapi/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Spanish)

Currently translated at 100.0% (177 of 177 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 4.0% (7 of 177 strings)

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

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Spanish)

Currently translated at 100.0% (30 of 30 strings)

Translation: OpenWrt/LuCI/applications/dynapoint
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdynapoint/es/

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 16.7% (5 of 30 strings)

Translation: OpenWrt/LuCI/applications/dynapoint
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdynapoint/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Spanish)

Currently translated at 100.0% (124 of 124 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 26.1% (6 of 23 strings)

Translation: OpenWrt/LuCI/applications/lxc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationslxc/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Spanish)

Currently translated at 100.0% (55 of 55 strings)

Translation: OpenWrt/LuCI/applications/dump1090
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdump1090/es/

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 25.0% (2 of 8 strings)

Translation: OpenWrt/LuCI/applications/https_dns_proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps_dns_proxy/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Spanish)

Currently translated at 83.9% (104 of 124 strings)

Translation: OpenWrt/LuCI/applications/radicale
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale/es/

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 9.3% (5 of 54 strings)

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

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)

Currently translated at 21.1% (26 of 123 strings)

Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)

Currently translated at 10.4% (12 of 115 strings)

Translation: OpenWrt/LuCI/applications/nlbwmon
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnlbwmon/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Spanish)

Currently translated at 100.0% (216 of 216 strings)

Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/es/

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 11.6% (25 of 216 strings)

Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)

Currently translated at 14.3% (9 of 63 strings)

Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)

Currently translated at 100.0% (24 of 24 strings)

Translation: OpenWrt/LuCI/applications/cshark
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscshark/pt/

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)

Currently translated at 100.0% (19 of 19 strings)

Translation: OpenWrt/LuCI/applications/fwknopd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfwknopd/pt/

Translated using Weblate (Spanish)

Currently translated at 98.9% (92 of 93 strings)

Translation: OpenWrt/LuCI/applications/transmission
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstransmission/es/

Translated using Weblate (Portuguese)

Currently translated at 54.3% (25 of 46 strings)

Translation: OpenWrt/LuCI/applications/minidlna
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsminidlna/pt/

Translated using Weblate (Portuguese)

Currently translated at 32.6% (15 of 46 strings)

Translation: OpenWrt/LuCI/applications/upnp
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsupnp/pt/

Translated using Weblate (Spanish)

Currently translated at 100.0% (194 of 194 strings)

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

Translated using Weblate (Portuguese)

Currently translated at 46.9% (91 of 194 strings)

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

Translated using Weblate (Portuguese)

Currently translated at 100.0% (11 of 11 strings)

Translation: OpenWrt/LuCI/applications/watchcat
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/pt/

Translated using Weblate (Portuguese)

Currently translated at 100.0% (22 of 22 strings)

Translation: OpenWrt/LuCI/applications/samba
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba/pt/

Translated using Weblate (Spanish)

Currently translated at 100.0% (194 of 194 strings)

Translation: OpenWrt/LuCI/applications/openvpn
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/es/

Translated using Weblate (Portuguese)

Currently translated at 87.1% (169 of 194 strings)

Translation: OpenWrt/LuCI/applications/openvpn
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/pt/

Translated using Weblate (Portuguese)

Currently translated at 5.2% (3 of 58 strings)

Translation: OpenWrt/LuCI/applications/uhttpd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsuhttpd/pt/

Translated using Weblate (Portuguese)

Currently translated at 100.0% (31 of 31 strings)

Translation: OpenWrt/LuCI/applications/commands
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/pt/

Translated using Weblate (Portuguese)

Currently translated at 100.0% (10 of 10 strings)

Translation: OpenWrt/LuCI/applications/p910nd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsp910nd/pt/

Translated using Weblate (Portuguese)

Currently translated at 49.7% (85 of 171 strings)

Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/pt/

Translated using Weblate (Spanish)

Currently translated at 4.5% (5 of 112 strings)

Translation: OpenWrt/LuCI/applications/radicale2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/es/

Translated using Weblate (Portuguese)

Currently translated at 6.2% (7 of 112 strings)

Translation: OpenWrt/LuCI/applications/radicale2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/pt/

Translated using Weblate (Portuguese)

Currently translated at 100.0% (57 of 57 strings)

Translation: OpenWrt/LuCI/applications/polipo
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspolipo/pt/

Translated using Weblate (Portuguese)

Currently translated at 62.6% (147 of 235 strings)

Translation: OpenWrt/LuCI/applications/statistics
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/pt/

Translated using Weblate (Portuguese)

Currently translated at 71.0% (22 of 31 strings)

Translation: OpenWrt/LuCI/applications/samba4
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba4/pt/

Translated using Weblate (Spanish)

Currently translated at 100.0% (1310 of 1310 strings)

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

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 88.8% (1163 of 1310 strings)

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

Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)

Currently translated at 88.7% (1162 of 1310 strings)

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

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 14.6% (7 of 48 strings)

Translation: OpenWrt/LuCI/applications/ttyd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 8.0% (4 of 50 strings)

Translation: OpenWrt/LuCI/applications/mjpg-streamer
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmjpg-streamer/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 6.1% (2 of 33 strings)

Translation: OpenWrt/LuCI/applications/wifischedule
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswifischedule/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 20.1% (28 of 139 strings)

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

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 5.9% (3 of 51 strings)

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

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 20.8% (5 of 24 strings)

Translation: OpenWrt/LuCI/applications/wireguard
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswireguard/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 10.7% (8 of 75 strings)

Translation: OpenWrt/LuCI/applications/shadowsocks-libev
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshadowsocks-libev/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 50.0% (3 of 6 strings)

Translation: OpenWrt/LuCI/applications/squid
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssquid/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 25.0% (3 of 12 strings)

Translation: OpenWrt/LuCI/applications/shairplay
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshairplay/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 16.0% (4 of 25 strings)

Translation: OpenWrt/LuCI/applications/dcwapd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdcwapd/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 10.9% (17 of 156 strings)

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

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 4.7% (8 of 172 strings)

Translation: OpenWrt/LuCI/applications/aria2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsaria2/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 13.6% (3 of 22 strings)

Translation: OpenWrt/LuCI/applications/cifsd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscifsd/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 25.0% (4 of 16 strings)

Translation: OpenWrt/LuCI/applications/udpxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsudpxy/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 15.8% (3 of 19 strings)

Translation: OpenWrt/LuCI/applications/ltqtapi
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsltqtapi/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 3.4% (6 of 177 strings)

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

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 13.3% (4 of 30 strings)

Translation: OpenWrt/LuCI/applications/dynapoint
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdynapoint/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 2.4% (3 of 124 strings)

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

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 17.4% (4 of 23 strings)

Translation: OpenWrt/LuCI/applications/lxc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationslxc/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 1.8% (1 of 55 strings)

Translation: OpenWrt/LuCI/applications/dump1090
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdump1090/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 8.1% (10 of 124 strings)

Translation: OpenWrt/LuCI/applications/radicale
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 7.4% (4 of 54 strings)

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

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 16.3% (20 of 123 strings)

Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 7.8% (9 of 115 strings)

Translation: OpenWrt/LuCI/applications/nlbwmon
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnlbwmon/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 7.4% (2 of 27 strings)

Translation: OpenWrt/LuCI/applications/noddos
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnoddos/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 9.7% (21 of 216 strings)

Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 11.1% (7 of 63 strings)

Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 16.7% (4 of 24 strings)

Translation: OpenWrt/LuCI/applications/cshark
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscshark/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 27.8% (20 of 72 strings)

Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/pt/

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Translated using Weblate (Portuguese)

Currently translated at 26.9% (25 of 93 strings)

Translation: OpenWrt/LuCI/applications/transmission
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstransmission/pt/

Translated using Weblate (Portuguese)

Currently translated at 28.3% (13 of 46 strings)

Translation: OpenWrt/LuCI/applications/upnp
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsupnp/pt/

Translated using Weblate (Portuguese)

Currently translated at 4.5% (1 of 22 strings)

Translation: OpenWrt/LuCI/applications/rp-pppoe-server
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsrp-pppoe-server/pt/

Translated using Weblate (Portuguese)

Currently translated at 46.4% (90 of 194 strings)

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

Translated using Weblate (Portuguese)

Currently translated at 90.9% (20 of 22 strings)

Translation: OpenWrt/LuCI/applications/samba
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba/pt/

Translated using Weblate (Portuguese)

Currently translated at 86.6% (168 of 194 strings)

Translation: OpenWrt/LuCI/applications/openvpn
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/pt/

Translated using Weblate (Portuguese)

Currently translated at 5.2% (3 of 58 strings)

Translation: OpenWrt/LuCI/applications/uhttpd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsuhttpd/pt/

Translated using Weblate (Portuguese)

Currently translated at 80.6% (25 of 31 strings)

Translation: OpenWrt/LuCI/applications/commands
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/pt/

Translated using Weblate (Portuguese)

Currently translated at 90.0% (9 of 10 strings)

Translation: OpenWrt/LuCI/applications/p910nd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsp910nd/pt/

Translated using Weblate (Portuguese)

Currently translated at 49.7% (85 of 171 strings)

Translation: OpenWrt/LuCI/applications/firewall
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/pt/

Translated using Weblate (Portuguese)

Currently translated at 6.2% (7 of 112 strings)

Translation: OpenWrt/LuCI/applications/radicale2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale2/pt/

Translated using Weblate (Portuguese)

Currently translated at 100.0% (57 of 57 strings)

Translation: OpenWrt/LuCI/applications/polipo
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationspolipo/pt/

Translated using Weblate (Portuguese)

Currently translated at 33.8% (27 of 80 strings)

Translation: OpenWrt/LuCI/applications/splash
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssplash/pt/

Translated using Weblate (Portuguese)

Currently translated at 4.5% (6 of 133 strings)

Translation: OpenWrt/LuCI/applications/nut
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/pt/

Translated using Weblate (Portuguese)

Currently translated at 62.1% (146 of 235 strings)

Translation: OpenWrt/LuCI/applications/statistics
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/pt/

Translated using Weblate (Portuguese)

Currently translated at 58.1% (18 of 31 strings)

Translation: OpenWrt/LuCI/applications/samba4
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssamba4/pt/

Translated using Weblate (Portuguese)

Currently translated at 88.7% (1162 of 1310 strings)

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

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
4 years agorpcd-mod-luci: depend on libnl-tiny, do not runtime depend on libiwinfo
Jo-Philipp Wich [Sat, 2 Nov 2019 13:53:14 +0000 (14:53 +0100)]
rpcd-mod-luci: depend on libnl-tiny, do not runtime depend on libiwinfo

Also fix package description.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-system: flash.js: upon sysupgrade, select reconnect ip by keep state
Jo-Philipp Wich [Fri, 1 Nov 2019 11:45:00 +0000 (12:45 +0100)]
luci-mod-system: flash.js: upon sysupgrade, select reconnect ip by keep state

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-system: flash.js: fix flash erase modal
Jo-Philipp Wich [Fri, 1 Nov 2019 11:42:48 +0000 (12:42 +0100)]
luci-mod-system: flash.js: fix flash erase modal

The firstboot rpc call might not return, therefor do not wait on promise
fullfillment but display modal dialog right away.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-network: fix disabled state in wifi settings modal
Jo-Philipp Wich [Fri, 1 Nov 2019 11:32:17 +0000 (12:32 +0100)]
luci-mod-network: fix disabled state in wifi settings modal

Also auto-enable the radio upon network join.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-app-opkg: add ipk upload feature
Richard Yu [Wed, 23 Oct 2019 12:22:11 +0000 (20:22 +0800)]
luci-app-opkg: add ipk upload feature

Signed-off-by: Richard Yu <yurichard3839@gmail.com>
[fix duplicate upload errors, remove temporary file, tweak style]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base, luci-mod-system: move file upload handling to ui.js
Jo-Philipp Wich [Fri, 1 Nov 2019 08:00:23 +0000 (09:00 +0100)]
luci-base, luci-mod-system: move file upload handling to ui.js

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-system: use declarative dependencies in controller
Jo-Philipp Wich [Thu, 31 Oct 2019 18:04:04 +0000 (19:04 +0100)]
luci-mod-system: use declarative dependencies in controller

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-status: use declarative dependencies in controller
Jo-Philipp Wich [Thu, 31 Oct 2019 17:49:23 +0000 (18:49 +0100)]
luci-mod-status: use declarative dependencies in controller

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-network: use declarative dependencies in controller
Jo-Philipp Wich [Thu, 31 Oct 2019 17:46:51 +0000 (18:46 +0100)]
luci-mod-network: use declarative dependencies in controller

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: dispatcher.lua: support declarative node dependencies
Jo-Philipp Wich [Thu, 31 Oct 2019 17:25:23 +0000 (18:25 +0100)]
luci-base: dispatcher.lua: support declarative node dependencies

Introduce two new properties for page nodes to allow for declaratively
specifiying system dependencies which is useful to e.g. make certain
views depend on specific uci values or the presence of certain files.

The recognized properties are:

 - `uci_depends` - a nested table in one of the following forms:

     1) `{ config = { section = { option = "exact_value" } }`
     2) `{ config = { section = { option = true } }`
     3) `{ config = { section = "exact_type" } }`
     4) `{ config = { section = true } }`
     5) `{ config = true }`

   Depending on the declaration, the uci option or section type must either
   match the given "exact_value" or "exact_type" values or be a non-nil value
   in case boolean "true" is specified.

 - `file_depends` - a flat lists of file paths that must be accessible

   If a path listed in `file_depends` points to a directory, that directory
   must be not empty, otherwise it suffices if the path exists.

Examples:

 - Only display the node if an /etc/config/wireless file exists with
   a "config wifi-device radio0" section.

    node = page(...)
    node.uci_depends = { wireless = { radio0 = "wifi-device" } }

 - Only display the node when swconfig is installed.

    node = page(...)
    node.file_depends = { "/sbin/swconfig" }

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-network: interfaces.js: issue iface restart via file/exec rpc call
Jo-Philipp Wich [Thu, 31 Oct 2019 16:37:55 +0000 (17:37 +0100)]
luci-mod-network: interfaces.js: issue iface restart via file/exec rpc call

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-network: wireless.js: issue wifi restart via file/exec rpc call
Jo-Philipp Wich [Thu, 31 Oct 2019 16:27:36 +0000 (17:27 +0100)]
luci-mod-network: wireless.js: issue wifi restart via file/exec rpc call

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: remove unused Lua code
Jo-Philipp Wich [Thu, 31 Oct 2019 15:43:48 +0000 (16:43 +0100)]
luci-base: remove unused Lua code

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-mod-status: reimplement index status page as client side view
Jo-Philipp Wich [Thu, 31 Oct 2019 15:38:31 +0000 (16:38 +0100)]
luci-mod-status: reimplement index status page as client side view

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base, luci-mod-system: replace luci/setUmount with fs.exec calls
Jo-Philipp Wich [Thu, 31 Oct 2019 15:25:49 +0000 (16:25 +0100)]
luci-base, luci-mod-system: replace luci/setUmount with fs.exec calls

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base, luci-mod-system: replace luci/setReboot with fs.exec
Jo-Philipp Wich [Thu, 31 Oct 2019 14:54:21 +0000 (15:54 +0100)]
luci-base, luci-mod-system: replace luci/setReboot with fs.exec

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: consolidate network.js data acquisition
Jo-Philipp Wich [Thu, 31 Oct 2019 14:01:26 +0000 (15:01 +0100)]
luci-base: consolidate network.js data acquisition

The new luci-rpc/getNetworkDevices procedure offers netdev enumeration
with included IPv4 and IPv6 address information as well as 64bit traffic
counters, so we can remove the calls to network.device/status and
luci/getIfaddrs now as we're able to obtain all info from a single source.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: migrate luci/getNetworkDevices to C plugin
Jo-Philipp Wich [Thu, 31 Oct 2019 13:57:27 +0000 (14:57 +0100)]
luci-base: migrate luci/getNetworkDevices to C plugin

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: migrate luci/getWirelessDevices to C plugin
Jo-Philipp Wich [Thu, 31 Oct 2019 13:42:03 +0000 (14:42 +0100)]
luci-base: migrate luci/getWirelessDevices to C plugin

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base, luci-mod-network, luci-app-firewall: migrate luci/getHostHints
Jo-Philipp Wich [Thu, 31 Oct 2019 13:37:07 +0000 (14:37 +0100)]
luci-base, luci-mod-network, luci-app-firewall: migrate luci/getHostHints

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base, luci-mod-network: migrate luci/getDHCPLeases to C plugin
Jo-Philipp Wich [Thu, 31 Oct 2019 13:25:53 +0000 (14:25 +0100)]
luci-base, luci-mod-network: migrate luci/getDHCPLeases to C plugin

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: migrate luci/getBoardJSON to C plugin
Jo-Philipp Wich [Thu, 31 Oct 2019 13:15:40 +0000 (14:15 +0100)]
luci-base: migrate luci/getBoardJSON to C plugin

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agoluci-base: depend on rpcd-mod-luci
Jo-Philipp Wich [Thu, 31 Oct 2019 13:13:27 +0000 (14:13 +0100)]
luci-base: depend on rpcd-mod-luci

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agolibs: add rpcd-mod-luci
Jo-Philipp Wich [Thu, 31 Oct 2019 13:01:38 +0000 (14:01 +0100)]
libs: add rpcd-mod-luci

Add rpcd-mod-luci, a fast rpcd C plugin for speeding up common backend
ubus operations.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
4 years agotranslation: Add Bulgarian to luci.mk
Paul Spooren [Thu, 31 Oct 2019 02:57:43 +0000 (16:57 -1000)]
translation: Add Bulgarian to luci.mk

Signed-off-by: Paul Spooren <mail@aparcar.org>