Commit Graph
629 Commits
Author SHA1 Message Date
jack e2da5e2ef9 Fix image attachment detection 2025-10-14 22:21:17 +02:00
jack a71b8cd545 Use save panel for mac image export 2025-10-14 22:21:17 +02:00
jack 1d4bf96f7a Keep processed images for outgoing messages 2025-10-14 22:21:17 +02:00
jack c55c19e738 Lowercase image preview buttons 2025-10-14 22:21:17 +02:00
jack 5cafa4d5b4 Reblur images via swipe 2025-10-14 22:21:17 +02:00
jack 567e1dbbbf Allow long-press reblur on images 2025-10-14 22:21:17 +02:00
jack 9e0542df73 Use Photos picker on mac 2025-10-14 22:21:17 +02:00
jack 32a8e558ed Restore mac photo picker access 2025-10-14 22:21:17 +02:00
jack 5209a6cfcf Display recording milliseconds 2025-10-14 22:21:17 +02:00
jack d290fd4670 Harden attachment transfer bookkeeping 2025-10-14 22:21:17 +02:00
jack cb53a3b48e Describe microphone usage 2025-10-14 22:21:17 +02:00
jack 8001486a2b Permit mac media library access 2025-10-14 22:21:17 +02:00
jack 0d6c1a0b44 Allow mac microphone access 2025-10-14 22:21:17 +02:00
jack d8e8703a5f Enable mac attachment importers 2025-10-14 22:21:17 +02:00
jack c75f32da2c Fix compressed BLE file transfers 2025-10-14 22:21:17 +02:00
jack dcd26c19d7 Stop dropping partial BLE frames while assembling notifications 2025-10-14 22:21:17 +02:00
jack eccec2f27d Log incomplete BLE frames for debugging 2025-10-14 22:21:17 +02:00
jack de7a496af9 Add detailed logging for BLE fragment assembly 2025-10-14 22:21:17 +02:00
jack ee19d9c948 Let BLE assembler accept large frames up to hard cap 2025-10-14 22:21:17 +02:00
jack 74414c369a Add guard to drop oversized BLE notification assemblies 2025-10-14 22:21:17 +02:00
jack 7935857dae Revert "Raise BLE notification buffer cap for large file transfers"
This reverts commit b624523af843475db84e4a846db8dcbe824ae408.
2025-10-14 22:21:17 +02:00
jack d3e32bdbee Raise BLE notification buffer cap for large file transfers 2025-10-14 22:21:17 +02:00
jack 77aaa3c0d1 Allow file transfers from connected but unverified peers 2025-10-14 22:21:17 +02:00
jack 6183501285 Copy imported files before sending to preserve access 2025-10-14 22:21:17 +02:00
jack 89e20738c8 Restore iOS file importer for attachments 2025-10-14 22:21:17 +02:00
jack 84c89d38d3 Reduce vertical padding between chat rows 2025-10-14 22:21:17 +02:00
jack 4ec6590b23 Tighten spacing above media message bubbles 2025-10-14 22:21:17 +02:00
jack b619c4259d Gracefully disable mac attachment pickers in sandbox 2025-10-14 22:21:17 +02:00
jack f7859f7b04 Add BLE file transfer support and media UX 2025-10-14 22:20:19 +02:00
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
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
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
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
IslamandGitHub 23249f3e41 PeerID 22/n: PrivateChatManager (#800)
* PrivateChatManager: functions to use `PeerID`

* PrivateChatManager: properties to use `PeerID`
2025-10-14 12:30:18 +02:00
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
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
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
IslamandGitHub 4563c22d2d Fix hidden source of deadlock (#794) 2025-10-12 12:27:33 +02:00
IslamandGitHub 9f74266527 Centralize repeated queue-checking logic (#791) 2025-10-11 21:38:04 +02:00
IslamandGitHub 239064e4eb Cleanup (#793)
* Remove and ignore `.cache/`

* Optimize debug logo + remove its duplicates
2025-10-11 21:28:28 +02:00
IslamandGitHub d371131ad5 Remove MockBluetoothMeshService (#777) 2025-10-09 23:47:01 +02:00
d994ccf012 Fix send button tap responsiveness and sidebar drag jitter (#783)
Restructured ContentView layout to prevent sidebar from covering input box
and removed gesture conflicts that caused jitter during slow drags.

Changes:
- Moved sidebar overlay to only cover messages area, not input box
- Input box now always accessible below sidebar (not covered by overlay)
- Removed blocking drag gesture from mainChatView
- Changed sidebar gesture from simultaneousGesture to gesture for priority
- Removed animation-disabling transactions that amplified touch noise
- Removed 2pt threshold checks that caused visible jumps

Result: Send button taps immediately, sidebar slides smoothly without jitter.

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2025-10-09 23:45:05 +02:00
IslamandGitHub 302c741d58 PeerID 21/n: UnifiedPeerService (#772) 2025-10-07 16:37:47 +02:00
IslamandGitHub 7ec84857eb PeerID 20/n: BLEService’s private functions (#771) 2025-10-07 16:26:17 +02:00
IslamandGitHub 68482c67d7 PeerID 19/n: BLEService’s private properties (#770) 2025-10-07 16:17:29 +02:00
IslamandGitHub 551a843691 PeerID 18/n: BitchatDelegate + Tests (#769) 2025-10-07 16:01:53 +02:00
IslamandGitHub fbc15ea08f SwiftTesting: Enable in GitHubActions + peer uuids (#767) 2025-10-07 12:40:20 +02:00
0f23ed0a99 Location notes: fix performance and UI issues (#774)
* Location notes: fix performance and UI issues

Performance fixes:
- Add Set-based duplicate detection (O(1) vs O(n) lookup)
- Eliminates lag when receiving 200+ notes during EOSE

Correctness fixes:
- Fix optimistic echo timestamp to match signed event timestamp
- Add echo IDs to noteIDs set for consistency

UI improvements:
- Remove duplicate "loading recent notes" text in header
- Simplify toolbar icon color logic for immediate green indication
- Icon now reliably turns green when notes exist in geohash

Tests: All 3 LocationNotes tests passing

* Location notes: add remaining robustness fixes

Additional improvements:
- Align counter/manager limits to 200 (prevents showing count higher than displayable)
- Set loading state before clearing notes to eliminate UI flicker on geohash change
- Add geohash validation for building-level precision (8 valid base32 chars)
- Add defensive 500-note memory cap with automatic trimming
- Clear stale notesGeohash state on sheet dismiss

Tests:
- Fix test geohashes to use valid base32 characters
- All 3 LocationNotes tests passing

---------

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2025-10-07 12:36:54 +02:00
c583949031 Fix QR verification sending multiple notifications (#773)
The camera scanner was continuously detecting the same QR code (10-30+ times/second), causing multiple verification notifications to be sent. This happened because:

1. AVCaptureMetadataOutput fires repeatedly while QR is visible
2. Each detection triggered a new verification flow
3. After receiving response, pendingQRVerifications was cleared, allowing duplicate scans

Changes:
- Add deduplication using lastValid state to ignore re-scans of same QR code
- Only set lastValid after successful verification initiation
- Add onSuccess callback to close scanner after successful scan
- Automatically return to "My QR" view after verification starts
- Apply same logic to both iOS camera and macOS manual input paths

This ensures exactly one verification request per scan session.

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2025-10-07 11:32:57 +02:00