summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-09-24luci-app-mosquitto: validate paths as path, not fileKarl Palsson
luci has separate validation for directories and files, make sure to use the right one. Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-09-24Merge pull request #2178 from booo/fix/profile_berlin-mesh_networkJo-Philipp Wich
community-profiles: change subnet of mesh_network option for Berlin
2018-09-24community-profiles: change subnet of mesh_network option for BerlinPhilipp Borgers
The mesh_network option is used to check the user input. The wizard checks if the input ip address is part of the mesh_network. We use multiple /16 networks. There is no support for multiple ranges so we the 10.0.0.0/8. For reference the ip list: https://wiki.freifunk.net/IP-Netze Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
2018-09-24luci-mod-network: disable setup on new wifi-iface addFlorian Eckert
If we add a new wifi-iface to the config then the iface will start at once. But normaly we would configure the wireless security in the next step. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-21Merge pull request #2169 from luizluca/pt-br-updateJo-Philipp Wich
i18n: update pt-br translation
2018-09-20i18n: update pt-br translationLuiz Angelo Daros de Luca
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2018-09-20Merge pull request #2168 from remakeelectric/app-snmpdJo-Philipp Wich
luci-app-snmpd: Basic net-snmpd config options
2018-09-20luci-app-snmpd: Basic net-snmpd config optionsKarl Palsson
Imported from https://github.com/remakeelectric/owrt_pub_feeds/tree/master/luci-app-snmpd Only provides configuration of basic authentication and system level options, not even close to the entire slew of options that net-snmp supports, but the basics are still helpful, and a base for future work. Signed-off-by: Karl Palsson <karlp@etactica.com>
2018-09-20Merge pull request #2167 from YuriPet/masterJo-Philipp Wich
luci-base: update Ukrainian translation
2018-09-20luci-mod-status: fix querying IPv6 addressJo-Philipp Wich
Correct a typo that prevents displaying the interface IPv6 address in some cases. Fixes: #2166 Reported-by: Vladislav Grigoryev <20725816+vgaetera@users.noreply.github.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-20luci-base: update Ukrainian translationYurii
luci-base: corrected and update Ukrainian translation with the latest resync. Signed-off-by: Yurii yuripet@gmail.com
2018-09-19Merge pull request #2165 from musashino205/l10n/base-upd-jaHannu Nyman
luci-base: update Japanese translation
2018-09-20luci-base: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-09-19Merge pull request #2164 from Ansuel/ddns_fixHannu Nyman
luci-app-ddns: fix overview page
2018-09-19i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-09-19build/mkbasepot.sh: Fix i18n after luci-mod-admin-full splitHannu Nyman
Fix i18n sync scripts by including also the three new modules luci-mod-{network,status,system} in base.pot. Note: I did not remove luci.mod-admin-full in case it will ever get some new contents. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-09-19luci-base: switch admin category node to firstnode() actionJo-Philipp Wich
After this change, luci-base will render the first module or application page installed on the system, instead of rendering a "Component not found" message when the status category is unavailable. This allows for single-purpose LuCI installations like e.g. luci-base with luci-app-travelmate which only presents application specific views without any of the standard system pages. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-19luci-base: dispatcher: introduce firstnode() dispatching targetJo-Philipp Wich
The firstnode target will dispatch the request to the first eligible menu subtree node that is not a redirect to another node, a special action or post security enabled page. That action is specifically useful for global category toplevel nodes like "admin" which are supposed to simply direct access to the first installed page node without having to hardcode specific choices. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-19modules: Split luci-mod-fullDaniel F. Dickinson
Move some common elements to luci-base, and otherwise make three packages out of status, system, and network. They were mostly separated already, but there were some shared elements between status and network that are now in luci-base. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
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-19luci-app-ddns: fix overview pageAnsuel Smith
Small fix for wrong display of next update data Signed-off-by: Ansuel Smith <ansuelsmth@gmail.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