Commit graph

11281 commits

Author SHA1 Message Date
Lars Kruse
7863ff7272 luci-app-olsr: handle empty result for non-status tables
The response of the jsoninfo request may be non-empty (e.g. a linebreak
or just whitespace), but still yield "nil" after "json.decode".
This situation was already handled for the "status" request, but it
leads to a dictionary access against a "nil" value for all other tables.

Signed-off-by: Lars Kruse <lists@sumpfralle.de>
2019-08-02 22:31:03 +02:00
Florian Eckert
07dbee37f8
Merge pull request #2643 from kuoruan/aria2
luci-app-aria2: Refactor, new views and more options
2019-08-02 11:22:55 +02:00
Florian Eckert
e647a60b9d
Merge pull request #2961 from castillofrancodamian/udpxy
luci-app-udpxy: add template
2019-08-02 10:24:35 +02:00
Florian Eckert
bd76519971
Merge pull request #2960 from castillofrancodamian/travel
luci-app-travelmate: update Spanish translation
2019-08-02 10:24:11 +02:00
Florian Eckert
f595819235
Merge pull request #2959 from castillofrancodamian/stat
luci-app-statistics: update Spanish translation
2019-08-02 10:23:50 +02:00
Florian Eckert
cc84fef649
Merge pull request #2958 from castillofrancodamian/simple
luci-app-simple-adblock: update Spanish translation
2019-08-02 10:23:29 +02:00
Florian Eckert
3a859852f4
Merge pull request #2957 from castillofrancodamian/firewall
luci-app-firewall: update Spanish translation
2019-08-02 10:23:01 +02:00
Florian Eckert
ada9ed66d1
Merge pull request #2955 from castillofrancodamian/dump1090
luci-app-dump1090: add Spanish translation
2019-08-02 10:21:00 +02:00
Florian Eckert
4d66ad60ba
Merge pull request #2953 from castillofrancodamian/cshark
luci-app-cshark: add Spanish translation
2019-08-02 10:20:29 +02:00
Florian Eckert
01c9dba918
Merge pull request #2952 from castillofrancodamian/wireguard
luci-app-wireguard: update Spanish translation
2019-08-02 10:20:06 +02:00
Florian Eckert
5784e31996
Merge pull request #2951 from castillofrancodamian/bmx7
luci-app-bmx7: add Spanish translation
2019-08-02 10:19:37 +02:00
Florian Eckert
66edf2c7e5
Merge pull request #2949 from castillofrancodamian/olsr-s
luci-app-olsr-services: add Spanish translation
2019-08-02 10:18:01 +02:00
Florian Eckert
a0d47643d7
Merge pull request #2947 from castillofrancodamian/ocserv
luci-app-ocserv: add Spanish translation
2019-08-02 10:17:28 +02:00
Florian Eckert
94a7390b91
Merge pull request #2946 from castillofrancodamian/squid
luci-app-squid: add Spanish translation
2019-08-02 10:16:51 +02:00
Florian Eckert
73aca7c530
Merge pull request #2945 from castillofrancodamian/att
luci-app-attendedsysupgrade: add Spanish translation
2019-08-02 10:16:32 +02:00
Franco Castillo
e862e6c261 luci-app-udpxy: add template
Add template.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-08-01 23:18:33 -03:00
Franco Castillo
b7ae1694f2 luci-app-travelmate: update Spanish translation
Update Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-08-01 23:12:26 -03:00
Franco Castillo
92ff9bb8c5 luci-app-statistics: update Spanish translation
Update Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-08-01 23:07:19 -03:00
Franco Castillo
399e7dfb38 luci-app-simple-adblock: update Spanish translation
Update Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-08-01 22:59:55 -03:00
Franco Castillo
66e995ca0f luci-app-firewall: update Spanish translation
Update Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-08-01 22:48:19 -03:00
Franco Castillo
8b8d3dec6e luci-app-dump1090: add Spanish translation
Add Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-08-01 22:27:18 -03:00
Franco Castillo
e2f36277ea luci-app-cshark: add Spanish translation
Add Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-08-01 22:02:27 -03:00
Franco Castillo
8ab206b770 luci-app-wireguard: update Spanish translation
Update Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-08-01 21:53:17 -03:00
Franco Castillo
090df3fd32 luci-app-bmx7: add Spanish translation
Add Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-08-01 21:40:02 -03:00
Franco Castillo
b2fae6e3a8 luci-app-olsr-services: add Spanish translation
Add Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-08-01 20:56:27 -03:00
Franco Castillo
4b3b93fbf9 luci-app-ocserv: add Spanish translation
Add Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-08-01 20:48:26 -03:00
Franco Castillo
823aada709 luci-app-squid: add Spanish translation
Add Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-08-01 20:17:05 -03:00
Franco Castillo
761cc793be luci-app-attendedsysupgrade: add Spanish translation
Add Spanish translation.

Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-08-01 20:02:14 -03:00
Jo-Philipp Wich
eb9051c307 luci-base: form.js: add modal dialog hook
Add a new `addModalOptions()` hook which allows to supply additional
cbi options the modal map before the dialog is rendered.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-08-01 16:48:50 +02:00
Jo-Philipp Wich
5e67b8b72b luci-base: form.js: update tab state on dependency checks
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-08-01 16:47:33 +02:00
Jo-Philipp Wich
89bcae20d0 luci-base: ui.js: tabs: fix empty pane checking, allow alternative query root
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-08-01 16:47:19 +02:00
Jo-Philipp Wich
27e4146461 luci-base: luci.js: add L.dom.isEmpty() helper
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-08-01 16:47:19 +02:00
Jo-Philipp Wich
360e9769d6 luci-base: ui.js: mark widget optional if empty choice is present
Fixes: #2943
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-08-01 16:45:54 +02:00
Florian Eckert
b20f000c85
Merge pull request #2939 from TDT-AG/pr/20190731-luci-app-watchat
luci-app-watchat: fix ucitrack file
2019-08-01 15:47:39 +02:00
Jo-Philipp Wich
1fe45a9344 luci-base: index.html: add extend cache-control directive
Fixes: #2942
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-08-01 15:43:35 +02:00
Hannu Nyman
05cad423ce 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>
2019-08-01 01:06:25 +03:00
Hannu Nyman
4ca5727785 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>
2019-08-01 01:04:40 +03:00
Florian Eckert
cc4fa13fb5 luci-app-watchat: fix ucitrack file
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-07-31 13:51:56 +02:00
Hannu Nyman
e6f30bb7f3 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>
2019-07-30 20:47:02 +03:00
Hannu Nyman
15088a31b8
Merge pull request #2935 from YuriPet/patch-1
luci-base: update Ukrainian translation
2019-07-30 18:51:13 +03:00
Hannu Nyman
f6fef59253
Merge pull request #2936 from YuriPet/master
luci-app-firewall: update Ukrainian translation
2019-07-30 18:50:58 +03:00
Hannu Nyman
9217742d0a
Merge pull request #2934 from antoinedeschenes/patch-1
luci-mod-network: 802.11w config in station mode
2019-07-30 18:50:08 +03:00
Antoine Deschênes
011d9d0176 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>
2019-07-30 08:50:13 -04:00
Jo-Philipp Wich
8a947ea550 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>
2019-07-30 13:33:46 +02:00
Jo-Philipp Wich
3880c3f22f 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>
2019-07-30 13:29:11 +02:00
Yurii
d2e7958fa9
luci-app-firewall: update Ukrainian translation
Signed-off-by: Yurii <yuripet@gmail.com>
2019-07-30 02:31:26 +03:00
Yurii
66cdd4363a
luci-base: update Ukrainian translation
Signed-off-by: Yurii <yuripet@gmail.com>
2019-07-30 02:26:21 +03:00
Florian Eckert
e0771aa49f
Merge pull request #2933 from TDT-AG/pr/20190729-openvpn-german-translation
luci-app-openvpn: add some german translations
2019-07-29 11:25:08 +02:00
Florian Eckert
ab7d387bb7
Merge pull request #2928 from tano-systems/pr/luci-app-firewall-i18n-ru
luci-app-firewall: update Russian translation
2019-07-29 09:53:55 +02:00
Florian Eckert
78b4ccb5b1
Merge pull request #2929 from tano-systems/pr/luci-base-i18n-ru
luci-base: update Russian translation
2019-07-29 09:53:16 +02:00