4e3e1b9104
feat(transport): add SetTransportInstance function to allow setting the transport instance
transport-fixes
Sudo-Ivan2026-01-02 17:57:29 -06:00
41bcb65e16
feat(wasm): update statistics tracking by adding announce metrics and updating packet handling
Sudo-Ivan2026-01-02 17:49:13 -06:00
0ba311b25d
refactor(transport): remove unused TCPClientInterface statistics update from HandlePacket function
Sudo-Ivan2026-01-02 17:48:59 -06:00
012c0eec62
feat(tests): add network simulation test for transport layer functionality
Sudo-Ivan2026-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-Ivan2026-01-02 16:39:19 -06:00
6b011144cf
feat(wasm): set transport identity to node identity and initialize path request handler
Sudo-Ivan2026-01-02 15:42:36 -06:00
c26c50cc3a
feat(transport): add TestAnnounceHopCount to validate hop count registration and update path handling logic
Sudo-Ivan2026-01-02 15:42:21 -06:00
b972d87e91
fix(websocket): handle WebSocket connection states to prevent errors when starting an already initiated WebSocket
Sudo-Ivan2026-01-02 15:42:12 -06:00
82bfa43240
fix(packet): reorder fields in Header Type 2 for correct unpacking of TransportID and DestinationHash
Sudo-Ivan2026-01-02 15:42:03 -06:00
43aa622846
feat(destination): implement hash calculation for PLAIN destination and update identity handling in destination creation
Sudo-Ivan2026-01-02 15:41:53 -06:00
97353d430b
chore: add CONTRIBUTORS file to document project contributors and their contributions
main
Sudo-Ivan2026-01-01 13:10:55 -06:00
6ae409c1db
fix: add #nosec annotation for Bitrate conversion in SerialInterface initialization
tinygo
Sudo-Ivan2026-01-01 01:02:13 -06:00
bfa0669143
style: format code across all files
Sudo-Ivan2026-01-01 01:01:27 -06:00
2867f68a90
refactor: replace msgpack calls with common package methods in advertisement.go for packing and unpacking
Sudo-Ivan2026-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-Ivan2026-01-01 01:00:02 -06:00
132872c2d6
refactor: remove KISS protocol escape functions and related constants from tcp.go
Sudo-Ivan2026-01-01 00:59:57 -06:00
1d3590985e
feat: implement SerialInterface for TinyGo with UART communication and KISS protocol handling
Sudo-Ivan2026-01-01 00:59:52 -06:00
ae3f93a3bf
feat: add SerialInterface stub with error handling for non-TinyGo targets
Sudo-Ivan2026-01-01 00:59:47 -06:00
cbf2eaea78
feat: implement RNodeInterface for Reticulum with command handling and device initialization
Sudo-Ivan2026-01-01 00:59:39 -06:00
1133a918f1
feat: add LoRaInterface implementation for TinyGo with SPI communication and packet handling
Sudo-Ivan2026-01-01 00:59:31 -06:00
f5bb6a2b6d
feat: introduce LoRaInterface stub with error handling for non-TinyGo targets
Sudo-Ivan2026-01-01 00:59:27 -06:00
718f550180
feat: add KISS protocol escape functions in new kiss.go interface
Sudo-Ivan2026-01-01 00:59:24 -06:00
07dc008a31
refactor: update Identity methods to use common package for Msgpack serialization
Sudo-Ivan2026-01-01 00:59:20 -06:00
cdc512c391
refactor: replace msgpack calls with common package methods for ratchet data serialization
Sudo-Ivan2026-01-01 00:59:16 -06:00
1df3e41191
feat: implement MsgpackMarshal and MsgpackUnmarshal functions for MessagePack encoding and decoding
Sudo-Ivan2026-01-01 00:59:12 -06:00
dea65ad94c
feat: add new configuration fields for Frequency, Bandwidth, SF, CR, and TXPower in InterfaceConfig
Sudo-Ivan2026-01-01 00:59:08 -06:00
4c9a395ff2
refactor: replace msgpack functions with common package equivalents for ratchet data serialization
Sudo-Ivan2026-01-01 00:59:03 -06:00
09eec1c8fc
feat: add SerialInterface and RNodeInterface support in Reticulum configuration
Sudo-Ivan2026-01-01 00:58:59 -06:00
fbaafacd8a
refactor: update tinygo-build-all task to build targets in parallel using xargs
Sudo-Ivan2026-01-01 00:58:55 -06:00
40e7a168ec
chore: update msgpack dependency from vmihailenco to shamaton and remove unused tagparser dependency
Sudo-Ivan2026-01-01 00:58:31 -06:00
bad92193a3
chore: update copyright year in LICENSE file to 2026
Sudo-Ivan2025-12-31 20:44:31 -06:00
6560949ec4
feat: add wasm_exec.js to examples
Sudo-Ivan2025-12-31 18:43:37 -06:00
d6152ccd85
refactor: replace AnnounceHandler interface with Handler and update ReceivedAnnounce method to include hops parameter
Sudo-Ivan2025-12-31 18:42:50 -06:00
e6fd7188d2
fix: add hops parameter to ReceivedAnnounce method for enhanced announce handling
Sudo-Ivan2025-12-31 18:41:44 -06:00
bc44ed2aaa
fix: update ReceivedAnnounce method to include hops parameter for improved logging of announce data
Sudo-Ivan2025-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-Ivan2025-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-Ivan2025-12-31 11:54:10 -06:00
ae1d290fa7
chore: add go.mod and go.sum files for WebAssembly example to manage dependencies
Sudo-Ivan2025-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-Ivan2025-12-31 11:50:38 -06:00
ff0088644e
chore: update .gitignore to include all example files except wasm directory for better file management
Sudo-Ivan2025-12-31 11:50:26 -06:00
aee52bf56c
feat: update Taskfile check task to provide detailed summary of failed checks and overall status
Sudo-Ivan2025-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-Ivan2025-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-Ivan2025-12-31 11:42:43 -06:00
1be94dc0ba
chore: remove Makefile to streamline build process and simplify project structure
Sudo-Ivan2025-12-31 11:42:36 -06:00
b30a1ba3eb
feat: add TinyGo to development environment in flake.nix
Sudo-Ivan2025-12-31 11:42:32 -06:00
9f755aec21
chore: update Go version from 1.24 to 1.25 in flake.nix
Sudo-Ivan2025-12-31 11:06:20 -06:00
1a579bc716
chore: update base image in Dockerfile to busybox with sha256
Sudo-Ivan2025-12-30 23:46:16 -06:00
8124d95192
fix: update announce hash generation in Transport to exclude hop count and header for uniqueness
Sudo-Ivan2025-12-30 23:46:00 -06:00
a59dca45a7
feat: improve logging in WebSocket interface for better debugging and error tracking
Sudo-Ivan2025-12-30 23:45:46 -06:00
ee61747e20
feat: add comprehensive Trivy scanning tasks to Taskfile for enhanced vulnerability management
Sudo-Ivan2025-12-30 23:45:17 -06:00
4c1c819e42
chore: remove pkg/ from .dockerignore to streamline Docker build context
Sudo-Ivan2025-12-30 23:45:10 -06:00
078fa0f17d
feat: update Dockerfile to add builder user and improve build environment
Sudo-Ivan2025-12-30 23:45:05 -06:00
876476cff5
feat: update SBOM workflow to include Trivy installation and improve commit logic
Sudo-Ivan2025-12-30 21:20:41 -06:00
899b08e92e
feat: add Trivy installation and scanning tasks to Taskfile for vulnerability management
Sudo-Ivan2025-12-30 21:20:34 -06:00
eec73d2d93
feat: add graceful shutdown support to Transport with done channel and stopOnce synchronization
Sudo-Ivan2025-12-30 21:15:16 -06:00
6888eccc62
refactor: replace hardcoded values with constants and standardize mutex naming in WebSocketInterface
Sudo-Ivan2025-12-30 21:15:08 -06:00
6fa0187ae1
feat: implement native WebSocket interface for connection and message handling
Sudo-Ivan2025-12-30 21:15:01 -06:00
2ba3f059a1
test: add comprehensive WebSocket interface tests for connection, key generation, and message handling
Sudo-Ivan2025-12-30 21:14:57 -06:00
63454b3bbb
refactor: enhance UDPInterface with improved concurrency handling and consistent mutex naming
Sudo-Ivan2025-12-30 21:14:42 -06:00
9f36e37f94
refactor: remove commented-out code in udp_test.go to improve code clarity
Sudo-Ivan2025-12-30 21:14:36 -06:00
73b982c6e0
refactor: enhance TCPClientInterface and TCPServerInterface with improved concurrency handling and added connection timeout
Sudo-Ivan2025-12-30 21:14:30 -06:00
22c54f2252
refactor: replace hardcoded TCP options with constants for improved readability in TCPClientInterface
Sudo-Ivan2025-12-30 21:14:24 -06:00
d68a6cfb9c
refactor: replace hardcoded SO_KEEPALIVE value with constant for improved readability in TCPClientInterface
Sudo-Ivan2025-12-30 21:14:18 -06:00
8267123fb5
refactor: standardize mutex naming to improve code consistency in BaseInterface
Sudo-Ivan2025-12-30 21:14:13 -06:00
a540b64331
refactor: remove commented-out code in mockInterface to clean up interface_test.go
Sudo-Ivan2025-12-30 21:14:04 -06:00
b0d2d4778f
refactor: enhance AutoInterface with done channel and improved locking for concurrency
Sudo-Ivan2025-12-30 21:13:56 -06:00
6cb90d3c4b
refactor: replace mutex with Mutex for improved consistency in peer management tests
Sudo-Ivan2025-12-30 21:13:46 -06:00
009755c981
refactor: implement read-write locking for knownDestinations to improve concurrency
Sudo-Ivan2025-12-30 21:13:42 -06:00
595430c808
refactor: remove commented-out code for default interfaces in InitConfig function
Sudo-Ivan2025-12-30 21:13:38 -06:00
e9b647d5a7
refactor: remove unused timestamp and data comments in SendLinkPacket function
Sudo-Ivan2025-12-30 21:13:34 -06:00