summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network
AgeCommit message (Collapse)Author
2019-11-08luci-base, luci-mod-network: migrate getDUIDHints method to C pluginJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-07luci-mod-network: wireless.js: restore client disconnect functionalityJo-Philipp Wich
Ref: https://forum.openwrt.org/t/19-07-luci-disconnect-missing/47897 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03treewide: require ui.js explicitlyJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03luci-mod-network: remove unused `iface_down` endpointJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03luci-base, luci-mod-network: invoke ifdown directly in interface overviewJo-Philipp Wich
Replace the `iface_down` endpoint with a direct invocation of `/sbin/ifdown` and replace the interface connectivity check with a call to the new `remote_addr` endpoint. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03luci-mod-network: add admin/network/remote_addr endpointJo-Philipp Wich
The remote_addr endpoint allows clients to query their external IP address as seen by the device as well as the inbound network devices and logical interfaces on the router. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01luci-mod-network: fix disabled state in wifi settings modalJo-Philipp Wich
Also auto-enable the radio upon network join. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01luci-mod-network: use declarative dependencies in controllerJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01luci-mod-network: interfaces.js: issue iface restart via file/exec rpc callJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01luci-mod-network: wireless.js: issue wifi restart via file/exec rpc callJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01luci-base: remove unused Lua codeJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01luci-base, luci-mod-network, luci-app-firewall: migrate luci/getHostHintsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01luci-base, luci-mod-network: migrate luci/getDHCPLeases to C pluginJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-15luci-mod-network: wireless.js: fix null access on failing iwinfo callsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-15luci-mod-network: wireless.js: fix null access on unavailable country listJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-30luci-mod-network: display the mesh ID in wireless overview if applicableJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24Merge pull request #2756 from Ansuel/wpsJo-Philipp Wich
luci-mod-network: permit WPS push-button on WPA3
2019-09-24luci-mod-network: permit WPS push-button on WPA3Ansuel Smith
Currently WPS push-button is dropped when SAE or SAE-Mixed is selected. WPS is still supported in WPA3. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-09-24luci-mod-network: add master optionAnsuel Smith
Adds option to set interface as master in dhcpv6 relay mode. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-09-24luci-mod-network: wireless.js: properly handle SAE in join confirmationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-mod-network: interfaces.js: map remove action to network.deleteNetwork()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-mod-network: wireless.js: prompt for passphrase when joining SAE netJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-mod-network: resort zonePromise orderChen Minqiang
This fix #3103 Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2019-09-20luci-mod-network: sort wifi encryption by strength and popularityJo-Philipp Wich
Fixes: #3082 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-20luci-mod-network: fix key option quirk when switching wep and wpa modesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-20luci-mod-network: default to ieee80211w=2 for OWEJo-Philipp Wich
Ref: https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/network/services/hostapd/files/hostapd.sh;h=46acbefeeeb771de879dd9926ad170042dff2473;hb=HEAD#l327 Fixes: 63f28fd06 luci-mod-network: default to ieee80211w=1 for OWE Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-20luci-mod-network: default to ieee80211w=1 for OWEJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-20luci-mod-network: wireless.js: fix parsing of wep key slot cfgvalueJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-19luci-mod-network: wireless.js: fix disabled state on disabled radioJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-19luci-mod-network: wireless.js: select proper 11w default for WPA3 modesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-18luci-mod-network: interfaces.js: derive status from layer 3 deviceJo-Philipp Wich
Align the status column device selection logic with the approach used for rendering the interface status boxes; first try to obtain the active layer3 device as reported by ubus, only then fall back to the protocol specific device hint which might or might not point to an existing device. Fixes: #3076 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-13luci-mod-network: wireless.js: restore mac hints in mac list widgetJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-12luci-mod-network: reimplement switch configuration as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-11luci-base: restore some lost translations and update germanJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-11luci-mod-network: add missing dependency on rpcd-mod-iwinfoJo-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-10luci-mod-network: switch to client side wifi configuration pagesJo-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-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-mod-network: switch to client side interface configuration pagesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-08-14luci-app-firewall: honour global default policies in per-zone settingsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-30luci-mod-network: 802.11w config in station modeAntoine Deschênes
802.11w has to be enabled in station mode to be effective. If the AP is using WPA3-SAE or requires 11w, station will not connect unless 11w is enabled via this option. Signed-off-by: Antoine Deschênes <adeschenes@kronostechnologies.com>
2019-07-21luci-mod-network: fix typo in wifi scan JS codeJo-Philipp Wich
Fixes: 8dd2df29c ("luci-mod-network: improve wifi scan status reporting") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-19luci-mod-network: improve wifi scan status reportingJo-Philipp Wich
Attempt to properly report the scan status by treating 404 replies as not yet completed scans and empty array replies as successful scans that did not yield any results. Fixes: #2874 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07luci-mod-network: switch hostname configuration to client side jsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07luci-mod-network: switch route configuration page to client side viewJo-Philipp Wich
Also implement extended route attributes via modal dialog. Fixes: #2695 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07luci-mod-network: replace DHCP & DNS view with client side implementationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-26luci-mod-network: os-release variables have been renamed to OPENWRT_Bjørn Mork
commit 8a34a54b6aa6 ("base-files: use OPENWRT prefix for os-release variables") changes the prefix of the os-release variables from LEDE_ to OPENWRT_. Use the new name. Signed-off-by: Bjørn Mork <bjorn@mork.no>
2019-05-29Merge pull request #2670 from TDT-AG/pr/20190410-luci-mod-networkFlorian Eckert
luci-mod-network: move auto option to general tab
2019-05-09Merge pull request #2687 from HenryGiraldo/masterJo-Philipp Wich
luci-mod-admin-full: add dependency for channel auto
2019-05-07luci-mod-admin-network: fix VLAN "add" button for empty switchesJo-Philipp Wich
Fixes OpenWrt FS#2270. Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2270 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-05-02luci-mod-admin-full: add dependency for channel autoEnrique Giraldo
Do not show 'auto' channel option if hostapd is not compiled with CONFIG_ACS Signed-off-by: Enrique Giraldo <hgiraldos@gmail.com>