Commit graph

9299 commits

Author SHA1 Message Date
Paul Spooren
5949c2cea8 luci-app-attendedsysupgrade: reload rpcd fix #1668
when installing the luci app and opening it for the first time the
webinterface shows an error as some freshly installed rpcd calls are not
yet available. The reload fixes the problem.

luci-app-attendedsysupgrade: downloadable image

the creted sysupgrade image can now easily be downloaded via web
interface.

also fixed some </br> to <br />

Signed-off-by: Paul Spooren <spooren@informatik.uni-leipzig.de>
2018-03-07 13:11:32 +01:00
Paul Spooren
a6d55b19f3 luci-app-attendedsysupgrade: show unknown package
Reads the header X-Unknown-Package offered by the sysupgrade server and
shows it in the error message.

Signed-off-by: Paul Spooren <spooren@informatik.uni-leipzig.de>
2018-03-06 19:25:08 +01:00
Hannu Nyman
c555814edb
Merge pull request #1653 from guidosarducci/master-fix-apcups-statistics
[RFC] luci-app-statistics: only graph data supported by APC UPS
2018-03-06 16:31:57 +02:00
Dirk Brenken
41b7a90e07
Merge pull request #1662 from dibdot/travelmate
luci-app-travelmate: fixes for new QR code template
2018-03-05 12:26:19 +01:00
Dirk Brenken
898b8a9904 luci-app-travelmate: fixes for new QR code template
* remove unofficial 'WPA2' enc. token for better compatibility with
  certain QR code reader, still 'WPA', 'WEP' and 'nopass' are supported
* add WEP key slot support (not really needed, but it's still
  supported by LuCI wireless)
* correct escape single quotes and other special chars
  in SSID & passwords
* code cleanup

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-04 19:59:53 +01:00
Hannu Nyman
d9039fc2c3
Merge pull request #1660 from musashino205/l10n/tmate-upd-ja
luci-app-travelmate: update Japanese translation
2018-03-04 09:53:25 +02:00
INAGAKI Hiroshi
d6fd2c33bf luci-app-travelmate: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-03-04 16:42:48 +09:00
INAGAKI Hiroshi
0e5d670d7a luci-app-travelmate: sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-03-04 14:23:52 +09:00
guidosarducci
fa1f4c42a6 luci-app-statistics: only graph data supported by APC UPS
Some graph definitions rely on data not supported across all APC UPSes.
Due to recent upstream changes in collectd, the daemon no longer creates
a NaN-filled .rrd file corresponding to any missing UPS data. Depending
on the connected UPS, this may result in some "broken" graphs on the Luci
Statistics page since rrdtool cannot find the expected .rrd file.

Include the add_supported() function to determine the UPS data available
at runtime and update any definitions of graphs to include only supported
data. For example, the whole chart stack of AC input and output voltages
will normally be "broken" if the UPS only measures AC input voltage. With
these changes, the output voltage graph definition is stripped out,
allowing the chart to render.

Make consistent use of data types and instances in graph definitions. All
definitions now use the same format with the 'instances' key. Unnecessary
'types' and 'sources' keys are removed.

Fix the definition of 'line frequency' graph, based on upstream collectd
apcups plugin code: type is 'frequency' but instance should be 'input'.

This also includes some code and whitespace cleanup.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2018-03-03 13:54:55 -08:00
Dirk Brenken
1e46a671ea
Merge pull request #1658 from dibdot/travelmate
luci-app-travelmate: sync with release 1.1.3
2018-03-03 08:44:07 +01:00
Hannu Nyman
2913111ffe
Merge pull request #1652 from TDT-AG/pr/20180301-luci-app-mwan3-fix-status-page
luci-app-mwan3: fix status pages
2018-03-02 23:31:56 +02:00
Dirk Brenken
8a199c3e1e luci-app-travelmate: sync with release 1.1.3
* show WiFi QR codes from all configured Access Points

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-03-02 18:06:38 +01:00
Jo-Philipp Wich
bf49505ea0 luci-base: properly handle undefined IPv6 local-address information
If IPv6 prefix assignment is disabled, the "local-address" structure
might exist, but be empty which causes the adress formatting in the
network model class to bail out.

Verify the completeness of the "local-address" structure before using
it in order to avoid runtime errors.

Fixes #1657.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-03-02 14:42:52 +01:00
Jo-Philipp Wich
852ec6e28b luci-base, luci-mod-admin-full: store backup vars in luci configuration
Keep the ifname and bridge state backup variables in /etc/config/luci to not
pollute /etc/config/network.

Fixes #1655.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-03-02 12:44:35 +01:00
Dirk Brenken
3e17668adb
Merge pull request #1656 from musashino205/l10n/adblk-upd-ja
luci-app-adblock: fix the msgid to keep the translations
2018-03-01 20:04:22 +01:00
INAGAKI Hiroshi
68bdfc029c luci-app-adblock: fix the msgid to keep the translations
XHTML markup of "&" in the description about "download queue" was fixed
in 71230d2. Since UI text of it no longer matches msgid, I fixed it.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-03-02 02:12:14 +09:00
Florian Eckert
dcb041e396 luci-app-mwan3: remove css from javascript in overview_status_interface
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01 10:47:52 +01:00
Florian Eckert
5362f69706 luci-app-mwan3: Update header name in status pages
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01 10:47:50 +01:00
Florian Eckert
a73687022d luci-app-mwan3: remove duplicated code section
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01 10:47:47 +01:00
Florian Eckert
deba02e096 luci-app-mwan3: fix source styling
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01 10:47:45 +01:00
Florian Eckert
1ff26f380f luci-app-mwan3: remove css styling from status_interface page
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01 10:47:42 +01:00
Florian Eckert
a82e588c06 luci-app-mwan3: remove css styling from overview_status_interface page
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01 10:47:40 +01:00
Florian Eckert
3c86c6562e luci-app-mwan3: fix stack trace if no tacking_ip is set on interface add
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01 10:47:38 +01:00
Hannu Nyman
1d9cc1a9e1
Merge pull request #1651 from hafu/ffp-profile
community-profiles: potsdam - changed SSID
2018-02-28 17:33:52 +02:00
Hannes Fuchs
d098a64e27 community-profiles: potsdam - changed SSID
After some discussion in our meetings and on the maling list we decided to
change the SSID to a fixed one.

