summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network
AgeCommit message (Collapse)Author
2024-11-28luci-mod-network: fix DHCP ip constraint (masks generate "bad address")Paul Donald
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-11-24luci-mod-network: routes: implement cloneable for all tabsPaul Donald
This enables cloning of individual routes and rules where one wishes to make similar entries rapidly. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-11-17luci-mod-network: Fix for a9e1685 to enable translationHannu Nyman
Fix the erroneous placement of ) in a9e1685 to actually provide translation. Fixes #7401 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2024-11-14luci-mod-network: dhcp; implement ignore_hosts_dir dnsmasq settingPaul Donald
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-11-14luci-mod-network: improve route setting descriptionsPaul Donald
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-11-05luci-mod-network: show 'Interface disabled' in statusPaul Donald
Signed-off-by: Fengyu Wu <saldry@proton.me> Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-11-05luci-mod-network: rework interface status infoPaul Donald
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-10-29luci-mod-network: add 11be support - revert hwval null check for 5g/2g modeRudy Andram
remove misplaced ax/be checks Signed-off-by: Rudy Andram <rmandrad@gmail.com>
2024-10-28luci-mod-network: move wifi country-code to 'general' tabPaul Donald
increase prominence of this setting Closes #7356 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-10-23luci-mod-network: add support for wireless no outdoor restrictionChristian Marangi
Some channels may restrict its use to indoor only. Add support for this and alert the user if a channel with this limitation is used. Closes #5695 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-10-23luci-mod-network: use RichListValue widget from form.jsPaul Donald
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-10-23luci-mod-network: add ppsk option (support for private psk)Manuel Giganto
Include support in luci to enable the Private PSK. When Private PSK is enabled, clients can use a default password (common), or have their own private password that is associate with the client MAC. The password is retrieved from RADIUS server, asking for the client MAC, and when such client MAC is not defined, RADIUS should return a default password. RADIUS can also return other parameters like VLANs, which can be used to put clients dinamically in different vlans based on their MAC, or the default configuration. Private PSK is not compatible yet with SAE encryption, therefore cannot be used yet with WPA3 or WPA3-mixed. It implements the UI for the PPSK already in master: https://github.com/openwrt/openwrt/pull/3509 Closes #4513 Signed-off-by: Manuel Giganto <mgigantoregistros@gmail.com> Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-10-23luci-mod-network: Add cache-rr to cache responses by record type namePaul Donald
This follows https://github.com/openwrt/openwrt/pull/14975 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-10-23luci-mod-network: Add filter-rr to filter responses by record type namePaul Donald
This follows https://github.com/openwrt/openwrt/pull/14975 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-10-23luci-mod-network: Add DNS-RR resource record tab to DHCPPaul Donald
As a convenience at load/save, the hex field de/encodes hex respectively This follows https://github.com/openwrt/openwrt/pull/14975 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-10-07luci-wireless: Add 11be supportRudy Andram
Tested with filogic banana rpi4 / QNAP qualcommax ipq8074 Signed-off-by: Rudy Andram <rmandrad@gmail.com> Tested-By: Daniel Pawlik <pawlik.dan@gmail.com>
2024-10-07luci-mod-network: split interface name and protocol validationDaniel Nilsson
The previous implementation of binding the protocol validation to the name validation caused problems when creating a new interface where an already existing interface had the new one's protocol as its name, as the protocol would be used when validating if an interface of that name already existed. Consider the following case: 1. Interface 'gre' with protocol PPPoE is created 2. Interface 'foo' with protocol GRE tunnel over IPv4 (which resolves to 'gre') tries to be created Creating interface 'foo' would error out during protocol validation as 'gre' would be passed to the name validation, which in turn would check if an interface with name 'gre' already exists, which it does. Instead of reusing the validation logic, simply trigger the name validation manually as the protocol changes to properly pass the name of the interface instead of the protocol. This also gives the benefit of keeping all error states related to the name contained in the appropriate UI element. Fixes #7146 Tested-by: Tiago Gaspar <tiagogaspar8@gmail.com> Signed-off-by: Daniel Nilsson <dannil+github@protonmail.com>
2024-09-20luci-mod-network: change to non-breaking space characterPaul Donald
Closes #7252 Thanks to @efahl Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-09-14luci-mod-network: sourcefilter option available for modemmanagerChen Minqiang
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2024-09-12luci-mod-network: Clarify 'metric' valuePaul Donald
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-09-06ACL: Add system read for luci-mod-network needed for timezone in wirelessYann Diorcet
2024-09-02Merge pull request #7198 from schuettecarsten/pr/dnsmasq_edns0_upstreamFlorian Eckert
dnsmasq: Add options for new EDNS0 options
2024-08-30luci-mod-network: routes.js: make interface setting optionalJo-Philipp Wich
Fixes: #7260 Ref: https://git.openwrt.org/5c2e5d5ea4e0dd9a0ed66154d818b96bf81664f4 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-08-02dnsmasq: Add options for new EDNS0 optionsCarsten Schuette
Signed-off-by: Carsten Schuette <schuettecarsten@googlemail.com>
2024-07-26luci-mod-network: wireless.js: expose ocv settingsMichael Yartys
Make it possible to set Operating Channel Validation through luci. Signed-off-by: Michael Yartys <mail@yartys.no>
2024-07-25luci-mod-network: made expandAndFormatMAC return arraysPaul Donald
instead of returning a space separated string follow-up to 5ab0cb1f15bcb31015ae8345d302c6d023ba51e2 Closes #7209 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-07-23luci-mod-network: Correctly assign dnsmasq instance: name not numberPaul Donald
Closes #7199 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-07-19luci-mod-network: revert replacing button tags with div tagsFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-07-18luci-mod-network: Present GCMP (AES) options in wifiPaul Donald
And include ccmp-256 bit Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-07-18luci-mod-network: Present wpa3-192bit option in wifiPaul Donald
Closes #7193 See https://github.com/openwrt/netifd/commit/db3934d2f740bdfe8537933741f71b439a109422 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-07-17Merge pull request #7153 from TDT-AG/pr/20240607-luci-baseFlorian Eckert
treewide: add new css class button-row
2024-07-09luci-mod-network: replace css class right with css class button-rowFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-06-27luci-mod-network: typo-fix: APR -> ARPSergio Nemirowski
Signed-off-by: Sergio Nemirowski <sergio@outerface.net>
2024-06-07luci-mod-network: replace button tag with div tagFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-06-07luci-mod-network: add missing css class btnFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-05-28luci-mod-network: remove debugPaul Donald
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-05-28luci-mod-network: Fill ipset name choice with available firewall ipsetsPaul Donald
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-04-30luci-mod-network: steering flow - permit only integer valueAndrea Pesaresi
An user can insert a strange value right now, with this commit, only integer value can be insert. Signed-off-by: Andrea Pesaresi <andreapesaresi82@gmail.com>
2024-04-30luci-mod-network: remove indentPaul Donald
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-04-30luci-mod-network: manage new packet steering scriptPaul Donald
Due to the changing on script from this commit https://github.com/openwrt/openwrt/commit/7ebcf2fb9c5db8b75666761f5e767c91abb1f437 I suggest these changing to select "old style" or "new style" with steering_flow Signed-off-by: Andrea Pesaresi <andreapesaresi82@gmail.com> Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-04-21luci-mod-network: wireless.js: match AP channel and htmode on joinJo-Philipp Wich
Set a matching HT mode and channel number on joining a wireless network. Fixes: #7066 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-04-20luci-mod-network: fix potential null dereference on deleting VLANsJo-Philipp Wich
Fixes: #7074 Fixes: 61cef9baad ("luci-mod-network: don't trigger uci save on removing bridge vlans") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-04-16Merge pull request #7056 from TDT-AG/pr/20240411-ucitrackFlorian Eckert
luci-base: conversion of ucitrack handling from uci to json
2024-04-12luci-mod-network: fix look and feel for DNSMASQ IP-Sets generationFlorian Eckert
On the configuration page of '/admin/network/dhcp' on the IP sets tab, it is possible to make changes directly in the table. However, this is not displayed correctly when using the theme 'luci-theme-material' if the options can be changed directly in this view. The problem is solved by not editing the configuration in the overview page but in the overlay page. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: move and rename ucitrack odhcpd.jsonFlorian Eckert
Move the json file to where it belongs. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: move and rename ucitrack dhcp.jsonFlorian Eckert
Move the json file to where it belongs. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: move and rename ucitrack network.jsonFlorian Eckert
Move the json file to where it belongs. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-11luci-base: move and rename ucitrack wireless.jsonFlorian Eckert
Move the json file to where it belongs. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-08luci-mod-network: dhcp.js: group DNS record related options in one tabJo-Philipp Wich
In order to unclutter the default dnmasq configuration view, move the Hostnames (A+PTR), SRV, MX and CNAME sections into a new dedicated "DNS Records" tab. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-04-08luci-mod-network: dhcp.js: improve behavior with default configurationJo-Philipp Wich
- Hide anonymous section title if only one instance is present - Hide section remove button if only one instance is present - In case multiple sections are present, label the first and subsequent anonymous sections as `Default instance` and `Unnamed instance #N` respectively - Label named sections as `Instance "XXX"` - Label delete buttons as `Remove instance "XXX"`, `Remove default instance` or `Remove instance #N` depending on whether the associated instance is the first anonymous one, a subsequent anonymous one or a named one - Label add button as `Add server instance` - Add placeholder text `New instance nameā€¦` to the section name input Ref: https://forum.openwrt.org/t/x/194048 Signed-off-by: Jo-Philipp Wich <jo@mein.io>