Tim Wilkinson
8b67e13a6b
Local services ( #1614 )
2024-10-10 13:34:15 -07:00
Tim Wilkinson
651ccfb603
Mobile layout work (1) ( #1603 )
...
* Mobile layout work
* Title bar
* Test dialogs
* Login/logout
* Mobile formatting
* More space in dialogs
* Mesh page
* Deselect keyboard
* Mobile formatting
* More field changes
2024-10-09 18:00:08 -07:00
Tim Wilkinson
4e196969d7
Nightly build fixes 20241009 ( #1613 )
...
* Nightly build fixes.
Restarting the nightly build with many changes resulted in updates
failing to be applied on some hardware platforms. This resulted in nodes
reverting to first use state. These changes fixes those problems.
* Fix authentication
2024-10-09 14:45:37 -07:00
Tim Wilkinson
976c3ec1e1
Improve initial node setup ( #1590 )
...
* Improve the initial nrvam setup
* More fallbacks
* Rebuild the initial setup and upgrade of a node.
This is mostly about removing duplicated effort and data, which should
make it easier to add things in the future.
* Re-setup and repair the node on each reboot.
By running this every time we reboot, we have a chance to repair problems in the configuration
automatically. We can detect changes and force a reboot only when necessary.
* Improve startup and upgrade
* Remove debug delays
* Move after telnet (for emergency access)
* Ignore ubootenv file when diffing
2024-10-08 21:08:01 -07:00
Tim Wilkinson
189845fa7f
Backup and Restore node configurations ( #1597 )
...
* Back and Restore node configurations
* Give backups their own file extension
* Add some backup/restore help
2024-10-08 21:01:58 -07:00
Brett T. Warden
65b09ab8b7
Periodically sync time if continuous ntpd is unsynchronized ( #1611 )
...
When update-clock is run periodically, if ntpd is running continuously,
check whether it is actually in sync, as measured by a reported stratum
of less than 16.
If it's not in sync, run the full manual clock sync algorithm otherwise
used for our periodic-only synchronization.
This should help with hosts that expect to synchronize from an NTP server
on the internet, for example, when they've temporarily lost the internet
connection. Or alternately, if configured to use a mesh-based NTP server
that has disappeared from the mesh.
2024-10-08 21:01:45 -07:00
Tim Wilkinson
e6943bd0d1
Decimate the neighbor graph data so we can show more history ( #1598 )
2024-10-08 21:01:18 -07:00
Tim Wilkinson
1e79e95afd
Make the validation simpler ( #1569 )
2024-10-08 21:01:07 -07:00
Tim Wilkinson
2eb3029156
Update htmx to 2.0.2 ( #1575 )
2024-10-08 21:00:47 -07:00
Tim Wilkinson
2f25ba63da
Split the Wifi Signal gauge to show the local and remote signal information ( #1602 )
...
* Add remote signal data to graph
* Add remote gauge
* Reset reverse min/max
* Move snr service into ucode
* Fix snr url
2024-10-08 21:00:35 -07:00
Tim Wilkinson
697f054798
Allow scanning of non-mesh and multiple wifi devices ( #1578 )
2024-10-08 21:00:20 -07:00
Tim Wilkinson
e95e4d996d
Redirect localnode to actual hostname (better logged-in behavior) ( #1599 )
...
* Redirect localnode to actual hostname (better logged-in behaviour)
* Avoid redirect when boosting
2024-10-08 20:59:59 -07:00
Tim Wilkinson
97ee93e8f0
Block PUT, POST, DELETE unless logged in or firstboot. ( #1582 )
...
While there are other mechanisms to prevent you accessing secure
pages, it does no harm to block these actions early as an extra
security measure.
2024-10-08 20:59:44 -07:00
Tim Wilkinson
18dda8651b
Only show TODOs to admin ( #1595 )
2024-10-08 20:59:25 -07:00
Tim Wilkinson
4f6fe904f3
Include cookies when testing services. ( #1600 )
...
* Include cookies when testing services.
Some services use various redirects which involve cookies. If we dont
include a cookie jar for these tests, they fail when they should pass.
* Fix potential file handle leak
2024-10-08 20:59:07 -07:00
Tim Wilkinson
8c863f35dd
Allow '-' in service name or non-service text ( #1608 )
2024-10-08 20:58:53 -07:00
Tim Wilkinson
4f5771610e
Fix firewall restart when lan-to-wan changed ( #1606 )
2024-10-08 20:58:42 -07:00
Tim Wilkinson
ddd1b3fcc9
Improve antenna settings messaging ( #1605 )
...
* Improve antenna settings messaging
* Elevation +/-90 not +/-180
2024-10-08 20:58:27 -07:00
Tim Wilkinson
037621ee32
Add date and time to ends of various tool traces ( #1610 )
2024-10-08 20:58:12 -07:00
Tim Wilkinson
b627a6f63d
Add secondary ntp server option ( #1583 )
2024-10-08 20:57:58 -07:00
Tim Wilkinson
526491376e
Watchdog improvements ( #1322 )
...
* Improve HW watchdog service
* Allow more specific reboot time to be set
* Improve support for multiple ping targets
* Fixes
* Bug fix
2024-10-08 20:56:57 -07:00
Tim Wilkinson
1505d61871
Add user agents (containing firmware version info) to package and firmware updates ( #1593 )
...
* Add user-agent to opkg
* Firmware update user agent
2024-10-02 22:10:47 -07:00
Tim Wilkinson
0796730dbe
Winlink Server -> Winlink Post Office ( #1589 )
2024-09-30 16:40:48 -07:00
Tim Wilkinson
784f99ffcb
Make sure we definately have wifi setup ( #1588 )
...
The wifi interface was getting lost during setup, so we make sure
its there.
This is a workaround for an unknown root cause.
2024-09-30 14:41:31 -07:00
Tim Wilkinson
72e299a8ab
Stop the dialogs being squashed ( #1587 )
2024-09-29 23:15:37 -07:00
Tim Wilkinson
9d091e04a0
Improve the firmware upgrade messaging around watchdogs ( #1581 )
...
* Improve watchdog and firmware lockout messaging
* Still able to press the refresh button even when disabled
for some reason.
* Disable firmware selector when reboot needed
2024-09-27 18:25:48 -07:00
Tim Wilkinson
dcd9dffa96
Only provide reboot option when there are no changes to commit first ( #1580 )
2024-09-27 12:31:14 -07:00
Tim Wilkinson
179ce131da
Disable firmware upgrading while watchdog is enabled ( #1579 )
2024-09-26 22:31:57 -07:00
Tim Wilkinson
d7c88fec5e
Fix hiding settings after attempt to set two wifis to the same task ( #1577 )
2024-09-26 11:36:17 -07:00
Tim Wilkinson
5913b09b68
More UI tweaks ( #1573 )
...
* load -> load average
* Capitalize internet connection status
2024-09-25 21:47:53 -07:00
Tim Wilkinson
e8fb21d68f
Tweak load averages ( #1568 )
2024-09-24 15:16:11 -07:00
Tim Wilkinson
3d71908fbe
Fix memory corruption when changing xlinks. ( #1567 )
...
Modifying uci data while iterating over it was causing memory corruption
and crashing the uci interpreter and web server. Avoid this by iterating
the data we need first, then doing the modifications.
2024-09-23 12:37:20 -07:00
Tim Wilkinson
39981bc331
Preloading too much seems to be causing stability issue. ( #1564 )
...
Reduce to just the essentials for most visitors
2024-09-22 17:41:29 -07:00
Tim Wilkinson
0e1ac3ac16
Handle uci intergers ( #1563 )
2024-09-22 17:34:05 -07:00
Tim Wilkinson
360b558b94
Disable Done button when invalid dialog content ( #1562 )
...
* Disable Done button if entries are invalid.
* Generalize Done validation
2024-09-22 16:58:30 -07:00
Tim Wilkinson
5b80ae8adc
Fix validation setting uci arrays ( #1561 )
2024-09-22 16:58:09 -07:00
Tim Wilkinson
4b0ba4625f
Fix nvram bad merge ( #1558 )
2024-09-22 00:32:38 -07:00
Tim Wilkinson
863a731be9
Fix nvram delay and remove bad break ( #1557 )
...
* Fix pointless repeat of finding wifi mac address
* Remove bad break
2024-09-22 00:31:09 -07:00
Tim Wilkinson
890566b04e
Fix pointless repeat of finding wifi mac address ( #1556 )
2024-09-22 00:28:40 -07:00
Tim Wilkinson
1525783d5c
Add a 'starting up' install screen for when system isnt quite ready ( #1555 )
2024-09-21 09:50:55 -07:00
Tim Wilkinson
1fc7d82f55
Improve install process. ( #1554 )
...
1. Make sure mac2 is defined before setting up node (can take a while)
2. Avoid cross-origin problem when resetting node configuration
2024-09-20 20:50:09 -07:00
Tim Wilkinson
0ca8d803c8
Remove legacy tunnel options from supernodes ( #1551 )
2024-09-20 12:18:17 -07:00
Tim Wilkinson
6d259c7b4e
Fix display and setting of max distance when LQM is disabled ( #1550 )
2024-09-20 00:15:52 -07:00
Tim Wilkinson
e51120be88
More UI tweaks ( #1547 )
2024-09-19 18:41:45 -07:00
Tim Wilkinson
6b36890655
Close support tool menu when support data is ready ( #1546 )
2024-09-19 00:32:54 -07:00
Tim Wilkinson
f607061a64
CSS tweaks ( #1538 )
...
* More css tweaking
* Tweak dropdowns
2024-09-18 19:31:15 -07:00
Tim Wilkinson
752dfc514b
Improve and simplify WAN config ( #1539 )
...
* Simplify WAN enable/disable
* Improve
2024-09-18 19:31:05 -07:00
Tim Wilkinson
83e852044e
Improve link status hint text ( #1541 )
2024-09-18 19:30:54 -07:00
Tim Wilkinson
0a3d322f53
Supress unnecessary log messages ( #1537 )
2024-09-17 22:30:32 -07:00
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