summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-09-29luci-base: corrections to Russian translationJo-Philipp Wich
Add grammar corrections suggested in PRs #2114 and #2190. Suggested-by: Roman <x.wserfer@gmail.com> [squash #2114 and #2190, reword commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29applications: add Chinese translationsDavid Yang
Signed-off-by: David Yang <mmyangfl@gmail.com> [slightly reword commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29luci-app-wireguard: add descriptionsrwalli
Add description fields to luci-app-wireguard similar to those in luci-proto-wireguard. Ref: https://github.com/openwrt/luci/commit/140f41b4 Suggested-by: "rwalli" <rwalli@gmx.net> [squash commits, reword commit message, remove semicolons, remove trailing white space] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29luci-theme-bootstrap: enforce minimum width for IPv4 DHCP lease columnJo-Philipp Wich
Fixes #2132. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29themes: add data-page attribute to body elementsJo-Philipp Wich
This is useful to write page specific CSS rules. Also fix a missing space in the body CSS class name in the bootstrap theme while we're at it. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29luci-mod-system: correct table cell rendering without umount buttonJo-Philipp Wich
Fixes #2173. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29luci-base: cbi.lua: fix TypedSection.parse()Darius
It's not necessary to execute all code if section already exists. Signed-off-by: Darius Joksas <jok.darius@gmail.com> [reword commit message, squash commits, remove stray semicolon] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-29luci-app-firewall: remove unused codeDarius
- unused requirements removed - unused variable and foreach loop removed Signed-off-by: Darius <darius.joksas@teltonika.lt> [slightly reword commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-27Merge pull request #2184 from kyle30312/logout-cookie-fixJo-Philipp Wich
luci-base: fix sysauth cookie not removed on logout
2018-09-27luci-theme-bootstrap: fix typo in admin node lookupJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-27luci-theme-material: do not double escape menu titlesJo-Philipp Wich
Fixes #1410. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-27luci-theme-bootstrap: do not double escape menu titlesJo-Philipp Wich
Fixes #1410. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-27restored nixio tls providersSophana KOK
Signed-off-by: Sophana KOK <ml-github@worldspot.net>
2018-09-27luci-base: fix sysauth cookie not removed on logoutKyle Rogers
Signed-off-by: Kyle Rogers <7157021+kyle30312@users.noreply.github.com>
2018-09-27Merge pull request #2185 from TDT-AG/pr/20180927-luci-app-mwan3Jo-Philipp Wich
luci-app-mwan3: start adding german translation a new max_ttl option
2018-09-27Merge pull request #2186 from TDT-AG/pr/20180927-base-fix-german-translationJo-Philipp Wich
luci-base: fix german translations
2018-09-27luci-base: fix german translationsMartin Schiller
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2018-09-27luci-app-mwan3: add new max_ttl optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-27luci-app-mwan3: add german translationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-26Merge pull request #2181 from TDT-AG/pr/20180925-luci-theme-materialJo-Philipp Wich
luci-theme-material: fixes and add openwrt logo brand
2018-09-26luci-theme-material: fix partly hidden logout navbar itemFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de> Signed-off-by: Konrad Kreitmair <kreitmair.konrad@web.de>
2018-09-26luci-theme-material: add logo brandFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de> Signed-off-by: Konrad Kreitmair <kreitmair.konrad@web.de>
2018-09-25luci-theme-material: fix whitspaces and change modeFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-25Merge pull request #2177 from TDT-AG/pr/20180924-luci-mod-networkJo-Philipp Wich
luci-mod-network: disable wifi config on new wifi-iface add
2018-09-24Merge pull request #2179 from remakeelectric/mos-path-vs-fileJo-Philipp Wich
luci-app-mosquitto: validate paths as path, not file
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