Commit Graph

162 Commits

Author SHA1 Message Date
Tim Wilkinson bdb3862dbb
Fix missing validation for single hx-put input fields (#1618) 2024-10-11 15:15:57 -07:00
Tim Wilkinson a304bc9822
Mobile layout work (3) (#1616)
* Xlinks, ports and devices

* Tunnels
2024-10-11 15:15:44 -07:00
Tim Wilkinson f8583a17db
Wifisignal improvements (#1615)
* Improve dual signal layout

* Tweak spacing for Firefox

* Interpolate missing remote values
2024-10-10 13:34:27 -07:00
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
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 8c863f35dd
Allow '-' in service name or non-service text (#1608) 2024-10-08 20:58:53 -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 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 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 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 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