Commit graph

9941 commits

Author SHA1 Message Date
mmouselli
60dfc7348e luci-app-olsr-services: Don't use the nameservice with a specific version.
The "Services" menu option of olsr on the top of the web interface
is not there.

A specific version of the App name was in the controller service
Removing the limitation will fix the problem

https://github.com/freifunk-berlin/firmware/issues/594

Signed-off-by: mmouselli <m.mouselli@syseleven.de>
2018-12-06 19:00:17 +01:00
Hannu Nyman
5e8708345e luci-mod-network: adapt to current 802.11r defaults
The default for 802.11r option ft_psk_generate_local
was changed a few months ago by openwrt/openwrt@3cc56a5

That change was a bit awkward, as it made hostapd to
overlook the possibly existing r0kh values by default
unless the user explicitly disables the new default.

Adapt LuCI by changing the default for ft_psk_generate_local
into 'enabled'.

But ensure that LuCI does not delete the existing key values
by not making the r0kh and r1kh fields to depend on this.

Note that this is just a quick fix for the wrong default value
causing problems, but not yet a complete fix for all the options.
In the long run it might be better to make the detail options
to depend on local generation.

Reference also to LuCI PR #2102

Adapted from commit 26e903c74 in master

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-25 09:27:05 +02:00
Jo-Philipp Wich
3787301e3f applications: drop luci-app-asterisk
This application was never useful to begin with, drop it to avoid
further confusion.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>

(cherry picked from commit cf36215228)
2018-11-16 19:39:40 +02:00
Hannu Nyman
44f91bb26c
Merge pull request #2278 from sotux/openwrt-18.06
i18n: update Simplified Chinese translation for openwrt-18.06
2018-11-14 16:33:03 +02:00
Zheng Qian
3dc653cd8c i18n: luci-app-uhttpd: add initial Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-11-14 10:26:55 +08:00
Zheng Qian
d6925de333 i18n: luci-base: update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-11-14 10:26:55 +08:00
Zheng Qian
1fe70f3b4d i18n: luci-app-firewall: update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-11-14 08:52:22 +08:00
Hannu Nyman
8e1579c557 luci-app-adblock: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-10 00:32:36 +02:00
Hannu Nyman
59383800ef luci-app-travelmate: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-09 23:58:21 +02:00
Hannu Nyman
0cfd99cb0f i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-09 23:35:09 +02:00
Martin Schiller
9f94fe3a77 i18n: luci-app-firewall: cleanup multiple definitions in uk/firewall.po
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2018-11-09 23:26:29 +02:00
Martin Schiller
197827ffe4 i18n: luci-app-addblock: cleanup multiple definitions in zh-cn/adblock.po
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2018-11-09 23:26:29 +02:00
Martin Schiller
01fe783494 i18n: fix german base.po
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2018-11-09 23:26:29 +02:00
Hannu Nyman
b3d4b84aaf timezone data: update to 2018g
Update timezone data to 2018g

http://mm.icann.org/pipermail/tz-announce/2018-October/000052.html

 * Morocco switches to permanent +01 on 2018-10-27.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 111ebe2f62)
2018-10-30 19:48:38 +02:00
Hannu Nyman
463fb04116 timezone data: update to 2018f
Update timezone data to 2018f

http://mm.icann.org/pipermail/tz-announce/2018-October/000051.html

   Volgograd moves from +03 to +04 on 2018-10-28.
   Fiji ends DST 2019-01-13, not 2019-01-20.
   Most of Chile changes DST dates, effective 2019-04-06.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 651937c166)
2018-10-25 18:48:33 +03:00
Dirk Brenken
55ebe88f4c
luci-app-openvpn: remove obsolete config options
* remove obsolete config options according to
  openwrt/openwrt@89b8ba9, fix for #2135
* whitespace/intendation fixes
* replace fieldset leftover with div
* fix finally recipe options transfer to regular config with "Add"

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit c2656a7220)
2018-10-11 13:46:37 +02:00
Dirk Brenken
b3cbe89b29
luci-app-openvpn: fix template based config creation
* minimal fix to bring back openvpn config creation based on
openvpn_recipes template, fix for #2146

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 1eb3f734c7)
2018-10-11 13:40:58 +02:00
Hannu Nyman
69325c11b5 timezone data: update to 2018e
Update timezone data to 2018e

