Jo-Philipp Wich [Fri, 26 Jul 2019 10:25:46 +0000 (12:25 +0200)]
luci-base: keep polling confirmation endpoint on XHR failures
Fixes: #2912
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 22 Jul 2019 15:19:23 +0000 (17:19 +0200)]
luci-base: form.js: pass-through placeholder option of CBIListValue
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 22 Jul 2019 15:18:32 +0000 (17:18 +0200)]
luci-base: ui.js: HTML escape uci changelog values
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 22 Jul 2019 15:18:15 +0000 (17:18 +0200)]
luci-base: ui.js: HTML escape custom dropdown values
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 22 Jul 2019 15:17:10 +0000 (17:17 +0200)]
luci-base: ui.js: fix event binding for UISelect
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 25 Jul 2019 06:48:56 +0000 (08:48 +0200)]
luci-mod-system: leds.js: fix crash when no usb devices or ports are present
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Florian Eckert [Tue, 23 Jul 2019 06:36:14 +0000 (08:36 +0200)]
Merge pull request #2909 from castillofrancodamian/lxc
luci-app-lxc: Add Spanish translation
Florian Eckert [Tue, 23 Jul 2019 06:35:45 +0000 (08:35 +0200)]
Merge pull request #2908 from castillofrancodamian/squid
luci-app-squid: Add template
Florian Eckert [Tue, 23 Jul 2019 06:35:28 +0000 (08:35 +0200)]
Merge pull request #2907 from castillofrancodamian/olsr-viz
luci-app-olsr-viz: Add template
Florian Eckert [Tue, 23 Jul 2019 06:35:05 +0000 (08:35 +0200)]
Merge pull request #2906 from castillofrancodamian/olsr-services
luci-app-olsr-services: Add template
Florian Eckert [Tue, 23 Jul 2019 06:34:38 +0000 (08:34 +0200)]
Merge pull request #2905 from castillofrancodamian/ocserv
luci-app-ocserv: Add template
Florian Eckert [Tue, 23 Jul 2019 06:33:38 +0000 (08:33 +0200)]
Merge pull request #2904 from castillofrancodamian/mosquitto
luci-app-mosquitto: Add template
Florian Eckert [Tue, 23 Jul 2019 06:33:09 +0000 (08:33 +0200)]
Merge pull request #2903 from castillofrancodamian/ltqtapi
luci-app-ltqtapi: Add template
Florian Eckert [Tue, 23 Jul 2019 06:32:40 +0000 (08:32 +0200)]
Merge pull request #2902 from castillofrancodamian/dump1090
luci-app-dump1090: Add template
Florian Eckert [Tue, 23 Jul 2019 06:31:41 +0000 (08:31 +0200)]
Merge pull request #2901 from castillofrancodamian/cshark
luci-app-cshark: Add template
Florian Eckert [Tue, 23 Jul 2019 06:31:03 +0000 (08:31 +0200)]
Merge pull request #2898 from castillofrancodamian/att
luci-app-attendedsysupgrade: Add template
Florian Eckert [Tue, 23 Jul 2019 06:30:07 +0000 (08:30 +0200)]
Merge pull request #2900 from castillofrancodamian/banip
luci-app-banip: Add template
Florian Eckert [Tue, 23 Jul 2019 06:29:44 +0000 (08:29 +0200)]
Merge pull request #2899 from castillofrancodamian/bmx7
luci-app-bmx7: Add template
Florian Eckert [Tue, 23 Jul 2019 06:28:08 +0000 (08:28 +0200)]
Merge pull request #2897 from castillofrancodamian/e2
luci-app-e2guardian: Add template
Franco Castillo [Tue, 23 Jul 2019 00:46:34 +0000 (21:46 -0300)]
luci-app-lxc: Add Spanish translation
Add Spanish translation.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Franco Castillo [Mon, 22 Jul 2019 18:57:00 +0000 (15:57 -0300)]
luci-app-squid: Add template
Add template.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Franco Castillo [Mon, 22 Jul 2019 18:32:49 +0000 (15:32 -0300)]
luci-app-olsr-viz: Add template
Add template.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Franco Castillo [Mon, 22 Jul 2019 18:28:10 +0000 (15:28 -0300)]
luci-app-olsr-services: Add template
Add template.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Franco Castillo [Mon, 22 Jul 2019 18:19:53 +0000 (15:19 -0300)]
luci-app-ocserv: Add template
Add template.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Franco Castillo [Mon, 22 Jul 2019 17:58:45 +0000 (14:58 -0300)]
luci-app-mosquitto: Add template
Add template.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Franco Castillo [Mon, 22 Jul 2019 17:49:19 +0000 (14:49 -0300)]
luci-app-ltqtapi: Add template
Add template.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Franco Castillo [Mon, 22 Jul 2019 17:25:12 +0000 (14:25 -0300)]
luci-app-dump1090: Add template
Add template.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Franco Castillo [Mon, 22 Jul 2019 17:20:23 +0000 (14:20 -0300)]
luci-app-cshark: Add template
Add template.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Franco Castillo [Mon, 22 Jul 2019 17:11:30 +0000 (14:11 -0300)]
luci-app-banip: Add template
Add template.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Franco Castillo [Mon, 22 Jul 2019 16:43:56 +0000 (13:43 -0300)]
luci-app-bmx7: Add template
Add template.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Franco Castillo [Mon, 22 Jul 2019 15:09:01 +0000 (12:09 -0300)]
luci-app-attendedsysupgrade: Add template
Add template.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Franco Castillo [Mon, 22 Jul 2019 15:00:26 +0000 (12:00 -0300)]
luci-app-e2guardian: Add template
Add template.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Jo-Philipp Wich [Mon, 22 Jul 2019 14:48:35 +0000 (16:48 +0200)]
luci-base: remove accidentally committed code
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 22 Jul 2019 14:38:03 +0000 (16:38 +0200)]
luci-app-firewall: add support for further per-zone options
This commit introduces support for zone devices, subnets, conntrack helpers
and iptables extra options.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 22 Jul 2019 14:35:58 +0000 (16:35 +0200)]
luci-base: add conntrack_helpers ubus procedure
Also move firewall specific ACLs into separate group.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 22 Jul 2019 14:31:25 +0000 (16:31 +0200)]
luci-base: widgets.js: implement CBIDeviceSelect netdev picker
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 22 Jul 2019 14:30:33 +0000 (16:30 +0200)]
luci-base: widgets.js: handle devices or subnets in CBIZoneForwards
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 22 Jul 2019 14:29:42 +0000 (16:29 +0200)]
luci-base: firewall.js: add zone.getDevices() and zone.getSubnets() getters
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 22 Jul 2019 06:58:59 +0000 (08:58 +0200)]
luci-base: widgets.js: CBIZoneSelect: improve initial rendering
Ref: https://github.com/openwrt/luci/issues/2889
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 22 Jul 2019 06:40:38 +0000 (08:40 +0200)]
luci-base: widgets.js: CBIZoneSelect: fix availability of "device" choice
Ref: https://github.com/openwrt/luci/issues/2889
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 21 Jul 2019 09:12:13 +0000 (11:12 +0200)]
luci-app-firewall: fix cbi form for rules
- Set src/dest defaults only in initial section create state, otherwise it
is impossible to specify output rules
- Get rid of dest_remote/dest_local widget switching and implement change
logic directly in tools.widgets.CBIZoneSelect
- Remove leftover debug code
Ref: https://github.com/openwrt/luci/issues/2889
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hannu Nyman [Sun, 21 Jul 2019 11:37:54 +0000 (14:37 +0300)]
Merge pull request #2896 from YuriPet/master
luci-base: correct spelling mistake in Ukrainian translation
Yurii [Sun, 21 Jul 2019 10:27:19 +0000 (13:27 +0300)]
luci-base: correct spelling mistake in Ukrainian translation
Signed-off-by: Yurii <yuripet@gmail.com>
Jo-Philipp Wich [Sun, 21 Jul 2019 07:42:15 +0000 (09:42 +0200)]
luci-mod-network: fix typo in wifi scan JS code
Fixes:
8dd2df29c ("luci-mod-network: improve wifi scan status reporting")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 21 Jul 2019 07:33:21 +0000 (09:33 +0200)]
Merge pull request #2895 from YuriPet/master
luci-base: Update Ukrainian translation
Yurii [Sat, 20 Jul 2019 20:51:31 +0000 (23:51 +0300)]
luci-base: Update Ukrainian translation
Update Ukrainian translation according the latest translation resync.
Signed-off-by: Yurii <yuripet@gmail.com>
Hannu Nyman [Sat, 20 Jul 2019 16:16:55 +0000 (19:16 +0300)]
Merge pull request #2893 from tano-systems/pr/ru-i18n-update
luci-base: update Russian translation
Anton Kikin [Sat, 20 Jul 2019 12:32:10 +0000 (15:32 +0300)]
luci-base: update Russian translation
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
Jo-Philipp Wich [Fri, 19 Jul 2019 22:26:27 +0000 (00:26 +0200)]
Merge pull request #2886 from castillofrancodamian/base
luci-base: Update Spanish translation
Franco Castillo [Fri, 19 Jul 2019 20:25:25 +0000 (17:25 -0300)]
luci-base: Update Spanish translation
Update Spanish translation.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Jo-Philipp Wich [Fri, 19 Jul 2019 19:50:48 +0000 (21:50 +0200)]
luci-mod-status: luci-bwc: use 64bit traffic counters
Fixes: #2659
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 19 Jul 2019 16:18:25 +0000 (18:18 +0200)]
luci-base: update german translation
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 19 Jul 2019 16:07:04 +0000 (18:07 +0200)]
luci-base: resync base translations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 19 Jul 2019 15:59:05 +0000 (17:59 +0200)]
luci-mod-network: improve wifi scan status reporting
Attempt to properly report the scan status by treating 404 replies as
not yet completed scans and empty array replies as successful scans
that did not yield any results.
Fixes: #2874
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 19 Jul 2019 15:19:24 +0000 (17:19 +0200)]
luci-base: render default values for all server side cbi map widgets
Fixes:
9c7eb1dec ("luci-base: switch from server side to client side widget markup")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 19 Jul 2019 08:45:50 +0000 (10:45 +0200)]
Merge pull request #2882 from TDT-AG/pr/
20190718-ovpn-tls-ciphersuites
luci-app-openvpn: add new tls_ciphersuites option
Jo-Philipp Wich [Fri, 19 Jul 2019 08:39:54 +0000 (10:39 +0200)]
luci-base: ui.js: fix multi vs. multiple keyword confusion
The "luci.form" and "luci.tools.widgets" classes use the "multiple"
keyword while ui.js uses "multi" internally, leading to single-value
dropdowns widget values getting stored as uci lists.
Fix the issue by using "multiple" everywhere.
Fixes: #2871
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Martin Schiller [Thu, 18 Jul 2019 10:38:06 +0000 (12:38 +0200)]
luci-app-openvpn: add new tls_ciphersuites option
This is used to configure ciphers for TLS 1.3 or newer.
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Jo-Philipp Wich [Thu, 18 Jul 2019 10:28:42 +0000 (12:28 +0200)]
Merge pull request #2880 from tano-systems/pr/fix-for-2878
luci-app-firewall: format protocol family for forwards and rules
Anton Kikin [Wed, 17 Jul 2019 16:19:45 +0000 (19:19 +0300)]
luci-app-firewall: format protocol family for forwards and rules
Fixes: #2878
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
Dirk Brenken [Wed, 17 Jul 2019 19:50:36 +0000 (21:50 +0200)]
Merge pull request #2879 from systemcrash/patch
luci-app-adblock: English grammar fix
Paul Dee [Wed, 17 Jul 2019 14:40:50 +0000 (16:40 +0200)]
English grammar fix
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
jose1711 [Sun, 25 Jun 2017 22:06:57 +0000 (00:06 +0200)]
luci-app-openvpn: fix client_disconnect OpenVPN option
This option is not a flag.
Signed-off-by: Jose Riha <jose1711@gmail.com>
[Changed commit message and add missing Singed-off-by]
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Hannu Nyman [Tue, 16 Jul 2019 19:43:30 +0000 (22:43 +0300)]
Merge pull request #2877 from YuriPet/master
luci-base & luci-app-firewall: update Ukrainian translation.
Yurii [Tue, 16 Jul 2019 18:18:01 +0000 (21:18 +0300)]
luci-app-firewall: update Ukrainian translation
Updates, fixes and additions.
Signed-off-by: Yurii <yuripet@gmail.com>
Yurii [Tue, 16 Jul 2019 18:16:53 +0000 (21:16 +0300)]
luci-base: update Ukrainian translation
Updates, fixes and additions.
Signed-off-by: Yurii <yuripet@gmail.com>
Florian Eckert [Tue, 16 Jul 2019 16:45:45 +0000 (18:45 +0200)]
Merge pull request #2869 from tano-systems/pr/luci-base-fix-ru-translation
luci-base: fix Russian translation
Florian Eckert [Tue, 16 Jul 2019 05:43:10 +0000 (07:43 +0200)]
Merge pull request #2872 from musashino205/l10n/fw-upd-ja
luci-app-firewall: update Japanese translation
INAGAKI Hiroshi [Tue, 16 Jul 2019 04:21:06 +0000 (13:21 +0900)]
luci-app-firewall: update Japanese translation
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Anton Kikin [Mon, 15 Jul 2019 12:16:47 +0000 (15:16 +0300)]
luci-base: fix Russian translation
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
Florian Eckert [Mon, 15 Jul 2019 07:16:39 +0000 (09:16 +0200)]
Merge pull request #2749 from dibdot/wg
luci-app-wireguard: QR-Code enhancements
Florian Eckert [Sun, 14 Jul 2019 11:53:57 +0000 (13:53 +0200)]
Merge pull request #2863 from castillofrancodamian/rosy-file-server
luci-app-rosy-file-server: Add template
Florian Eckert [Sun, 14 Jul 2019 11:53:18 +0000 (13:53 +0200)]
Merge pull request #2862 from castillofrancodamian/lxc
luci-app-lxc: Add template
Florian Eckert [Sun, 14 Jul 2019 11:52:36 +0000 (13:52 +0200)]
Merge pull request #2860 from castillofrancodamian/opkg
luci-app-opkg: Update Spanish translation
Florian Eckert [Sun, 14 Jul 2019 11:51:44 +0000 (13:51 +0200)]
Merge pull request #2859 from castillofrancodamian/base
luci-base: Update Spanish translation
Florian Eckert [Sun, 14 Jul 2019 11:50:46 +0000 (13:50 +0200)]
Merge pull request #2861 from castillofrancodamian/firewall
luci-app-firewall: Update Spanish translation
Florian Eckert [Sun, 14 Jul 2019 11:49:39 +0000 (13:49 +0200)]
Merge pull request #2858 from tano-systems/pr/update-russian-translation
Update Russian translation
Franco Castillo [Sun, 14 Jul 2019 02:43:09 +0000 (23:43 -0300)]
luci-app-rosy-file-server: Add template
Add template.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Franco Castillo [Sun, 14 Jul 2019 02:34:07 +0000 (23:34 -0300)]
luci-app-lxc: Add template
Add template.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Franco Castillo [Sun, 14 Jul 2019 02:10:50 +0000 (23:10 -0300)]
luci-app-firewall: Update Spanish translation
Update Spanish translation.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Franco Castillo [Sun, 14 Jul 2019 02:06:51 +0000 (23:06 -0300)]
luci-app-opkg: Update Spanish translation
Update Spanish translation.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Franco Castillo [Sun, 14 Jul 2019 01:55:39 +0000 (22:55 -0300)]
luci-base: Update Spanish translation
Update Spanish translation.
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Anton Kikin [Sat, 13 Jul 2019 20:08:40 +0000 (23:08 +0300)]
luci-app-firewall: update Russian translation
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
Anton Kikin [Sat, 13 Jul 2019 20:03:09 +0000 (23:03 +0300)]
luci-base: update Russian translation
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
INAGAKI Hiroshi [Sat, 13 Jul 2019 09:31:02 +0000 (18:31 +0900)]
luci-base: update Japanese translation
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
INAGAKI Hiroshi [Sat, 13 Jul 2019 06:50:53 +0000 (15:50 +0900)]
i18n: sync translations
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
INAGAKI Hiroshi [Sat, 13 Jul 2019 06:41:23 +0000 (15:41 +0900)]
luci-base: fix translatable text in ui.js
Removed unnecessary symbols ("%>") at the end of the text.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Jo-Philipp Wich [Fri, 12 Jul 2019 08:42:41 +0000 (10:42 +0200)]
luci-base: luci.js: add Promise.finally polyfill
Fixes: #2854
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Yurii [Thu, 11 Jul 2019 17:20:51 +0000 (20:20 +0300)]
luci-app-wol: update Ukrainian translation
Signed-off-by: Yurii <yuripet@gmail.com>
Yurii [Thu, 11 Jul 2019 17:19:33 +0000 (20:19 +0300)]
luci-app-upnp: update Ukrainian translation
Signed-off-by: Yurii <yuripet@gmail.com>
Yurii [Thu, 11 Jul 2019 17:18:12 +0000 (20:18 +0300)]
luci-app-samba4: update Ukrainian translation
Updates, fixes and additions.
Signed-off-by: Yurii <yuripet@gmail.com>
Yurii [Thu, 11 Jul 2019 17:16:41 +0000 (20:16 +0300)]
luci-app-samba: update Ukrainian translation
Updates, fixes and additions.
Signed-off-by: Yurii <yuripet@gmail.com>
Yurii [Thu, 11 Jul 2019 17:15:11 +0000 (20:15 +0300)]
luci-app-opkg: update Ukrainian translation
Signed-off-by: Yurii <yuripet@gmail.com>
Yurii [Thu, 11 Jul 2019 17:13:18 +0000 (20:13 +0300)]
luci-app-firewall: update Ukrainian translation
Signed-off-by: Yurii <yuripet@gmail.com>
Yurii [Thu, 11 Jul 2019 17:10:27 +0000 (20:10 +0300)]
luci-base: update Ukrainian translation
Updates, fixes and additions.
Signed-off-by: Yurii <yuripet@gmail.com>
Jo-Philipp Wich [Fri, 12 Jul 2019 07:17:14 +0000 (09:17 +0200)]
luci-base: ui.js: fix UISelect.setValue()
Fixes: #2852
Fixes:
ce04d7f ("luci-base: fix label-to-input association in js cbi maps")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 11 Jul 2019 13:06:13 +0000 (15:06 +0200)]
luci-base: luci.js: only use overrideMimeType when supported
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 11 Jul 2019 13:04:54 +0000 (15:04 +0200)]
luci-base: validation.js: fix nested function declarations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 11 Jul 2019 12:39:42 +0000 (14:39 +0200)]
luci-base: ui.js: fix UISelect.getValue()
Fixes: #2852
Fixes:
ce04d7f04 ("luci-base: fix label-to-input association in js cbi maps")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Dirk Brenken [Tue, 4 Jun 2019 20:20:29 +0000 (22:20 +0200)]
luci-app-wireguard: QR-Code enhancements
* explain the QR-Code 'use case' and the transfered information
* limit the QR-Code information to bare minimum (per interface):
* [Interface] A random, on the fly generated 'PrivateKey',
the key will not be saved on the router
* [Peer] The 'PublicKey' of that wg interface and the
'AllowedIPs' with the default of '0.0.0.0/0, ::/0'
to allow sending traffic to any IPv4 and IPv6 address
* the QR-Code logic will be processed only once per page load,
and not every 5 seconds with the regular XHR refresh
See corresponding forum thread:
https://forum.openwrt.org/t/luci-app-wireguard-qr-code-shows-private-key/38133
Signed-off-by: Dirk Brenken <dev@brenken.org>