summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2019-09-10luci-base: rpc.js: add getStatusText() callJo-Philipp Wich
The new function allows translating an ubus return code into a human readable error message. Also report the called object and method on ubus rpc errors. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-base: network.js: fix, rework and improve wireless state handlingJo-Philipp Wich
- Use new getWirelessDevices rpc method to optimize data fetching - Implement further getters to access iwinfo information - Implement assoc- and scan list functions - Simplify internal data model Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-base: add getWirelessDevices() rpc methodJo-Philipp Wich
The getWirelessDevices() method merges the results of the network.wireless/status call with corresponding per-radio and per-network iwinfo data. This allows to simplify the client side network state model implementation and saves extraneous rpc roundtrips to fetch iwinfo data after discovering the wireless devices. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-base: luci.js: support passing FormData as request payloadJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-base: luci.js: support registering request progress handlersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-base: luci.js: fix L.Poll.remove()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-mod-network: slightly improve static lease configJo-Philipp Wich
- Autoselect the matching IPv4 address when initially picking a MAC - Add hostname hints in the MAC/IP dropdowns Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-base: form.js: use createHandlerFn() for modal button actionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-base: form.js: disable write/remove actions for DummyValue widgetsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-app-fireall: remove unused templatesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-app-firewall: filter alias interfaces in zone device selectionJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10protocols: drop server side cbi implementations of protocol handlersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-mod-network: switch to client side interface configuration pagesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10protocols: add client side protocol handler implementationsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-base: rpcd: add getHostname and getTTYDevices callsJo-Philipp Wich
Also add IPv6 feature indication. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-base: network.js: add hacks to enable relay protocol supportJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-base: ui.js: update tabs after initial renderJo-Philipp Wich
This ensures that the error badges are properly set. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-base: form.js: rework section add/remove event handlingJo-Philipp Wich
- Redraw map even when it could not be saved due to validation errors - Use createHandlerFn() for attaching event handlers - Convert buttons to <button> element to allow use of spinning class Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-base: ui.js: also handle failed promises in createHandlerFn()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-base: ui.js: ignore description when checking for empty tab panesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10luci-base: luci.js: support custom filter function in dom.isEmpty()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-09Merge pull request #3052 from dibdot/banIPDirk Brenken
luci-app-banip: sync with banIP 0.2.0
2019-09-09luci-app-banip: sync with banIP 0.2.0Dirk Brenken
* see details in package PR Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-09-08Merge pull request #3044 from stangri/master-luci-app-vpnbypassFlorian Eckert
luci-app-vpnbypass: better start/stop controls, create entry in the VPN menu if it exists
2019-09-08Merge pull request #3048 from musashino205/l10n/fw-fix-ukHannu Nyman
luci-app-firewall: remove unnecessary quotation in Ukrainian translation
2019-09-08Merge pull request #3047 from musashino205/l10n/adblk-upd-jaHannu Nyman
luci-app-adblock: update Japanese translation
2019-09-08luci-app-firewall: remove unnecessary quotation in Ukrainian translationINAGAKI Hiroshi
Removed unnecessary double quotation at the end of the line. It was reported as an error by i18n-sync.sh script. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-09-08luci-app-adblock: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-09-08luci-app-adblock: sync translationsINAGAKI Hiroshi
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-09-07luci-app-vpnbypass: better start/stop controls, create entry in the VPN menu ↵Stan Grishin
if it exists Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-09-06Merge pull request #3041 from dibdot/adblockDirk Brenken
luci-app-adblock: sync with adblock 3.8.5
2019-09-06luci-app-adblock: sync with adblock 3.8.5Dirk Brenken
* support the new extra options 'TLD Compression Threshold', 'Local FW/DNS Ports' and 'DNS Inotify', see packages PR for details. Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-09-03Merge pull request #3010 from TDT-AG/pr/20190826-dsl-status-FECSJo-Philipp Wich
luci-mod-status: xDSL Status: use new var names dsl.errors_fecs_*
2019-08-31Merge pull request #3029 from musashino205/l10n/tmate-upd-jaHannu Nyman
luci-app-travelmate: update Japanese translation
2019-08-31luci-app-travelmate: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-08-31luci-app-travelmate: sync translationsINAGAKI Hiroshi
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-08-29Merge pull request #3025 from dibdot/travelmateDirk Brenken
luci-app-travelmate: sync with 1.4.12
2019-08-29Merge pull request #3026 from stangri/master-luci-app-simple-adblockDirk Brenken
luci-app-simple-adblock: dns resolver value bugfix (#3000)
2019-08-29luci-app-simple-adblock: dns resolver value bugfix (#3000)Stan Grishin
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-08-29luci-app-travelmate: sync with 1.4.12Dirk Brenken
* option to add open uplinks to your wireless config, e.g. hotel captive portals (disabled by default) Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-08-28Merge pull request #3008 from TDT-AG/pr/20190826-firewall-german-translationFlorian Eckert
luci-app-firewall: Use more appropriate terms in german translations
2019-08-27Merge pull request #3014 from stangri/master-luci-app-advanced-rebootHannu Nyman
luci-app-advanced-reboot: bugfix for when network.lan.ipaddr is a table
2019-08-27Merge pull request #3017 from stangri/master-luci-app-simple-adblockHannu Nyman
luci-app-simple-adblock: delete extra file
2019-08-26luci-app-simple-adblock: delete extra fileStan Grishin
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-08-26luci-app-advanced-reboot: bugfix for when network.lan.ipaddr is a tableStan Grishin
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-08-26Merge pull request #3012 from dibdot/adblockDirk Brenken
luci-app-adblock: sync with adblock 3.8.3
2019-08-26luci-app-adblock: sync with adblock 3.8.3Dirk Brenken
* fix a suspend/resume issue * format overall domains with a thousands separator Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-08-26Merge pull request #3011 from YuriPet/masterJo-Philipp Wich
luci-base: fix some Ukrainian translations
2019-08-26luci-base: fix some Ukrainian translationsYurii
Signed-off-by: Yurii <yuripet@gmail.com>
2019-08-26luci-mod-status: xDSL Status: use new var names dsl.errors_fecs_*Martin Schiller
This is part of the FECS counter fix. Signed-off-by: Martin Schiller <ms@dev.tdt.de>