Commit Graph

2069 Commits

Author SHA1 Message Date
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 04f3fb154c
Update to OpenWRT 23.05.5 (#1571)
* Update to OpenWRT 23.05.4

* Update to OpenWRT 23.05.5
2024-10-08 20:57:32 -07:00
Brett T. Warden de847e72f5
Enable kmod-eeprom-at24 package (#1529)
Create a package to provide the at24 kernel driver, which supports a variety of I2C EEPROMs.
2024-10-08 20:57:13 -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 3f4bd6a9d8
Fix release versioning (#1592) 2024-10-02 20:07:58 -07:00
Tim Wilkinson 50bc2c6f79
Release prep (#1591) 2024-10-02 06:47:16 -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