summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-09-19modules: Make luci-base sufficient to use luci appsDaniel F. Dickinson
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>
2018-09-19Merge pull request #2140 from kristrev/multiple-upstream-interfaces-statusJo-Philipp Wich
luci-base: Show multiple upstream interface
2018-09-19luci-base: Show multiple upstream interfaceKristian Evensen
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-18luci-mod-admin-full: fix diagnostic page glitchJo-Philipp Wich
Slightly restructure markup to avoid inconsistent button rendering. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-18Merge pull request #1865 from Ansuel/ddns_fixgetJo-Philipp Wich
luci-app-ddns: various fix
2018-09-18Merge pull request #2160 from remakeelectric/app-mosqJo-Philipp Wich
luci-app-mosquitto: import new application
2018-09-18luci-app-mosquitto: import new applicationKarl Palsson
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-18Merge pull request #2157 from Ansuel/unboundJo-Philipp Wich
luci-app-unbound: add cache_dump tab
2018-09-18luci-app-unbound: add cache_dump tabAnsuel Smith
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-18Merge pull request #2121 from jokdarius/feature/0001-performace-fixJo-Philipp Wich
luci-mod-admin-full: performance fix
2018-09-18Merge pull request #2159 from ↵Jo-Philipp Wich
TDT-AG/pr/20180918-luci-theme-material-css-customize luci-theme-material: make colors configurable
2018-09-18Merge pull request #2126 from rosysong/ipv6Jo-Philipp Wich
luci-proto-ipv6: fix dependency for IPv6
2018-09-18Merge pull request #2150 from ameer1234567890/material-theme-monospace-fontJo-Philipp Wich
luci-theme-material: Monospace font for textarea elements
2018-09-18luci-theme-material: make colors configurableFlorian Eckert
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-17Merge pull request #2154 from dibdot/openvpn-fixDirk Brenken
luci-app-openvpn: remove obsolete config options
2018-09-17luci-app-openvpn: remove obsolete config optionsDirk Brenken
* 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-16Merge pull request #2149 from dibdot/openvpn-fixDirk Brenken
luci-app-openvpn: fix template based config creation
2018-09-16Merge pull request #2152 from EricLuehrsen/unbound-1.8.0Dirk Brenken
luci-app-unbound: add protocol=ip4_local option support
2018-09-16luci-app-unbound: add protocol=ip4_local option supportEric Luehrsen
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2018-09-14Merge pull request #2122 from rosysong/backupHannu Nyman
Backup: add firmware backup for mtdblock devices
2018-09-14luci-theme-material: Monospace font for textarea elementsAmeer Dawood
Signed-off-by: Ameer Dawood <ameer1234567890@gmail.com>
2018-09-14luci-app-openvpn: fix template based config creationDirk Brenken
* 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-14Merge pull request #2148 from ysoyipek/patch-5Hannu Nyman
luci-base: update Turkish translation
2018-09-13luci-base: update Turkish translationYusuf Soyipek
Add missing translations. Signed-off-by: Yusuf Soyipek <yusuf@soyipek.com>
2018-09-12Merge pull request #2144 from TDT-AG/pr/20180912-i18n-sync-translationsHannu Nyman
i18n: sync translations
2018-09-12i18n: sync translationsMartin Schiller
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2018-09-11Merge pull request #2071 from Andy2244/luci-app-samba4-timemachineDirk Brenken
luci-app-samba4: add macOS and Apple Timemachine support
2018-09-11luci-app-samba4: add macOS compatibility option and Apple Timemachine supportAndy Walsh
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-09-08Merge pull request #2136 from aft90/luci-app-adblock-query-box-placeholderDirk Brenken
luci-app-adblock: use placeholder in query tool
2018-09-08Merge pull request #2137 from musashino205/l10n/adblk-upd-jaDirk Brenken
luci-app-adblock: update Japanese translation
2018-09-09luci-app-adblock: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-09-08modules: add backup module for mtdblock devicesRosy Song
Signed-off-by: Rosy Song <rosysong@rosinson.com>
2018-09-07luci-app-adblock: use placeholder in query toolAndrei Troie
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-07Merge pull request #2131 from tano-systems/firewall-fix-russian-translationHannu Nyman
luci-app-firewall: fix and update Russian translation
2018-09-06luci-app-firewall: fix and update Russian translationAnton Kikin
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-06luci-base: fix a typo in Russian translationAnton Kikin
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-09-04Merge pull request #2110 from stangri/luci-app-https_dns_proxyDirk Brenken
luci-app-https_dns_proxy: initial commit
2018-09-03Merge pull request #2120 from TDT-AG/pr/20180830-luci-app-mwan3-fixesDirk Brenken
luci-app-mwan3: fixes and improvements
2018-09-02luci-app-https_dns_proxy: initial commitStan Grishin
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-09-02Merge pull request #2129 from Rixerx/masterHannu Nyman
luci-base: update Polish translation
2018-09-02luci-base: update Polish translationKrystian Kozak
Updated Polish translations. Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2018-09-02luci-app-ddns: various fixAnsuel Smith
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-02Merge pull request #2127 from tano-systems/update-russian-translationHannu Nyman
luci-base: update Russian translation
2018-09-01Merge pull request #2125 from dibdot/adblockDirk Brenken
luci-app-adblock: sync with adblock 3.5.5
2018-09-01luci-base: update Russian translationAnton Kikin
Add missing translations. Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-09-01luci-proto-ipv6: fix dependency for IPv6Rosy Song
Signed-off-by: Rosy Song <rosysong@rosinson.com>
2018-09-01Merge pull request #2124 from YuriPet/masterHannu Nyman
luci-base: update Ukrainian translation
2018-09-01luci-app-adblock: sync with adblock 3.5.5Dirk Brenken
* fix cornercase issues in runtime information/json parsing Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-09-01luci-base: update Ukrainian translationYurii
Updated with the latest sync translation. Signed-off-by: Yurii yuripet@gmail.com
2018-08-31Merge pull request #2123 from musashino205/l10n/base-upd-jaHannu Nyman
luci-base: update Japanese translation