Commit Graph

435 Commits

Author SHA1 Message Date
ae3f93a3bf feat: add SerialInterface stub with error handling for non-TinyGo targets 2026-01-01 00:59:47 -06:00
cbf2eaea78 feat: implement RNodeInterface for Reticulum with command handling and device initialization 2026-01-01 00:59:39 -06:00
1133a918f1 feat: add LoRaInterface implementation for TinyGo with SPI communication and packet handling 2026-01-01 00:59:31 -06:00
f5bb6a2b6d feat: introduce LoRaInterface stub with error handling for non-TinyGo targets 2026-01-01 00:59:27 -06:00
718f550180 feat: add KISS protocol escape functions in new kiss.go interface 2026-01-01 00:59:24 -06:00
07dc008a31 refactor: update Identity methods to use common package for Msgpack serialization 2026-01-01 00:59:20 -06:00
cdc512c391 refactor: replace msgpack calls with common package methods for ratchet data serialization 2026-01-01 00:59:16 -06:00
1df3e41191 feat: implement MsgpackMarshal and MsgpackUnmarshal functions for MessagePack encoding and decoding 2026-01-01 00:59:12 -06:00
dea65ad94c feat: add new configuration fields for Frequency, Bandwidth, SF, CR, and TXPower in InterfaceConfig 2026-01-01 00:59:08 -06:00
4c9a395ff2 refactor: replace msgpack functions with common package equivalents for ratchet data serialization 2026-01-01 00:59:03 -06:00
09eec1c8fc feat: add SerialInterface and RNodeInterface support in Reticulum configuration 2026-01-01 00:58:59 -06:00
fbaafacd8a refactor: update tinygo-build-all task to build targets in parallel using xargs 2026-01-01 00:58:55 -06:00
40e7a168ec chore: update msgpack dependency from vmihailenco to shamaton and remove unused tagparser dependency 2026-01-01 00:58:31 -06:00
d6e0874f05 Add missing TCP timeout stubs for TinyGo
All checks were successful
TinyGo Build / tinygo-build-all (push) Successful in 2m39s
2025-12-31 22:54:29 -06:00
9fa05cce5c Merge main into tinygo and fix conflicts 2025-12-31 22:53:35 -06:00
1d3a969742 chore: add SPDX license identifier and copyright notice
Some checks failed
Bearer / scan (push) Successful in 9s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 42s
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 44s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 41s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 39s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 1m8s
Go Build Multi-Platform / build (wasm, js) (push) Successful in 1m6s
TinyGo Build / tinygo-build (tinygo-wasm, tinygo-wasm, reticulum-go.wasm, wasm) (pull_request) Failing after 1m2s
TinyGo Build / tinygo-build (tinygo-build, tinygo-default, reticulum-go-tinygo, ) (pull_request) Failing after 1m4s
Go Revive Lint / lint (push) Successful in 1m4s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 1m24s
Run Gosec / tests (push) Successful in 1m29s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 2m31s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 9m28s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 9m28s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 9m30s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 9m27s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 9m26s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 9m29s
Go Build Multi-Platform / Create Release (push) Has been skipped
2025-12-31 20:44:58 -06:00
bad92193a3 chore: update copyright year in LICENSE file to 2026 2025-12-31 20:44:31 -06:00
6560949ec4 feat: add wasm_exec.js to examples
Some checks failed
Bearer / scan (push) Successful in 9s
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 43s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 43s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 40s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 42s
Go Build Multi-Platform / build (wasm, js) (push) Successful in 1m2s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 1m5s
TinyGo Build / tinygo-build (tinygo-wasm, tinygo-wasm, reticulum-go.wasm, wasm) (pull_request) Failing after 59s
TinyGo Build / tinygo-build (tinygo-build, tinygo-default, reticulum-go-tinygo, ) (pull_request) Failing after 1m1s
Go Revive Lint / lint (push) Successful in 1m3s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 1m24s
Run Gosec / tests (push) Successful in 1m29s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 2m28s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 9m28s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 9m31s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 9m28s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 9m31s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 9m31s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 9m28s
Go Build Multi-Platform / Create Release (push) Has been skipped
2025-12-31 18:43:37 -06:00
d6152ccd85 refactor: replace AnnounceHandler interface with Handler and update ReceivedAnnounce method to include hops parameter 2025-12-31 18:42:50 -06:00
e6fd7188d2 fix: add hops parameter to ReceivedAnnounce method for enhanced announce handling 2025-12-31 18:41:44 -06:00
bc44ed2aaa fix: update ReceivedAnnounce method to include hops parameter for improved logging of announce data 2025-12-31 18:41:30 -06:00
e5ac206e5c chore: refactor WebAssembly test commands in Taskfile to use ROOT_DIR variable for improved path management
Some checks failed
Bearer / scan (push) Successful in 53s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 48s
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 51s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 51s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 49s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 46s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 48s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 50s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 48s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 52s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 46s
Go Build Multi-Platform / build (wasm, js) (push) Successful in 1m13s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 1m15s
TinyGo Build / tinygo-build (tinygo-build, tinygo-default, reticulum-go-tinygo, ) (pull_request) Failing after 1m11s
TinyGo Build / tinygo-build (tinygo-wasm, tinygo-wasm, reticulum-go.wasm, wasm) (pull_request) Failing after 1m9s
Go Revive Lint / lint (push) Successful in 1m5s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 1m25s
Go Build Multi-Platform / Create Release (push) Has been skipped
Run Gosec / tests (push) Successful in 1m39s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 2m45s
2025-12-31 11:57:21 -06:00
b74012099c chore: update Taskfile to set GOPRIVATE environment variable and adjust WebAssembly test commands for better organization
Some checks failed
Bearer / scan (push) Successful in 44s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 39s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 43s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 41s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 37s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 43s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 40s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 42s
Go Build Multi-Platform / build (wasm, js) (push) Successful in 1m19s
TinyGo Build / tinygo-build (tinygo-build, tinygo-default, reticulum-go-tinygo, ) (pull_request) Failing after 1m16s
TinyGo Build / tinygo-build (tinygo-wasm, tinygo-wasm, reticulum-go.wasm, wasm) (pull_request) Failing after 1m15s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Failing after 1m53s
Go Revive Lint / lint (push) Successful in 57s
Run Gosec / tests (push) Successful in 1m43s
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 9m27s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 9m28s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 9m30s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 9m30s
Go Build Multi-Platform / Create Release (push) Has been skipped
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 19m2s
2025-12-31 11:54:10 -06:00
ae1d290fa7 chore: add go.mod and go.sum files for WebAssembly example to manage dependencies 2025-12-31 11:54:04 -06:00
562f850b8f feat: implement WebAssembly chat functionality with message sending and announcing capabilities, including tests for function registration 2025-12-31 11:50:38 -06:00
ff0088644e chore: update .gitignore to include all example files except wasm directory for better file management 2025-12-31 11:50:26 -06:00
aee52bf56c feat: update Taskfile check task to provide detailed summary of failed checks and overall status
Some checks failed
Bearer / scan (push) Successful in 9s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 46s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 42s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 48s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 42s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 43s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 42s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 40s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 42s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 39s
Go Build Multi-Platform / build (wasm, js) (push) Successful in 36s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 38s
TinyGo Build / tinygo-build (tinygo-wasm, tinygo-wasm, reticulum-go.wasm, wasm) (pull_request) Failing after 1m2s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 1m33s
Go Revive Lint / lint (push) Successful in 57s
Run Gosec / tests (push) Successful in 1m46s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Failing after 2m22s
TinyGo Build / tinygo-build (tinygo-build, tinygo-default, reticulum-go-tinygo, ) (pull_request) Failing after 4m48s
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 9m26s
Go Build Multi-Platform / Create Release (push) Has been skipped
2025-12-31 11:44:15 -06:00
fd951a10f8 feat: enhance WebAssembly API by adding requestPath, setPacketCallback, and setAnnounceCallback functions; refactor SendMessage to SendDataJS for improved data handling
Some checks failed
Bearer / scan (push) Successful in 8s
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 43s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 43s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 41s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 44s
TinyGo Build / tinygo-build (tinygo-wasm, tinygo-wasm, reticulum-go.wasm, wasm) (pull_request) Has been cancelled
Go Build Multi-Platform / build (wasm, js) (push) Successful in 51s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 55s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 53s
TinyGo Build / tinygo-build (tinygo-build, tinygo-default, reticulum-go-tinygo, ) (pull_request) Has been cancelled
Go Revive Lint / lint (push) Successful in 1m9s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 1m27s
Run Gosec / tests (push) Successful in 1m31s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Failing after 2m16s
Go Build Multi-Platform / build (amd64, freebsd) (push) Failing after 4m42s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 9m27s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 9m27s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 9m29s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 9m29s
Go Build Multi-Platform / Create Release (push) Has been skipped
2025-12-31 11:43:27 -06:00
11d4c6407e feat: expand Taskfile with new build tasks for Windows, MacOS, FreeBSD, OpenBSD, and NetBSD, and enhance WebAssembly example with run and test commands 2025-12-31 11:42:43 -06:00
1be94dc0ba chore: remove Makefile to streamline build process and simplify project structure 2025-12-31 11:42:36 -06:00
b30a1ba3eb feat: add TinyGo to development environment in flake.nix 2025-12-31 11:42:32 -06:00
9f755aec21 chore: update Go version from 1.24 to 1.25 in flake.nix 2025-12-31 11:06:20 -06:00
1a579bc716 chore: update base image in Dockerfile to busybox with sha256
Some checks failed
Bearer / scan (push) Successful in 40s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 40s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 40s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 39s
Go Build Multi-Platform / build (wasm, js) (push) Successful in 49s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 52s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 55s
TinyGo Build / tinygo-build (tinygo-build, tinygo-default, reticulum-go-tinygo, ) (pull_request) Failing after 48s
TinyGo Build / tinygo-build (tinygo-wasm, tinygo-wasm, reticulum-go.wasm, wasm) (pull_request) Failing after 49s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 1m19s
Go Revive Lint / lint (push) Successful in 55s
Run Gosec / tests (push) Successful in 1m41s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 2m26s
Go Build Multi-Platform / build (amd64, linux) (push) Failing after 4m47s
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 9m30s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 9m30s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 9m28s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 9m30s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 9m28s
Go Build Multi-Platform / Create Release (push) Has been skipped
2025-12-30 23:46:16 -06:00
8124d95192 fix: update announce hash generation in Transport to exclude hop count and header for uniqueness 2025-12-30 23:46:00 -06:00
a59dca45a7 feat: improve logging in WebSocket interface for better debugging and error tracking 2025-12-30 23:45:46 -06:00
1106215241 feat: improve WebSocket interface logging and remove default interface configuration 2025-12-30 23:45:34 -06:00
ee61747e20 feat: add comprehensive Trivy scanning tasks to Taskfile for enhanced vulnerability management 2025-12-30 23:45:17 -06:00
4c1c819e42 chore: remove pkg/ from .dockerignore to streamline Docker build context 2025-12-30 23:45:10 -06:00
078fa0f17d feat: update Dockerfile to add builder user and improve build environment 2025-12-30 23:45:05 -06:00
876476cff5 feat: update SBOM workflow to include Trivy installation and improve commit logic
Some checks failed
Bearer / scan (push) Successful in 46s
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 47s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 46s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 45s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 48s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 50s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 53s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 46s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 49s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 47s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 43s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 45s
Go Build Multi-Platform / build (wasm, js) (push) Successful in 1m18s
TinyGo Build / tinygo-build (tinygo-build, tinygo-default, reticulum-go-tinygo, ) (pull_request) Failing after 1m18s
TinyGo Build / tinygo-build (tinygo-wasm, tinygo-wasm, reticulum-go.wasm, wasm) (pull_request) Failing after 1m16s
Go Build Multi-Platform / Create Release (push) Has been skipped
Go Revive Lint / lint (push) Successful in 1m3s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 1m23s
Run Gosec / tests (push) Successful in 1m31s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 2m47s
2025-12-30 21:20:41 -06:00
899b08e92e feat: add Trivy installation and scanning tasks to Taskfile for vulnerability management 2025-12-30 21:20:34 -06:00
eec73d2d93 feat: add graceful shutdown support to Transport with done channel and stopOnce synchronization
Some checks failed
Bearer / scan (push) Successful in 47s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 46s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 44s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 42s
Go Build Multi-Platform / build (wasm, js) (push) Successful in 54s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 58s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 56s
TinyGo Build / tinygo-build (tinygo-build, tinygo-default, reticulum-go-tinygo, ) (pull_request) Failing after 52s
TinyGo Build / tinygo-build (tinygo-wasm, tinygo-wasm, reticulum-go.wasm, wasm) (pull_request) Failing after 58s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 1m6s
Go Revive Lint / lint (push) Successful in 58s
Run Gosec / tests (push) Successful in 1m54s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 2m27s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 9m27s
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 9m29s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 9m29s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 9m27s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 9m27s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 9m29s
Go Build Multi-Platform / Create Release (push) Has been skipped
2025-12-30 21:15:16 -06:00
6888eccc62 refactor: replace hardcoded values with constants and standardize mutex naming in WebSocketInterface 2025-12-30 21:15:08 -06:00
6fa0187ae1 feat: implement native WebSocket interface for connection and message handling 2025-12-30 21:15:01 -06:00
2ba3f059a1 test: add comprehensive WebSocket interface tests for connection, key generation, and message handling 2025-12-30 21:14:57 -06:00
63454b3bbb refactor: enhance UDPInterface with improved concurrency handling and consistent mutex naming 2025-12-30 21:14:42 -06:00
9f36e37f94 refactor: remove commented-out code in udp_test.go to improve code clarity 2025-12-30 21:14:36 -06:00
73b982c6e0 refactor: enhance TCPClientInterface and TCPServerInterface with improved concurrency handling and added connection timeout 2025-12-30 21:14:30 -06:00
22c54f2252 refactor: replace hardcoded TCP options with constants for improved readability in TCPClientInterface 2025-12-30 21:14:24 -06:00
d68a6cfb9c refactor: replace hardcoded SO_KEEPALIVE value with constant for improved readability in TCPClientInterface 2025-12-30 21:14:18 -06:00