Age | Commit message (Collapse) | Author |
|
Per the discussion in https://github.com/openwrt/luci/issues/869, make
luci-base sufficient to login, logout, and review and apply or revert
uci changes. This allows most luci-app-xxx to work without having
luci-mod-admin-full installed.
It has been tested with some apps and not luci-mod-admin-full, as well
as with luci-mod-admin-full (to make sure the usual case doesn't break).
Instead of creating a new module namespace (e.g. 'Base') we reduce the
opportunities for breakage by having luci-base take over the 'shell' of
the 'Administration' (admin/....) namespace.
Since admin is assumed by all current building LuCI components (including
Freifunk), this doesn't introduce the 'Administration' tab into any
situation where it would not already be present (but includes it where it
was before).
We also add a "Component not installed" page to avoid fatal errors and
backtrace when e.g. luci-mod-admin-full is not installed.
Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
|
|
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>
|
|
Slightly restructure markup to avoid inconsistent button rendering.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
luci-app-ddns: various fix
|
|
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>
|
|
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>
|
|
luci-mod-admin-full: performance fix
|
|
TDT-AG/pr/20180918-luci-theme-material-css-customize
luci-theme-material: make colors configurable
|
|
luci-proto-ipv6: fix dependency for IPv6
|
|
luci-theme-material: Monospace font for textarea elements
|
|
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>
|
|
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>
|
|
luci-app-openvpn: fix template based config creation
|
|
luci-app-unbound: add protocol=ip4_local option support
|
|
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
|
|
Backup: add firmware backup for mtdblock devices
|
|
Signed-off-by: Ameer Dawood <ameer1234567890@gmail.com>
|
|
* minimal fix to bring back openvpn config creation based on
openvpn_recipes template, fix for #2146
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
luci-base: update Turkish translation
|
|
Add missing translations.
Signed-off-by: Yusuf Soyipek <yusuf@soyipek.com>
|
|
i18n: sync translations
|
|
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
|
|
luci-app-samba4: add macOS and Apple Timemachine support
|
|
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
|
|
luci-app-adblock: use placeholder in query tool
|
|
luci-app-adblock: update Japanese translation
|
|
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Signed-off-by: Rosy Song <rosysong@rosinson.com>
|
|
Use the placeholder property on the textbox in the query tool so it's more convenient.
Signed-off-by: Andrei Troie <andreitroie90@gmail.com>
|
|
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>
|
|
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
|
|
luci-app-https_dns_proxy: initial commit
|
|
luci-app-mwan3: fixes and improvements
|
|
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
|
luci-base: update Polish translation
|
|
Updated Polish translations.
Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
|
|
Rework overview page, sync with new style and simplify the code by removing unnecessary check.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
luci-base: update Russian translation
|
|
luci-app-adblock: sync with adblock 3.5.5
|
|
Add missing translations.
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
|
|
Signed-off-by: Rosy Song <rosysong@rosinson.com>
|
|
luci-base: update Ukrainian translation
|
|
* fix cornercase issues in runtime information/json parsing
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
Updated with the latest sync translation.
Signed-off-by: Yurii yuripet@gmail.com
|
|
luci-base: update Japanese translation
|