639 Commits

Author SHA1 Message Date
jack
c29c7d83fe Target image byte size across platforms 2025-10-15 17:37:19 +01:00
jack
7f743d48fe Normalize mac JPEG color space 2025-10-15 17:37:19 +01:00
jack
27c39332d5 Strip metadata in mac image encoding 2025-10-15 17:37:19 +01:00
jack
53c08d6807 Revert unsupported JPEG option 2025-10-15 17:37:19 +01:00
jack
7efe0a23b1 Align mac image JPEG encoding 2025-10-15 17:37:19 +01:00
jack
8dedc81512 Allow user-selected write access 2025-10-15 17:37:19 +01:00
jack
5cbe9d4aa7 Fix image attachment detection 2025-10-15 17:37:19 +01:00
jack
515fae9e25 Use save panel for mac image export 2025-10-15 17:37:19 +01:00
jack
0946d3921f Keep processed images for outgoing messages 2025-10-15 17:37:19 +01:00
jack
1d40950118 Lowercase image preview buttons 2025-10-15 17:37:19 +01:00
jack
b404d48ba6 Reblur images via swipe 2025-10-15 17:37:19 +01:00
jack
2f1ba27d51 Allow long-press reblur on images 2025-10-15 17:37:19 +01:00
jack
23124b36b7 Use Photos picker on mac 2025-10-15 17:37:19 +01:00
jack
3e8d05fa2e Restore mac photo picker access 2025-10-15 17:37:19 +01:00
jack
c36b582209 Display recording milliseconds 2025-10-15 17:37:19 +01:00
jack
3c66ca7499 Harden attachment transfer bookkeeping 2025-10-15 17:37:19 +01:00
jack
a042576652 Describe microphone usage 2025-10-15 17:37:19 +01:00
jack
3c120042a4 Permit mac media library access 2025-10-15 17:37:19 +01:00
jack
4e3603d5e4 Allow mac microphone access 2025-10-15 17:37:19 +01:00
jack
f7ad970a83 Enable mac attachment importers 2025-10-15 17:37:19 +01:00
jack
4cc87633e1 Fix compressed BLE file transfers 2025-10-15 17:37:19 +01:00
jack
2d565ad918 Stop dropping partial BLE frames while assembling notifications 2025-10-15 17:37:19 +01:00
jack
b4cb4d36f1 Log incomplete BLE frames for debugging 2025-10-15 17:37:19 +01:00
jack
7fcef2a9cb Add detailed logging for BLE fragment assembly 2025-10-15 17:37:18 +01:00
jack
e7dc0e0c5a Let BLE assembler accept large frames up to hard cap 2025-10-15 17:37:18 +01:00
jack
3b2c7d2f73 Add guard to drop oversized BLE notification assemblies 2025-10-15 17:37:18 +01:00
jack
209f926990 Revert "Raise BLE notification buffer cap for large file transfers"
This reverts commit b624523af843475db84e4a846db8dcbe824ae408.
2025-10-15 17:37:18 +01:00
jack
ef8b509ea5 Raise BLE notification buffer cap for large file transfers 2025-10-15 17:37:18 +01:00
jack
06b5bdb6da Allow file transfers from connected but unverified peers 2025-10-15 17:37:18 +01:00
jack
a5a3efebcb Copy imported files before sending to preserve access 2025-10-15 17:37:18 +01:00
jack
cd39d8c8c0 Restore iOS file importer for attachments 2025-10-15 17:37:18 +01:00
jack
1046bfec0f Reduce vertical padding between chat rows 2025-10-15 17:37:18 +01:00
jack
d8c83e25f4 Tighten spacing above media message bubbles 2025-10-15 17:37:18 +01:00
jack
a9fa614416 Gracefully disable mac attachment pickers in sandbox 2025-10-15 17:37:18 +01:00
jack
ecbbc23862 Add BLE file transfer support and media UX 2025-10-15 17:37:18 +01:00
jack
b6d42261d0
Guard peer collision checks with snapshot (#810) 2025-10-15 16:12:16 +02:00
Islam
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
b3ec5eeda0
Refactor Noise: Extract files and remove dead code (#806)
* Extract each type to a separate file

* NoiseSessionManager: Remove unused functions

---------

Co-authored-by: jack <212554440+jackjackbits@users.noreply.github.com>
2025-10-15 00:32:44 +02:00
Islam
47d75ab9d8
PeerID 23/n: ChatViewModel + its dependences (#801) 2025-10-15 00:20:19 +02:00
jack
3479c7d5df
Fix people sheet dismiss gestures (#803)
* Allow closing people sheet from X and swipe

* Swipe right to return from DM to people list

---------

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2025-10-14 21:11:44 +02:00
jack
8a0727fcf7
Guard BLE link state lookups on BLE queue (#805)
Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2025-10-14 21:11:07 +02:00
jack
6588861e34
Align gossip sync stale cleanup with Android client (#798)
* Align DM sheet toolbar with people list

* Gate stale gossip announcements

* Remove stale peer messages during gossip cleanup

---------

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2025-10-14 13:54:36 +02:00
fikarme
a1647901e5
Add Turkish translations for share extension & Add Turkey to knownRegions (#787)
* Add Turkish translations for share extension

* Add Turkey to knownRegions

---------

Co-authored-by: jack <212554440+jackjackbits@users.noreply.github.com>
2025-10-14 12:45:23 +02:00
Islam
23249f3e41
PeerID 22/n: PrivateChatManager (#800)
* PrivateChatManager: functions to use `PeerID`

* PrivateChatManager: properties to use `PeerID`
2025-10-14 12:30:18 +02:00
Islam
ad4103bacc
Refactor Nostr ID Bridge & Keychain Helper (#796)
* Extract each type to a separate file

* Nostr ID Bridge: Convert static func/vars to instance

* `KeychainHelper` behind a protocol to easily mock

* Update tests with ID Bridge and MockKeychainHelper

---------

Co-authored-by: jack <212554440+jackjackbits@users.noreply.github.com>
2025-10-14 12:26:18 +02:00
jack
e3149fa098
Process incoming fragments on message queue (#804)
Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2025-10-14 12:20:39 +02:00
jack
987ba2e694 Fix people sheet close button 2025-10-12 20:18:29 +02:00
jack
615273a63e
Align DM sheet toolbar with people list (#795)
Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2025-10-12 19:53:08 +02:00
Islam
4563c22d2d
Fix hidden source of deadlock (#794) 2025-10-12 12:27:33 +02:00
Islam
9f74266527
Centralize repeated queue-checking logic (#791) 2025-10-11 21:38:04 +02:00