William Casarin
e023d1e9cb
settings: turn off wallet selector by default
...
This is a bit confusing for new users
2023-06-23 11:46:42 +02:00
William Casarin
e6b8e39106
actionbar: rename accessibility label boosts to reposts
2023-06-23 11:46:42 +02:00
William Casarin
ced028755c
debug: InnerTimeline render counts
2023-06-23 11:46:42 +02:00
William Casarin
dabf737654
Merge remote-tracking branch 'github/translations'
2023-06-22 10:25:14 +02:00
William Casarin
72d141af61
wording: send a "message" with the zap, not "reply"
2023-06-22 10:23:56 +02:00
William Casarin
4d43e590e0
view: Add ZapUserView
...
This will be used to make it clear that we are zapping a user
2023-06-22 10:23:56 +02:00
William Casarin
c413589582
eventgroup: add is_note_zap
...
We'll need this to hide note zaps as per apple's insanely dumb
guidelines.
2023-06-22 10:23:56 +02:00
William Casarin
c218e0dcdd
refactor: use zap.is_anon instead of recomputing
...
I believe this code was written before we computed is_anon inside the
zap.
2023-06-22 10:23:56 +02:00
William Casarin
892765eaa5
UserView: Make spacer optional
...
We need this to center this view sometimes. We should look into removing
this in the future?
2023-06-22 10:23:56 +02:00
William Casarin
455f1f7e1f
view/refactor: remove redundant view structs
2023-06-22 10:23:56 +02:00
William Casarin
797762e7d2
view/refactor: move sheet handler in CustomizeZapView
2023-06-22 10:23:56 +02:00
William Casarin
a2866ff6b3
Merge remote-tracking branch 'github/translations'
2023-06-21 10:19:47 +02:00
William Casarin
2ff12cdfa6
video: switch videoplayer to use detached tasks
2023-06-20 17:00:48 +02:00
William Casarin
b7b7d65612
perf: don't use string concat when calculing SeenEven hash
...
Profiler was complaining about this one
2023-06-20 17:00:48 +02:00
William Casarin
d205be3e0a
ui: remove nip05 badge on events
...
Changelog-Changed: Remove nip05 on events
2023-06-20 17:00:48 +02:00
William Casarin
0bea81c632
perf: move blurhash processing to a background task
...
Using Task directly will only inherent the parent thread. We need
detached to do heaving processing.
2023-06-20 17:00:48 +02:00
William Casarin
e4842cca3c
logs: don't print filters
...
It can be slow
2023-06-20 17:00:48 +02:00
William Casarin
87d4752aa4
ui: use AboutView in existing views
2023-06-20 17:00:48 +02:00
William Casarin
6ec533b0cd
view: Add AboutView
...
This will be used by different views for the user's about section
2023-06-20 17:00:48 +02:00
William Casarin
51a58360f9
debug slow scroll
2023-06-20 15:29:44 +02:00
William Casarin
fe025532e8
Merge remote-tracking branch 'github/translations'
2023-06-20 11:27:29 +02:00
William Casarin
6eb548a0a9
Fix reconnect loop issues on iOS17
...
Changelog-Fixed: Fix reconnect loop issues on iOS17
2023-06-20 11:21:21 +02:00
William Casarin
bcaa1d2354
ping: switch to async style
...
because reasons
2023-06-20 11:21:07 +02:00
William Casarin
3db13ae171
Fix build for iOS17
2023-06-20 10:18:23 +02:00
William Casarin
0b5d68c0b8
Revert "threads: attempt to fix state jankiness"
...
This reverts commit f4024895ba .
2023-06-14 09:30:58 +02:00
William Casarin
f4024895ba
threads: attempt to fix state jankiness
...
Changelog-Fixed: Fix some more thread jankiness
2023-06-14 09:20:51 +02:00
William Casarin
bcdd0b4e23
Revert "Add Inter font"
...
This reverts commit 271e3ad54a .
2023-06-12 11:25:27 +02:00
William Casarin
1c655d47b2
home: add comment explaining send_home_filters
2023-06-10 15:09:43 +02:00
William Casarin
24cc361d60
refactor: make send_initial_filter more readible
2023-06-10 15:09:43 +02:00
William Casarin
0ee360f2fa
Fix video player hangs
...
Changelog-Fixed: Fix hangs due to video player
2023-06-10 11:33:35 +02:00
William Casarin
c59d2a96af
Make profile picture placeholder gray instead of purple
2023-06-10 11:33:18 +02:00
William Casarin
ba3a6b07b2
Fix warnings
2023-06-10 11:33:07 +02:00
William Casarin
043eb5b436
Show zap comments in threads and show top zap
...
Changelog-Added: Top zaps
Changelog-Added: Show zap comments in threads
2023-06-09 10:11:25 +02:00
William Casarin
8f237b47eb
qrscan: use explicit types when scanning
2023-06-07 08:06:06 +02:00
William Casarin
a0caf9ce07
find_event: refactor with more explicit types
2023-06-07 08:06:06 +02:00
William Casarin
3277aac220
refactor: use guard in qr profile lookup
2023-06-07 08:06:03 +02:00
William Casarin
e67dac13c6
refactor: use guard in handleProfileScan
2023-06-07 08:06:03 +02:00
William Casarin
1d3c181b85
Translations
...
Translate Localizable.strings in ja
Translate Localizable.strings in de
Translate Localizable.strings in vi
Translate Localizable.strings in zh_TW
Translate Localizable.strings in zh_HK
Translate Localizable.strings in zh_CN
Translate Localizable.strings in ru
Localizable.strings in cs
Closes : #1253
2023-06-07 06:17:30 +02:00
William Casarin
809a08ef63
v1.5 (3)
2023-05-30 19:40:37 -07:00
William Casarin
57e6f083b8
Revert "Updated UI to use custom font"
...
This reverts commit 020a00bf7e .
2023-05-30 19:35:21 -07:00
William Casarin
cfa1e13887
Revert "Add .frame & .position modifiers to TextEntry using ScrollView geometry"
...
This reverts commit f7a0370824 .
2023-05-30 19:29:23 -07:00
William Casarin
6eecb5ef26
video-player: don't stop audio, mix with external media
2023-05-30 18:44:36 -07:00
William Casarin
5dc3e2635e
video-player: don't randomly stop video
2023-05-30 18:38:04 -07:00
William Casarin
2713e76e17
v1.5-2 changelog
2023-05-30 18:08:57 -07:00
William Casarin
6aa28fce6c
v1.5-2
2023-05-30 18:04:21 -07:00
William Casarin
a6fb175b98
Add Full-Bleed Video Player
...
Changelog-Added: Add new full-bleed video player
2023-05-30 18:02:19 -07:00
William Casarin
554c091d57
video-player: hide mute button when we have no audio
2023-05-30 17:58:48 -07:00
William Casarin
9e359650bf
carousel: fix image positioning
2023-05-30 17:58:48 -07:00
William Casarin
bb091d072f
cache: move event-specific media metadata to EventCache
2023-05-30 17:58:48 -07:00
William Casarin
88b04fde09
xcode: remove .git ext from package
2023-05-30 17:58:48 -07:00
William Casarin
a1753b2c24
video-player: add tap gesture to prevent nav
2023-05-30 17:58:48 -07:00
William Casarin
80fac1903e
carousel: switch to media carousel and include video
2023-05-30 09:36:39 -07:00
William Casarin
6214ab8d8f
video: add DamusVideoPlayer view
2023-05-29 17:11:14 -07:00
William Casarin
85cd1bea19
urls: combine url classification
2023-05-29 17:11:13 -07:00
William Casarin
4d95d36a1e
Add GSPlayer + VideoPlayer
2023-05-29 17:10:14 -07:00
William Casarin
185fba150f
carousel: fix scroll-up bug
2023-05-29 16:09:16 -07:00
William Casarin
51c4fa1e32
Initial redesign
...
Changelog-Changed: Redesign phase 1 (text, icons)
2023-05-29 15:31:07 -07:00
William Casarin
297aaf86c6
carousel: only show blurhash when there is one images
...
Blurhash interacts strangely with carousel
2023-05-29 14:31:54 -07:00
William Casarin
f6dd060580
fixup! Add new image carousel
2023-05-29 14:31:16 -07:00
William Casarin
12428d01ad
preloader: only preload non-animated images to test animation bug fix
2023-05-29 14:22:54 -07:00
William Casarin
6804fbb607
Attempt fix for randomly broken animated GIFs
...
Changelog-Fixed: Attempt fix for randomly broken animated gifs
2023-05-29 10:18:52 -07:00
William Casarin
05503024cc
Profile Caching
...
Changelog-Added: Add profile caching
2023-05-26 12:11:43 -07:00
William Casarin
52ca33ef6a
script: fetch popular users
2023-05-24 18:26:18 -07:00
William Casarin
47a74257c8
nwc debugging
2023-05-24 15:16:45 -07:00
William Casarin
1b161fefd0
nwc: make sure to support nostr+walletconnect scheme
...
not sure why we have 2 schemes
2023-05-15 12:54:42 -07:00
William Casarin
0b9a274e67
postbox: change initial retry_after from 2 to 10 seconds
2023-05-15 12:54:09 -07:00
William Casarin
2bbbb5db65
Fix a few bugs with donations
2023-05-15 12:53:36 -07:00
William Casarin
bffa42a13a
Supporter Badges
2023-05-15 11:57:37 -07:00
William Casarin
8097cfdfb8
Include donation_amount on profile
2023-05-15 09:59:51 -07:00
William Casarin
af912b1a0e
v1.5-1
2023-05-15 09:59:22 -07:00
William Casarin
51cd34c9c2
c: move parse_digit to remove warning
2023-05-15 09:59:10 -07:00
William Casarin
a6745af519
Implement damus zap split donations using NWC
2023-05-15 09:41:26 -07:00
William Casarin
631220fdcb
ui: add support damus ui in WalletView
...
This appears after you've connected your wallet
2023-05-14 22:24:12 -07:00
William Casarin
5aa0d6c3e1
settings: add donation_percent to settings
...
This will be used in damus donations splits
2023-05-14 22:24:12 -07:00
William Casarin
ec50c75062
ui: expose raw LinearGradient in DamusGradient
...
This will be used in background-fill applications
2023-05-14 20:47:53 -07:00
William Casarin
0293b61d7a
Rename 'Connect to Alby' to 'Attach Alby Wallet'
2023-05-14 14:07:04 -07:00
William Casarin
a30a79b1fc
Fix tests
2023-05-14 11:20:28 -07:00
William Casarin
60260ae53b
nwc: make delay 5 seconds instead of 3
2023-05-14 11:11:27 -07:00
William Casarin
1fff0abce5
Make it easier to tap zap button
...
Right now the tap target only covered the bolt, now it's bolt+amount
2023-05-14 11:04:56 -07:00
William Casarin
b1fee253b4
nwc: fix bug where private nwc zaps weren't getting tracked properly
...
It was using the wrapper zap request id instead of the inner id. Fix
this type error by creating a ZapRequestId wrapper that makes sure it
uses the proper request id.
2023-05-14 10:52:37 -07:00
William Casarin
e472e559a5
nwc: don't use yellow on the Zap Button for pending zaps
...
I just find this stressful
2023-05-14 10:49:54 -07:00
William Casarin
0091df8f77
nwc: fix broken test
2023-05-14 10:49:54 -07:00
William Casarin
d0c67237dd
nwc: remove requests from postbox
...
Since these are ephemeral events, there will never be command results,
so we need to remove them manually on NWC responses or else it will keep
trying to send them.
We should probably handle this for all ephemeral events in the postbox
somehow. We probably shouldn't use the postbox for ephemeral events
without response events.
2023-05-14 10:49:54 -07:00
William Casarin
1313880574
Add release Damus build scheme
2023-05-14 10:49:54 -07:00
William Casarin
122b528407
Add rigid haptic feedback when you zap cancel fails
...
This feels different than the soft haptic feedback so it should let
people know that cancelling is no longer possible
2023-05-14 10:49:54 -07:00
William Casarin
02d99f7340
postbox: try flushing events every second
...
relying on network activity for flushing is not reliable and is causing
delays in zapping
2023-05-14 10:49:54 -07:00
William Casarin
8fb5b4f49c
misc logs
2023-05-14 00:03:51 -07:00
William Casarin
ae4d9ab8ba
nwc: make delay 3 seconds instead of 5
2023-05-14 00:03:51 -07:00
William Casarin
85262e1a4e
nwc: fix response parsing
2023-05-14 00:03:51 -07:00
William Casarin
64a224135a
nwc: always allow long press zap
2023-05-13 23:54:02 -07:00
William Casarin
69fc6694f1
nwc: turn pending zap orange when we have a NWC success
...
Orange means payment successful now, not just presence of zap
This introduces a paid pending state, which shows up as an orange timer
thing in the zaps view. This can be useful if the zap is never sent. We
don't want the user to think the payment didn't go through.
2023-05-13 23:30:03 -07:00
William Casarin
03691d0369
Pending Zaps
...
A fairly large change that replaces Zaps in the codebase with "Zapping"
which is a tagged union consisting of a resolved Zap and a Pending Zap.
These are both counted as Zaps everywhere in Damus, except pending zaps
can be cancelled (most of the time).
2023-05-13 21:33:34 -07:00
William Casarin
1518a0a16c
zaps: ensure returned bolt11 is the correct amount
2023-05-13 19:51:06 -07:00
William Casarin
dafa1ba4de
test: add nwc and ephemeral relay test
...
This ensures that when paying with nwc, we get an ephemeral relay added
and a request queued in the postbox.
2023-05-10 16:24:02 -07:00
William Casarin
9093bdec2d
home: add some more helper functions
2023-05-10 14:07:24 -07:00
William Casarin
bb32d72903
nwc: clear the zapper cache for our pubkey when we attach a new wallet
2023-05-10 14:07:24 -07:00
William Casarin
f77a7bcb29
ui: show lud16 in attach wallet ui
2023-05-10 14:07:24 -07:00
William Casarin
5cce18c8b6
nwc: attach lud16 to profile when attaching wallet
2023-05-10 14:07:24 -07:00
William Casarin
a5726d4650
nwc: add lud16 parameter
...
This will be used for auto-setting up the lightning wallet
See https://github.com/nostr-protocol/nips/pull/513
2023-05-10 14:07:24 -07:00
William Casarin
370a5feb4e
ui: add Nostr Wallet Connect views
2023-05-10 14:07:24 -07:00