Commit Graph

1698 Commits

Author SHA1 Message Date
Tim Wilkinson 6821421512
Fix allocation exception when advanced options isnt open (#1536) 2024-09-17 22:00:31 -07:00
Tim Wilkinson 4c902eef9f
No dhcp device reservations if dhcp disabled (#1535) 2024-09-17 21:33:52 -07:00
Tim Wilkinson cbe0cc3dc5
Recalculate tunnels address range when tunnel server network changes (#1534) 2024-09-17 21:25:44 -07:00
Tim Wilkinson 4eb715c722
Fix handling of deleteme items when generating network configs (#1533) 2024-09-17 18:40:48 -07:00
Brett T. Warden 9d9f57fb72
Fix typo of /dev/nul instead of /dev/null (#1532)
Fixes https://github.com/aredn/aredn/issues/1530
2024-09-17 16:47:06 -07:00
Tim Wilkinson ffda9117c2
Improve login UI (#1525)
* Improve login UI

* Tweak layout some more
2024-09-17 13:19:02 -07:00
Tim Wilkinson 02881f5baa
Improve error reporting when firmware downloads fail (#1522) 2024-09-17 09:32:30 -07:00
Tim Wilkinson 08f9fe09bc
Remove MAC from MAC/BSSID (#1523) 2024-09-17 09:03:00 -07:00
Tim Wilkinson ef66a2ade3
Improve help (#1516)
* Improve help

* Hint text and separation
2024-09-16 18:11:53 -07:00
Tim Wilkinson a90defe571
Prevent tunnel start address change if there are any server tunnels (#1518) 2024-09-16 18:11:42 -07:00
Tim Wilkinson 8c7c413938
Improve when compression is used on http requests (#1515)
* Improve when compression is used on http requests

* Improve
2024-09-16 18:11:31 -07:00
Tim Wilkinson 6bc9049e6d
Better LQM hiding (#1513)
* Improved LQM option hiding

* Fixes
2024-09-15 14:30:48 -07:00
Tim Wilkinson 970ac97ad0
User firewall rules were not being kept across upgrades (#1512) 2024-09-15 12:46:50 -07:00
Tim Wilkinson 84824e81c2
Improve admin and mesh page refresh (#1509)
* Improve page refresh when browser tab is redisplayed

* Improve mesh search query persitance

* Improve portable theme messaging
2024-09-14 20:08:54 -07:00
Tim Wilkinson 60be6b812a
Hide LQM advanced options when LQM is off (#1510) 2024-09-14 20:08:40 -07:00
Tim Wilkinson 4b8aea0bc1
Remove deletes which do nothing (#1511) 2024-09-14 20:08:31 -07:00
Tim Wilkinson b01bc7d8bb
Improve bad click detection in copy-n-paste (#1508) 2024-09-14 10:14:41 -07:00
Tim Wilkinson 0d27c61203
Fix legacy server allocation (#1507) 2024-09-13 21:59:30 -07:00
Tim Wilkinson 38f42ea8d2
Allow Done and Cancel buttons to still work when text is highlighted. (#1506) 2024-09-13 21:44:50 -07:00
Tim Wilkinson 830bfde72e
Add missing <meta charset="utf-8"> (#1504) 2024-09-13 21:16:27 -07:00
Tim Wilkinson 2bfad694d8
Better mesh empty page (#1505)
* Fix mesh data syntax error when page is empty

* Make sure we have at least one host to show on the mesh page
2024-09-13 21:16:16 -07:00
Tim Wilkinson c0e154794b
Fix local supernode locator (#1503) 2024-09-13 16:02:32 -07:00
Tim Wilkinson 68984cede5
Workaround Firefox cookie caching bug (#1502) 2024-09-13 15:26:13 -07:00
Tim Wilkinson adeca1df84
Fix look of first use ram save button (#1501) 2024-09-13 13:38:41 -07:00
Tim Wilkinson 332035ba07
Dont ping unroutable links (#1498) 2024-09-13 11:34:14 -07:00
Tim Wilkinson 479338e787
Add newline escape (#1499) 2024-09-13 11:27:28 -07:00
Tim Wilkinson 5cad7ac101
Improve description and note escaping (#1497) 2024-09-12 21:27:29 -07:00
Tim Wilkinson 36bddd2619
Fix metric unit detection (#1496) 2024-09-12 21:27:16 -07:00
Tim Wilkinson 8c1b90543f
Improve tunnel start address validation (#1492) 2024-09-12 09:37:43 -07:00
Tim Wilkinson 052f0320a6
Remove race condition when counting base packages (#1493) 2024-09-12 09:37:33 -07:00
Tim Wilkinson ab4e314abd
Fixup the supernode start address (no longer done in UI) (#1490) 2024-09-11 23:14:26 -07:00
Tim Wilkinson 499599de20
Fix assignment typos (accidental whitespace) (#1488) 2024-09-10 16:59:05 -07:00
Tim Wilkinson 83c4185d11
CSS tweaks to make some themes and browsers a little happier (#1481)
* CSS tweaks to make some themes and browsers a little happier

* Fix refresh button alignment Firefox/Linux
2024-09-10 16:51:05 -07:00
Tim Wilkinson 94ef43cf69
Make sure wireguard firewall is always on (#1486) 2024-09-10 15:56:25 -07:00
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