summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network
AgeCommit message (Collapse)Author
2020-10-30Merge pull request #4508 from Ansuel/wpscontrolJo-Philipp Wich
luci-mod-status: add WPS control for wifi info
2020-10-11luci-mod-network: check directly if hostapd supports wpsAnsuel Smith
Wps Push Button feature is now supported directly from ubus instead of using hostapd_cli. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-10-08luci-mod-network: handle multiple mac for static leaseAnsuel Smith
The mac section for the static lease doesn't correctly handle when multiple mac are set for a rule. Fixes: #4291 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-09-14Merge pull request #3265 from najdanovicivan/patch-2Florian Eckert
luci-mod-network: add address parameter in DHCP for dnsmasq
2020-06-16Merge pull request #4127 from blocktrron/luci-wep-featuresJo-Philipp Wich
luci-mod-network: query WEP support
2020-06-12luci-mod-network: diagnostics.js: pass IP version flag to ping/ping6William Fleurant
Signed-off-by: William Fleurant <meshnet@protonmail.com>
2020-06-01luci-mod-network: query support for WEPDavid Bauer
This commit removes WEP from the list of supported encryption methods in case hostapd or wpa_supplicant were compiled without WEP support. Signed-off-by: David Bauer <mail@david-bauer.net>
2020-05-17luci-mod-network: allow literal "auto" value for distanceJo-Philipp Wich
Fixes: #4050 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-05-13luci-mod-network: fix reading static route table valueJo-Philipp Wich
Ref: https://forum.openwrt.org/t/static-route-shows-incorrect-table/63514 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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-17luci-mod-network: Add Address parameter in DHCPNajdanovic Ivan
Address is very useful in dnsmasq. I don't see a reason why we should not have it in the form Signed-off-by: Najdanovic Ivan <najdanovicivan@gmail.com>
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>