Commit Graph

1676 Commits

Author SHA1 Message Date
Tim Wilkinson e49dd7e73c
De-dup dmz_mode (was being stored in two places) (#1656) 2024-10-27 21:29:29 -07:00
Tim Wilkinson f153b79e05
Provide UI for the wifi watchdog system. (#1655) 2024-10-27 15:02:54 -07:00
Tim Wilkinson ff6659fed8
Fixes for blank variables breaking upgrades (#1654) 2024-10-27 14:59:38 -07:00
Tim Wilkinson 2a9a0528db
Bugfixes for alt networks and larger dhcp ranges (#1652) 2024-10-26 21:37:35 -07:00
Tim Wilkinson 1d05336818
Improve tunnel messaging (#1648) 2024-10-25 20:46:08 -07:00
Tim Wilkinson a37b3f81bc
Enable alternate LAN configurations (#1548)
* Enable AltNet support

* Fix pattern

* Remove dhcp_limit

* Rework LAN start/end for larger or smaller subnets

* Improve subtext help around settings

* Whitespace
2024-10-25 20:45:54 -07:00
Tim Wilkinson 273218864d
Migrate _setup into standard uci format (#1647) 2024-10-24 21:00:16 -07:00
Tim Wilkinson 7d9ac7e8f4
Add Tupavco antenna (#1646)
* Add Tupavco TP511

* Fix model number
2024-10-23 23:15:39 -07:00
Tim Wilkinson a814f8b0ac
Add locking around operations which change the configuration. (#1644)
* Add locking around operations which change the configuration.
Avoid any potential race conditions when changing the configuration
by putting a lock around any non-GET operations.

* Add a sync before a 'reboot' operation
2024-10-23 18:32:48 -07:00
Tim Wilkinson 1edfae6dae
Mark bandwidths invalid on various devices (rather than marking what is valid) (#1639)
* Mark bandwidths invalid on various devices (rather than marking
what is valid)

* Typo
2024-10-17 12:54:54 -07:00
Tim Wilkinson 55c1ffed63
Allow : in service names (#1638) 2024-10-17 12:54:43 -07:00
Tim Wilkinson 1464d61faf
Add topology info to sysinfo.json (#1637) 2024-10-16 18:04:52 -07:00
Tim Wilkinson a996461ef8
Support wider channels (more) (#1635)
* Only offer wider channels on ath10k radios

* Add bws for hap2 & hap3
2024-10-16 18:04:36 -07:00
Tim Wilkinson 64a91caa2c
Improve startup of LQM so we get some information early (#1632)
* Improve startup of LQM so we get some information early

* Display device information earlier
2024-10-16 18:04:24 -07:00
Tim Wilkinson ef7c6bed68
Support wider channels (experimental) (#1631)
* Add support for 40 and 80 MHz channels if chipset supports it

* Add bws were we need to specify them manually
2024-10-15 21:29:57 -07:00
Tim Wilkinson 24b4cf7376
VHT support (experimental) (#1630)
* Add VHT support for AC devices

* Fix scanner

* Improve AC detection

* Extra VHT modes (for if we ever allow a radio to select them)
2024-10-14 15:05:53 -07:00
Tim Wilkinson 61eca9449c
Use new ucode zlib library (#1629) 2024-10-14 09:47:18 -07:00
Tim Wilkinson bd68cd18b9
* Reboot & firmware update screens (#1626) 2024-10-13 21:09:16 -07:00
Tim Wilkinson 6f2661c17a
Improve the wifisignal help now we have local & remote info (#1628) 2024-10-13 15:08:04 -07:00
Tim Wilkinson 538241c8cf
Mobile layout work (4) (#1625)
* Commit/Revert

* logo => localnode

* Fix various field widths

* Improve auto width sizing
2024-10-12 22:50:15 -07:00
Tim Wilkinson 23e69c5e7f
Dont recreate http permissions (unused) (#1624) 2024-10-12 12:44:42 -07:00
Tim Wilkinson 30e2bfe264
Make sure to silence the wifi signal on the way out (#1623) 2024-10-12 12:44:33 -07:00
Tim Wilkinson 5e03db2303
Work around HTMX bug where downloading files doesnt stop the logo spinning (#1622) 2024-10-12 12:44:14 -07:00
Tim Wilkinson b3259f0d44
Deprecate old UI (#1552)
* Remove old UI

* Remove old ui link from new ui

* Remove unused library

* Trim luci.http

* Remove old firmware path

* Remove protected pages that no longer exist
2024-10-11 23:03:20 -07:00
Tim Wilkinson 787ad11421
Remove special casing for /a/authenticate page (#1619) 2024-10-11 15:16:11 -07:00
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 a8b85066eb
Improve detection of disconnected nodes (#1617) 2024-10-11 09:29:18 -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
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