summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-07-30Merge pull request #2001 from Rixerx/masterHannu Nyman
luci-base: update Polish translation
2018-07-30Merge pull request #2012 from jempatel/masterJo-Philipp Wich
fix compilation failure when luasrcdiet is being copied to non existing directory
2018-07-30fix compilation failure when luasrcdiet is being copied to non existing ↵Jaymin Patel
directory Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
2018-07-30Merge pull request #2010 from EricLuehrsen/unbound_20180721Jo-Philipp Wich
luci-app-unbound: add LuCI for forward stub and auth zone clauses
2018-07-29luci-app-unbound: add LuCI for forward stub and auth zone clausesEric Luehrsen
With growing interest, DNS over TLS can be setup in Unbounds foward-zone: clause. New section 'zone' is available for forward-, stub-, and auth- zone cluses. This LuCI application will show the 'zone' section and permit changing 'enabled' and 'fallback' options. Detailed changes to 'zone' secitons will need to use the Edit:UCI tab (text editor). Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2018-07-29Merge pull request #2009 from dibdot/travelmateDirk Brenken
luci-app-travelmate: remove needless backup file
2018-07-29luci-app-travelmate: remove needless backup fileDirk Brenken
* remove needless development file from last commit Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-29Merge pull request #2007 from dibdot/travelmateDirk Brenken
luci-app-travelmate: sync with travelmate 1.2.1
2018-07-29luci-theme-openwrt: style tweaks for DSL status displayJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-29luci-theme-bootstrap: style tweak for DSL status displayJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-29luci-mod-admin-full: rework DSL Status displayJo-Philipp Wich
Fixes #2003. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-28luci-app-travelmate: sync with travelmate 1.2.1Dirk Brenken
* Runtime Information, Logview and Station Overview are now dynamically updated via XHR poll * New runtime information for "Faulty Stations" (Travelmate backend will no longer rename faulty uplinks) * Add a new "Restart" button to reset "Faulty Stations" information and trigger a Travelmate restart * In Stations overview the currently used uplink is emphasized in blue, faulty uplinks in red * Numerous cleanups (e.g. space=>tab indentation) and other small fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-28Merge pull request #2006 from dibdot/adblockDirk Brenken
luci-app-adblock: small fixes
2018-07-28luci-app-adblock: small fixesDirk Brenken
* fix possible controller error during json parsing * remaining code cleanup Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-28luci-mod-admin-full: fix style glitch on packages pageJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-28luci-base: fix luasrcdietJo-Philipp Wich
- Stage required libraries as well - Remove not existing make target - Override library search path Fixes: b5d5e5bf1 ("luci-base: update luasrcdiet") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-28luci-proto-relay: propagate up state, do not forward netifd errorsJo-Philipp Wich
Due to historical reasons, the relayd daemon configuration resides in the form of a fake "config interface" section in /etc/config/network without actually registering a protocol handler. This causes netifd to emit an "INVALID_PROTO" error for the interface which is technically correct, but confusing for LuCI users. This situation needs to be resolved upstream by either moving relayd configuration out of the network config, or by converting the relayd service into a proper protocol handler. Until this happens, do not report any netifd errors since we're not operating on an actual interface. While we're at it, also propagate the protocol up state from the fake virtual device to ensure that LuCI displays the relay bridge as "up" when all relayed interfaces are up as well. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-28luci-base: fix footer templateJo-Philipp Wich
Move the apply widget markup before the final </html> tag to avoid XHTML errors with the OpenWrt theme. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-27luci-base: update Polish translationKrystian Kozak
Updated Polish translations. Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2018-07-27treewide: rework rollback/apply workflowJo-Philipp Wich
Rework the apply confirmation mechanism to be session agnostic in order to circumvent cross domain restrictions which prevent the JS code from issuing apply confirm requests in some cases, e.g. when changing the LAN IP. Confirmation calls may now be done from unauthenticated pages, as long as a matching confirmation token is sent along with the request. The reasoning behind this is that there is little security impact in confirming pending apply sessions, especially since those sessions can only be initiated while being authenticated. After this change, LuCI will now launch a confirmation process on every rendered page when a rollback is pending. The confirmation will happen regardless of whether the user is logged in or not, or if the current page is a CBI form or static template. A confirmation request now also requires a random one-time token which is rendered along with the confirmation JavaScript code in order to succeed. This token is not meant to provide security but to ensure that the confirm was triggered from an interactive browser session and not some background HTTP requests that happened to end up in the admin ui. As a consequence, the different apply/confirm/rollback code paths in CBI maps and the UCI change/revert pages have been consolidated into one common implementation residing in the common global theme agnostic footer template. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-27luci-base: xhr.js: decode JSON for POST requests as wellJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-27luci-base: utils: support multiple return values in util.ubus()Jo-Philipp Wich
This is needed to deal with ubus methods that return multiple results, e.g. session/list Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-26Merge pull request #1993 from sotux/master_zh_CNJo-Philipp Wich
luci-base: zh_CN: Update Simplified Chinese translation
2018-07-26Merge pull request #1946 from korzhyk/web_homeJo-Philipp Wich
luci-app-transmission: Allow user to define custom web interface
2018-07-26Merge pull request #1985 from Andy2244/masterJo-Philipp Wich
luci-app-samba4: add new application
2018-07-26luci-mod-admin-full: abbreviate "MAC-Address" as "MAC" to align with restJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-26luci-mod-admin-full: fix wifi overview display when no networks are definedJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-26Merge pull request #1761 from pmelange/ff_olsr_watchdog_del_tnlJo-Philipp Wich
ff_olsr_watchdog: delete stale tunnels
2018-07-25ff_olsrd_watchdog: delete existing tunnelspmelange
When OLSRd crashes, the old tunnels still exist. This can lead to unexpected behaviour. The tunnels to be removed start with "tnl_" See freifunk-berlin/firmware#522 Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-07-25Merge pull request #1997 from dibdot/adblockDirk Brenken
luci-app-adblock: small visual fixes
2018-07-25luci-app-adblock: small visual fixesDirk Brenken
* made readonly textarea (logview) scrollable again (bootstrap theme) * align "Query" input button Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-25luci-base: zh_CN: Update Simplified Chinese translationZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-07-24luci-app-samba4: add new applicationAndy Walsh
* updated version for the samba4 package Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2018-07-23luci-base: strip superfluous space in additional field markupJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-23luci-theme-openwrt: fix button placement quirkJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-23luci-base: cbi.js: fade to-be-deleted section when hovering delete buttonJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-23luci-base: cbi.js: use adjacent button dynlist add/remove buttonsJo-Philipp Wich
Change the cbi.js code to create a div based button element instead of an image button. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-23luci-base: rework reveal/hide CBI password template buttonJo-Philipp Wich
Also add a hidden type password field to prevent browser autocompleters from entering the login passwords into fields liek the wireless WPA key field. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-23luci-theme-bootstrap: add styling for input-adjacent buttonsJo-Philipp Wich
Also add styling for CBI column title references. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-23luci-theme-openwrt: add styling for input-adjacent buttonsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-22Merge pull request #1986 from dibdot/adblockJo-Philipp Wich
luci-app-adblock: fix translations
2018-07-22luci-app-adblock: fix translationsDirk Brenken
* fix runtime & button translations Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-22luci-mod-admin-full: unify "Alias interface" and "Alias Interface" stringsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-22luci: do not depend on uhttpd-mod-ubusJo-Philipp Wich
We do not need this module at all, yet. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-22Merge pull request #1982 from Rixerx/masterJo-Philipp Wich
luci-base: update Polish translation
2018-07-22Merge pull request #1983 from dibdot/adblockJo-Philipp Wich
luci-app-adblock: sync with adblock 3.5.4
2018-07-22luci-theme-openwrt: support rendering tblsection cell descriptionsJo-Philipp Wich
Add support for rendering the "data-description" attribute when rendering decomposed tables for small screen resolutions. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-22luci-base: add description annotations to tblsection cellsJo-Philipp Wich
Add a "data-description" attribute to CBI fields which have a description set, this allows responsive design themes to render a field description when decomposing the table grid. Also reuse the precalculated "typename" property if it exists, instead of deriving it from the template name yet again. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-22luci-app-adblock: sync with adblock 3.5.4Dirk Brenken
backend: * add low priority mode (nice level 10), disabled by default * enhance 'Force DNS' to redirect ports 53, 853 and 5353 frontend: * switch to dynamic XHR polling for runtime information and logfile viewing * add new 'Refresh' button to reload blocklists * various cleanups & small fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-21luci-base: update Polish translationKrystian Kozak
Updated Polish translations. Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>