100 Commits
Author SHA1 Message Date
Barry DeenandGitHub ddbebad120 Merge pull request #58 from barrydeen/fix/blurhash-zero-dim-crash
Fix crash on zero/negative blurhash dimensions
2026-07-23 11:00:58 -04:00
Barry DeenandClaude Sonnet 5 fc7eda8f01 fix: guard blurhash/thumbhash decode against zero/negative dimensions
Parsed width/height from the "dim" tag could be zero or negative,
crashing the decoder. Clamp to positive values and bail out early
in both decoders as a defense-in-depth backstop.

Bump version to 1.2.1 (versionCode 4).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-23 10:55:11 -04:00
Barry DeenandGitHub 16fd1f1538 Merge pull request #55 from dmnyc/feat/collapsible-threads
feat: collapsible reply threads + iOS-parity UI polish
2026-07-23 10:54:14 -04:00
Barry DeenandGitHub 80456103e6 Merge pull request #56 from dmnyc/feat/app-icon
feat(branding): dark-wisp launcher icon + welcome-screen branding
2026-07-23 10:53:40 -04:00
Barry DeenandGitHub 19769f3fdf Merge pull request #53 from dmnyc/nsec-paste-guard
fix(security): extend nsec paste guard to every remaining text input
2026-07-20 10:00:13 -04:00
Barry DeenandGitHub e223a752ed Merge pull request #54 from barrydeen/chore/bump-v1.2.0
chore: bump version to 1.2.0
2026-07-20 09:58:56 -04:00
Barry Deen 63483685e3 chore: bump version to 1.2.0 (versionCode 3) 2026-07-20 09:58:37 -04:00
Barry DeenandGitHub 3cb6f3bc09 Merge pull request #49 from dmnyc/feat/wallet-improvements
feat(wallet): Receive redesign, tx history sheet, on-chain tx display
2026-07-15 12:52:16 -04:00
Barry DeenandGitHub f6f0b25e19 Merge pull request #52 from dmnyc/feat/account-switcher-sheet
feat(drawer): account switcher as a modal sheet + reordering
2026-07-15 12:51:55 -04:00
Barry DeenandGitHub b3cbaa9cc2 Merge pull request #27 from dmnyc/feat/ui-polish
feat(ui): profile/QR sheet iOS alignment, zap spam collapse, bolt glow pulse
2026-07-04 15:53:32 -04:00
Barry DeenandGitHub c77b956767 Merge pull request #41 from dmnyc/search-segmented-tabs
feat(search): segmented People | Notes pill tabs (port wisp 4934338)
2026-07-04 15:52:32 -04:00
Barry DeenandGitHub 3c3c06ba6b Merge pull request #48 from Letdown2491/feat/render-custom-nip-30817
feat: render kind 30817 (custom NIPs / NUDs) like articles
2026-07-04 15:52:15 -04:00
Barry DeenandGitHub 67deda6ddf Merge pull request #50 from dmnyc/fix/unicode-hashtags
fix(content): parse hashtags with non-ASCII Unicode letters
2026-07-04 15:51:40 -04:00
Barry DeenandGitHub f18538ff5c Merge pull request #51 from dmnyc/feat/instant-zap-in-sheet
feat(zap): move instant-zap settings into the zap sheet
2026-07-04 15:51:18 -04:00
Barry DeenandGitHub 819963e00e Merge pull request #45 from dmnyc/feat/multi-account-switcher
feat(accounts): multi-account switcher + cancel add-account flow
2026-06-30 17:38:41 -04:00
Barry DeenandGitHub 76bb997ed1 Merge pull request #43 from dmnyc/feat/remote-signer-keys-screen
feat(keys): show signer card for REMOTE accounts, fix missing npub
2026-06-30 17:37:32 -04:00
Barry DeenandGitHub bd71a211a1 Merge pull request #44 from dmnyc/fix/linebreaks-before-mentions
fix(richcontent): preserve blank lines before inline profile/hashtag segments
2026-06-30 17:36:56 -04:00
Barry DeenandGitHub 8083521e04 Merge pull request #38 from dmnyc/fix/compose-uploading-pill
fix(compose): move uploading indicator to its own line as a capsule pill
2026-06-26 14:11:35 -04:00
Barry DeenandGitHub 2ae8a3a1af Merge pull request #39 from dmnyc/user-profile-bio-update
feat(profile): clean up payment targets, CLINK offer & zap interface
2026-06-26 14:11:16 -04:00
Barry DeenandGitHub a91df75554 Merge pull request #42 from Letdown2491/feat/strip-link-trackers
feat: strip tracking params from links in note content
2026-06-26 14:10:59 -04:00
Barry DeenandGitHub ae03b930dc Merge pull request #37 from Letdown2491/perf/hotpath-and-startup
Perf/hotpath and startup
2026-06-18 12:35:54 -04:00
Barry DeenandGitHub 01490656f5 Merge pull request #36 from barrydeen/chore/fix-extra-translation-lint
chore: remove orphan wallet_spark translations
2026-06-16 00:56:58 -04:00
Barry DeenandClaude Opus 4.8 df802ec0b7 chore: remove orphan wallet_spark translations
The bare `wallet_spark` string existed in all 10 translated locales but
not in the default locale and is not referenced in code (only
wallet_spark_title/_subtitle_recommended/_sdk are used). It tripped
lint's ExtraTranslation check, failing lintVitalRelease/Staging.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 00:55:46 -04:00
Barry DeenandGitHub 3ec27958db Merge pull request #35 from barrydeen/chore/bump-v1.1.0
chore: bump version to v1.1.0
2026-06-16 00:47:36 -04:00
Barry DeenandClaude Opus 4.8 8800415851 chore: bump version to v1.1.0
Bump versionName 1.0.0 -> 1.1.0 and versionCode 1 -> 2.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 00:46:25 -04:00
Barry DeenandGitHub 2fc8aecf8b Merge pull request #26 from dmnyc/feat/zap-sheet-overhaul
feat(zap): zap sheet overhaul — fiat input, iOS layout rewrite, hero composer, per-account presets
2026-06-16 00:35:38 -04:00
Barry Deen 71a37d597a Merge branch 'main' into pr-26-merge
# Conflicts:
#	app/src/main/kotlin/com/darkwisp/app/repo/InterfacePreferences.kt
#	app/src/main/kotlin/com/darkwisp/app/ui/component/ZapDialog.kt
2026-06-16 00:25:53 -04:00
Barry DeenandGitHub 707eed39bc Merge pull request #25 from dmnyc/feat/wallet-overhaul
feat(wallet): Spark-primary wallet overhaul — redesign, NWC backup, CLINK, Receive screen
2026-06-16 00:05:50 -04:00
Barry DeenandGitHub 07c497b782 Merge pull request #28 from dmnyc/feat/media-gallery
feat(media): horizontally scrolling image galleries for multi-image posts
2026-06-15 23:39:40 -04:00
Barry Deen 45f4d18789 Merge remote-tracking branch 'origin/main' into feat/media-gallery
# Conflicts:
#	app/src/main/kotlin/com/darkwisp/app/ui/component/MediaCarousel.kt
2026-06-15 23:36:16 -04:00
Barry DeenandGitHub 27b76b8502 Merge pull request #7 from roguehashrate/feat/anon-mode
feat: Anon Mode
2026-06-15 23:31:52 -04:00
Barry DeenandGitHub 2955dd4da1 Merge pull request #30 from dmnyc/feat/thread-ios-parity
feat(thread): iOS-parity depth connectors, reply order, sticky reply bar + publish gating (port wisp #567)
2026-06-15 23:16:15 -04:00
Barry DeenandGitHub 1ca9d9b58f Merge pull request #33 from Letdown2491/perf/strip-debug-logs
perf: strip Log.v/Log.d calls in minified builds
2026-06-15 23:15:46 -04:00
Barry DeenandGitHub f6276201a8 Merge pull request #34 from Letdown2491/perf/incremental-feed-filter
perf: maintain feed filter incrementally instead of re-filtering per update
2026-06-15 23:15:23 -04:00
Barry DeenandGitHub e48348eb28 Merge pull request #31 from Letdown2491/fix/inline-video-player-exhaustion
fix: lazily create inline video players to survive media-heavy notes
2026-06-12 14:52:27 -04:00
Barry DeenandGitHub 86eb6424b8 Merge pull request #10 from dmnyc/feat/wallet-nav-icon
feat(ui): credit-card style wallet icon in bottom nav and drawer
2026-06-12 12:13:58 -04:00
Barry DeenandGitHub 91afed827e Merge pull request #9 from dmnyc/feat/media-gallery
feat(media): horizontally scrolling image galleries
2026-06-12 12:13:29 -04:00
Barry DeenandGitHub c7ac6730ba Merge pull request #24 from Letdown2491/feat/staging-build-type
feat: add staging build type for release-performance on-device testing
2026-06-12 12:12:28 -04:00
Barry DeenandGitHub 0bcceffae2 Merge pull request #8 from dmnyc/feat/zap-sheet-fiat-image
feat(zap): fiat currency input + inline images in zap messages
2026-06-12 10:32:57 -04:00
Barry DeenandGitHub 2e0a5b9e8e Merge pull request #23 from Letdown2491/fix/notification-spam-score-anr
fix: move spam scoring out of NotificationRepository lock
2026-06-12 10:29:06 -04:00
Barry DeenandGitHub 21ce7ee2a8 Merge pull request #5 from roguehashrate/feature/payment-targets-zec-dash-bch-ltc
feat: add ZEC, DASH, BCH, LTC payment targets
2026-06-11 06:32:53 -04:00
Barry DeenandGitHub f3f8c0b199 Merge pull request #4 from barrydeen/feat/nip-a3-payment-targets
feat: add NIP-A3 payment targets (kind 10133)
2026-06-10 13:43:45 -04:00
Barry Deen edbb5ab549 feat: add NIP-A3 payment targets (kind 10133)
Users can publish payment addresses for other cryptocurrencies and
payment apps (payto tags per draft NIP-A3) and pay other users
through them.

- NipA3.kt: parse/build payto tags, type validation, payto:// and
  native wallet URIs, recognized-type stylization
- PaymentTargetRepository: LRU + SharedPrefs cache per pubkey;
  stores empty lists so cleared targets propagate
- ZapDialog: "Other ways to pay" chip section; targets-only dialog
  when lightning zapping isn't possible but targets exist
- PaymentTargetSheet: QR, copy, open-in-wallet bottom sheet
- Wallet settings: manage and publish own targets with network
  read-back before editing to avoid clobbering the replaceable event
- Profile screen: targets shown under the lightning address
- On-demand fetch only (zap dialog / profile open), ingested via
  EventRouter with created_at freshness guard
2026-06-10 13:41:36 -04:00
Barry DeenandGitHub dc35c0f49e Merge pull request #3 from barrydeen/feat/tor-support
feat(tor): embedded Tor with fail-closed routing for all connections
2026-06-10 13:04:23 -04:00
Barry Deen 28cb2dad42 feat(tor): embedded Tor with fail-closed routing for all connections
Add an embedded Tor daemon (kmp-tor) with an onion toggle in the sidebar
drawer and on the pre-login Splash/Auth screens. When enabled, every
connection — relay WebSockets, Coil images, ExoPlayer media, NIP-05/NIP-11,
LNURL/zaps, Blossom uploads, link previews, exchange rates, DM media, live
metrics — routes through Tor's SOCKS proxy.

Routing is fail-closed: from the moment the toggle flips, new clients point
at a dead loopback port until bootstrap completes, and existing clients have
their in-flight requests cancelled and keep-alive pools evicted so no
pre-toggle socket survives. OkHttp passes unresolved hostnames to SOCKS
proxies, so DNS also resolves inside Tor.

- TorManager: kmp-tor runtime in a foreground service; state machine
  (Off/Starting %/On/Stopping/Error) observed by all toggles; start retries
  around kmp-tor's fixed 1s service-bind timeout, which a busy main thread
  misses during cold start
- TorPreferences: device-level pref so the toggle works pre-login and
  survives logout
- HttpClientFactory: single proxy choke point; client registry +
  setTorSocks() invalidation; new getRelayClient/getLoopbackClient/
  getDmMediaClient
- Relay/RelayPool: clients resolved through providers on every (re)connect;
  suspendForTorSwitch/resumeAfterTorSwitch tear down sockets and suppress
  reconnects during bootstrap so the 5-min relay cooldown can't trip; local
  relay stays direct (Tor refuses loopback/LAN targets)
- Captured-client fixes so a mid-session toggle can't leak: Coil delegating
  Call.Factory (it caches its lambda forever), ZapSender, DmBubble,
  NwcRepository, SplashViewModel raw client, ExchangeRateRepository refetch
- Cold start with Tor on: relay init gated on bootstrap
- kmp-tor pinned to 2.4.x: 2.5+ needs Kotlin 2.2 metadata, unreadable by
  this project's Kotlin 2.0.21

Verified on-device by socket-inode audit: app process held 43 sockets, all
to 127.0.0.1:<socks>; only the tor child process held external connections.

Known gaps: Breez/Spark SDK (own Rust networking) and ML Kit model
downloads bypass OkHttp and are not routed.
2026-06-10 13:00:23 -04:00
Barry DeenandGitHub 7e733098e4 Merge pull request #2 from barrydeen/feat/private-replies-reactions-zaps
feat: private replies, private reactions, and private zaps
2026-06-10 12:12:35 -04:00
Barry Deen 8177cfc115 feat(private-replies): gift-wrapped reactions + DIP-03 zaps (port wisp#543)
Generalizes the private-event marker (markPrivateReply/isPrivateReply →
markPrivate/isPrivate) and re-enables React and Zap on private replies.
Reactions on a private reply are kind 7 rumors gift-wrapped to every
thread participant (the k tag distinguishes k=1 reply reactions from
k=14 DM reactions); PrivateReactionPublisher mirrors the reply publisher
with per-recipient relay resolution and a self-copy. Zapping a private
reply locks the ZapDialog to DIP-03 private mode (forcePrivate) so a
public zap can never attach an e-tag to the rumor id, and sendZap forces
the flag server-side as a defensive guard. Repost/Quote stay hidden.

Dark Wisp addition over the upstream PR: PrivateRumorHandler gains
handlePrivateReaction and the remote-signer pending-decrypt paths route
k=1 reaction rumors through it, matching the EventRouter behavior.
2026-06-10 12:04:58 -04:00
Barry Deen 4a87103944 feat(zaps): private zaps via DIP-03 + DM-relay routing (port wisp#541)
Replaces the relays-tag heuristic with DIP-03: the real sender signs an
inner kind 9733 event, NIP-04-encrypted into the outer kind 9734's anon
tag using an ephemeral key derived as sha256(privkey + eventId +
createdAt). Relays and the LNURL provider only see the unlinkable
ephemeral pubkey; receipts route through both parties' DM relays.
EventRepository.resolveZapSender() decrypts incoming private zaps (as
recipient) and re-derives the ephemeral key to self-attribute our own
outgoing ones, so notifications, zap lists, and wallet history show the
real counterparty. Private zaps require a local keypair, so the UI gate
adds hasLocalKeypair; live-stream (addressable) zaps can't derive the
ephemeral key and stay public.
2026-06-10 12:01:23 -04:00
Barry Deen 0308bad87c feat(compose): private replies via NIP-17 gift wrap (port wisp#540)
Kind 1 rumors inside kind 1059 gift wraps, delivered to the recipient's
kind 10050 DM relays (NIP-65 read relays as fallback). PoW is mined on
the rumor so the badge survives unwrapping; a self-copy wrap keeps other
devices in sync; optimistic local insert updates reply counts at once.
Compose gains a private-reply toggle that auto-enables and locks when
replying to a private reply; thread and notifications show a lock icon
and hide repost/quote/react/zap on private replies.

Dark Wisp addition over the upstream PR: private reply rumor handling is
extracted into PrivateRumorHandler and wired into the remote-signer
pending-decrypt paths (DmListViewModel/DmConversationViewModel), which
upstream dropped along with NIP-55 support — without this, gift-wrapped
replies would be misfiled as DM messages for remote-signer accounts.
2026-06-10 12:00:20 -04:00
Barry DeenandGitHub aa607cc705 Merge pull request #1 from barrydeen/fix/grapheneos-perf-apk-build
fix: revert 16KB packaging changes behind GrapheneOS perf regression
2026-06-10 11:51:32 -04:00
Barry Deen e0a889d2be fix: revert 16KB packaging changes behind GrapheneOS perf regression
Fully revert f68b40f, which shipped in 1.0.2 alongside reports of severe
slowdown and freezes on GrapheneOS:

- jniLibs.useLegacyPackaging back to true: compressed native libs cut the
  download from 82MB to 37MB, and uncompressed 16KB-aligned packaging is
  only needed for Google Play, which this build no longer targets
- secp256k1-kmp pinned back to known-good 0.16.0 (0.19.0 = libsecp256k1
  0.7.0 rebuilt with NDK 28; runs once per relay event on the verify path)

Also fix adjacent issues found while auditing every shipped release APK
(all were clean: release-signed, R8-minified, correctly aligned — ruling
out a malformed artifact as the cause):

- baseline-prof.txt still targeted com/wisp/app after the rebrand; the
  next release would have shipped zero app AOT rules. Fixed paths now
  yield 12,888 app rules; verified on-device (cold start 2048ms -> 830ms
  once compiled, ProfileVerifier reports compiledWithProfile=true)
- release signing moved into Gradle (RELEASE_STORE_* via local.properties
  or env) so the published APK is exactly what assembleRelease emits
- tools/audit-apk.sh: pre-release gate checking debuggable flag, lib
  packaging consistency, alignment, R8, baseline profile, signing cert
- ProfileVerifier status logged at startup for field diagnostics
- <profileable android:shell="true"/> so testers can capture simpleperf/
  Perfetto traces from release builds
- docs/grapheneos-perf-investigation.md: full findings plus the A/B
  attribution matrix (incl. GrapheneOS MTE toggle test) for confirming
  which half of f68b40f was guilty
2026-06-10 11:48:57 -04:00
Barry Deen 80f9e42cc6 chore: rebrand to Dark Wisp (com.darkwisp.app)
- Rename package com.wisp.app -> com.darkwisp.app
- Set applicationId/namespace to com.darkwisp.app
- Reset version to 1.0.0 (versionCode 1) as a new app
- Update display name to Dark Wisp / Dark Wisp Debug
- Update NIP-89 client tag to "Dark Wisp"
- Rebrand user-facing strings across all locales and README
- rootProject.name -> dark-wisp-android
2026-06-10 10:36:58 -04:00
Barry DeenandGitHub 9a6b100e3a Merge pull request #517 from barrydeen/chore/bump-version-1.0.5
chore: bump version to 1.0.5 (79)
2026-05-04 09:28:08 -04:00
Barry Deen d5a6f729d2 chore: bump version to 1.0.5 (79) 2026-05-04 09:26:26 -04:00
Barry DeenandGitHub 00d70f20f0 Merge pull request #516 from barrydeen/fix/bottom-tab-state-restore
fix: stop restoring stale tab back stacks on bottom-nav switch
2026-05-04 09:25:29 -04:00
Barry Deen 5b745ddb90 fix: stop restoring stale tab back stacks on bottom-nav switch
PR #514 changed the bottom-nav handler to use popUpTo with the graph's
start destination plus saveState/restoreState. Two regressions resulted:

- Tapping a tab restored the tab's saved back stack, returning the user
  to a previously-open thread instead of the tab's main screen.
- The graph's start destination (LOADING) is popped inclusive on first
  successful load, so popUpTo never matched. The resulting back-stack
  state could surface the splash/auth screen on system back from
  Notifications.

Revert that block to popUpTo(FEED) { inclusive = false } + launchSingleTop,
which always lands the user on the tab's main screen with a shallow stack.
The refreshDmsAndNotifications() throttle introduced alongside the broken
nav block is preserved — that part addresses real REQ churn jank and is
independent of how the back stack is structured.
2026-05-04 09:23:09 -04:00
Barry DeenandGitHub 04501e41de Merge pull request #515 from barrydeen/fix/tab-switch-jank
perf: reduce startup and feed rendering work
2026-05-04 08:33:37 -04:00
Barry Deen a55ebdfee6 chore: bump version to 1.0.4 (78) 2026-05-04 08:33:22 -04:00
Barry Deen c4a8aacee3 perf: restore tight NIP-05 timeouts, isolate download client, harden notif rebuild
- give getNip05Client a dedicated 5/10s client (was aliasing the 10/15s
  general client); slow .well-known/nostr.json endpoints no longer tie
  up verification threads
- add getDownloadClient (30/60s) for MediaDownloader; the shared media
  client (10/30s) is fine for ExoPlayer streaming but its read timeout
  is too tight for full-file downloads on flaky networks
- tighten notification rebuild coalesce window from 50ms to one frame
  (16ms) so single-arrival updates feel responsive
- add NotificationRepository.shutdown() and call it from
  FeedViewModel.onCleared() so rebuildScope doesn't outlive the VM
2026-05-04 08:18:03 -04:00
Barry Deen e3373889e0 perf: reduce startup and feed rendering work 2026-05-04 08:08:44 -04:00
Barry DeenandGitHub de7af45149 Merge pull request #514 from barrydeen/fix/tab-switch-jank
fix: reduce bottom-tab switching jank
2026-05-04 07:46:53 -04:00
Barry Deen a0ec123e0c fix: preserve bottom-tab state during tab switching
Restore top-level tab destinations instead of recreating them on each tap, and avoid immediately resubscribing inbox streams when users bounce between tabs. This reduces navigation jank and repeated hangs on slower devices.
2026-05-04 07:44:39 -04:00
Barry DeenandGitHub b028007a7c Merge pull request #513 from barrydeen/chore/bump-version-0.3
bump
2026-05-03 21:59:32 -04:00
Barry Deen 55e3adfc74 bump 2026-05-03 21:58:58 -04:00
Barry DeenandGitHub 550b6d1997 Merge pull request #512 from barrydeen/feat/persist-decrypted-dms
Persist decrypted DMs to skip per-boot signer round-trips
2026-05-03 21:57:12 -04:00
Barry Deen 4894ccee40 feat: persist decrypted DMs to skip per-boot signer round-trips
NIP-17 gift wraps are re-fetched on every cold start (the kind-1059
subscription has no since cursor because gift-wrap timestamps are
randomized up to 2 days in the past). Without a decrypted-DM cache,
remote-signer mode (Amber) re-runs two NIP-44 IPC decrypts per wrap on
every launch.

Adds an ObjectBox-backed cache keyed by ownerPubkey|giftWrapId. On
construction, DmRepository hydrates conversations, seenGiftWraps,
rumorIdIndex and the DM notification list from disk off the main thread.
addPendingGiftWrap now short-circuits on seenGiftWraps before queuing,
so relay-redelivered wraps never reach the signer; only newly arrived
wraps are decrypted. addMessage / addReaction / addZap re-persist the
parent message so reactions and zaps survive restarts. clear() and
purgeUser() propagate to the persistence layer.
2026-05-03 21:54:41 -04:00
Barry DeenandGitHub 81aeaa05f8 Merge pull request #511 from barrydeen/refactor/remove-tor
refactor: remove Tor functionality
2026-05-03 21:16:01 -04:00
Barry Deen 0223e1b9e7 refactor: remove Tor functionality
Drops the embedded kmp-tor client, all .onion relay support, the Tor
toggle UI on splash/auth/drawer screens, the SOCKS proxy plumbing in
HttpClientFactory, all Tor-related strings across 11 locales, the
TorManager singleton, and the kmp-tor dependencies and ProGuard rules.

Relay URL validation now accepts only wss:// (with hostname, no port,
non-localhost, non-IP). The cleartextTrafficPermitted network security
flag stays — still needed for local relays on RFC1918 / loopback.
2026-05-03 21:14:51 -04:00
Barry DeenandGitHub 94b9d7b78c Merge pull request #510 from barrydeen/fix/relay-connect-anr
fix: dispatch Relay.connect() off the calling thread to avoid ANR
2026-05-03 20:51:25 -04:00
Barry Deen 955787eaad fix: dispatch Relay.connect() off the calling thread
OkHttpClient.newWebSocket() can block on its shared TaskRunner lock
for several seconds under contention. UI callbacks that invoke
RelayPool.sendToRelayOrEphemeral were calling Relay.connect() inline
on the main thread, producing 5s+ ANRs. Dispatch connect() through a
small dedicated thread pool so callers never wait on WebSocket setup.
2026-05-03 20:47:03 -04:00
Barry DeenandGitHub 683e3072b2 Merge pull request #509 from barrydeen/feat/inline-video-loop
feat: loop inline mp4 videos in note cards
2026-05-03 20:36:19 -04:00
Barry Deen 08d1340e9e feat: loop inline mp4 videos in note cards
Inline video players in RichContent now use REPEAT_MODE_ONE so MP4s
auto-repeat when rendered inside a note card. Applied to both freshly
created and PiP-reclaimed players. Fullscreen and audio paths are
unchanged.
2026-05-03 20:35:48 -04:00
Barry DeenandGitHub b6105eb134 Merge pull request #494 from dmnyc/feat/fiat-mode-coin-stack-icon
feat: coin stack icon for zaps in fiat mode
2026-05-03 20:01:28 -04:00
Barry DeenandGitHub 8d17d12a45 Merge pull request #502 from dmnyc/feat/post-undo-timer-settings
feat: post undo timer settings
2026-05-03 20:01:11 -04:00
Barry DeenandGitHub 0347c8f0e4 Merge pull request #503 from dmnyc/fix/drawer-item-spacing
fix: reduce drawer menu item spacing
2026-05-03 20:00:55 -04:00
Barry DeenandGitHub f857466455 Merge pull request #504 from dmnyc/fix/switch-unchecked-colors
fix: improve Switch visibility in unchecked state
2026-05-03 20:00:40 -04:00
Barry DeenandGitHub 1a10f6b84f Merge pull request #495 from fiatjaf/debug-build
use a different id and name for the app when doing a debug build
2026-05-03 20:00:13 -04:00
Barry DeenandGitHub 786710efbf Merge pull request #505 from fiatjaf/fix-spacing
add a spacing between "replying to" and the name
2026-05-03 19:59:14 -04:00
Barry DeenandGitHub 30bcaca875 Merge pull request #506 from fiatjaf/thumbhash
Thumbhash
2026-05-03 19:58:54 -04:00
Barry DeenandGitHub 413a06915e Merge pull request #500 from barrydeen/feat/qr-scan-drawer
feat: add QR scan tab to drawer QR sheet
2026-04-26 09:27:09 -04:00
Barry Deen fddae10109 chore: bump version to 1.0.2 (76) 2026-04-26 09:26:10 -04:00
Barry Deen c8d6e0d05f feat: add QR scan tab to drawer QR sheet
Adds a Scan tab alongside Nostr/Lightning in the drawer's QR sheet that
opens the camera and decodes Nostr entities (npub, note, nprofile, nevent,
naddr) — with or without the nostr: prefix — and navigates directly to
the matching profile, thread, or article.

Extracts the camera scanner from WalletScreen into a reusable QrScanner
component, and centralizes NostrUriData→route mapping as toRoute() in
Navigation.kt so the deep-link handler and scanner share it.
2026-04-26 09:26:10 -04:00
Barry DeenandGitHub 0b0d30dec2 Merge pull request #493 from barrydeen/fix/16kb-page-size
fix: support 16 KB page size for Android 15+
2026-04-23 11:03:49 -04:00
Barry Deen f68b40f5a7 fix: support 16 KB page size for Android 15+
Disable legacy jniLibs packaging so native libraries are stored
uncompressed and page-aligned in the APK. Bump secp256k1-kmp to 0.19.0
and kmp-tor-resource to 408.16.4 since the prior versions shipped
ELF binaries with 4 KB LOAD alignment. All 13 .so files in the release
APK now report 2**14 alignment.
2026-04-23 11:03:17 -04:00
Barry DeenandGitHub 0d8c856c29 Merge pull request #492 from barrydeen/feat/inline-video-download
feat: add download button to inline video controls
2026-04-23 10:36:06 -04:00
Barry Deen 3ab1041fce feat: add download button to inline video controls 2026-04-23 10:35:38 -04:00
Barry DeenandGitHub b609fc56c0 Merge pull request #491 from barrydeen/fix/notifications-freeze-indexof
perf: avoid O(N^2) indexOf in notifications list
2026-04-23 10:30:19 -04:00
Barry Deen 503c46b256 perf: avoid O(N^2) indexOf in notifications list
Replace items(...) + notifications.indexOf(item) with itemsIndexed(...)
in NotificationsScreen. The indexOf call ran during composition for
every visible item, causing a linear scan per item and quadratic total
work as the list grew. Reported as a UI freeze when tapping the
notifications tab on slower devices (GrapheneOS).
2026-04-23 10:29:43 -04:00
Barry DeenandGitHub f4c716551b Merge pull request #490 from barrydeen/fix/quoted-note-emoji-picker
fix: use user's emoji picker for quoted/referenced notes
2026-04-23 10:18:43 -04:00
Barry Deen 69e49eb648 fix: use user's emoji picker for quoted/referenced notes
Quoted notes nested inside another note were using the default unicode
emoji fallback instead of the user's sorted-by-frequency picker with
their custom emojis. Plumb resolvedEmojis, unicodeEmojis, and the
onOpenEmojiLibrary callback through NoteActions so nested PostCard /
GalleryCard renders in RichContent.QuotedNote pick up the same emoji
state as their parent.
2026-04-23 10:03:41 -04:00
Barry DeenandGitHub 642b68e854 Merge pull request #489 from barrydeen/feat/drawer-avatar-opens-profile-edit
feat: open edit profile when tapping drawer avatar
2026-04-23 09:50:07 -04:00
Barry Deen 0d8e34fe02 feat: open edit profile when tapping drawer avatar 2026-04-23 09:49:44 -04:00
Barry DeenandGitHub 05e14914b4 Merge pull request #488 from barrydeen/fix/media-downloader-oom
fix: stream media downloads to avoid OOM on large files
2026-04-23 09:44:22 -04:00
Barry Deen 7a29f976df fix: stream media downloads to avoid OOM on large files 2026-04-23 09:43:34 -04:00
Barry DeenandGitHub 5853db286b Merge pull request #487 from barrydeen/feat/persistent-audio-player
feat: persistent audio mini-player docked above bottom nav
2026-04-22 22:26:04 -04:00
Barry Deen 06ec5592d3 feat: persistent audio mini-player docked above bottom nav
Replaces the basic inline audio widget with a global mini-player that persists
across feed scrolling and tab navigation. Playback continues with system
notification / lock-screen transport controls via MediaSessionService.

The dock has two states: a collapsed row showing the author's avatar and name
with rewind-15 / play-pause / forward-15; swipe up to expand for a scrub slider,
speed cycling, and close. Single ExoPlayer is owned by AudioPlayerController
and shared with the inline tap-to-play widget, which now reflects global
playback state.
2026-04-22 22:21:41 -04:00
Barry DeenandGitHub ebeebccbe9 Merge pull request #486 from barrydeen/fix/persist-settings-across-account-switch
fix: preserve local relay and emoji frequency across account switches
2026-04-22 21:56:22 -04:00
Barry Deen e245b2fbde fix: preserve local relay and emoji frequency across account switches
Two repos called clear() during resetForAccountSwitch() were doing
`prefs.edit().clear().apply()` on their SharedPreferences files while
those files were still pointing at the outgoing account:

- CustomEmojiRepository wipes its own per-pubkey file, erasing the
  "most used" emoji frequency map. No relay mirror, so the data was
  lost for good.
- BlossomRepository shares `wisp_prefs_{pubkey}` with KeyRepository, so
  its full-file wipe also took out local_relay, relays, dm_relays, etc.
  Most of those keys came back via replaceable-event refetches, but
  local_relay has no network source and stayed null.

Drop the disk wipe from both clear() methods. The subsequent
reload(newPubkey) already repoints prefs to the incoming account's file.
2026-04-22 21:54:40 -04:00
Barry DeenandGitHub b0455b1ea6 Merge pull request #485 from barrydeen/fix/compose-mention-ux
fix: stop mention insert from breaking compose cursor and keyboard
2026-04-22 21:04:50 -04:00
Barry Deen ad8c1c4d11 fix: stop mention insert from breaking compose cursor and keyboard
Mentions used to be stored in the text field as raw nostr:nprofile URIs
rendered as @Name via an OutputTransformation. The visual/underlying
offset mismatch made the cursor jump, the IME desync on rapid typing,
forced a trailing space after every mention (so '@name's' was impossible),
and turned a single backspace into a silent delete of the whole mention.

Store '@Name' directly in the text field and track mention ranges
out-of-band in the ViewModel; splice nostr:nprofile URIs back in at
publish time. Editing is now plain text — identity offset mapping, no
forced space, and breaking a mention drops only that mention, not the
surrounding text.
2026-04-22 21:04:13 -04:00