Commit Graph

  • 4e3e1b9104 feat(transport): add SetTransportInstance function to allow setting the transport instance transport-fixes Sudo-Ivan 2026-01-02 17:57:29 -06:00
  • 41bcb65e16 feat(wasm): update statistics tracking by adding announce metrics and updating packet handling Sudo-Ivan 2026-01-02 17:49:13 -06:00
  • 0ba311b25d refactor(transport): remove unused TCPClientInterface statistics update from HandlePacket function Sudo-Ivan 2026-01-02 17:48:59 -06:00
  • c22aa0cb45 refactor(interfaces): update WebSocketInterface packet handling and streamline message processing Sudo-Ivan 2026-01-02 17:48:55 -06:00
  • 25e04b1b80 refactor(interfaces): remove Send method from UDPInterface and streamline packet processing Sudo-Ivan 2026-01-02 17:48:43 -06:00
  • e508f63b83 feat(interfaces): implement ProcessOutgoing method for TCPClientInterface and remove unused statistics methods Sudo-Ivan 2026-01-02 17:48:39 -06:00
  • f28ba4d69e feat(interfaces): update AutoInterface with multicast address generation and duplicate data handling Sudo-Ivan 2026-01-02 17:48:34 -06:00
  • 62b5d6a4d2 feat(config): add MulticastAddrType field to InterfaceConfig structure Sudo-Ivan 2026-01-02 17:48:19 -06:00
  • 8325666301 feat(interfaces): add transmission and reception metrics to BaseInterface Sudo-Ivan 2026-01-02 17:48:15 -06:00
  • f80d50c27b refactor(tests): clean up whitespace in TestTransportLeak function Sudo-Ivan 2026-01-02 17:47:34 -06:00
  • f6b5f3ee82 refactor(tests): remove unnecessary blank line in packet fuzz test file Sudo-Ivan 2026-01-02 17:47:29 -06:00
  • 14d62efd17 refactor(tests): simplify MockInterface by embedding BaseInterface and removing redundant fields Sudo-Ivan 2026-01-02 17:47:23 -06:00
  • c9f7f12a03 chore(.gitignore): add test/compat/ directory to ignore list Sudo-Ivan 2026-01-02 17:46:48 -06:00
  • 548ec55248 feat(tests): add TestTransportLeak to check for goroutine leaks in transport instances Sudo-Ivan 2026-01-02 16:39:50 -06:00
  • 03753bf9bc feat(tests): add fuzz testing for packet unpacking functionality Sudo-Ivan 2026-01-02 16:39:45 -06:00
  • 012c0eec62 feat(tests): add network simulation test for transport layer functionality Sudo-Ivan 2026-01-02 16:39:40 -06:00
  • 6fe193d75a feat(tests): add new fuzz, resource leak, and network simulation tests; introduce benchmark and build-test workflows Sudo-Ivan 2026-01-02 16:39:19 -06:00
  • 6b011144cf feat(wasm): set transport identity to node identity and initialize path request handler Sudo-Ivan 2026-01-02 15:42:36 -06:00
  • c26c50cc3a feat(transport): add TestAnnounceHopCount to validate hop count registration and update path handling logic Sudo-Ivan 2026-01-02 15:42:21 -06:00
  • b972d87e91 fix(websocket): handle WebSocket connection states to prevent errors when starting an already initiated WebSocket Sudo-Ivan 2026-01-02 15:42:12 -06:00
  • 82bfa43240 fix(packet): reorder fields in Header Type 2 for correct unpacking of TransportID and DestinationHash Sudo-Ivan 2026-01-02 15:42:03 -06:00
  • 43aa622846 feat(destination): implement hash calculation for PLAIN destination and update identity handling in destination creation Sudo-Ivan 2026-01-02 15:41:53 -06:00
  • 97353d430b chore: add CONTRIBUTORS file to document project contributors and their contributions main Sudo-Ivan 2026-01-01 13:10:55 -06:00
  • 6ae409c1db fix: add #nosec annotation for Bitrate conversion in SerialInterface initialization tinygo Sudo-Ivan 2026-01-01 01:02:13 -06:00
  • bfa0669143 style: format code across all files Sudo-Ivan 2026-01-01 01:01:27 -06:00
  • 2867f68a90 refactor: replace msgpack calls with common package methods in advertisement.go for packing and unpacking Sudo-Ivan 2026-01-01 01:00:06 -06:00
  • fbb48f2295 refactor: replace msgpack calls with common package methods in link.go for request and response handling Sudo-Ivan 2026-01-01 01:00:02 -06:00
  • 132872c2d6 refactor: remove KISS protocol escape functions and related constants from tcp.go Sudo-Ivan 2026-01-01 00:59:57 -06:00
  • 1d3590985e feat: implement SerialInterface for TinyGo with UART communication and KISS protocol handling Sudo-Ivan 2026-01-01 00:59:52 -06:00
  • ae3f93a3bf feat: add SerialInterface stub with error handling for non-TinyGo targets Sudo-Ivan 2026-01-01 00:59:47 -06:00
  • cbf2eaea78 feat: implement RNodeInterface for Reticulum with command handling and device initialization Sudo-Ivan 2026-01-01 00:59:39 -06:00
  • 1133a918f1 feat: add LoRaInterface implementation for TinyGo with SPI communication and packet handling Sudo-Ivan 2026-01-01 00:59:31 -06:00
  • f5bb6a2b6d feat: introduce LoRaInterface stub with error handling for non-TinyGo targets Sudo-Ivan 2026-01-01 00:59:27 -06:00
  • 718f550180 feat: add KISS protocol escape functions in new kiss.go interface Sudo-Ivan 2026-01-01 00:59:24 -06:00
  • 07dc008a31 refactor: update Identity methods to use common package for Msgpack serialization Sudo-Ivan 2026-01-01 00:59:20 -06:00
  • cdc512c391 refactor: replace msgpack calls with common package methods for ratchet data serialization Sudo-Ivan 2026-01-01 00:59:16 -06:00
  • 1df3e41191 feat: implement MsgpackMarshal and MsgpackUnmarshal functions for MessagePack encoding and decoding Sudo-Ivan 2026-01-01 00:59:12 -06:00
  • dea65ad94c feat: add new configuration fields for Frequency, Bandwidth, SF, CR, and TXPower in InterfaceConfig Sudo-Ivan 2026-01-01 00:59:08 -06:00
  • 4c9a395ff2 refactor: replace msgpack functions with common package equivalents for ratchet data serialization Sudo-Ivan 2026-01-01 00:59:03 -06:00
  • 09eec1c8fc feat: add SerialInterface and RNodeInterface support in Reticulum configuration Sudo-Ivan 2026-01-01 00:58:59 -06:00
  • fbaafacd8a refactor: update tinygo-build-all task to build targets in parallel using xargs Sudo-Ivan 2026-01-01 00:58:55 -06:00
  • 40e7a168ec chore: update msgpack dependency from vmihailenco to shamaton and remove unused tagparser dependency Sudo-Ivan 2026-01-01 00:58:31 -06:00
  • d6e0874f05 Add missing TCP timeout stubs for TinyGo Sudo-Ivan 2025-12-31 22:54:29 -06:00
  • 9fa05cce5c Merge main into tinygo and fix conflicts Sudo-Ivan 2025-12-31 22:53:35 -06:00
  • 1d3a969742 chore: add SPDX license identifier and copyright notice Sudo-Ivan 2025-12-31 20:44:58 -06:00
  • bad92193a3 chore: update copyright year in LICENSE file to 2026 Sudo-Ivan 2025-12-31 20:44:31 -06:00
  • 6560949ec4 feat: add wasm_exec.js to examples Sudo-Ivan 2025-12-31 18:43:37 -06:00
  • d6152ccd85 refactor: replace AnnounceHandler interface with Handler and update ReceivedAnnounce method to include hops parameter Sudo-Ivan 2025-12-31 18:42:50 -06:00
  • e6fd7188d2 fix: add hops parameter to ReceivedAnnounce method for enhanced announce handling Sudo-Ivan 2025-12-31 18:41:44 -06:00
  • bc44ed2aaa fix: update ReceivedAnnounce method to include hops parameter for improved logging of announce data Sudo-Ivan 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 Sudo-Ivan 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 Sudo-Ivan 2025-12-31 11:54:10 -06:00
  • ae1d290fa7 chore: add go.mod and go.sum files for WebAssembly example to manage dependencies Sudo-Ivan 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 Sudo-Ivan 2025-12-31 11:50:38 -06:00
  • ff0088644e chore: update .gitignore to include all example files except wasm directory for better file management Sudo-Ivan 2025-12-31 11:50:26 -06:00
  • aee52bf56c feat: update Taskfile check task to provide detailed summary of failed checks and overall status Sudo-Ivan 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 Sudo-Ivan 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 Sudo-Ivan 2025-12-31 11:42:43 -06:00
  • 1be94dc0ba chore: remove Makefile to streamline build process and simplify project structure Sudo-Ivan 2025-12-31 11:42:36 -06:00
  • b30a1ba3eb feat: add TinyGo to development environment in flake.nix Sudo-Ivan 2025-12-31 11:42:32 -06:00
  • 9f755aec21 chore: update Go version from 1.24 to 1.25 in flake.nix Sudo-Ivan 2025-12-31 11:06:20 -06:00
  • 1a579bc716 chore: update base image in Dockerfile to busybox with sha256 Sudo-Ivan 2025-12-30 23:46:16 -06:00
  • 8124d95192 fix: update announce hash generation in Transport to exclude hop count and header for uniqueness Sudo-Ivan 2025-12-30 23:46:00 -06:00
  • a59dca45a7 feat: improve logging in WebSocket interface for better debugging and error tracking Sudo-Ivan 2025-12-30 23:45:46 -06:00
  • 1106215241 feat: improve WebSocket interface logging and remove default interface configuration Sudo-Ivan 2025-12-30 23:45:34 -06:00
  • ee61747e20 feat: add comprehensive Trivy scanning tasks to Taskfile for enhanced vulnerability management Sudo-Ivan 2025-12-30 23:45:17 -06:00
  • 4c1c819e42 chore: remove pkg/ from .dockerignore to streamline Docker build context Sudo-Ivan 2025-12-30 23:45:10 -06:00
  • 078fa0f17d feat: update Dockerfile to add builder user and improve build environment Sudo-Ivan 2025-12-30 23:45:05 -06:00
  • 876476cff5 feat: update SBOM workflow to include Trivy installation and improve commit logic Sudo-Ivan 2025-12-30 21:20:41 -06:00
  • 899b08e92e feat: add Trivy installation and scanning tasks to Taskfile for vulnerability management Sudo-Ivan 2025-12-30 21:20:34 -06:00
  • eec73d2d93 feat: add graceful shutdown support to Transport with done channel and stopOnce synchronization Sudo-Ivan 2025-12-30 21:15:16 -06:00
  • 6888eccc62 refactor: replace hardcoded values with constants and standardize mutex naming in WebSocketInterface Sudo-Ivan 2025-12-30 21:15:08 -06:00
  • 6fa0187ae1 feat: implement native WebSocket interface for connection and message handling Sudo-Ivan 2025-12-30 21:15:01 -06:00
  • 2ba3f059a1 test: add comprehensive WebSocket interface tests for connection, key generation, and message handling Sudo-Ivan 2025-12-30 21:14:57 -06:00
  • 63454b3bbb refactor: enhance UDPInterface with improved concurrency handling and consistent mutex naming Sudo-Ivan 2025-12-30 21:14:42 -06:00
  • 9f36e37f94 refactor: remove commented-out code in udp_test.go to improve code clarity Sudo-Ivan 2025-12-30 21:14:36 -06:00
  • 73b982c6e0 refactor: enhance TCPClientInterface and TCPServerInterface with improved concurrency handling and added connection timeout Sudo-Ivan 2025-12-30 21:14:30 -06:00
  • 22c54f2252 refactor: replace hardcoded TCP options with constants for improved readability in TCPClientInterface Sudo-Ivan 2025-12-30 21:14:24 -06:00
  • d68a6cfb9c refactor: replace hardcoded SO_KEEPALIVE value with constant for improved readability in TCPClientInterface Sudo-Ivan 2025-12-30 21:14:18 -06:00
  • 8267123fb5 refactor: standardize mutex naming to improve code consistency in BaseInterface Sudo-Ivan 2025-12-30 21:14:13 -06:00
  • a540b64331 refactor: remove commented-out code in mockInterface to clean up interface_test.go Sudo-Ivan 2025-12-30 21:14:04 -06:00
  • b0d2d4778f refactor: enhance AutoInterface with done channel and improved locking for concurrency Sudo-Ivan 2025-12-30 21:13:56 -06:00
  • 6cb90d3c4b refactor: replace mutex with Mutex for improved consistency in peer management tests Sudo-Ivan 2025-12-30 21:13:46 -06:00
  • 009755c981 refactor: implement read-write locking for knownDestinations to improve concurrency Sudo-Ivan 2025-12-30 21:13:42 -06:00
  • 595430c808 refactor: remove commented-out code for default interfaces in InitConfig function Sudo-Ivan 2025-12-30 21:13:38 -06:00
  • e9b647d5a7 refactor: remove unused timestamp and data comments in SendLinkPacket function Sudo-Ivan 2025-12-30 21:13:34 -06:00
  • 7d57888696 sast: bearer:disable javascript_lang_logger_leak Sudo-Ivan 2025-12-30 21:13:26 -06:00
  • cbe2df02ad refactor: remove commented-out code for interface configuration in CreateDefaultConfig function Sudo-Ivan 2025-12-30 21:12:51 -06:00
  • ff893945e9 feat: add WebSocketInterface support and configure Quad4 WebSocket in main.go Sudo-Ivan 2025-12-30 21:12:44 -06:00
  • b705427bc9 chore: update check task to include test-short and scan dependencies Sudo-Ivan 2025-12-30 21:12:36 -06:00
  • 88083be84e fix: update test-wasm task to dynamically set PATH for WebAssembly tests Sudo-Ivan 2025-12-30 19:28:01 -06:00
  • 4ea1fd1f28 feat: add wasm_exec_node.js for Node.js support in WebAssembly execution Sudo-Ivan 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 Sudo-Ivan 2025-12-30 19:18:53 -06:00
  • 1281731a81 feat: add test-wasm task for running WebAssembly tests and simplify build-wasm command Sudo-Ivan 2025-12-30 19:18:47 -06:00
  • 8d97c29b19 docs: add test-wasm command to README for running WebAssembly tests Sudo-Ivan 2025-12-30 19:18:42 -06:00
  • f8712b35b8 refactor: extract run function Sudo-Ivan 2025-12-30 19:18:37 -06:00
  • 0051405033 test: add initial tests for WebAssembly Sudo-Ivan 2025-12-30 19:18:26 -06:00
  • 3a14394640 feat: add go_js_wasm_exec script to increase V8 stack size for WebAssembly tests Sudo-Ivan 2025-12-30 19:17:57 -06:00
  • 2faf1fb5a2 feat: add wasm_exec.js for WebAssembly support, implementing file system, process, and crypto APIs Sudo-Ivan 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 Sudo-Ivan 2025-12-30 19:17:43 -06:00