summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/luasrc
AgeCommit message (Collapse)Author
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-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: switch to client side interface configuration pagesJo-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-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-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>
2019-04-25luci-mod-network: add is_auto option to iface_statusFlorian Eckert
Make interface information is_auto available. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-04-10luci-mod-network: move auto option to general tabFlorian Eckert
Since openwrt-18.06 the auto option is set/unset if we press connect/disconnect on the interface page. So I think we should move this to the general tab so that we see at once if this is started on boot or not. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-03-09luci-mod-network: wifi: Add OWE supportHauke Mehrtens
This allows to select OWE support in the wireless menu when a capable hostapd is installed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2019-03-09luci-mod-network: wifi: Add WPA3 SAE supportHauke Mehrtens
This checks if the installed hostapd supports SAE and allows to select WPA3 Personal SAE in that case. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2019-02-27wifi: add "macaddr" validator to bssid optionYousong Zhou
Resolves FS#1649 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-01-30Merge pull request #2466 from HenryGiraldo/masterJo-Philipp Wich
luci-mod-network: Add mesh_rssi_threshold and encryption
2019-01-24treewide: cleanup LEDE referencesHannu Nyman
Remove old LEDE references. Also remove one obviously wrong translation from pt-br Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-01-17luci-mod-network: Add mesh_rssi_threshold and encryptionEnrique Giraldo
* make mesh_rssi_threshold configurable * add SAE encryption support Signed-off-by: Enrique Giraldo <enrique.giraldo@galgus.net>
2019-01-01treewide: fix query arguments to admin/system/opkgYousong Zhou
Right now the handler only recognizes "query=xx" argument, others will be ignored. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-01-01treewide: fix redirecting to System->SoftwareYousong Zhou
By replacing url "admin/system/packages" with "admin/system/opkg" Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-12-20luci-base: use default poll intervalFlorian Eckert
Replace all XHR poll time number with -1 so they will use the default poll interval time value from "/etc/config/luci". If this is not set then 5 seconds as default is used. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27Merge pull request #2309 from rbalik/patch-1Jo-Philipp Wich
luci-mod-network: Add DAE settings to security tab
2018-11-25luci-mod-network: adapt to current 802.11r defaultsHannu Nyman
The default for 802.11r option ft_psk_generate_local was changed a few months ago by openwrt/openwrt@3cc56a5 That change was a bit awkward, as it made hostapd to overlook the possibly existing r0kh values by default unless the user explicitly disables the new default. Adapt LuCI by changing the default for ft_psk_generate_local into 'enabled'. But ensure that LuCI does not delete the existing key values by not making the r0kh and r1kh fields to depend on this. Note that this is just a quick fix for the wrong default value causing problems, but not yet a complete fix for all the options. In the long run it might be better to make the detail options to depend on local generation. Reference also to LuCI PR #2102 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-23luci-mod-network: move wifi and iface status JS into external filesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23luci-mod-network: move wifi scan JS into external fileJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23luci-mod-network: wifi scan CSS tweaksJo-Philipp Wich
Hide less important fields for mobile views. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23luci-mod-network: fix invalid translate() argument passAnton Kikin
We must pass to the translate() a string without substituted zone name. Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-11-22luci-mod-network: move wifi overview markup and JS code into external filesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22luci-mod-network: move interface overview JS into external fileJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-19luci-mod-network: Add DAE settings to security tabReuben Balik
Signed-off-by: Reuben Balik <rsbalik@gmail.com>
2018-11-15luci-mod-network: function name mismatch fixedDarius
Signed-off-by: Darius <jok.darius@gmail.com>
2018-11-14luci-mod-network: require unique MACs for DHCP leasesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-12luci-mod-admin-full: dnsmasq clarify non-wildcard modeKevin Darbyshire-Bryant
'non-wildcard' interfaces enables dnsmasq's '--bind-dynamic' mode. This binds dynamically to interfaces rather than wildcard addresses *and* keeps track of interface comings/goings via a unique Linux api. Quoting dnsmasq's author "bind-dynamic (bind individual addresses, keep up with changes in interface config) ... On linux, there's actually no sane reason not to use --bind-dynamic, and it's only not the default for historical reasons." listen/exclude interfaces may be used independently of bind dynamic mode so removed the bogus dependency of 'nonwildcard' enabling access to 'listen/exclude' interfaces - they may be used in any mode.. In fact the dnsmasq init script takes notice of include/exclude interfaces irrespective of the 'nonwildcard' parameter. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-11-05luci-mod-network: move AHCP protocol model to AHCP applicationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-10luci-mod-network: show bridges in ifacelist when the interface itself is not ↵yangfl
a bridge It's completely OK to select a bridge as the underlying interface of other interfaces, say a tunnel or PPPoE. The only case which should be forbidden is bridge over bridge. Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-09-29luci-app-network: add rekey option and inactivity tweakAnsuel Smith
This option is usefull to solve some problems with ath10k-ct and random client disconnect. This also adds some extra option to tune inactivity settings Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
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-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>