Commit Graph

140 Commits

Author SHA1 Message Date
Daniel Pupius
9e5fd5bcae Add code review findings as todos
Security and architecture review of current codebase. 11 findings:
- 3 P1 (XSS, hardcoded creds, unbounded memory growth)
- 4 P2 (SSE protocol, broker deadlock, NetworkMap architecture, CORS)
- 4 P3 (security headers, error leakage, dead code, binary payload)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 15:41:24 +00:00
Daniel Pupius
3e24e6aea4 Add node topology tracking design spec
Covers link inference from traceroute, zero-hop MQTT, NeighborInfo,
and relay_node fields. Includes multi-gateway correlation, hop bounding,
SNR-colored polyline rendering on the map, and node detail connections.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 15:31:27 +00:00
Daniel Pupius
e69fad97cb Add moat config 2026-03-14 20:30:11 -07:00
Daniel Pupius
69a31ca406 Split routers and extend mesh traffic retention (#1)
* Split routers on dashboard and extend retention periods

- Add Router node type with 12-hour stale timeout (vs 30 min for regular nodes)
- Create RouterList component to display router nodes separately
- Update NodeList to filter out routers (similar to gateways)
- Add yellow color scheme for router nodes to distinguish from gateways (green) and nodes (blue)
- Extend mesh traffic retention across the board:
  - Client-side packet age filter: 12h → 24h
  - Broker cache size: 50 → 200 packets
  - Messages per channel: 100 → 500

* Update regular node activity threshold to 60 minutes

* Fix TypeScript errors in router filtering logic

* Fix docker-build to use buildx explicitly with --load flag

* Add default empty value for MESHSTREAM_GOOGLE_MAPS_API_KEY in docker-build

* Restructure docker buildx command to fix path argument parsing

* Remove trailing backslash before build context path in docker-build

* Quote build args and separate path argument in docker-build
2026-01-06 12:25:34 -08:00
Daniel Pupius
245911a450 Remove duplicative block 2025-07-03 14:09:20 -07:00
Daniel Pupius
88dd1fc663 Tweak gateway visualization and card headers 2025-07-03 12:38:23 -07:00
Daniel Pupius
f8c0e0d591 Render admin packets differently 2025-07-03 11:08:09 -07:00
Daniel Pupius
dc36070355 Better error cards for private messages, neighbor info rendering 2025-06-23 09:47:14 -07:00
Daniel Pupius
a83f4feddb Longer test timeout for broker test 2025-05-22 14:37:57 -07:00
Daniel Pupius
bc3104f59c go fmt 2025-05-22 14:35:02 -07:00
Daniel Pupius
ee20a1ea46 Better loading state for node page 2025-05-22 14:32:51 -07:00
Daniel Pupius
61a83bafca Better retry and reconnection logic 2025-05-21 14:35:10 -07:00
Daniel Pupius
0feb2591ef Remove stats listener since it is noisy in prod 2025-05-19 11:00:10 -07:00
Daniel Pupius
26ebc2a6f5 Ignore old packets 2025-05-07 11:32:44 -07:00
Daniel Pupius
fc72e9f65a Mobile layout tweaks 2025-05-05 09:42:19 -07:00
Daniel Pupius
15e6047708 Color and layout tweaks 2025-05-05 09:12:51 -07:00
Daniel Pupius
84f8cdfe5c MQTT SetOrderMatters(false) 2025-05-04 16:12:32 -07:00
Daniel Pupius
df7df6dbd6 Unique client id and fix graceful shutdown 2025-05-04 13:26:13 -07:00
Daniel Pupius
3ce8889786 Debugging prod failures 2025-05-04 10:15:42 -07:00
Daniel Pupius
92c08c0d6b Hack for handling env with spaces 2025-05-02 15:43:57 -07:00
Daniel Pupius
c53486414f Fix static style serving in prod 2025-05-02 15:31:14 -07:00
Daniel Pupius
ba9c8d9221 Channel name cleanup 2025-05-02 15:21:50 -07:00
Daniel Pupius
0279d5fcd4 Static file fallback for entry pages in prod 2025-05-02 15:15:48 -07:00
Daniel Pupius
2692b2e9af Track active connections 2025-05-02 14:39:57 -07:00
Daniel Pupius
5b8bee8736 Script for building and pushing docker to ECR 2025-05-02 14:39:38 -07:00
Daniel Pupius
908c851f02 Remove accidentally checked in proto generator 2025-05-02 13:57:35 -07:00
Daniel Pupius
4f6ee2ffde go fmt 2025-05-02 13:50:28 -07:00
Daniel Pupius
29e0b752ec Make clean hack 2025-05-02 13:25:43 -07:00
Daniel Pupius
23deefe061 More fixes for CI/CD 2025-05-02 13:20:57 -07:00
Daniel Pupius
5cae8fd5cf Another try at fixing proto in CI 2025-05-02 13:06:39 -07:00
Daniel Pupius
622e37ae53 Another try at fixing proto in CI 2025-05-02 13:04:56 -07:00
Daniel Pupius
1c7bfcd330 Another try at fixing proto in CI 2025-05-02 12:32:09 -07:00
Daniel Pupius
2ef4cf1166 Debug proto in CI 2025-05-02 12:28:04 -07:00
Daniel Pupius
06a81686a2 Install eslint 2025-05-02 12:24:48 -07:00
Daniel Pupius
6675c50e97 GitHub actions 2025-05-02 12:22:45 -07:00
Daniel Pupius
92313be6cd Screenshots and readme 2025-05-02 12:02:18 -07:00
Daniel Pupius
e9fa0104e3 Docker set up and fixes for build 2025-05-01 15:34:16 -07:00
Daniel Pupius
68fc353673 Info page 2025-04-30 15:08:03 -07:00
Daniel Pupius
e2ced4e939 packets --> stream 2025-04-30 13:11:27 -07:00
Daniel Pupius
b7359339d3 Yet more map tweaks 2025-04-30 13:10:40 -07:00
Daniel Pupius
ae496ace52 Makefile to make it easier to monitor bay mesh 2025-04-30 12:59:37 -07:00
Daniel Pupius
a88e55d22e Full-screen network map 2025-04-30 12:30:35 -07:00
Daniel Pupius
c029ca1f7a Fix errors relating to lazy loading of map 2025-04-30 12:14:23 -07:00
Daniel Pupius
95800b33c7 Lazy load maps 2025-04-30 10:50:46 -07:00
Daniel Pupius
64b026646d Use env and flags for configuration 2025-04-30 10:36:45 -07:00
Daniel Pupius
ebb4e1306f Add connection heartbeat 2025-04-30 10:24:55 -07:00
Daniel Pupius
f83e6a9c31 Consistent colors and activity status 2025-04-30 09:16:44 -07:00
Daniel Pupius
25c18b262f Message improvements 2025-04-29 13:47:59 -07:00
Daniel Pupius
38d5a8da79 Lint fixes 2025-04-29 13:26:23 -07:00
Daniel Pupius
44dc97c529 Traceroute rendering 2025-04-29 13:09:06 -07:00