project/luci.git
5 years agoluci-base: ui.js: tabs: fix empty pane checking, allow alternative query root
Jo-Philipp Wich [Wed, 31 Jul 2019 05:57:15 +0000 (07:57 +0200)]
luci-base: ui.js: tabs: fix empty pane checking, allow alternative query root

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: luci.js: add L.dom.isEmpty() helper
Jo-Philipp Wich [Wed, 31 Jul 2019 05:55:15 +0000 (07:55 +0200)]
luci-base: luci.js: add L.dom.isEmpty() helper

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: ui.js: mark widget optional if empty choice is present
Jo-Philipp Wich [Sun, 28 Jul 2019 15:24:12 +0000 (17:24 +0200)]
luci-base: ui.js: mark widget optional if empty choice is present

Fixes: #2943
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #2939 from TDT-AG/pr/20190731-luci-app-watchat
Florian Eckert [Thu, 1 Aug 2019 13:47:39 +0000 (15:47 +0200)]
Merge pull request #2939 from TDT-AG/pr/20190731-luci-app-watchat

luci-app-watchat: fix ucitrack file

5 years agoluci-base: index.html: add extend cache-control directive
Jo-Philipp Wich [Thu, 1 Aug 2019 13:43:08 +0000 (15:43 +0200)]
luci-base: index.html: add extend cache-control directive

Fixes: #2942
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-app-statistics: cpufreq: enhance additional data
Hannu Nyman [Wed, 31 Jul 2019 21:49:05 +0000 (00:49 +0300)]
luci-app-statistics: cpufreq: enhance additional data

* Use the new data series sorting and coloring options to
  display the frequencies in order and with matching coloring in
  different cores.

* Fix the y-axis text and legend in the frequency usage graph

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
5 years agoluci-app-statistics: add options for graph series sorting and color
Hannu Nyman [Wed, 31 Jul 2019 21:41:14 +0000 (00:41 +0300)]
luci-app-statistics: add options for graph series sorting and color

Add two data series-level options "negweight" and "posweight" that
will use the numerical value of the data instance name
as the sorting factor. This enables e.g. sorting by CPU frequency
in the cpufreq module.

Add new graph-level option "ordercolor" to use colorsfrom a
pre-defined color table for the data series. This enables keeping
similar colors for similar data series in different plugin instances.
E.g. CPU frequencies in several cores that are handled and displayed
separately.
 (note: the table has 8 items and if there are more series, it uses
  the same colors again. The table can be easily extended/modified)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
5 years agoluci-app-watchat: fix ucitrack file 2939/head
Florian Eckert [Wed, 31 Jul 2019 11:51:56 +0000 (13:51 +0200)]
luci-app-watchat: fix ucitrack file

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years agoluci-app-statistics: cpufreq: changes in data structure
Hannu Nyman [Tue, 30 Jul 2019 17:47:02 +0000 (20:47 +0300)]
luci-app-statistics: cpufreq: changes in data structure

Collectd 5.9.0 changed the data structure of the cpufreq plugin:
CPU cores are now handled as separate plugin instances.

There are also new data items per core:
 * time spent at each frequency
 * amount of frequency transitions

Enable these new data items, but initially hide them behind
a new config option "ExtraItems" (default: disabled), as
the amount of graphs in multi-core systems could be rather large.

Note that the frequencies are not (yet) sorted, so the
information value of the time-spent graph is semi-random.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
5 years agoMerge pull request #2935 from YuriPet/patch-1
Hannu Nyman [Tue, 30 Jul 2019 15:51:13 +0000 (18:51 +0300)]
Merge pull request #2935 from YuriPet/patch-1

luci-base: update Ukrainian translation

5 years agoMerge pull request #2936 from YuriPet/master
Hannu Nyman [Tue, 30 Jul 2019 15:50:58 +0000 (18:50 +0300)]
Merge pull request #2936 from YuriPet/master

luci-app-firewall: update Ukrainian translation

5 years agoMerge pull request #2934 from antoinedeschenes/patch-1
Hannu Nyman [Tue, 30 Jul 2019 15:50:08 +0000 (18:50 +0300)]
Merge pull request #2934 from antoinedeschenes/patch-1

luci-mod-network: 802.11w config in station mode

5 years agoluci-mod-network: 802.11w config in station mode 2934/head
Antoine DeschĂȘnes [Mon, 29 Jul 2019 18:47:26 +0000 (14:47 -0400)]
luci-mod-network: 802.11w config in station mode

802.11w has to be enabled in station mode to be effective. If the AP is using WPA3-SAE or requires 11w, station will not connect unless 11w is enabled via this option.

