Commit Graph

1664 Commits

Author SHA1 Message Date
Tim Wilkinson 4a8cd83217
Fix LQM reporting and toggle (#1483) 2024-09-10 10:18:58 -07:00
Tim Wilkinson 21dccaaeb1
Alternative fix for wan/WAN capitalization (#1476) 2024-09-07 16:45:51 -07:00
Tim Wilkinson 4d3818f8df
Fix WAN port forwarding. (#1474) 2024-09-07 16:27:57 -07:00
Tim Wilkinson 1df7fa3e05
Mesh Node -> AREDN Node (#1472) 2024-09-07 15:11:14 -07:00
Tim Wilkinson 5bcd2b92a0
Make index.html (which automatically redirects) respect dark mode (#1471) 2024-09-07 14:48:57 -07:00
Tim Wilkinson 0cb8138250
Improve portable themes (#1470) 2024-09-07 09:40:34 -07:00
Tim Wilkinson 861e299251
Fix check for whether wireguard tunnels are up (#1469) 2024-09-07 09:40:23 -07:00
Tim Wilkinson ad07fb2148
Escape tunnel notes (#1468) 2024-09-06 12:00:33 -07:00
Tim Wilkinson 988b8165b3
Prevent newlines from being store in configs (#1464) 2024-09-06 10:32:23 -07:00
Tim Wilkinson 4d4d957d0d
Autofocus mesh search field (#1466) 2024-09-06 10:30:40 -07:00
Tim Wilkinson f5ef0ecd7b
Prevent any problematic character being stored in /etc/config and /etc/config.mesh (#1463)
* Remove any problematic character being stored in our config files.
Any specific escaping needs to take place in context. This just
stops them becoming a problem.
2024-09-05 18:24:58 -07:00
Tim Wilkinson b31696405c
Put old UI button just on the main page (#1460) 2024-09-04 16:36:47 -07:00
Tim Wilkinson c6d6024537
Improve UI feedback when removing packages (#1459) 2024-09-03 23:13:35 -07:00
Tim Wilkinson f616777111
Fix NTP problems. (#1457)
Bug: Changing the NTP setting in the new UI did nothing. Now it does.
Feature: Add 'continually' mode which is traditional always running NTP.
 Dont use on nodes with limited RAM.
2024-09-03 15:53:33 -07:00
Tim Wilkinson 6ecb8383e9
Improve portable theme messaging on other nodes (#1456) 2024-09-03 12:51:55 -07:00
Tim Wilkinson 9240bf87cf
Fix inability to set initial WAN VLAN (#1454) 2024-09-02 17:50:20 -07:00
Tim Wilkinson 4ab2629c33
Theme typo (missing 'c') (#1449) 2024-09-02 08:32:37 -07:00
Tim Wilkinson 2ac72eb29d
Fix supernode start port (#1446) 2024-09-01 22:04:29 -07:00
Tim Wilkinson 609af8b939
Rename Name & Security to Basics (#1444) 2024-09-01 21:56:37 -07:00
Tim Wilkinson bd46bb2e41
Detect new UI in old server tunnels so we can warn (#1440)
Because we can delete tunnels in the new UI, this will cause
problems in the old UI which doesnt support this. Warn when
we detect this.
2024-09-01 21:26:00 -07:00
Tim Wilkinson 1b6a5ae1ed
Fix themes and resource caching (#1443)
* Fix themes

* Meshpage resource namechange
2024-09-01 21:25:31 -07:00
Tim Wilkinson 638bc9a0bc
Remove subnames on dialogs (#1438) 2024-08-31 00:48:17 -07:00
Tim Wilkinson 2cd71ee923
Fixes for setting static network config (#1435)
* Add missing required fields to static WAN setup

* Dont display 'null' for missing wan fields

* Provide default static wan addresses otherwise the new UI cant set them
2024-08-30 17:29:28 -07:00
Tim Wilkinson c94dd44ee5
Add some option type validation (#1433) 2024-08-30 12:14:08 -07:00
Tim Wilkinson b0d8863765
Manage lock clash when reinstalling packages. (#1432)
The UI uses opkg to check package status which can cause a lock clash
if the reinstall script is running. Retry opkg commands in the script
if this happens, and also avoid reading package status in the UI until
the reinstall is complete.
2024-08-30 12:13:58 -07:00
Tim Wilkinson e03ebefd0a
Use datalist for dhcp option types for autocomplete and random values (#1430) 2024-08-29 22:56:06 -07:00
Tim Wilkinson ddbbe8a096
More color blind theme changes (#1426) 2024-08-29 21:55:26 -07:00
Tim Wilkinson 9eb08b66a4
Use autocomplete inputs rather than select for node lists (#1429) 2024-08-29 21:55:08 -07:00
Tim Wilkinson 0ec883a746
Tweak color blind negative color for improved contrast with text (#1422) 2024-08-28 21:23:38 -07:00
Tim Wilkinson c216d7dc34
DHCP option focus on firt select (#1421) 2024-08-28 19:51:16 -07:00
Tim Wilkinson 5dde2a97ce
Fix scaled LQ/NLQ values for neighbors (#1420) 2024-08-28 17:57:32 -07:00
Tim Wilkinson 93f20037f7
Add color blindness theme (#1418) 2024-08-28 11:53:11 -07:00
Tim Wilkinson 0f8b5710a0
Add missing autofocus and ENTER to DHCP tags and options (#1416) 2024-08-27 15:53:07 -07:00
Tim Wilkinson 83f94d7381
Use ENTER to add more new entries in various places (#1413) 2024-08-27 00:15:03 -07:00
Tim Wilkinson 6389a36286
No reboot necessary for PoE/PoU changes (#1412) 2024-08-26 17:32:29 -07:00
Tim Wilkinson b5153e0caa
Improve firmware download errors to be less cryptic. (#1411) 2024-08-26 16:31:16 -07:00
Tim Wilkinson 0829f6400a
Focus newly created items (#1410) 2024-08-26 11:55:42 -07:00
Tim Wilkinson 84c11819f7
Exclude the Mikrotik hAP ac3 from the v7 check (it doesnt use it) (#1404) 2024-08-25 21:45:49 -07:00
Paul K3PGM fdc4e8bd8d
Fix parsing by new UI of advanced DHCP option configuration files. (#1403)
- Fix spellings of suboptions.
- Do not drop leading spaces, so options with no tag will work.
- Do not drop trailing spaces, which may be required in tag patterns.
- Allow embedded spaces in options and tag patterns.
- Allow special characters in tag patterns (for Subscriber-ID).
2024-08-25 17:45:31 -07:00
Tim Wilkinson 31c4d7d801
Fix poe 2 (#1402)
* Fix syntax error

* Fix syntax error
2024-08-25 17:18:03 -07:00
Tim Wilkinson 2ca5012957
Fix refresh icon (#1401) 2024-08-25 16:48:15 -07:00
Tim Wilkinson ebe5cd0586
Fix enabling/disabling POE and USB power (#1399) 2024-08-25 16:35:02 -07:00
Tim Wilkinson 1ba610c6d1
Fix disabling DHCP server (#1400) 2024-08-25 16:27:45 -07:00
Tim Wilkinson 1f793f1e0a
Xlink 1port (#1396)
* Fix support for 1 port devices with xlink

* Fix button height
2024-08-25 14:34:24 -07:00
Tim Wilkinson 967ea8f548
Make tunnel switches more "glanceable" (#1394) 2024-08-25 11:46:57 -07:00
Tim Wilkinson 11f8f1a58b
Remove syntax not supported in older Javascript (#1393) 2024-08-25 11:46:37 -07:00
Tim Wilkinson 7d1d2adf39
Update PBE-5AC display name (#1392) 2024-08-24 22:42:01 -07:00
Tim Wilkinson 4a4c1919b5
Improve settings parsing. (#1391)
* Handle values with = in them.
* Convert newlines to spaces.
2024-08-24 21:06:37 -07:00
Tim Wilkinson c9af1341ea
Weather icon and Solar icon were the same - fix (#1388) 2024-08-24 19:42:05 -07:00
Tim Wilkinson 104425654a
Fix service texts with icons (#1387) 2024-08-24 19:14:51 -07:00
Tim Wilkinson 5704b3c411
Remove functional use of :has css so we can support older browsers. (#1386)
Some cosmetic use remains, but this isn't considered critical.
2024-08-24 18:52:05 -07:00
Tim Wilkinson 7f384c6533
Chage login/logout and toosl css (#1384) 2024-08-24 13:29:37 -07:00
Tim Wilkinson 471c6a1f14
Drop base font size (#1376) 2024-08-23 16:42:26 -07:00
Tim Wilkinson df1f165a26
Local nodes are < 100 meters (not < 50 meters) (#1377) 2024-08-23 13:45:39 -07:00
Tim Wilkinson c7d942af6d
Dont remove the old firmware path (yet) (#1375) 2024-08-22 22:01:14 -07:00
Tim Wilkinson 96202bde21
Wifi scan is only available in mesh mode (#1369) 2024-08-22 16:51:23 -07:00
Tim Wilkinson 3dd38d6921
Fix missing % on LQ values (#1368) 2024-08-22 16:38:21 -07:00
Tim Wilkinson 15d0bf61ed
Improve firmware layout (#1366)
Fix double scrollbar on some platforms
Better scrollbar spacing
2024-08-22 16:31:36 -07:00
Tim Wilkinson a5ad4aeefd
Add favicon (#1367) 2024-08-22 16:31:06 -07:00
Tim Wilkinson 3a0bbe0c3b
Add Wifi Client status info (#1362) 2024-08-22 13:40:29 -07:00
Tim Wilkinson 65963f1aac
Improve spacing of hardware/firmware labels (#1359) 2024-08-22 08:45:12 -07:00
Tim Wilkinson b06d34e8e4
More neighbor stats (#1357) 2024-08-22 00:09:32 -07:00
Tim Wilkinson 409ad3f099
More high contrast (#1356) 2024-08-21 23:19:54 -07:00
Tim Wilkinson d4e3869772
Fix bad gateway (#1355) 2024-08-21 20:50:25 -07:00
Tim Wilkinson 9432beccfd
Force the new UI to be the default (#1354) 2024-08-21 20:20:43 -07:00
Tim Wilkinson d0dd691551
More theme work (#1352)
* Add high contrast / larger typeface theme.

* Kitten typo

* More theme work
2024-08-21 15:35:29 -07:00
Tim Wilkinson 63f210f96a
Add high contrast / larger typeface theme. (#1351) 2024-08-21 13:48:49 -07:00
Tim Wilkinson 864727c574
Add version number to packages in remove dropdown (#1350) 2024-08-21 13:45:34 -07:00
Tim Wilkinson 2e9cbd9935
Compact the firmare+hardware info in the dialog (#1348) 2024-08-21 11:50:48 -07:00
Tim Wilkinson c3a55b112e
Add/fix missing icon tooltips (#1347) 2024-08-21 11:49:16 -07:00
Tim Wilkinson b09062739d
Set missing dhcp configuration option (#1346) 2024-08-21 11:48:01 -07:00
Tim Wilkinson 11452c9e4b
Lockdown first usage pages. (#1342)
Unless device is unconfigured, dont let the first use pages do anything.
2024-08-21 00:47:17 -07:00
Tim Wilkinson 79175b281e
Fix missing legacy server tunnel name (#1341) 2024-08-20 23:04:48 -07:00
Tim Wilkinson 7dbb8de87f
Blur wireguard keys. (#1340)
Dont blur newly created tunnels.
2024-08-20 22:47:46 -07:00
Tim Wilkinson cccd5fe97d
Blur legacy tunnel password unless field is selected (#1339) 2024-08-20 22:13:47 -07:00
Tim Wilkinson 0b38e2e36e
Fix network field width on wireguard tunnels (#1338) 2024-08-20 20:47:38 -07:00
Tim Wilkinson 4a44a52c39
Fix node rename (#1334) 2024-08-20 14:43:24 -07:00
Tim Wilkinson 5791c3bab2
Add password reveal eyes in various places (#1333) 2024-08-20 14:10:41 -07:00
Tim Wilkinson 9291102438
Improve messaging about node names in firstuse (#1330) 2024-08-19 21:54:56 -07:00
Tim Wilkinson b3612e3d3a
Rewrite DHCP aliases when DHCP range changes (#1329) 2024-08-19 21:33:50 -07:00
Tim Wilkinson 1889cdf34d
Fix changing DHCP range. (#1327)
Just completely forgot to update all the values
2024-08-19 21:04:28 -07:00
Tim Wilkinson bb08c34948
Fix occasional commit then reboot screen (#1326) 2024-08-19 17:44:49 -07:00
Tim Wilkinson 53a63886d6
Add more radio information to status (#1325) 2024-08-19 16:28:57 -07:00
Tim Wilkinson 3b1e7947aa
Refresh sysinfo on distance blocked nodes (#1324) 2024-08-19 16:21:22 -07:00
Tim Wilkinson 4ce3a6c554
Better handling of missing lat/lon when GPS is starting up (#1323) 2024-08-19 16:19:35 -07:00
Tim Wilkinson b2d0b2980b
Speedup initial LQM setup (#1320) 2024-08-19 09:13:12 -07:00
Tim Wilkinson 458339ce77
Fix nil reference to nat when checking some services (#1319) 2024-08-19 08:59:21 -07:00
Tim Wilkinson 3ca3ed4a79
Restart LQM when changing channel (#1318)
* Restart LQM if we change wifi channel

* Fix test
2024-08-18 23:21:10 -07:00
Tim Wilkinson d5b0046f99
Allow negative elevations (#1317) 2024-08-18 21:23:49 -07:00
Tim Wilkinson 00a5cca7b5
Fix and harminize the way tunnel IPs wrap (and avoid using 256 as an octet) (#1315) 2024-08-18 18:01:55 -07:00
Tim Wilkinson bac75d6df3
Make menu cursors consistent (#1316) 2024-08-18 18:01:41 -07:00
Tim Wilkinson efb6631531
Fix tunnel notes (#1307) 2024-08-18 09:29:40 -07:00
Tim Wilkinson f38f753b0e
When arping fails, fallback on simple UDP ping (#1305) 2024-08-17 22:53:31 -07:00
Tim Wilkinson 7cf522de47
Limit reported GPS precision (#1304) 2024-08-17 20:37:38 -07:00
Tim Wilkinson 65209f1c98
Keep update button at bottom of firmware dialog (#1303) 2024-08-17 17:08:10 -07:00
Tim Wilkinson ce7321930d
Increase dialog height (#1302) 2024-08-17 17:07:42 -07:00
Tim Wilkinson 83d4c83798
Compact firmware version info (#1301) 2024-08-17 17:00:43 -07:00
Tim Wilkinson 556cef4d78
Cancel clicks if copy is active (#1300) 2024-08-17 14:48:55 -07:00
Tim Wilkinson 6fca9a176d
Clickable local node info (#1299) 2024-08-17 14:18:37 -07:00
Tim Wilkinson a6a00cc432
Handle out of range link quality multipliers (#1298) 2024-08-17 13:49:07 -07:00
Tim Wilkinson f8c01e88ec
Fix the download + update button at the bottom of the dialog (#1297) 2024-08-17 12:57:57 -07:00
Tim Wilkinson de7edc955e
Handle old nodes with missing node details (#1292) 2024-08-17 12:08:23 -07:00
Tim Wilkinson 7808774245
Fix nat service validation (#1288)
* Handle port redirects when validting services in NAT mode

* Fix localname for nat lookup
2024-08-17 10:35:06 -07:00
Tim Wilkinson d7ddeb164d
Revert previous tunnel change now uhttpd handles larger arguments (#1283) 2024-08-17 09:36:45 -07:00
Tim Wilkinson 1b980d7155
Tweak position of firmware status label (#1285) 2024-08-17 09:36:17 -07:00
Tim Wilkinson ceb8d5ea8f
Fix problems with large numbers of tunnels (#1281) 2024-08-16 22:27:22 -07:00
Tim Wilkinson 3836a767e9
Disable wifi signal tool when not in mesh mode (#1280) 2024-08-16 21:00:09 -07:00
Tim Wilkinson 6b72623b98
Fix pattern for dns subdomain aliases (#1278) 2024-08-16 17:21:20 -07:00
Tim Wilkinson c06642949a
Support 24 hour clock display (#1275) 2024-08-16 15:59:13 -07:00
Tim Wilkinson 4888c149c7
Enable copy-n-paste (#1274) 2024-08-16 14:51:06 -07:00
Tim Wilkinson 5ed567c885
Open local services in a new tab (#1273) 2024-08-16 14:27:26 -07:00
Tim Wilkinson eff9c0bd32
Move arednmesh.org link to menu and restore old logo functionality (#1272) 2024-08-16 13:12:50 -07:00
Tim Wilkinson 51740d8714
Fix inconsistent local/node services title (#1268) 2024-08-16 12:02:10 -07:00
Tim Wilkinson 3521053634
Fix hidden node display (#1267) 2024-08-16 11:57:31 -07:00
Tim Wilkinson 0432bf3165
New UI (#1263)
* New UI

* Fix gzip filename race condition

* Fix scrolling on first use page
2024-08-15 20:28:45 -07:00
Tim Wilkinson 484dc5ba3a
Mikrotik bootloader v7 support (#1258)
Some Mikrotik devices can no longer be downgraded to v6. Add support for
v7 bootloaders.
2024-08-05 17:11:53 -07:00
Tim Wilkinson a7bf530da3
First-use setup script to simplify initial setup of AREDN VMs. (#1257) 2024-08-04 16:36:39 -07:00
Steve 55665a42a4
update wg tun sv NET label (#1255) 2024-08-03 09:21:36 -07:00
Tim Wilkinson 8d4eadee53
Rebuild the NAT version of the firewall (#1243)
* New fireware configuration for NATed LAN.

* Fix ip rule
2024-06-17 15:24:57 -07:00
Tim Wilkinson 5d8a240c8f
Add service-validation-state to support data. (#1241) 2024-06-10 14:46:19 -07:00
Tim Wilkinson 166cf0d742
Send iperf info line by line rather than all at the end (#1240)
* Send iperf info line by line rather than all at the end

* Less newlines
2024-06-09 10:08:14 -07:00
Tim Wilkinson 2f74728693
Add names to xlink routes and bridges. (#1239)
Fix aredn_message_all file-not-found error.
2024-06-07 18:39:44 -07:00
Steve f2d8adb8d3
widen aam field on status page (#1237) 2024-06-03 13:29:39 -07:00
Tim Wilkinson 299645583c
Fetch routes from kernel rather than OLSR (#1235)
* Fetch routes from kernel rather than OLSR
Fix xlink detection

* Fix commit
2024-06-01 17:32:38 -07:00
Tim Wilkinson 0328f0ec7e
Olsrd crash fixes (#1234)
* Simplify the OLSR watchdog

* Dont pull the routing table into LQM for supernodes.
LQM tracks routes on nodes to help keep leaf nodes connected even
when circumstances would probably prevent this. However on supernodes
the routing table is massive and pulling this into LQM will frequently
crash OLSRD. As we dont need this for supernode just dont do it for them.
2024-05-31 22:44:36 -07:00
Tim Wilkinson 192e6deaec
Restart firewall when changing tunnels (now required) (#1233) 2024-05-31 21:05:14 -07:00
Tim Wilkinson d36bb88913
Only monitor active wireguard tunnels (#1232)
* Only monitor wireguard tunnels which are active
2024-05-29 22:49:38 -07:00
Tim Wilkinson fde3b08367
Find the closest supernode, not the first (#1229)
* Find the closest supernode, not the first

* Support DNS queries coming from the supernode network
2024-05-29 19:59:29 -07:00
Tim Wilkinson da71e6e26b
Ignore badly formatted services (#1228) 2024-05-29 16:44:11 -07:00
Tim Wilkinson 4717ab051c
Drop default quality (#1227)
We calculate quality differently (ie. correctly) so drop the default
minimum to avoid too many nasty suprises.
2024-05-29 16:44:00 -07:00
Tim Wilkinson c0d38a4e89
Update registered trademarks (#1225) 2024-05-29 00:45:25 -07:00
Tim Wilkinson 32e35ce88c
Fix forwarding between xlink and dtd (#1226) 2024-05-29 00:45:13 -07:00
Tim Wilkinson d6a652df31
Wireless monitoring improvements (#1222)
* Wireless monitor runs an emergeny wifi scan at 3am to recover forgotten nodes.
LQM no longer tries to ping stations which have disconnected.
2024-05-26 23:31:54 -07:00
Tim Wilkinson 8507fbc250
Tiny builds dont have wg installed (#1221) 2024-05-26 16:42:48 -07:00
Tim Wilkinson 2f1684a218
Rework the firewall for tunnels and xlinks to allow port forwarding. (#1220) 2024-05-26 16:41:18 -07:00
Tim Wilkinson 78fb72b917
Use increase in SNR to unblock quality block (#1218) 2024-05-25 16:51:37 -07:00
Tim Wilkinson 108d0da939
Fix fat-fingered display of lqm status on mesh page (#1215) 2024-05-23 11:31:31 -07:00
Tim Wilkinson ed422f3550
Better leaf node detection (#1214)
* Better leaf node detection

* Only count leafs what would be blocked
2024-05-22 19:46:41 -07:00
Tim Wilkinson fbaa54bb23
Avoid cutting off leaf nodes (#1211)
* Avoid cutting off leaf nodes

* Use OLSR broadcast with pending nodes
2024-05-21 21:02:58 -07:00
Tim Wilkinson 2509ebdf3b
Fix check-services which failed when services reduced to 0 (#1212) 2024-05-21 21:02:47 -07:00
Tim Wilkinson d92876dccf
DHCP was not always starting on the lan interface like we need it to. (#1213) 2024-05-21 21:02:28 -07:00
Tim Wilkinson f7f31c8237
More antennas (#1209) 2024-05-20 22:10:02 -07:00
Tim Wilkinson 5069f0e480
Improve LQM interface detection (#1207) 2024-05-15 18:39:55 -07:00
Tim Wilkinson 250db5605f
Fix busy wait when tick == 0 (#1206) 2024-05-15 18:09:07 -07:00
Tim Wilkinson b495f4e62b
Mikrotik dish (#1205) 2024-05-14 23:13:51 -07:00
Tim Wilkinson 146aebd881
Remove nodes if they've had a quality of 0 for an hour. (#1204)
They've probably gone, but the ARP cache tends to keep them around so we
can't rely on that timing them out.
2024-05-14 23:09:06 -07:00
Tim Wilkinson 2235d3229c
Fix dns alias validation pattern to allow wildcard DNS again. (#1203) 2024-05-14 22:39:47 -07:00
Tim Wilkinson 7536b66aca
Fix quality error messages (#1202)
* Handle null snr and qualities

* Fix quality message
2024-05-14 16:02:00 -07:00
Tim Wilkinson 3d3dbc5040
Use nixio.getnameinfo rather than our own nslookup hack (#1201) 2024-05-14 11:20:08 -07:00
Paul K3PGM 650e26667c
Improvements and fixes for Advanced DHCP Options (#1197)
- The "Always" checkbox now works for options with an explicit tag, and
is disabled for untagged options; the latter cannot be supported because
of a limitation in the OpwnWRT configuration language.
- Tagging by host name has been removed; it didn't work before and isn't
particularly useful in the AREDN context.
- Tagging by Agent Circuit ID, Agent Remote ID, and Subscriber-ID are
now supported so that a DHCP Relay Agent can be used to extend the LAN
across multiple subnets.
- Small improvements were made to error handling and hints.
2024-05-14 09:46:25 -07:00