Commit Graph

391 Commits

Author SHA1 Message Date
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
8267123fb5 refactor: standardize mutex naming to improve code consistency in BaseInterface 2025-12-30 21:14:13 -06:00
a540b64331 refactor: remove commented-out code in mockInterface to clean up interface_test.go 2025-12-30 21:14:04 -06:00
b0d2d4778f refactor: enhance AutoInterface with done channel and improved locking for concurrency 2025-12-30 21:13:56 -06:00
6cb90d3c4b refactor: replace mutex with Mutex for improved consistency in peer management tests 2025-12-30 21:13:46 -06:00
009755c981 refactor: implement read-write locking for knownDestinations to improve concurrency 2025-12-30 21:13:42 -06:00
595430c808 refactor: remove commented-out code for default interfaces in InitConfig function 2025-12-30 21:13:38 -06:00
e9b647d5a7 refactor: remove unused timestamp and data comments in SendLinkPacket function 2025-12-30 21:13:34 -06:00
7d57888696 sast: bearer:disable javascript_lang_logger_leak 2025-12-30 21:13:26 -06:00
cbe2df02ad refactor: remove commented-out code for interface configuration in CreateDefaultConfig function 2025-12-30 21:12:51 -06:00
ff893945e9 feat: add WebSocketInterface support and configure Quad4 WebSocket in main.go 2025-12-30 21:12:44 -06:00
b705427bc9 chore: update check task to include test-short and scan dependencies 2025-12-30 21:12:36 -06:00
88083be84e fix: update test-wasm task to dynamically set PATH for WebAssembly tests
Some checks failed
Bearer / scan (push) Failing after 44s
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 52s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 40s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 36s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 34s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 43s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 41s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 39s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 38s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 38s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 38s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 36s
Go Build Multi-Platform / build (wasm, js) (push) Successful in 35s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 1m15s
TinyGo Build / tinygo-build (tinygo-build, tinygo-default, reticulum-go-tinygo, ) (pull_request) Failing after 1m22s
TinyGo Build / tinygo-build (tinygo-wasm, tinygo-wasm, reticulum-go.wasm, wasm) (pull_request) Failing after 1m20s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 2m6s
Go Revive Lint / lint (push) Successful in 1m6s
Run Gosec / tests (push) Successful in 1m35s
Go Build Multi-Platform / Create Release (push) Has been skipped
2025-12-30 19:28:01 -06:00
4ea1fd1f28 feat: add wasm_exec_node.js for Node.js support in WebAssembly execution
Some checks failed
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 36s
Bearer / scan (push) Failing after 38s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 32s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 34s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 52s
Go Build Multi-Platform / build (wasm, js) (push) Successful in 48s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 50s
TinyGo Build / tinygo-build (tinygo-build, tinygo-default, reticulum-go-tinygo, ) (pull_request) Failing after 46s
TinyGo Build / tinygo-build (tinygo-wasm, tinygo-wasm, reticulum-go.wasm, wasm) (pull_request) Failing after 59s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 59s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Failing after 1m33s
Run Gosec / tests (push) Successful in 1m45s
Go Revive Lint / lint (push) Successful in 52s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 9m23s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 9m25s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 9m23s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 9m25s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 9m23s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 9m25s
Go Build Multi-Platform / Create Release (push) Has been skipped
2025-12-30 19:27:24 -06:00
1ad1f3cfd2 feat: enhance CI workflow by adding Node.js setup and WebAssembly test/build steps for Linux AMD64
Some checks failed
Bearer / scan (push) Successful in 42s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 40s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 39s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 37s
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 53s
TinyGo Build / tinygo-build (tinygo-build, tinygo-default, reticulum-go-tinygo, ) (pull_request) Failing after 54s
TinyGo Build / tinygo-build (tinygo-wasm, tinygo-wasm, reticulum-go.wasm, wasm) (pull_request) Failing after 1m0s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 57s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Failing after 1m45s
Go Revive Lint / lint (push) Successful in 49s
Run Gosec / tests (push) Successful in 1m44s
Go Build Multi-Platform / Create Release (push) Has been cancelled
Go Build Multi-Platform / build (amd64, darwin) (push) Has been cancelled
Go Build Multi-Platform / build (arm64, freebsd) (push) Has been cancelled
Go Build Multi-Platform / build (arm64, darwin) (push) Has been cancelled
Go Build Multi-Platform / build (arm, windows) (push) Has been cancelled
Go Build Multi-Platform / build (amd64, linux) (push) Has been cancelled
Go Build Multi-Platform / build (arm, freebsd) (push) Has been cancelled
2025-12-30 19:18:53 -06:00
1281731a81 feat: add test-wasm task for running WebAssembly tests and simplify build-wasm command 2025-12-30 19:18:47 -06:00
8d97c29b19 docs: add test-wasm command to README for running WebAssembly tests 2025-12-30 19:18:42 -06:00
f8712b35b8 refactor: extract run function 2025-12-30 19:18:37 -06:00
0051405033 test: add initial tests for WebAssembly 2025-12-30 19:18:26 -06:00
3a14394640 feat: add go_js_wasm_exec script to increase V8 stack size for WebAssembly tests 2025-12-30 19:17:57 -06:00
2faf1fb5a2 feat: add wasm_exec.js for WebAssembly support, implementing file system, process, and crypto APIs 2025-12-30 19:17:49 -06:00
e51baa8673 test: add comprehensive tests for WASM functions including registration, stats retrieval, connection status, and message handling 2025-12-30 19:17:43 -06:00
21a0dafae6 feat: enhance chat message handling in WASM by including sender information and user-specific app data 2025-12-30 19:17:37 -06:00
156d642fe6 docs: add Go Build badge to README for CI visibility
Some checks failed
Bearer / scan (push) Successful in 36s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 1m2s
Go Revive Lint / lint (push) Successful in 47s
Run Gosec / tests (push) Successful in 1m19s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 2m12s
TinyGo Build / tinygo-build (tinygo-build, tinygo-default, reticulum-go-tinygo, ) (pull_request) Failing after 1m12s
TinyGo Build / tinygo-build (tinygo-wasm, tinygo-wasm, reticulum-go.wasm, wasm) (pull_request) Failing after 56s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 58s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 54s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 40s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 56s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 39s
Go Build Multi-Platform / build (wasm, js) (push) Successful in 37s
Generate SBOM / generate-sbom (push) Successful in 36s
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 9m25s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 9m23s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 9m25s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 9m23s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 9m25s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 9m25s
Go Build Multi-Platform / Create Release (push) Successful in 11s
v0.6.0
2025-12-30 12:41:36 -06:00
20a1da6a56 docs: update README
All checks were successful
Bearer / scan (push) Successful in 29s
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 47s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 42s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 35s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 33s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 37s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 36s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 32s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 34s
Go Revive Lint / lint (push) Successful in 44s
Run Gosec / tests (push) Successful in 49s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 9m25s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 9m22s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 9m25s
Go Build Multi-Platform / build (wasm, js) (push) Successful in 9m25s
Go Build Multi-Platform / Create Release (push) Has been skipped
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 18m50s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 19m4s
2025-12-30 12:35:44 -06:00
0a3d0c9440 refactor: update bandwidth checks in announce forwarding logic to prevent overload 2025-12-30 12:35:32 -06:00
04bd23e753 refactor: adjust rate limiter configuration in AnnounceManager for improved performance 2025-12-30 12:35:21 -06:00
a01b253473 refactor: update Limiter implementation to use capacity instead of interval and adjust related tests 2025-12-30 12:35:15 -06:00
53b981cb21 refactor: remove unused hops parameter from ReceivedAnnounce method in WASM handler
All checks were successful
Bearer / scan (push) Successful in 28s
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 35s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 33s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 32s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 32s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 35s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 34s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 32s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 35s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 34s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 31s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 33s
Go Build Multi-Platform / build (wasm, js) (push) Successful in 39s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 1m6s
Go Revive Lint / lint (push) Successful in 53s
Run Gosec / tests (push) Successful in 1m22s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 1m33s
Go Build Multi-Platform / Create Release (push) Has been skipped
2025-12-30 12:32:55 -06:00
6cc82159cf refactor: update WASM build commands in Taskfile to specify the correct package path for Reticulum
Some checks failed
Bearer / scan (push) Successful in 36s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 34s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 31s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 33s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 30s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 33s
Go Build Multi-Platform / build (wasm, js) (push) Failing after 33s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 58s
Go Revive Lint / lint (push) Successful in 1m0s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 1m36s
Run Gosec / tests (push) Successful in 1m10s
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 9m23s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 9m25s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 9m23s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 9m23s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 9m25s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 9m25s
Go Build Multi-Platform / Create Release (push) Has been skipped
2025-12-30 12:28:09 -06:00
5a9bfd74d3 feat: add WASM package with JavaScript API for Reticulum integration 2025-12-30 12:27:59 -06:00
1c3de51913 feat: implement main entry point for WebAssembly (WASM) application with JS integration 2025-12-30 12:27:55 -06:00
25e0719954 fix: handle error when generating random tag in RequestPath method
All checks were successful
Go Build Multi-Platform / build (amd64, darwin) (push) Successful in 31s
Go Build Multi-Platform / build (arm, freebsd) (push) Successful in 32s
Bearer / scan (push) Successful in 7s
Go Build Multi-Platform / build (amd64, linux) (push) Successful in 32s
Go Build Multi-Platform / build (arm, windows) (push) Successful in 32s
Go Build Multi-Platform / build (wasm, js) (push) Successful in 44s
Go Build Multi-Platform / build (arm64, windows) (push) Successful in 47s
Go Test Multi-Platform / Test (ubuntu-latest, arm64) (push) Successful in 51s
Go Revive Lint / lint (push) Successful in 1m1s
Go Test Multi-Platform / Test (ubuntu-latest, amd64) (push) Successful in 1m44s
Run Gosec / tests (push) Successful in 1m7s
Go Build Multi-Platform / build (amd64, freebsd) (push) Successful in 9m23s
Go Build Multi-Platform / build (amd64, windows) (push) Successful in 9m25s
Go Build Multi-Platform / build (arm, linux) (push) Successful in 9m23s
Go Build Multi-Platform / build (arm64, freebsd) (push) Successful in 9m23s
Go Build Multi-Platform / build (arm64, darwin) (push) Successful in 9m25s
Go Build Multi-Platform / build (arm64, linux) (push) Successful in 9m25s
Go Build Multi-Platform / Create Release (push) Has been skipped
2025-12-30 12:13:49 -06:00
cbff6e4bc4 refactor: optimize WASM build command in Taskfile by adding ldflags for smaller output 2025-12-30 12:09:35 -06:00
4d6eda36c0 feat: add support for building WebAssembly (WASM) targets in CI workflow 2025-12-30 12:09:29 -06:00