1136 Commits
Author SHA1 Message Date
jackandjack bca6cf00d2 Prep 1.8.1 iOS App Store submission (#1920)
Co-authored-by: jack <jackjackbits@users.noreply.github.com>
v1.8.1
2026-11-27 12:18:56 -10:00
Jozef Koval a10f5233d3 fix(ble,stores): fix PR #1893 slice crash, scan-pause lifecycle, courier panic fencing, and media store cache races (#1918)
- Normalize/rebase Data slice indices in BLEInboundWriteBuffer across both the sequential fast path and oversized early-return path (#1893/#1888).
- Move fragment scan-pause coordination from BLEService into BLERadioController (BLEFragmentScanPauseTracker), binding pause tokens to scheduler reservations and cancelling on stopServices, panic reset, cancelTransfer, releaseReservation, and Bluetooth power-off/reset.
- Fence BLEService+Courier acceptCourierDeposit and sprayCourierMail messageQueue.async hops with capturePanicLifecycleGeneration() / isCurrentPanicLifecycleGeneration(_).
- Add direct BLEOutboundFragmentPlanner.makePlan(packet:...) overload so private-media v1 compatibility checks avoid throwaway SHA-256 request hashing.
- Simplify BLEIncomingFileStore.DirectoryCache to PendingDeliveryTracker (also cleared in resetPrivateMediaReceiptsForPanic), remove directory-path cache and locked static DateFormatter in favor of POSIX Calendar formatting.
- Remove unused @discardableResult on MessageRouter.flushOutbox(for:fallbackPeerID:persist:), add unknown-ack test during unseenRecoveryPendingPersistence, and pass isLocationAuthorized in PanicWipeCoverageTests.
2026-11-27 11:58:06 -10:00
jackandjack becdeb330b fix(ui): fix double top inset in Liquid Glass chat with overlay chrome and content margins (#1917)
* fix(ui): replace nested safeAreaInset with overlay chrome and scroll content margins

* fix(ui): keep single-level safeAreaInset on iOS 16/macOS 13 for programmatic scroll targets

* fix(ui): reset ScrollView identity per timeline context to avoid stale contentOffset

* fix(test): share isolated LocationChannelManager between ChatViewModel and smoke feature models

---------

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2026-11-27 11:23:38 -10:00
Krystof KratkyandClaude Opus 5.5 7999b1e192 Fill the topology sheet so its background reaches the edges (#1876)
In the empty state the topology content has no width-flexible child, so
the VStack hugs the widest caption line. The themed sheet background takes
that narrow frame, and the system sheet gray shows as gutters on the left
and right. Give the content a full-size frame, like FingerprintView does.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 10:51:54 -10:00
jackandjack cc37cb0946 Fix App Group defaults lookup and preserve restored BLE GATT service (#1919)
Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2026-11-27 10:49:45 -10:00
jackandjack 87ae09c316 Fix MainActor Equatable warnings in message views and update test callers (#1916)
* Fix MainActor Equatable warnings in message views and update test callers

* Update Xcode LastUpgradeCheck and scheme versions to 2720

---------

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2026-11-27 10:11:48 -10:00
Jozef Koval c513183123 fix(nostr): handle NostrProcessedEventStore write failures and drain deferred recovery IDs (#1908) 2026-11-27 09:43:45 -10:00
jackandjack 0047ba008f Harden BLE ingress, media bounds, DM read-state/notifications, and storage/URL safety (#1914)
* Require signature verification for self-addressed public messages

* Reject fragmented and foreign-directed REQUEST_SYNC packets

* Gate DM read receipts on app active state and notify delayed Nostr DMs

* Cap media deflate ratio and protect private media from public quota eviction

* Use background-accessible file protection and allowlist message URL schemes

* Track macOS active/inactive transitions for DM read-receipt gating

---------

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2026-11-27 09:42:29 -10:00
Jozef Koval f464331202 fix(security): bound CashuTokenDecoder cache by token length and byte cost (#1907) 2026-11-27 09:40:24 -10:00
Taksh Kothari e64e5be1e1 fix: count bridged people on the rendezvous cell caption (#1810)
The settings line already names the cell. It now adds a plural count when someone is across the bridge, and stays the cell line when nobody is.
2026-11-27 09:39:58 -10:00
heyaim abf932acfd Fix composer control overlap at large text sizes (#1841)
* Fix composer control overlap at large text sizes

At accessibility XXXL, the composer icons outgrew their fixed 36-point
frames, causing attachment/send accessibility-bounds overlap in the
280-point Matrix iOS simulator fixture.

All six frames used by the attachment, send and microphone controls in
ContentComposerView now use a .title2-relative @ScaledMetric with a
36-point default, so their allocations follow the icons' scaling.

Automatic regression tests cover iOS composer interactions, selected-language
layouts and photo-picker callbacks, plus macOS controls.

* Preserve the 36-point minimum for composer controls

Keep all six composer control frames at least 36 points while
preserving growth at larger Dynamic Type sizes.

* Test the composer minimum size and report UI test failures

Add extra-small Dynamic Type coverage for 36-point control allocations
in both themes using the existing test host.

Print assertion errors and failed test cases from the saved runner log,
and update the coverage documentation.

* Simplify composer sizing regression tests

Move the shared frame sizing into a modifier and test icon
containment and the 36-point minimum in the existing iOS target.

Remove the dedicated composer hosts, runners, model injection
and associated package, project and CI changes.
2026-11-27 09:35:30 -10:00
Taksh Kothari 782f63d735 perf(geohash): 3.3-3.5x faster Geohash encode, decode, and neighbors with ASCII lookup tables (#1900) 2026-11-27 09:34:13 -10:00
Taksh Kothari b0b8462bde perf(mesh): pack 8-byte RoutingID as UInt64 and use flat parent-map BFS (#1898) 2026-11-27 09:33:50 -10:00
Taksh Kothari 6a5f05f44d chore: update iOS GeoRelay list from permissionlesstech/georelays (#1863)
* chore: update iOS GeoRelay list from permissionlesstech/georelays

* fix: retain transitional baseline relays and deduplicate conflicting hostnames
2026-11-27 09:32:44 -10:00
Taksh Kothari 6f5ba3067c fix: improve dark-mode contrast for blue and purple peer colors (#1862)
* fix: improve dark-mode contrast for blue and purple peer colors

* fix: guarantee >= 4.5:1 dark-mode contrast across 210-306 deg and preserve ring separation
2026-11-27 09:32:39 -10:00
Taksh Kothari 9720a14bd4 fix(ui): open globe picker when tapping Teleport with an empty geohash (#1866) 2026-11-27 09:32:34 -10:00
Taksh Kothari 2691019689 fix(test): make SimulatedMeshTests storm bound deterministic (#1869)
* test(sim): track delivered frame counts per MessageType in SimulatedMesh

* fix(test): bound publicMessageRelaysAcrossLineTopologyWithinTTLBudget by .message frames
2026-11-27 09:32:28 -10:00
Jozef Koval 69a87bc3e0 Whitepaper: incoming files are validated automatically (#1884)
§7 said "explicit accept before anything touches disk", which reads
like a user step. The code has none before the write: the validator
runs and the handler saves the file.
2026-11-27 09:32:23 -10:00
Jozef Koval b5eec13ba1 test(nostr): flush debounce in ephemeral dedup persistence test (#1909) 2026-11-27 09:32:19 -10:00
bd603386d5 Stop presence and the bridge cell once location access is revoked (#1851)
Revoking location access mid-session left kind-20001 presence going to
the last region, province and city cells until relaunch, and kept the
mesh bridge's rendezvous on the last neighborhood cell. Both read
LocationStateManager.availableChannels, which outlived the permission,
and neither checked the permission itself.

- GeohashPresenceService checks the permission before each heartbeat
  and again after the decorrelation delay. The loop keeps running, so
  presence resumes once access comes back.
- The bridge's locationCell goes through BridgeService.ownLocationCell,
  which returns nil without authorization, so the rendezvous closes and
  no presence or message copy goes to the old cell.
- LocationStateManager forgets the last fix (channels and place names)
  when access is revoked, before the new permission state publishes. A
  fix CoreLocation delivers after the revocation is ignored and not
  geocoded, and a place-name lookup that lands late is dropped.

NearbyNotesCounter and GeoChannelCoordinator keep their own permission
checks. Three tests asserted that the channel list survives revocation;
they now assert it is cleared.

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 09:32:14 -10:00
jackandjack 724d36008d fix(security,ble,voice): harden prekey trust, voice targeting, 255-byte DM checks, 64-hex routing, and BLE link binding (#1912)
* Require Noise-authenticated signing keys and valid clock window for prekey bundles

* Capture voice note destination at hold start and stop recording immediately on release

* Fail private messages exceeding the 255-byte TLV wire limit

* Flush 64-hex outbox aliases on reconnect and normalize BLE receipt peer IDs

* Defer unbound BLE link binding until announce verification succeeds

---------

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2026-11-27 09:24:43 -10:00
jackandjack 16778449de Remove unused senderColor and peerURL helpers from ChatMessageFormatter (#1911)
Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2026-11-26 22:14:44 -10:00
jackandjack 6edbcaf108 Tier 3: architectural consolidations across media storage, ViewModels, BLE, Noise, Gateway/Bridge, and Nostr (#1906)
* Redesign private-media disk storage and receipt ledger around UUID names and atomic snapshot

* Consolidate ViewModel shared contexts, Combine mirrors, and PrivateChatManager

* Fold BLE micro-files and split BLEService by domain

* Merge SecureNoiseSession into NoiseSession and consolidate NoiseSessionManager slots

* Extract shared CarrierRelayEngine, add Transport defaults, and split NostrRelayManager

* Share outgoing voice-note path helper and trim unused NostrRelayManager imports

* Remove extra trailing newline in NostrRelayManager.swift

* Protect pending UI media deliveries from quota eviction and remove unused QueuedUplink wrappers

---------

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2026-11-26 22:01:30 -10:00
jackandjack ef84fdcdd1 Refactor: Tier 2 deduplications, shared TLV/persistence/cache helpers, and RAII audio tokens (#1910)
* Deduplicate MessageOutboxStore recovery state machine and MessageRouter loops

* Unify NostrInboundPipeline and GeohashSubscriptionManager duplicate paths

* Remove dead notifyUIChanged() plumbing and retire BitchatDelegate

* Deduplicate BLEService core paths, link state types, and gossip sync

* Deduplicate NoiseProtocol DH operations, key loading, and rate limiter

* Consolidate AppSupport JSON stores, BoundedCache, Keychain upserts, and Favorites load

* Add shared TLVWriter/TLVReader in BitFoundation and migrate protocol codecs

* Deduplicate cross-platform views, utilities, and audio session RAII

* Address PR 1904 review: bound BoundedCache hot-key history and clean Periphery warnings

---------

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2026-11-26 21:56:35 -10:00
jackandjack 00fbb6c561 Tier 1 cleanup: remove dead code, write-only state, and stale localizations (#1903)
* Remove dead binary message, NoiseMessage, ReadReceipt, and InputValidator code

* Remove dead MessageFormattingEngine body and port single-pass hint scanner

* Remove dead AppEventStream, coordinator methods, and write-only ViewModel state

* Remove dead BLE/Sync helpers, obsolete ingress lock, and gate debug diagnostics

* Remove dead Noise, Nostr, TorManager, and BitFoundation code

* Remove dead Identity ephemeral sessions, nicknameIndex, and favorite APIs

* Remove StoreAndForwardMetrics, dead service APIs, and gate test-only helpers

* Remove dead UI verify sheet, ImageUtils NSImage path, voice metering, and stale strings

* Remove obsolete isConnected assertions in coordinator context tests

* Address PR 1903 review: preserve legacy panic cleanup and remove Periphery leftovers

---------

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2026-11-26 21:47:19 -10:00
jack 700db383ff Fix concurrency races across BLE, TorManager, SecureNoiseSession, and ChatViewModel (#1886) 2026-11-26 21:11:35 -10:00
jack abbe98bc3e Harden BLE mesh DoS defenses and preserve 6-hour gossip history across stale timeouts (#1888) 2026-11-26 20:58:53 -10:00
2e902f0ea0 Turn live push-to-talk off by default (#1852)
Live voice streams a hold to other people before it is released and plays
strangers' live bursts out loud as they arrive. In 1.8.0 it defaults on, so
people get both without choosing them. Make it opt-in:

- PTTSettings falls back to off, with store-injecting forms like
  NotificationPrivacySettings so tests can pin the default.
- Panic wipe resets the preference, so a wiped device comes back off.
- The live-voice coordinator reads the switch through an injectable
  provider; the outbound capture gate and the inbound player use it.
- The settings subtitle says it is off by default and what turning it on
  does, in all 30 locales.

Tests pin the default and the panic reset, check that a hold on the public
mesh records a classic note while the switch is off and goes live only once
it is on, and opt the existing live-voice fixtures in explicitly.

Split from #1660, which keeps slide-to-cancel.

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 20:43:19 -10:00
jackandjack 295a7c0071 fix(ui): fix double top inset in chat and optimize crowded-room entry and scrolling (#1905)
* fix(ui): fix double top inset in chat and optimize crowded-room entry and scrolling

- Remove the wrapping GeometryReader and VStack around MessageListView's ScrollView under .safeAreaInset chrome so the first message no longer receives a double top safe-area inset (appearing halfway down the screen above the keyboard in Liquid Glass), and replace the implicit TupleView inside ScrollView with an explicit leading-aligned container.
- Extract Equatable MessageRowView and TextMessageView so appending a new message skips diffing, formatting, media checks, and context-menu construction for unchanged rows.
- Batch crowded-room public pipeline flushes into a single ConversationStore.appendBatch mutation and cap synchronous prewarming to the bottom viewport window.
- Share MessageFormattingEngine's single-pass UTF-8 hint scanner with BitchatMessage.contentScan and ChatMessageFormatter, add O(1) length/whitespace fast paths, and short-circuit mention/haptic/geohash-identity hot paths.
- Optimize chat entry and autocomplete by skipping debounce task spawning without '@', gating CommandSuggestionsView on '/', hoisting static localized composer strings, pre-filtering geohash candidates by prefix, and selecting top-5 mentions in O(N).
- Tune initial window size (150) and scroll follow throttle (0.15s) and add iOS layout + batch-store regression tests.

* fix(ci): satisfy Periphery scan on macOS for composer strings and message list

---------

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2026-11-26 20:39:33 -10:00
jack c812c5401e fix(security): prevent transient Keychain read errors from overwriting identity pins, Nostr keys, and prekeys (#1885)
* Fail closed on transient Keychain read errors in identity cache, Nostr bridge, and prekeys

* Remove unused secureClear(_: inout String) in FaultInjectingKeychain for Periphery

* Use shared MockKeychain with per-key fault filter to satisfy Periphery
2026-11-26 20:36:49 -10:00
jack 7c92ae36c9 Harden CI workflows, Arti provenance gate, build script, and Xcode SwiftPM pinning (#1887) 2026-11-26 20:08:10 -10:00
jackandjack 2ff8aa523f fix(security,media,tor): close panic-wipe races, high-res photo rejection, live-voice sweep, and TorManager lifecycle bugs (#1902)
* fix(security,media,tor): close panic-wipe races, high-res photo rejection, live-voice sweep, and TorManager lifecycle bugs

* test(ptt): tolerate 3s idle-timer promotion during async startup sweep test

---------

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2026-11-26 17:35:03 -10:00
jackandjack 58c5189461 Remove gear button from header nav (#1901)
Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2026-11-26 17:34:58 -10:00
jack b7c75eb581 perf(globe,media,ptt): optimize globe renderer, image pipeline, and live PTT audio (#1896) 2026-11-26 12:35:58 -10:00
jack 13b599fad7 perf(launch): share Keychain/NostrIdentityBridge, offload startup loads, debounce read receipts, and batch sightings (#1895) 2026-11-26 12:08:48 -10:00
jack e75b619b24 perf(nostr,tor): eliminate per-frame MainActor hops, coalesce fan-in Schnorr verifies, and offload Tor lifecycle (#1894) 2026-11-26 11:37:53 -10:00
jack 4462da6ae3 perf(ble,stores): batch outbox writes, cache media paths, and streamline BLE link hot paths (#1893)
- Skip no-op outbox disk writes on already-cleared delivery/read acks when durable
  state is loaded (MessageOutboxStore.hasDeferredDiskState), and hoist persistOutbox
  out of courierBecameAvailable and flushAllOutbox loops.
- Skip duplicate disk writes in CourierStore.deposit when copy budget is unchanged
  and guard carriedCount MainActor publishes.
- Cache resolved standardized media directories and reservedPayloadPaths in
  BLEPrivateMediaReceiptStore and BLEIncomingFileStore (eliminating thousands of
  createDirectory syscalls per incoming file save), hoist CharacterSet, and reuse
  a lock-guarded DateFormatter.
- Add BLEInboundWriteBuffer.remove(for:) on central unsubscribe (plugging per-central
  buffer leak), fast-path sequential appends, and pre-check wire header length before
  BinaryProtocol.decode.
- Precompute contentKey/resolvedTransferId once in BLEOutboundFragmentTransferRequest.
- Move courier store deposit/spray off MainActor onto messageQueue, combine peripheral
  and central link snapshots into single bleQueue.sync hops in sendEncrypted,
  sendOnAllLinks, and checkPeerConnectivityOnEngine, and coordinate scan pauses across
  overlapping fragment transfers.
2026-11-26 11:37:17 -10:00
jack cc9fb502c2 perf(ui): eliminate SwiftUI invalidation storms during typing and peer updates (#1892)
- Isolate composer draft text and autocomplete debounce task in ComposerDraftModel
  and split @mention autocomplete out of ConversationUIModel into
  ComposerAutocompleteModel so keystrokes only re-evaluate ContentComposerView
  instead of ContentView and all 300 message rows.
- Inject non-observing AppEnvironmentModels so ContentView and sheet containers
  can forward models into sheets (#1558) and closures without subscribing to
  publicChatModel, privateInboxModel, peerListModel, verificationModel, or
  conversationUIModel.
- Split MessageListView into PublicMessageListView and PrivateMessageListView
  hosts so public and DM timelines never invalidate each other.
- Guard redundant publishes in PrivateConversationModel, PeerIdentityStore,
  AppChromeModel, LocationChannelsModel, and ConversationUIModel.
- Cache mesh palette rebuilds in ChatMessageFormatter via meshPeerMembershipRevision
  and reuse viewModel.geohashIdentity(for:).
2026-11-26 11:36:56 -10:00
jack 9717e7513f perf: Keychain/identity caching, ephemeral Nostr dedup, fragment routing guard, media & row cache quick wins (#1882) 2026-11-26 11:36:08 -10:00
callebtc adf2fd98c9 perf: reduce CPU, radio, GPS, I/O, and GPU battery usage across idle and active mesh paths (#1890)
* perf: reduce CPU, radio, GPS, I/O, and GPU battery usage across idle and active mesh paths

* fix(lint): use String(unsafeUninitializedCapacity:) in ContentNormalizer.formatHashKey

* fix: address round-1 external review findings and Periphery warnings

* fix: address round-2 external review findings

* fix: address round-3 external review findings
2026-11-26 09:25:42 -10:00
callebtc 9b170b174a Fix PTT playback deadlock on engine stop
The buffer completion callback read `engine.isRunning` on the
AVAudioPlayerNode completion queue. `AVAudioPlayerNode.stop()` holds the
engine lock while it waits synchronously for that queue, so a main-thread
stop (category-escalation rebuild, teardown) deadlocked and the watchdog
killed the app (0x8BADF00D). Seen on device when opening the video camera
while a live stream's audio was playing.

Classify completions on a private serial queue instead, so the node's
completion queue never touches the engine.

(cherry picked from commit bf1e1e70b2)
2026-11-25 21:58:18 -10:00
jack 875223a49a fix(security): close panic-wipe key/metadata leaks and VoiceRecorder deadlock (#1879)
* Close panic-wipe leaks across shadow key caches, singletons, disk stores, and VoiceRecorder

* Import BitLogger in VoiceRecorder for timeout warning

* Use BridgeService.locationCell in PanicWipeCoverageTests

* Address Codex review: fence MainActor ACK tasks and WaveformCache writes across panic wipe
2026-11-25 21:42:25 -10:00
jack dcac0f5efd fix(security): block BLE image decompression bombs at ingest and downsample on render (#1880)
* Validate incoming BLE image dimensions at ingest and downsample at render

* Fix MimeType interpolation and include .jpg alias in ImageContainerValidator
2026-11-25 20:59:45 -10:00
jack 8f73cd3757 fix(tor): keep proxy fail-closed and prevent GeoRelayDirectory clearnet leaks (#1878)
* Keep Tor proxy mode fail-closed and prevent GeoRelayDirectory clearnet leaks

* Call rebuild() from TorURLSession.setProxyMode to satisfy macOS Periphery scan
2026-11-25 20:59:41 -10:00
jackandjack ad3f3dbab5 Harden waveform decoding and audio container validation at ingest (#1873)
* Harden waveform decoding and audio container validation at ingest

* Keep AudioContainerValidator MemoryReader alive across CoreAudio callbacks

---------

Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2026-11-25 09:00:05 -10:00
Rod BahmanyariandClaude Fable 5 6db5495a33 Header: add a gear button as a discoverable settings entry point (#1445)
* Header: add a gear button that opens settings, on the settings pane

Settings were reachable only by tapping the "bitchat/" wordmark, which
reads as static text — new users have no way to find it. Add a gearshape
button at the right end of the header icon cluster that opens the App
Info sheet directly on its settings pane: the sheet's pane memory is
sticky and defaults to info, so a control labeled "settings" would
otherwise land first-time users on the info tab. The logo tap stays as
a shortcut and keeps the sticky last-used pane, and the deliberately
undiscoverable triple-tap panic wipe is unchanged.

The label/tooltip ships as a new content.header.settings key seeded
with copies of the catalog's existing "settings" translations, so it is
localized in all 30 supported languages from the start.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Review follow-ups: globe deep-link, fil translation, pane-routing test

Three items from review feedback on the gear PR:

- The gateway globe's accessibility hint promises "opens settings", but
  its action presented the sheet on the sticky pane. It now passes
  .settings like the gear.
- fil had English "settings" marked translated (Chessing234's catch);
  now "mga setting", matching the catalog's own fil precedent in
  content.accessibility.gateway_settings_hint. Also applied to
  app_info.tab.settings — the label of the very tab both controls
  deep-link to — so fil users don't hear "mga setting" and land on a
  tab labeled "settings". (content.alert.bluetooth_required.settings
  names the iOS Settings app and is left for a separate pass.)
- A regression test pins the routing contract: a promised pane
  overwrites the sticky appInfo.selectedPane default, a plain present
  never touches it, and first-open leaves the key absent so new users
  still land on Info.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-11-25 08:06:42 -10:00
heyaim 1f785a699f Prevent private chats with same-name peers from merging (#1736)
Nickname matching could put one peer's messages in another peer's
private chat on DM arrival or chat opening. A reply or explicit Resend
could then target the wrong peer. GeoDM Block could also block a
matching mesh peer while leaving the sender unblocked.

Remove both history rules and the unread-name fallback. Keep fingerprint
and known-key joins. Join courier full-key and derived short-ID history,
preserving mesh sender IDs and recognizing the aliases for receipts.
Resolve geohash Block by the sender's mapped key; stop if it is missing.
Correct the fingerprint-test fixture to resolve through the transport.

Restoring the removed rules fails their regressions. App, package and
simulator tests, performance checks, SwiftLint, unsigned iOS simulator
and macOS Release builds, and macOS Periphery pass. iOS Periphery
matches the local baseline. No hardware run; receipts tested to
transport handoff.
2026-11-25 08:06:37 -10:00
jackandjack 26e41e06bb Fix Noise replay window bit shift direction (#1872)
Co-authored-by: jack <jackjackbits@users.noreply.github.com>
2026-11-25 08:06:33 -10:00
callebtc 04995f68e4 Port the Android globe geohash picker to iOS (#1807)
* Port the Android globe geohash picker to iOS

Adds the 3D globe picker from bitchat-android: a map button next to the
geohash field opens a full-screen orthographic globe (Natural Earth land,
borders and cities, geohash grid, crosshair) with drag/fling, pinch, tap
and double-tap, precision buttons and a fly-in to the current geohash.
Selecting teleports like typing a geohash.

Beyond a straight port:
- Fix ocean painted as land: the point-in-ring test counted the
  antimeridian seam as a crossing for Eurasia, flipping its fill over the
  Pacific and Atlantic. Android has the same bug.
- Motion detail only steps down within one gesture, so layers no longer
  flash on and off while dragging.
- The geohash grid and city dots draw at every detail level instead of
  vanishing while the globe moves.

Extracts GeohashCoverage so the sheet and picker share the cell-size
string, and adds the picker strings in all locales.

* Let the globe reach polar targets past the drag limit

A polar cell's center can lie past the ±89° drag limit (zzzz is at
89.91°). The animated intro clamped its latitude there and selected
zzzf, while the Reduce Motion path kept zzzz. Animations now always
reach their target; dragging keeps the limit on the far side and never
snaps a polar view back to it.
2026-10-25 02:55:00 +02:00
jackandClaude Opus 5.5 30c58eee34 Bump version to 1.8.0 (#1796)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v1.8.0
2026-10-23 22:17:57 +02:00