Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-09-11 | luci-app-firewall: display "this new zone" instead of "undefined" | Nicholas Smith | |
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au> | |||
2019-09-11 | luci-app-firewall: disallow creating zone without name | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-11 | luci-base: widgets.js: fix display quirk in tools.widgets.DeviceSelect | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-11 | luci-base: validation.js: implement length() datatype validator | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-11 | luci-mod-network: add missing dependency on rpcd-mod-iwinfo | Jo-Philipp Wich | |
Fixes: 963b7636b ("luci-mod-network: switch to client side wifi configuration pages") Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-11 | luci-base: view.htm: catch and render exceptions on view instantiation | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-11 | luci-base: luci.js: register rpc interceptor to catch expired sessions | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-11 | luci-base: luci.js: rework error handling | Jo-Philipp Wich | |
- Capture stack trace in L.raise() if passed type is not an Error instance - Use L.ui.addNotification in L.error() to render the error message - Prevent duplicate error reporting in the ui Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-11 | luci-base: rpc.js: revamp error handling, add interceptor support | Jo-Philipp Wich | |
Add two new functions L.rpc.addInterceptor() and L.rpc.removeInterceptor() which allow to register and remove interceptor functions which are invoked before the rpc reply result promise is fulfilled. Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-11 | luci-theme-bootstrap: cleanup alert-message css, add fade-in/fade-out anims | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-11 | luci-base: ui.js: implement addNotification() helper | Jo-Philipp Wich | |
The L.ui.addNotification() function pushes a dismissable banner message to the top of the view. Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-theme-bootstrap: mobile style fixes for wifi overview view | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: replace luci/getHostname with generic file/read rpc operation | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | protocols: replace luci/getTTYDevices calls with generic file/list ones | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: add hostapd/wpa_supplicant cli feature flags | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-mod-network: switch to client side wifi configuration pages | Jo-Philipp Wich | |
Rewrite the wireless network management views in client side JS using ubus rpc calls for the router communication. Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: form.js: store pointer to parent map in modal overlay map | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: form.js: pass-through promise in handleAdd | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: network.js: add getHostHints() api | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-theme-bootstrap: add required styles for file upload widget | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: use cgi-io and rpcd-mod-file to handle file upload and browsing | Jo-Philipp Wich | |
Remove the old server side support for file browsing and file uploading and switch to a client side widget instead which uses XMLHTTPRequests to upload files via cgi-io and RPC calls for file listing and status queries. Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: cbi.js: handle ui elements which return a promise in render() | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: cbi.js: fix unintended number sign overflow in format | Jo-Philipp Wich | |
Fixes: #3003 Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: form.js: use createHandlerFn() for click actions | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: luci.js: use createHandlerFn() for page actions | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: form.js: do not consider inactive fields for dependency checks | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: rpc.js: add getStatusText() call | Jo-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-10 | luci-base: network.js: fix, rework and improve wireless state handling | Jo-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-10 | luci-base: add getWirelessDevices() rpc method | Jo-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-10 | luci-base: luci.js: support passing FormData as request payload | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: luci.js: support registering request progress handlers | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: luci.js: fix L.Poll.remove() | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-mod-network: slightly improve static lease config | Jo-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-10 | luci-base: form.js: use createHandlerFn() for modal button actions | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: form.js: disable write/remove actions for DummyValue widgets | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-app-fireall: remove unused templates | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-app-firewall: filter alias interfaces in zone device selection | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | protocols: drop server side cbi implementations of protocol handlers | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-mod-network: switch to client side interface configuration pages | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | protocols: add client side protocol handler implementations | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: rpcd: add getHostname and getTTYDevices calls | Jo-Philipp Wich | |
Also add IPv6 feature indication. Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: network.js: add hacks to enable relay protocol support | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: ui.js: update tabs after initial render | Jo-Philipp Wich | |
This ensures that the error badges are properly set. Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: form.js: rework section add/remove event handling | Jo-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-10 | luci-base: ui.js: also handle failed promises in createHandlerFn() | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: ui.js: ignore description when checking for empty tab panes | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-10 | luci-base: luci.js: support custom filter function in dom.isEmpty() | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2019-09-09 | Merge pull request #3052 from dibdot/banIP | Dirk Brenken | |
luci-app-banip: sync with banIP 0.2.0 | |||
2019-09-09 | luci-app-banip: sync with banIP 0.2.0 | Dirk Brenken | |
* see details in package PR Signed-off-by: Dirk Brenken <dev@brenken.org> | |||
2019-09-08 | Merge pull request #3044 from stangri/master-luci-app-vpnbypass | Florian Eckert | |
luci-app-vpnbypass: better start/stop controls, create entry in the VPN menu if it exists |