01256f3041
Add source-based routing support ( #862 )
...
* Add source-based routing support
* include neighbors in ANNOUNCE
---------
Co-authored-by: jack <jackjackbits@users.noreply.github.com >
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com >
2025-10-28 12:38:44 +01:00
b839ce5f6c
PeerID 31/n: Remove String interop to be explicit ( #840 )
...
* PeerID 28/n: `ChatViewModel.getShortIDForNoiseKey`
* PeerID 29/n: `BLEService` + remove dupe funcs from #823
* `handleFileTransfer` to use PeerID
* `sendMessage` and `sendPrivateMessage`
* PeerID 30/n: Update some leftovers
* `lowercased()` inside PeerID for normalization
* PeerID 31/n: Remove String interop to be explicit
* MockBLEService: Remove direct target delivery
This causes a delivery even if the sender and receiver are not connected
---------
Co-authored-by: jack <jackjackbits@users.noreply.github.com >
2025-10-19 20:50:44 +02:00
3d914dcf46
Convert the remaining tests to Swift Testing ( #781 )
...
* SwiftTesting: NoiseProtocolTests + BinaryProtocolPaddingTests
* SwiftTesting: `NotificationStreamAssemblerTests`
* SwiftTesting: `NostrProtocolTests`
* SwiftTesting: `BinaryProtocolTests`
* SwiftTesting: `PeerIDTests`
* SwiftTesting: `BLEServiceTests`
* SwiftTesting: `CommandProcessorTests`
* SwiftTesting: `GCSFilterTests`
* SwiftTesting: `GeohashBookmarksStoreTests`
* Remove `peerID` test constants
* Remove PeerID + String interop from tests
* Refactor IntegrationTests to extract state management
* Refactor global state management of MockBLEService
* NoiseProtocolSwiftTests: `actor` -> `struct`
* Remove measurement tests w/ no benchmark
* `NoiseProtocolSwiftTests` -> `NoiseProtocolTests`
* SwiftTesting: `LocationChannelsTests`
* SwiftTesting: `GossipSyncManagerTests`
* SwiftTesting: `LocationNotesManagerTests`
* Global `sleep` function for tests
* SwiftTesting: `IntegrationTests`
---------
Co-authored-by: jack <jackjackbits@users.noreply.github.com >
2025-10-15 01:04:01 +02:00
Islam and GitHub
90273cee2d
PeerID 4/n: BitchatMessage.senderPeerID + String equality ( #739 )
2025-10-02 12:57:17 +02:00
Islam and GitHub
8d938e8518
PeerID 2/n: Count and hex conversion done with bare ( #705 )
2025-10-01 13:33:39 +02:00
Islam and GitHub
bf712a0610
Refactor peerID - 1/n: Add PeerID + Tests ( #688 )
...
* Unify SHA256 hash and hex usages
* Refactor `peerID` - 1/n: Add `PeerID` + Tests
2025-09-30 12:49:36 +02:00