summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network
AgeCommit message (Collapse)Author
2020-04-17treewide: add ACL annotations to menu entriesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-mod-network: wireless.js: disable action buttons on insufficient ACLsJo-Philipp Wich
Also implement disabled state in custom frequency select widget. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-mod-network: interfaces.js: disable action buttons on insufficient ACLsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-11luci-mod-network: dhcp.js: allow lease hostname to be emptyJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-11luci-mod-network: dhcp.js: fix validation logicJo-Philipp Wich
The `server` option allows plain IPs besides the `/domain/addr` format. Fixes: #3870 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-09treewide: reorganize base ACLsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-07luci-base, luci-mod-network: adjust ZoneSelect / NetworkSelect descriptionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-03treewide: import utility classes explicitlyJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-02luci-mod-network: rework signal badge disabled stateJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-01luci-mod-wireless: avoid signal badge wrapping in scan listJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-26luci-mod-network: add WPA3-EAP and mixed WPA2/WPA3-EAP settingsJo-Philipp Wich
Fixes: #3363 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-24luci-mod-network, luci-mod-status: allow assoclist wrappingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit a600ebb5fe14b13cb53669eb73b86f66cc699e94)
2020-03-23luci-mod-network: dhcp.js: properly validate hostname valuesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23luci-mod-network: adjust assoclist markup for easier stylingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23luci-mod-network: diagnostics.css: use .btn CSS class for buttonsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-21luci-mod-network: interfaces.js: add global packet steering optionAlan Swanson
Previously an undocumented "default_ps" option without a corresponding luci entry. Hotplug script was updated in openwrt master to use "packet_steering" as the option and now defaults to off. Ref: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=d3868f15f876507db54afacdef22a7059011a54e Signed-off-by: Alan Swanson <reiver@improbability.net>
2020-03-03luci-mod-network: extended interfaces.js for check if new interface is ↵Helge Mader
createable Signed-off-by: Helge Mader <ma@dev.tdt.de>
2020-03-02luci-mod-network: switch.js: fix internal port orderingJo-Philipp Wich
Fixes: #3709 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-02luci-mod-network: fix typoFranco Castillo
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2020-03-01luci-mod-network: properly handle "no signal" and "disabled" in signal badgesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-21luci-mod-network: wifi join: allow reclaiming empty wwan networksJo-Philipp Wich
Fixes: #3660 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-21luci-mod-network: wifi join: add option to lock bssidJo-Philipp Wich
Fixes: #3661 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-21luci-mod-network: wifi scan: add button to start/stop refreshesJo-Philipp Wich
Fixes: #3662 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-21luci-mod-network: explicitely configure "none" encryption in wifi joinJo-Philipp Wich
Fixes: #3663 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-17luci-mod-network, luci-mod-status: harmonize wifi signal indicatorsJo-Philipp Wich
Fixes: #3636 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-31luci-mod-network: dhcp.js: adjust resolvfile placeholder to OpenWrt defaultJo-Philipp Wich
Ref: https://github.com/openwrt/luci/commit/5d15363408d263fccae90b3b7ab0ebac6329eebb#commitcomment-37059122 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-31luci-mod-network: dhcp.js: fix resolvefile option dependsJo-Philipp Wich
Ref: https://forum.openwrt.org/t/resolvfile-option-not-showing/54229 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-28luci-mod-network: handle missing switch port state informationJo-Philipp Wich
Ref: https://github.com/openwrt/luci/issues/3565 Ref: https://forum.openwrt.org/t/cannot-read-property-link/50766 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-16luci-mod-network: fix missing semicolonsDavid Lam
Corrects missing semicolons from the previous commit. Signed-off-by: David Lam <david@thedavid.net>
2020-01-16luci-mod-network: add system cert bundle validationDavid Lam
This commit adds the ability for users to validate against the system's built-in CA bundle if it is installed. The process is made much easier because the user does not have to first extract the CA certificate from the EAPOL handshake and upload it via LuCI uploads. Dependent on commit openwrt/openwrt#2696. Signed-off-by: David Lam <david@thedavid.net>
2020-01-15Merge pull request #3444 from swg0101/subjectvalidationFlorian Eckert
luci-mod-network: add certificate subj validation
2020-01-12luci-mod-network: add certificate subj validationDavid Lam
This PR is tied to changes being made via openwrt/openwrt#2654, and it allows users to provide certificate constraint(s) when connecting as a STA to an AP using Enterprise modes. The constraints can either be provided via the certificate's X509 subject using a substring (e.g. /CN=wifi.mycompany.com) or subject alternate name values (e.g. DNS:wifi.mycompany.com), although both can be combined for a stricter validation criteria. Other options, such as wildcard and exact domain matches are also available. Signed-off-by: David Lam <david@thedavid.net>
2020-01-03Merge pull request #3391 from TobleMiner/feature-vlan-descriptionFlorian Eckert
luci-mod-network: Add description field to VLANs (trivial)
2019-12-20luci-base: fix typosBalázs Úr
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
2019-12-18luci-mod-network: replace controller address check action with cgi-io scriptJo-Philipp Wich
This change removes the last bit of Lua code from luci-mod-network. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-17luci-base: fix typosBalázs Úr
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
2019-12-16luci-mod-network: reimplement diagnostics page as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-16luci-mod-network: convert menu nodes to JSONJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-16luci-mod-network: dhcp.js: fix default state of nonwildcardJo-Philipp Wich
Fixes: #3415 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-16luci-mod-network: fix rebind list validationJo-Philipp Wich
Fixes: 62e28f4b0 ("luci-mod-network: dhcp.js: fix address and rebind list validation") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-16luci-mod-network: dhcp.js: fix address and rebind list validationJo-Philipp Wich
Fixes: #3130 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-16luci-mod-network: re-add DHCPv6 lease status to dnsmasq pageJo-Philipp Wich
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=2674 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-04luci-mod-network: Add description field to VLANsTobias Schramm
Having a description attached to a VLAN makes identification a lot easier when dealing with many VLANs Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
2019-11-22luci-mod-network: dnsmasq: correct sense & usage of dnsseccheckunsignedKevin Darbyshire-Bryant
dnsmasq v2.80 made 'dnssec-check-unsigned' the default, reflect this in the gui. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2019-11-08luci-mod-network: dhcp.js: fix DNSSEC feature probingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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>