summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network/htdocs/luci-static
AgeCommit message (Collapse)Author
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-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-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-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>
2024-04-07luci-mod-network: follow-up fix for 723507231566b61750e32284b49acdae0d0162d3Paul Donald
add a null-check before parsing networks loop through available networks on all interfaces except loopback Closes #7047 Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-04-02luci-mod-network: add DHCPv6 NTP server config helper to interfacesPaul Donald
Appears under DHCPv6-service when set to 'server' or 'hybrid'. Option 'ntp' is serviced by odhcpd. It sends a DHCPv6 NTP Server option 56 for each 'ntp' list entry. Once uci loads the system section, it provides suggestion presets of system configured upstream NTP servers, and the LAN IP(v6) of the router which are then statically configured by the user. It would make more sense if odhcpd fetches them directly. Alas, it does not (yet). Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-03-29luci-mod-network: change ULA explanationPaul Donald
ULA as defined in RFC4193 mentioned a possible future where the L bit is 0 (implying some global coordinator be used). Locally generated ULA always have the L bit set to 1, so the prefix is always fd00::/8 (though ULA with the L bit set 0 or 1 are treated identically). Technically, fc00::/7 isn't a range, but a prefix which implies a range, conveniently partitioned by and at the L bit. A range would be correctly denoted as fc00::-fdff:ffff:ffff:ffff:ffff:ffff:ffff:ffff. The rewording avoids mention of fc00::/7. The randomly generated prefix in all cases starts fd. The sentences were split to ease i18n. Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-03-15luci-mod-network: don't trigger uci save on removing bridge vlansJo-Philipp Wich
Do not trigger a uci save operation on removing bridge VLANs as that might invalidate the ephemeral section ID of a just added network device. Fixes: #6990 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-03-12luci-mod-network: drop trailing whitespaceDaniel Nilsson
This resulted in the sysfs parameter to be invalid as it contained a space. Signed-off-by: Daniel Nilsson <daniel.nilsson94@outlook.com>
2024-03-03luci-mod-network: Add clarifying note to wireless join dialogHannu Nyman
Add a clarifying note about two different meanings of "network"on the wireless join page. In the dialog title the word "network" refers to the wireless SSID, while in the config item the same "network" refers to the name to be used in OpenWrt network configuration. Reference to forum discussion at https://forum.openwrt.org/t/cant-join-a-scanned-network/189859 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2024-02-19luci-mod-network: dhcp.js: relax CNAME domain validationJo-Philipp Wich
Relax the CNAME domain validation to allow wildcard names. Fixes: #6801 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-02-17luci-mod-network: wireless: RADIUS Access/Accounting-Request attrsPaul Donald
See following for more detail: https://w1.fi/cgit/hostap/commit/?id=af35e7af7f8bb1ca9f0905b4074fb56a264aa12b Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-02-15luci-mod-network: dhcp: separate actual value and display stringPaul Donald
saved value will now be only an integer. Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-02-15luci-mod-network: fix broken formattingPaul Donald
Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-02-14Revert "luci-mod-network: add ppsk option (support for Private PSK)"Paul Donald
This reverts commit 75a2fd233baabf6fa5bafcb13ccc6d7000a4604d. Resolves issue#6902