Commit graph

10171 commits

Author SHA1 Message Date
Ansuel Smith
8e13fcfbac
luci-app-ddns: fix overview page
Small fix for wrong display of next update data

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-09-19 14:00:43 +02:00
Jo-Philipp Wich
1a0316bbba
Merge pull request #2140 from kristrev/multiple-upstream-interfaces-status
luci-base: Show multiple upstream interface
2018-09-19 11:36:30 +02:00
Kristian Evensen
a13748d414 luci-base: Show multiple upstream interface
Several devices have multiple upstream interfaces, for example a fixed
and a mobile broadband connection. Currently, only one upstream
interface is shown per address family in Luci. So in my example, one of
the interfaces would not appear on the Status-page.

This PR introduces support for showing multiple upstream interfaces on
the Status-page. The code is not very complicated. get_status_by_route()
has been extended to return a list of all routes, and
get_wannet()/get_wan6net() now returns all upstream interfaces.

I could not find any other (active) users of these three functions than
calls triggered from the Status-page, so changing the default behavior
should be fine. get_wandev()/get_wan6dev() called get_status_by_route(),
but I could not find any place where those functions were called. I
removed the dev-functions instead of keeping the old
get_status_by_route().

On the status page, the wan/wan6-variables have been replaced with
arrays. When populating the html, we now iterate through these arrays
and create one element for each interface.

I have tested the code with different interface types, v4, v6, as well as
disconnecting and connecting interfaces. The status is updated and the
correct interfaces (or sometimes none at all) are shown.

Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
2018-09-19 11:01:38 +02:00
Jo-Philipp Wich
9142a71469 luci-mod-admin-full: fix diagnostic page glitch
Slightly restructure markup to avoid inconsistent button rendering.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-18 18:45:19 +02:00
Jo-Philipp Wich
6cfbb8ad4e
Merge pull request #1865 from Ansuel/ddns_fixget
luci-app-ddns: various fix
2018-09-18 18:30:22 +02:00
Jo-Philipp Wich
1b6e3bc5ae
Merge pull request #2160 from remakeelectric/app-mosq
luci-app-mosquitto: import new application
2018-09-18 18:07:27 +02:00
Karl Palsson
7552fce8cc luci-app-mosquitto: import new application
Originally developed and maintained at https://github.com/remakeelectric/owrt_pub_feeds/tree/master/luci-app-mosquitto

Vs the original, this version has been converted to use the luci.mk
style, and has dropped the now obsolete ucitrack entries.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-09-18 15:44:52 +00:00
Jo-Philipp Wich
cfb726ae5d
Merge pull request #2157 from Ansuel/unbound
luci-app-unbound: add cache_dump tab
2018-09-18 17:38:41 +02:00
Ansuel Smith
013a8187ed
luci-app-unbound: add cache_dump tab
This adds in the State tab a new option to dump cache from unbound-control application

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-09-18 17:31:25 +02:00
Jo-Philipp Wich
e11980b150
Merge pull request #2121 from jokdarius/feature/0001-performace-fix
luci-mod-admin-full: performance fix
2018-09-18 17:18:23 +02:00
Jo-Philipp Wich
ef1ca5f26d
Merge pull request #2159 from TDT-AG/pr/20180918-luci-theme-material-css-customize
luci-theme-material: make colors configurable
2018-09-18 17:15:38 +02:00
Jo-Philipp Wich
1536be6774
Merge pull request #2126 from rosysong/ipv6
luci-proto-ipv6: fix dependency for IPv6
2018-09-18 17:02:26 +02:00
Jo-Philipp Wich
a531d7bc06
Merge pull request #2150 from ameer1234567890/material-theme-monospace-font
luci-theme-material: Monospace font for textarea elements
2018-09-18 17:01:46 +02:00
Florian Eckert
19a0522a12 luci-theme-material: make colors configurable
The var() css function can be used to insert the value of a custom property.
A custom.css file is added to change the colors. This file will get included
in the cascade.css file.

The following colors could be costomized in the file costom.css.

--header-bg
--header-color
--menu-bg-color
--menu-color
--submenu-bg-hover
--submenu-bg-hover-active

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-18 14:38:29 +02:00
Dirk Brenken
2cbc3932e9
Merge pull request #2154 from dibdot/openvpn-fix
luci-app-openvpn: remove obsolete config options
2018-09-17 20:36:48 +02:00
Dirk Brenken
c2656a7220 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>
2018-09-17 14:22:14 +02:00
Dirk Brenken
5cb6c1c698
Merge pull request #2149 from dibdot/openvpn-fix
luci-app-openvpn: fix template based config creation
2018-09-16 08:42:21 +02:00
Dirk Brenken
3c4d2ebb87
Merge pull request #2152 from EricLuehrsen/unbound-1.8.0
luci-app-unbound: add protocol=ip4_local option support
2018-09-16 08:41:25 +02:00
Eric Luehrsen
f4818d414a luci-app-unbound: add protocol=ip4_local option support
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2018-09-16 00:00:41 -04:00
Hannu Nyman
6bea6eebf0
Merge pull request #2122 from rosysong/backup
Backup: add firmware backup for mtdblock devices
2018-09-14 20:05:36 +03:00
Ameer Dawood
818ce143f2
luci-theme-material: Monospace font for textarea elements
Signed-off-by: Ameer Dawood <ameer1234567890@gmail.com>
2018-09-14 12:52:33 +05:00
Dirk Brenken
1eb3f734c7 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>
2018-09-14 08:57:06 +02:00
Hannu Nyman
9e5baf9b3a
Merge pull request #2148 from ysoyipek/patch-5
luci-base: update Turkish translation
2018-09-14 09:32:50 +03:00
Yusuf Soyipek
96c2b30960
luci-base: update Turkish translation
Add missing translations.