http://mm.icann.org/pipermail/tz-announce/2018-May/000050.html

  North Korea switches back to +09 on 2018-05-05.
  The main format uses negative DST again, for Ireland

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 701f6b0819)
2018-10-09 18:25:33 +03:00
Dirk Brenken
9541751f7a
luci-app-adblock: sync with adblock 3.5.5
* fix cornercase issues in runtime information/json parsing

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 4e56083833)
2018-09-04 21:47:22 +02:00
Jo-Philipp Wich
650375611f
Merge pull request #2109 from kagurazakakotori/openwrt-18.06
luci-app-adblock: fix chinese translation
2018-08-23 19:20:37 +02:00
Kagurazaka Kotori
4f4b28b789
luci-app-adblock: fix chinese translation
simply add a </a> tag to stop the link filling the whole page

Signed-off-by: Kagurazaka Kotori <kagurazakakotori@gmail.com>
2018-08-24 01:16:43 +08:00
Jo-Philipp Wich
f64b152344 luci-app-firewall: allow "open ports" when no wan zone exists
Arguably this makes little if no wan zone exists but prefer consistency
over heuristics and always render the "open port" shortcut.

Fixes #2056
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit bf123fb7c4)
2018-08-16 10:52:26 +02:00
Ansuel Smith
f4da0b8cfb luci-mod-admin-full: applyreboot doesn't reload page
The applyreboot page doesn't reload the page onload of the loding gif. This adds the right function.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit 442ece768d)
2018-08-16 10:52:22 +02:00
Ansuel Smith
e0599d5064 luci-mod-admin-full: fix broken applyreboot page
This improve applyreboot page and fix problem with luci-nginx that doesn't refresh the page when the router reboot.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit 327e284b74)
2018-08-16 10:52:14 +02:00
Ansuel Smith
f9121fd86c luci-theme-material: fix theme for applyreboot page changes
This rename style.css to casade.css (like the other themes) and fix the css to display the header even in the applyreboot page

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit 35da63fa9a)
2018-08-16 10:52:09 +02:00
Jo-Philipp Wich
199eac4166 luci-base: mark password template dummy field as hidden
Mark the dummy input field as aria-hidden, should fix #2063.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 98d4eb1695)
2018-08-16 10:51:33 +02:00
Gregory L. Dietsche
a49e4e4d56 Correct grammar in apply_widget.htm
This patch corrects "to get" to "to be" in apply_widget.htm
This shell command was used to find and make the change in
all impacted files:

find . -type f -exec sed -i 's/Waiting for configuration to get applied/Waiting for configuration to be applied/g' {} +

Signed-off-by: Gregory L. Dietsche <gregory.dietsche@cuw.edu>
(cherry picked from commit abfe45ff61)
2018-08-07 16:38:26 +02:00
yangfl
8bb4873326 luci-base: update Chinese translation
Signed-off-by: David Yang <mmyangfl@gmail.com>
(cherry picked from commit c51f0d9714)
2018-08-07 16:38:20 +02:00
Krystian Kozak
8407d90aa1 luci-base: update Polish translation
Updated Polish translations.

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
(cherry picked from commit 10f12d7f6a)
2018-08-07 16:38:14 +02:00
Krystian Kozak
5d1d6915ca luci-base: update Polish translation
Updated Polish translations.

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
(cherry picked from commit 6dbdc2cae8)
2018-08-07 16:37:46 +02:00
Alan Swanson
3d5d9dc574 luci-mod-admin-full: Fix DSL Stats display of dB statistics
Line attenuation, signal attenuation, noise margin and aggregate transmit
power really need to show decimal digits. Fixes commit 88713f6 from issue

(cherry picked from commit 4b3d20cda4)
[rewrapped commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-08-04 20:06:14 +02:00
Hannu Nyman
7d69fa6a50
Merge pull request #2018 from chris5560/18.06-ddns
luci-app-ddns[18.06]: remove myself as PKG_MAINTAINER
2018-08-01 19:44:34 +03:00
Hannu Nyman
2da3f93feb
Merge pull request #2016 from chris5560/openwrt-18.06
luci-app-radicale[18.06]: remove myself as PKG_MAINTAINER
2018-08-01 19:44:11 +03:00
Jo-Philipp Wich
5ec72617ee luci-theme-bootstrap: fix CSS regression in kernel/system log pages
An unrelated removed some crucial fixes due to improper rebasing.

Fixes: 7ba4eb1a4 ("luci-theme-bootstrap: add styling for input-adjacent buttons")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 176e246998)
2018-07-31 17:26:48 +02:00
Dirk Brenken
9beff0720e
luci-app-adblock: "final" fixes
during intense testing with different browsers (Chrome/Firefox/partly IE
in a VM) I found & fixed some more minor things:

* remove needless hook & include from overview page
* fix possible JS error in Runtime Information
* Align CSS color with "LuCI standard"

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit b8f8394681)
2018-07-31 15:45:47 +02:00
Dirk Brenken
cc4310817e
luci-app-travelmate: "final" fixes
during intense testing with different browsers (Chrome/Firefox/partly IE
in a VM) I found & fixed some more minor things:

* re-add accidently removed "apply_on_parse" attribute in overview cbi
* fixed a corner case where the "Restart" button not works correctly
* Removed leftovers from last commit

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit af25cf4879)
2018-07-31 15:32:07 +02:00
Jaymin Patel
e290fe917d fix compilation failure when luasrcdiet is being copied to non existing directory
Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
(cherry picked from commit bb336671ff)
2018-07-31 06:58:01 +02:00
Hannu Nyman
1983dc615e
Merge pull request #2014 from dibdot/travelmate-18.06
luci-app-travelmate: backport 1.2.1 to 18.06 branch
2018-07-30 23:07:41 +03:00
Hannu Nyman
d844d51323
Merge pull request #2013 from dibdot/adblock-18.06
luci-app-adblock: backport 3.5.4 to 18.06 branch
2018-07-30 23:07:27 +03:00
Christian Schoenebeck
7f5b296e30 luci-app-ddns[18.06]: remove myself as PKG_MAINTAINER
remove myself as PKG_MAINTAINER

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2018-07-30 21:58:32 +02:00
Christian Schoenebeck
b0dce7a681 luci-app-radicale[18.06]: remove myself as PKG_MAINTAINER
remove myself as PKG_MAINTAINER

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2018-07-30 21:51:08 +02:00
Dirk Brenken
56266d0707 luci-app-travelmate: backport 1.2.1 to 18.06 branch
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-30 13:40:13 +02:00
Dirk Brenken
bf5dd58377 luci-app-adblock: backport 3.5.4 to 18.06 branch
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-30 13:27:38 +02:00
Jo-Philipp Wich
6df9a57ef0 luci-theme-openwrt: style tweaks for DSL status display
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 6d74a82bf6)
2018-07-29 21:12:59 +02:00
Jo-Philipp Wich
c26709a850 luci-theme-bootstrap: style tweak for DSL status display
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 765816d07d)
2018-07-29 21:12:59 +02:00
Jo-Philipp Wich
db5bde618b luci-mod-admin-full: rework DSL Status display
Fixes #2003.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>

(cherry picked from commit 88713f6456)
2018-07-29 21:12:59 +02:00
Jo-Philipp Wich
d05f442ad5 luci-mod-admin-full: fix style glitch on packages page
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a0b4d2adb6)
2018-07-28 17:14:22 +02:00
Jo-Philipp Wich
ea09513095 luci-base: fix luasrcdiet
- Stage required libraries as well
 - Remove not existing make target
 - Override library search path

Fixes: b5d5e5bf1 ("luci-base: update luasrcdiet")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 63fbf5a805)
2018-07-28 17:14:22 +02:00
Jo-Philipp Wich
680a6d2ad3 luci-proto-relay: propagate up state, do not forward netifd errors
Due to historical reasons, the relayd daemon configuration resides in the
form of a fake "config interface" section in /etc/config/network without
actually registering a protocol handler.

This causes netifd to emit an "INVALID_PROTO" error for the interface
which is technically correct, but confusing for LuCI users.

This situation needs to be resolved upstream by either moving relayd
configuration out of the network config, or by converting the relayd
service into a proper protocol handler.

Until this happens, do not report any netifd errors since we're not
operating on an actual interface.

While we're at it, also propagate the protocol up state from the fake
virtual device to ensure that LuCI displays the relay bridge as "up"
when all relayed interfaces are up as well.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit aae187dedf)
2018-07-28 17:14:22 +02:00
Jo-Philipp Wich
520afa4c39 luci-base: fix footer template
Move the apply widget markup before the final </html> tag to avoid XHTML
errors with the OpenWrt theme.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 350be23eb9)
2018-07-28 17:14:22 +02:00