Signed-off-by: Antoine DeschĂȘnes <adeschenes@kronostechnologies.com>
5 years agoluci-base: ui.js: do not save invalid dynlist values
Jo-Philipp Wich [Tue, 30 Jul 2019 11:33:13 +0000 (13:33 +0200)]
luci-base: ui.js: do not save invalid dynlist values

Fixes: 3880c3f22 ("luci-base: ui.js: save filled out but not added dynlist items on submit")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: ui.js: save filled out but not added dynlist items on submit
Jo-Philipp Wich [Tue, 30 Jul 2019 11:29:11 +0000 (13:29 +0200)]
luci-base: ui.js: save filled out but not added dynlist items on submit

Fixes: #2938
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-app-firewall: update Ukrainian translation 2936/head
Yurii [Mon, 29 Jul 2019 23:31:26 +0000 (02:31 +0300)]
luci-app-firewall: update Ukrainian translation

Signed-off-by: Yurii <yuripet@gmail.com>
5 years agoluci-base: update Ukrainian translation 2935/head
Yurii [Mon, 29 Jul 2019 23:26:21 +0000 (02:26 +0300)]
luci-base: update Ukrainian translation

Signed-off-by: Yurii <yuripet@gmail.com>
5 years agoMerge pull request #2933 from TDT-AG/pr/20190729-openvpn-german-translation
Florian Eckert [Mon, 29 Jul 2019 09:25:08 +0000 (11:25 +0200)]
Merge pull request #2933 from TDT-AG/pr/20190729-openvpn-german-translation

luci-app-openvpn: add some german translations

5 years agoMerge pull request #2928 from tano-systems/pr/luci-app-firewall-i18n-ru
Florian Eckert [Mon, 29 Jul 2019 07:53:55 +0000 (09:53 +0200)]
Merge pull request #2928 from tano-systems/pr/luci-app-firewall-i18n-ru

luci-app-firewall: update Russian translation

5 years agoMerge pull request #2929 from tano-systems/pr/luci-base-i18n-ru
Florian Eckert [Mon, 29 Jul 2019 07:53:16 +0000 (09:53 +0200)]
Merge pull request #2929 from tano-systems/pr/luci-base-i18n-ru

luci-base: update Russian translation

5 years agoMerge pull request #2932 from castillofrancodamian/base
Florian Eckert [Mon, 29 Jul 2019 07:52:50 +0000 (09:52 +0200)]
Merge pull request #2932 from castillofrancodamian/base

luci-base: update Spanish translation

5 years agoluci-app-openvpn: add some german translations 2933/head
Martin Schiller [Mon, 29 Jul 2019 06:23:40 +0000 (08:23 +0200)]
luci-app-openvpn: add some german translations

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
5 years agoluci-base: update Spanish translation 2932/head
Franco Castillo [Sat, 27 Jul 2019 23:50:18 +0000 (20:50 -0300)]
luci-base: update Spanish translation

Update Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoluci-base: don't treat .rmempty flag as optional for ListValue widgets
Jo-Philipp Wich [Sat, 27 Jul 2019 20:17:33 +0000 (22:17 +0200)]
luci-base: don't treat .rmempty flag as optional for ListValue widgets

Restore the old CBI behaviour of not automatically rendering empty
selection choices in ListValue select dropdowns when .rmempty is
specified.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: update Russian translation 2929/head
Anton Kikin [Sat, 27 Jul 2019 20:19:45 +0000 (23:19 +0300)]
luci-base: update Russian translation

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
5 years agoluci-app-firewall: update Russian translation 2928/head
Anton Kikin [Sat, 27 Jul 2019 19:59:19 +0000 (22:59 +0300)]
luci-app-firewall: update Russian translation

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
5 years agoMerge pull request #2923 from tano-systems/pr/multi-fix
Jo-Philipp Wich [Sat, 27 Jul 2019 18:21:08 +0000 (20:21 +0200)]
Merge pull request #2923 from tano-systems/pr/multi-fix

luci-base: fix multiple parameter in cbi templates

5 years agoMerge pull request #2925 from musashino205/l10n/fw-upd-ja
Hannu Nyman [Sat, 27 Jul 2019 17:37:28 +0000 (20:37 +0300)]
Merge pull request #2925 from musashino205/l10n/fw-upd-ja

luci-app-firewall: update Japanese translation

5 years agoluci-app-firewall: update Japanese translation 2925/head
INAGAKI Hiroshi [Sat, 27 Jul 2019 13:35:19 +0000 (22:35 +0900)]
luci-app-firewall: update Japanese translation