Signed-off-by: Hannes Fuchs <hannes.fuchs@gmx.org>
2018-02-28 16:21:35 +01:00
Dirk Brenken
088b92c8c9
Merge pull request #1647 from dibdot/adblock
luci-app-adblock: fix frontend typo
2018-02-28 14:14:41 +01:00
Dirk Brenken
d830946972
Merge pull request #1648 from dibdot/travelmate
luci-app-travelmate: sync with release 1.1.2
2018-02-27 19:23:45 +01:00
Dirk Brenken
391a7bfc01 luci-app-travelmate: sync with release 1.1.2
* refine timings & valid input ranges

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-02-27 14:04:58 +01:00
Dirk Brenken
b1c5a4c075 luci-app-adblock: fix frontend typo
fix trivial 'msmtp' typo & changed .po files as well

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-02-27 10:20:56 +01:00
dibdot
09ea6dbd33
Merge pull request #1633 from dibdot/travelmate
luci-app-travelmate: sync with release 1.1.0
2018-02-20 08:55:24 +01:00
Dirk Brenken
6ffb7056fe luci-app-travelmate: sync with release 1.1.0
* add an option for the captive portal detection
* support the new signal quality treshold (default 30)
* small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-02-19 21:52:21 +01:00
Jo-Philipp Wich
461df8b0dc luci-base: do not assume a fixed host address in delegated prefix (#1484)
OpenWrt/LEDE introduced the "local-address" field a while back to expose the
effective local host address of the delegated prefix, so use that information
instead of assuming `[prefix]:1`.

Fixes #1484.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-02-16 17:05:52 +01:00
Jo-Philipp Wich
de4f1c9046 luci-base: rework client side IP validation types and support "hostid" type
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-02-16 17:05:48 +01:00
Jo-Philipp Wich
3e1e4d5eb6 luci-base: fix Lua-side ip6hostid() datatype validation
A valid host ID as accepted by netifd must meet the following criteria:

 - Is either one of the two special "random" or "eui64" strings
 - Or is a valid IPv6 address according to inet_pton(AF_INET6)
 - Has the first 64 bit set to zero

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-02-16 17:05:48 +01:00
Hannu Nyman
76f9f5e94d
Merge pull request #1627 from user7887/luci-ru
i18n-ru: fixed russian translation
2018-02-08 18:17:02 +02:00
Vladimir
c21d22c017 i18n-ru: fixed russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-02-07 17:37:34 +03:00
Hannu Nyman
90369e78d7
Merge pull request #1626 from TDT-AG/pr/20180105-luci-app-mwan3-add-service
luci-app-mwan3: add service hint
2018-02-05 17:43:44 +02:00
Florian Eckert
66b93ab784 luci-app-wman3: show info if mwan3 is not global enabled
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-02-05 10:45:22 +01:00
Florian Eckert
4b0347d498 luci-app-mwan3: update look and feel interface status page
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-02-05 10:45:20 +01:00
Florian Eckert
83cec9277d luci-app-mwan3: do not show mwan3 status in overview if not enabled
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-02-05 10:45:16 +01:00
Florian Eckert
0c3bd5c537 luci-app-mwan3: update uci track entry to use /etc/init.d/mwan3 reload
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-02-05 10:45:05 +01:00
Hannu Nyman
251656126a
Merge pull request #1625 from musashino205/l10n/nbm-upd-ja
luci-app-nlbwmon: update Japanese translation
2018-02-05 09:07:54 +02:00
Hannu Nyman
430a414163
Merge pull request #1624 from musashino205/l10n/uhttpd-upd-ja
luci-app-uhttpd: update Japanese translation
2018-02-05 09:07:35 +02:00
INAGAKI Hiroshi
325f6d4138 luci-app-nlbwmon: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-02-05 15:24:16 +09:00
INAGAKI Hiroshi
d06865000e luci-app-uhttpd: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-02-05 14:57:21 +09:00
Yousong Zhou
770033dba3 luci-app-shadowsocks-libev: remove deprecated option disable_sni
This reverts commit 5d91683575.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-02-05 11:06:25 +08:00
Yousong Zhou
28aafed472 luci-app-shadowsocks-libev: add no_delay to names_options_common
It will appear in the instance overview list

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-02-05 11:04:00 +08:00
Jo-Philipp Wich
e6cfe35baf luci-mod-admin-full: prevent unknown sysctl key warnings on status page
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-02-04 19:20:32 +01:00
dibdot
e386d76d57
Merge pull request #1623 from dibdot/adblock
luci-app-adblock: fix XHMTL Markup
2018-02-03 11:27:36 +01:00
Dirk Brenken
71230d2b70 luci-app-adblock: fix XHMTL Markup
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-02-03 11:25:34 +01:00