Stan Grishin [Thu, 19 Dec 2019 18:20:13 +0000 (11:20 -0700)]
luci-app-https-dns-proxy: package name change, support for RFC8484 binary
Signed-off-by: Stan Grishin <stangri@melmac.net>
Nikos Mavrogiannopoulos [Sat, 14 Dec 2019 08:55:11 +0000 (09:55 +0100)]
ocserv: fix the public key ID calculation
New versions of certtool change its output format and thus break
the previous parsing. This update works with certtool 3.5.x or later.
It also restricts the output to valid values for openconnect 7.x or
later for simplification.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
(cherry picked from commit
c81ca8dae3e914b41b754e1cdc7cad3aeead9e66)
Jo-Philipp Wich [Mon, 16 Dec 2019 17:05:07 +0000 (18:05 +0100)]
luci-mod-network: dhcp.js: fix default state of nonwildcard
Fixes: #3415
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
ffe81aead3f806f28220034cb6276d89774fa47b)
Jo-Philipp Wich [Mon, 16 Dec 2019 17:01:10 +0000 (18:01 +0100)]
luci-mod-network: fix rebind list validation
Fixes:
62e28f4b0 ("luci-mod-network: dhcp.js: fix address and rebind list validation")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
3cdd4969466de7efd2cfe0534119acdc6f35218e)
Jo-Philipp Wich [Mon, 16 Dec 2019 16:49:51 +0000 (17:49 +0100)]
luci-mod-network: dhcp.js: fix address and rebind list validation
Fixes: #3130
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
62e28f4b0a61abc4d45c6dc7cc5794e7847909e5)
Jo-Philipp Wich [Mon, 16 Dec 2019 13:38:22 +0000 (14:38 +0100)]
luci-mod-network: re-add DHCPv6 lease status to dnsmasq page
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2674
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
f6410361c8fa84d258c505bba5b6ad157d6a30ee)
Jo-Philipp Wich [Mon, 9 Dec 2019 16:36:05 +0000 (17:36 +0100)]
luci-lib-httpclient: accept scoped IPv6 addresses
Ref: https://github.com/openwrt/luci/issues/3380
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
d87169c0f60f9e7c1f8a61b2809473802093ff31)
Jo-Philipp Wich [Mon, 9 Dec 2019 16:31:51 +0000 (17:31 +0100)]
luci-lib-ip: support scoped IPv6 addresses
Ref: https://github.com/openwrt/luci/issues/3380
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
f7a7f89e0ce324115098f4496e3e72d8bb63613a)
Jo-Philipp Wich [Wed, 4 Dec 2019 17:04:20 +0000 (18:04 +0100)]
luci-base: ui.js: ensure that select choice labels are properly escaped
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
71d370a964f3ec4970bcded9198ff559316902ff)
Jo-Philipp Wich [Wed, 4 Dec 2019 15:08:40 +0000 (16:08 +0100)]
luci-base: ui.js: properly escape dynlist items for rendering
Ref: https://forum.openwrt.org/t/luci-theme-openwrt-reports-error/49736
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
ee360669474ddc7d94dd2853b2411da929fb5593)
Florian Eckert [Sat, 30 Nov 2019 17:30:23 +0000 (19:30 +0200)]
luci-app-statistics: update misleading load view
Fixes: #3301
During my tests and developing with the collectd and so
luci-app-statistics I noticed that the values displayed in the Y-axis
are misleading, because probably the individual values are added
together in each case. So the view is not corrected.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit
b50974a20c9dac0d6b8b479d2e6b54b3c5703ab6)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Hannu Nyman [Sat, 30 Nov 2019 09:25:11 +0000 (11:25 +0200)]
i18n: sync translations
Sync translations.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Florian Eckert [Thu, 28 Nov 2019 06:25:10 +0000 (07:25 +0100)]
Merge pull request #3367 from stangri/19.07-luci-app-advanced-reboot
luci-app-advanced-reboot: better information for snapshots
Stan Grishin [Wed, 27 Nov 2019 15:32:30 +0000 (08:32 -0700)]
luci-app-advanced-reboot: better information for snapshots
Signed-off-by: Stan Grishin <stangri@melmac.net>
Jo-Philipp Wich [Tue, 26 Nov 2019 10:35:23 +0000 (11:35 +0100)]
luci-base: luci.js: further nested Class.super() call fixes
Use stacks keyed by class id + symbol internally to not clobber the
prototype scope pointer when repeatedly calling super() in invoked
methods.
Ref: https://github.com/openwrt/luci/issues/3316#issuecomment-
558531111
Fixes:
374c23cda ("luci-base: luci.js: properly handle nested Class.super() calls")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
4a08fdd2d374083366787c4124e6b4de48bf7b77)
Jo-Philipp Wich [Tue, 26 Nov 2019 08:37:27 +0000 (09:37 +0100)]
luci-base: luci.js: properly handle nested Class.super() calls
Introduce a unique __id__ attribute per class and use that, together with
the symbol name being looked up to, to form a unique key which is used to
store the prototype scope pointer.
This fixes cases where a call to super() invokes a procedure which is
calling super() as well on a different class or symbol.
Fixes: #3316
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
374c23cdab53c5681acafb561977d927c361408a)
Jo-Philipp Wich [Mon, 25 Nov 2019 15:00:13 +0000 (16:00 +0100)]
Merge pull request #3359 from Andy2244/luci-app-cifsd_fix-defaults_19.07
luci-app-cifsd: fix defaults (none writeable default shares) [19.07]
Jo-Philipp Wich [Mon, 25 Nov 2019 14:58:54 +0000 (15:58 +0100)]
Merge pull request #3361 from Andy2244/luci-app-samba4_fix-defaults_19.07
luci-app-samba4: fix defaults (none writeable default shares) [19.07]
Andy Walsh [Mon, 25 Nov 2019 14:10:29 +0000 (15:10 +0100)]
luci-app-samba4: fix defaults (none writeable default shares)
* align defaults with upstream
* mark our default UCI changes and enforce updates to config
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
Andy Walsh [Mon, 25 Nov 2019 14:07:11 +0000 (15:07 +0100)]
luci-app-cifsd: fix defaults (none writeable default shares)
* align defaults with upstream
* mark our default UCI changes and enforce updates to config
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
Jo-Philipp Wich [Fri, 22 Nov 2019 17:09:11 +0000 (18:09 +0100)]
Merge pull request #3346 from Andy2244/luci-app-samba4_switch-js-api_19.07
uci-app-samba4: switch to luci static javascript api [19.07]
Jo-Philipp Wich [Fri, 22 Nov 2019 17:08:17 +0000 (18:08 +0100)]
Merge pull request #3339 from Andy2244/cifsd-19.07
luci-app-cifsd: enable cifsd app [19.07]
Andy Walsh [Fri, 22 Nov 2019 13:20:33 +0000 (14:20 +0100)]
uci-app-samba4: switch to luci static javascript api
* switch to luci static javascript api
* add version info
* remove 'home' option
* regenerate translations
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
Andy Walsh [Wed, 20 Nov 2019 21:39:25 +0000 (22:39 +0100)]
luci-app-cifsd: enable cifsd app
* enable luci cifsd app
* add version info
* enable guest ok default
* refresh translations
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
Jo-Philipp Wich [Sun, 10 Nov 2019 17:21:09 +0000 (18:21 +0100)]
luci-base: luci.js: add optional apply unchecked action
Turn the "Save & Apply" button into a combo button which allows to
toggle between apply with rollback and unchecked apply modes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
3b3a1d9cc9cd68c22003621bef2553138853f866)
Jo-Philipp Wich [Sun, 10 Nov 2019 17:20:56 +0000 (18:20 +0100)]
themes: add necessary styles for ComboButton
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
3a82faf21ab2bd69a5ce9e3bdb8083a22b458e99)
Jo-Philipp Wich [Sun, 10 Nov 2019 17:20:39 +0000 (18:20 +0100)]
luci-base: ui.js: add ComboButton widget
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
97a3bef84b9b68d6f88f209f80c284e3b2e7ea1a)
Jo-Philipp Wich [Fri, 22 Nov 2019 08:16:45 +0000 (09:16 +0100)]
luci-theme-bootstrap: allow textarea resizing
Fixes: #3317
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
8672ddcf0b8b59e6cee200e678972f8fea27998f)
Jo-Philipp Wich [Fri, 22 Nov 2019 07:50:14 +0000 (08:50 +0100)]
luci-app-firewall: remove obsolete "conntrack" option
Fixes: #3342
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
f6e56e67e8d89a2f3f6d639d9000be0487879bf9)
Jo-Philipp Wich [Fri, 22 Nov 2019 07:42:58 +0000 (08:42 +0100)]
luci-base: validation.js: fix "unique" validator
Previous refactoring renamed the "data-type" attribute of widget markup
containers to "data-widget", breaking the "unique" validator as it relies
on it to lookup options.
Fixes: #3341
Fixes:
13e9e3e9e ("treewide: fix "Unhandled token" errors with Lua CBI maps")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
4f0d67a2897d6592cb0f7562fa042dd4987fd7eb)
Hannu Nyman [Wed, 20 Nov 2019 06:24:39 +0000 (08:24 +0200)]
Merge pull request #3337 from stangri/19.07-luci-app-advanced-reboot
[19.07] luci-app-advanced-reboot: add logger messages, README update
Stan Grishin [Tue, 19 Nov 2019 23:55:37 +0000 (16:55 -0700)]
luci-app-advanced-reboot: add logger messages, README update
Signed-off-by: Stan Grishin <stangri@melmac.net>
Hannu Nyman [Tue, 19 Nov 2019 17:29:47 +0000 (19:29 +0200)]
Merge pull request #3334 from stangri/19.07-luci-app-advanced-reboot
[19.07] luci-app-advanced-reboot: bugfix: luci error on reboot, logger errors
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>
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
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>
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
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>
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)
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
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
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>
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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>
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>
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)
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>
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>