Updated Japanese translations and remove unused msgid/msgstr sets.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agoi18n: sync translations
INAGAKI Hiroshi [Fri, 26 Jul 2019 17:30:20 +0000 (02:30 +0900)]
i18n: sync translations

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
5 years agoluci-base: fix multiple parameter in cbi templates 2923/head
Anton Kikin [Fri, 26 Jul 2019 15:14:40 +0000 (18:14 +0300)]
luci-base: fix multiple parameter in cbi templates

In the dc0211803e commit, the parameter "multi" in ui.js is
replaced with "multiple" everywhere. Thus, it must also be changed
in the cbi templates.

Fixes: dc0211803e
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
5 years agoluci-lib-nixio: fix compilation
Jo-Philipp Wich [Fri, 26 Jul 2019 13:11:17 +0000 (15:11 +0200)]
luci-lib-nixio: fix compilation

Fixes: #2921
Fixes: f3f42ff09 ("address: Replace ualarm with setitimer")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoMerge pull request #2918 from castillofrancodamian/viz
Florian Eckert [Fri, 26 Jul 2019 12:08:37 +0000 (14:08 +0200)]
Merge pull request #2918 from castillofrancodamian/viz

luci-app-olsr-viz: Add Spanish translation

5 years agoMerge pull request #2917 from castillofrancodamian/banip
Florian Eckert [Fri, 26 Jul 2019 12:08:09 +0000 (14:08 +0200)]
Merge pull request #2917 from castillofrancodamian/banip

luci-app-banip: Add Spanish translation

5 years agoMerge pull request #2916 from castillofrancodamian/nut
Florian Eckert [Fri, 26 Jul 2019 12:07:10 +0000 (14:07 +0200)]
Merge pull request #2916 from castillofrancodamian/nut

luci-app-nut: Add Spanish translation

5 years agoMerge pull request #2915 from castillofrancodamian/ltqtapi
Florian Eckert [Fri, 26 Jul 2019 12:06:12 +0000 (14:06 +0200)]
Merge pull request #2915 from castillofrancodamian/ltqtapi

luci-app-ltqtapi: Add Spanish translation

5 years agoMerge pull request #2914 from castillofrancodamian/privoxy
Florian Eckert [Fri, 26 Jul 2019 12:05:47 +0000 (14:05 +0200)]
Merge pull request #2914 from castillofrancodamian/privoxy

luci-app-privoxy: Add Spanish translation

5 years agoMerge pull request #2890 from stangri/master-luci-app-https_dns_proxy
Jo-Philipp Wich [Fri, 26 Jul 2019 10:39:35 +0000 (12:39 +0200)]
Merge pull request #2890 from stangri/master-luci-app-https_dns_proxy

luci-app-https_dns_proxy: better handling of ports, update dhcp config

5 years agoMerge pull request #2883 from neheb/patch-1
Jo-Philipp Wich [Fri, 26 Jul 2019 10:37:24 +0000 (12:37 +0200)]
Merge pull request #2883 from neheb/patch-1

address: Replace ualarm with setitimer

5 years agoluci-app-firewall: explicitely set 'DNAT' target on new forwards
Jo-Philipp Wich [Fri, 26 Jul 2019 10:36:04 +0000 (12:36 +0200)]
luci-app-firewall: explicitely set 'DNAT' target on new forwards

Fixes: #2920
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
5 years agoluci-base: keep polling confirmation endpoint on XHR failures
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>
5 years agoluci-base: form.js: pass-through placeholder option of CBIListValue
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>
5 years agoluci-base: ui.js: HTML escape uci changelog values
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>
5 years agoluci-base: ui.js: HTML escape custom dropdown values
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>
5 years agoluci-base: ui.js: fix event binding for UISelect
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>
5 years agoluci-app-olsr-viz: Add Spanish translation 2918/head
Franco Castillo [Thu, 25 Jul 2019 23:05:07 +0000 (20:05 -0300)]
luci-app-olsr-viz: Add Spanish translation

Add Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoluci-app-banip: Add Spanish translation 2917/head
Franco Castillo [Thu, 25 Jul 2019 22:38:25 +0000 (19:38 -0300)]
luci-app-banip: Add Spanish translation

Add Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoluci-app-nut: Add Spanish translation 2916/head
Franco Castillo [Thu, 25 Jul 2019 21:54:44 +0000 (18:54 -0300)]
luci-app-nut: Add Spanish translation

Add Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoluci-app-ltqtapi: Add Spanish translation 2915/head
Franco Castillo [Thu, 25 Jul 2019 21:06:13 +0000 (18:06 -0300)]
luci-app-ltqtapi: Add Spanish translation