Signed-off-by: Yusuf Soyipek <yusuf@soyipek.com>
2018-09-13 23:17:57 +03:00
Hannu Nyman
072d356816
Merge pull request #2144 from TDT-AG/pr/20180912-i18n-sync-translations
i18n: sync translations
2018-09-12 18:47:48 +03:00
Martin Schiller
5f7c695848 i18n: sync translations
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2018-09-12 11:17:30 +02:00
Dirk Brenken
9727f552fe
Merge pull request #2071 from Andy2244/luci-app-samba4-timemachine
luci-app-samba4: add macOS and Apple Timemachine support
2018-09-11 10:26:48 +02:00
Andy Walsh
2593bc61a7 luci-app-samba4: add macOS compatibility option and Apple Timemachine support
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-09-11 09:57:57 +02:00
Dirk Brenken
fb27334aef
Merge pull request #2136 from aft90/luci-app-adblock-query-box-placeholder
luci-app-adblock: use placeholder in query tool
2018-09-08 20:23:15 +02:00
Dirk Brenken
47bffc14da
Merge pull request #2137 from musashino205/l10n/adblk-upd-ja
luci-app-adblock: update Japanese translation
2018-09-08 20:21:56 +02:00
INAGAKI Hiroshi
19fa506eff luci-app-adblock: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-09-09 02:40:08 +09:00
Rosy Song
9840d310e2 modules: add backup module for mtdblock devices
Signed-off-by: Rosy Song <rosysong@rosinson.com>
2018-09-08 15:07:01 +08:00
Andrei Troie
ddaac101a5 luci-app-adblock: use placeholder in query tool
Use the placeholder property on the textbox in the query tool so it's more convenient.

Signed-off-by: Andrei Troie <andreitroie90@gmail.com>
2018-09-07 23:59:20 +01:00
Hannu Nyman
18b4483fe7
Merge pull request #2131 from tano-systems/firewall-fix-russian-translation
luci-app-firewall: fix and update Russian translation
2018-09-07 16:35:34 +03:00
Anton Kikin
299988e9cd luci-app-firewall: fix and update Russian translation
Add missing translations and update existing not quite correct translations.
Removed redundant <br> tags from translations.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-09-06 19:49:28 +03:00
Anton Kikin
9b4bc1da41 luci-base: fix a typo in Russian translation
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-09-06 09:14:31 +08:00
Dirk Brenken
f6dd8761fc
Merge pull request #2110 from stangri/luci-app-https_dns_proxy
luci-app-https_dns_proxy: initial commit
2018-09-04 16:49:43 +02:00
Dirk Brenken
0208b957a7
Merge pull request #2120 from TDT-AG/pr/20180830-luci-app-mwan3-fixes
luci-app-mwan3:  fixes and improvements
2018-09-03 16:31:41 +02:00
Stan Grishin
89110b1757 luci-app-https_dns_proxy: initial commit
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-09-02 18:49:54 -07:00
Hannu Nyman
875d80a07e
Merge pull request #2129 from Rixerx/master
luci-base: update Polish translation
2018-09-02 20:29:25 +03:00
Krystian Kozak
b16a257bd6 luci-base: update Polish translation
Updated Polish translations.

Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2018-09-02 19:26:26 +02:00
Ansuel Smith
e2d0f6104d
luci-app-ddns: various fix
Rework overview page, sync with new style and simplify the code by removing unnecessary check.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-09-02 14:04:31 +02:00
Hannu Nyman
616d806f1c
Merge pull request #2127 from tano-systems/update-russian-translation
luci-base: update Russian translation
2018-09-02 10:54:06 +03:00
Dirk Brenken
e3b060b3a6
Merge pull request #2125 from dibdot/adblock
luci-app-adblock: sync with adblock 3.5.5
2018-09-01 17:10:37 +02:00
Anton Kikin
961d02103f luci-base: update Russian translation
Add missing translations.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-09-01 16:38:36 +03:00
Rosy Song
a5c931d16f luci-proto-ipv6: fix dependency for IPv6
Signed-off-by: Rosy Song <rosysong@rosinson.com>
2018-09-01 15:57:11 +08:00
Hannu Nyman
757a6c7fc0
Merge pull request #2124 from YuriPet/master
luci-base: update Ukrainian translation
2018-09-01 10:25:35 +03:00
Dirk Brenken
4e56083833 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>
2018-09-01 08:42:00 +02:00
Yurii
f10818b98a
luci-base: update Ukrainian translation
Updated with the latest sync translation.

Signed-off-by: Yurii yuripet@gmail.com
2018-09-01 00:16:40 +03:00
Hannu Nyman
eec5e98aee
Merge pull request #2123 from musashino205/l10n/base-upd-ja
luci-base: update Japanese translation
2018-08-31 22:25:03 +03:00