Add Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoluci-app-privoxy: Add Spanish translation 2914/head
Franco Castillo [Thu, 25 Jul 2019 20:49:17 +0000 (17:49 -0300)]
luci-app-privoxy: Add Spanish translation

Add Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
5 years agoluci-mod-system: leds.js: fix crash when no usb devices or ports are present
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>
5 years agoMerge pull request #2909 from castillofrancodamian/lxc
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

5 years agoMerge pull request #2908 from castillofrancodamian/squid
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

5 years agoMerge pull request #2907 from castillofrancodamian/olsr-viz
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

5 years agoMerge pull request #2906 from castillofrancodamian/olsr-services
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

5 years agoMerge pull request #2905 from castillofrancodamian/ocserv
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

5 years agoMerge pull request #2904 from castillofrancodamian/mosquitto
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

5 years agoMerge pull request #2903 from castillofrancodamian/ltqtapi
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

5 years agoMerge pull request #2902 from castillofrancodamian/dump1090
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

5 years agoMerge pull request #2901 from castillofrancodamian/cshark
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

5 years agoMerge pull request #2898 from castillofrancodamian/att
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

5 years agoMerge pull request #2900 from castillofrancodamian/banip
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

5 years agoMerge pull request #2899 from castillofrancodamian/bmx7
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

5 years agoMerge pull request #2897 from castillofrancodamian/e2
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

5 years agoluci-app-lxc: Add Spanish translation 2909/head
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>
5 years agoluci-app-squid: Add template 2908/head
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>
5 years agoluci-app-olsr-viz: Add template 2907/head
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>
5 years agoluci-app-olsr-services: Add template 2906/head
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>
5 years agoluci-app-ocserv: Add template 2905/head
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>
5 years agoluci-app-mosquitto: Add template 2904/head
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>
5 years agoluci-app-ltqtapi: Add template 2903/head
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>
5 years agoluci-app-dump1090: Add template 2902/head
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>
5 years agoluci-app-cshark: Add template 2901/head
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>
5 years agoluci-app-banip: Add template 2900/head
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>
5 years agoluci-app-bmx7: Add template 2899/head
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>
5 years agoluci-app-attendedsysupgrade: Add template 2898/head
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>
5 years agoluci-app-e2guardian: Add template 2897/head
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>
5 years agoluci-base: remove accidentally committed code
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>
5 years agoluci-app-firewall: add support for further per-zone options
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>
5 years agoluci-base: add conntrack_helpers ubus procedure
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>
5 years agoluci-base: widgets.js: implement CBIDeviceSelect netdev picker
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>
5 years agoluci-base: widgets.js: handle devices or subnets in CBIZoneForwards
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>
5 years agoluci-base: firewall.js: add zone.getDevices() and zone.getSubnets() getters
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>
5 years agoluci-base: widgets.js: CBIZoneSelect: improve initial rendering
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>
5 years agoluci-base: widgets.js: CBIZoneSelect: fix availability of "device" choice
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>
5 years agoluci-app-firewall: fix cbi form for rules
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>
5 years agoMerge pull request #2896 from YuriPet/master
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

5 years agoluci-base: correct spelling mistake in Ukrainian translation 2896/head
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>
5 years agoluci-mod-network: fix typo in wifi scan JS code
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>
5 years agoMerge pull request #2895 from YuriPet/master
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

5 years agoluci-base: Update Ukrainian translation 2895/head
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>
5 years agoMerge pull request #2893 from tano-systems/pr/ru-i18n-update
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

5 years agoluci-base: update Russian translation 2893/head
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>
5 years agoluci-app-https_dns_proxy: better handling of ports, update of dhcp config 2890/head
Stan Grishin [Sat, 20 Jul 2019 11:24:33 +0000 (04:24 -0700)]
luci-app-https_dns_proxy: better handling of ports, update of dhcp config

Signed-off-by: Stan Grishin <stangri@melmac.net>
5 years agoaddress: Replace ualarm with setitimer 2883/head
Rosen Penev [Thu, 18 Jul 2019 19:57:43 +0000 (12:57 -0700)]
address: Replace ualarm with setitimer

ualarm has been deprecated and may not be available in the libc.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
5 years agoMerge pull request #2886 from castillofrancodamian/base
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

5 years agoluci-base: Update Spanish translation 2886/head
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>
5 years agoluci-mod-status: luci-bwc: use 64bit traffic counters
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>
5 years agoluci-base: update german translation
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>
5 years agoluci-base: resync base translations
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>