tyiu
952d6746d5
Add profile zaps
...
Refactor profile zaps to reuse same BOLT11 Lightning invoice logic as
note zaps, which fixes profile zaps from Cash App and Muun wallets
Changelog-Added: Add profile zaps
Changelog-Fixed: Fix profile zapping for Muun and Strike wallets
Closes : #1236
Fixes : #1067
2023-06-04 10:56:43 -07:00
William Casarin
6eecb5ef26
video-player: don't stop audio, mix with external media
2023-05-30 18:44:36 -07:00
Ben Weeks
973e9fe714
Custom iconography added for other areas of the app.
...
Changelog-Added: Custom iconography added for other areas of the app.
2023-05-29 14:47:05 -07:00
Bryan Montz
fe4277e817
simplified call site usage of NostrFilter
2023-05-29 12:19:27 -07:00
William Casarin
bffa42a13a
Supporter Badges
2023-05-15 11:57:37 -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
tyiu
50e4452016
Fix nostr URL scheme to open properly even if there's already a different view open
...
Closes : #1130
Changelog-Fixed: Fix nostr URL scheme to open properly even if there's already a different view open
2023-05-14 11:36:46 -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
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
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
5cce18c8b6
nwc: attach lud16 to profile when attaching wallet
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
William Casarin
9093bdec2d
home: add some more helper functions
2023-05-10 14:07:24 -07:00
William Casarin
baed6adf49
refactor: ensure make_metadata_event has full keypair
2023-05-10 14:07:23 -07:00
William Casarin
fe6d7e5118
relay: split descriptors to {our,all}_descriptors
...
Now that we have ephemeral relays, we don't want them used everywhere
2023-05-10 13:25:40 -07:00
Bryan Montz
9847f12c95
Remove unused code
...
Closes : #1105
2023-05-08 11:01:04 -07:00
William Casarin
9b99e00804
Reconnect on failed ping and remove reconnect timer
...
I think this does it
2023-05-07 12:00:37 -07:00
William Casarin
84174ef9ad
Ping relays on resume, if there's an error then try to reconnect
...
This is an attempt to fix the fail-to-reconnect issues. Let's see if it works.
2023-05-07 10:28:36 -07:00
Bryan Montz
f78eeb1f22
Fix npub search fails on the first try
...
Co-authored-by: William Casarin <jb55@jb55.com >
Changelog-Fixed: Fix npub search fails on the first try
Closes : #1044
Closes : #1100
2023-05-07 09:50:49 -07:00
William Casarin
a5cb10ddaa
HomeView: refactor
...
Trying to clean this view up a bit
2023-05-05 14:24:24 -07:00
William Casarin
4f459d128a
Load profiles in hashtag searches
...
Changelog-Fixed: Load profiles in hashtag searched
2023-05-02 07:53:06 -07:00
William Casarin
7b2e178f5b
Fix warning
2023-05-02 07:53:06 -07:00
Bryan Montz
c679be9644
Top-level tab state restoration
...
Changelog-Added: Top-level tab state restoration
Closes : #634
2023-05-01 15:22:54 -07:00
William Casarin
d074d092a2
Fix crash when you have invalid relays in your relay list
...
Changelog-Fixed: Fix crash when you have invalid relays in your relay list
2023-04-25 15:06:09 -07:00
William Casarin
fddd86b207
Revert "Remove unneeded periodic reconnect timer"
...
This reverts commit ed058afc3b .
2023-04-25 08:57:45 -07:00
William Casarin
ed058afc3b
Remove unneeded periodic reconnect timer
2023-04-24 18:21:12 -07:00
Bryan Montz
0e94c48e26
Replace Starscream with URLSessionWebSocketTask
...
Changelog-Fixed: Fix slow reconnection issues
2023-04-24 18:11:07 -07:00
William Casarin
88db9de4ea
Fix reposts on macos
2023-04-24 15:38:11 -07:00
William Casarin
357e8adf86
Refactor disable_animation setting
...
Pass it down from the top instead of using a function which goes around
our settings store
2023-04-22 12:08:24 -07:00
William Casarin
0bd40c0018
Add Friends filter to DMs
...
Changelog-Added: Add friends filter to DMs
2023-04-21 16:55:59 -07:00
William Casarin
aa559b2916
Refactor and Scope user settings to pubkey
2023-04-21 16:21:01 -07:00
William Casarin
ac82f1bc09
Add OnlyZaps Mode
...
Changelog-Added: Add OnlyZaps mode: disable reactions, only zaps!
2023-04-20 13:41:05 -07:00
tyiu
66641fc9ae
Add setting to hide reactions
...
Changelog-Added: Add setting to hide reactions
2023-04-20 08:20:50 -07:00
William Casarin
d1fce5054d
Implement quote reposting
2023-04-18 12:16:11 -07:00
Swift
15849e290e
Fixed repost turning green too early and not reposting sometimes
...
Changelog-Fixed: Fixed repost turning green too early and not reposting sometimes
2023-04-17 12:55:52 -07:00
Swift
209b23674d
Add ability to copy url from post media previews
2023-04-17 10:10:41 -07:00
Swift
05d332eac3
Add deep links for local notifications
...
Allow notifications to be clickable
Changelog-Added: Add deep links for local notifications
Co-authored-by: William Casarin <jb55@jb55.com >
Closes : #880
2023-04-15 12:41:49 -07:00
William Casarin
b5a3697d78
Refactor direct messages model
...
We can track the pubkey in the DirectMessageModel instead of having a
janky tuple.
2023-04-15 12:41:00 -07:00
William Casarin
9327068264
ContentView: open thread helper
2023-04-15 12:38:05 -07:00
William Casarin
b5faae9d1c
Make reposts use postbox
2023-04-14 11:46:55 -07:00
William Casarin
a4d4954abd
Fix relay signal indicator, properly show how many relays you are connected to
...
Changelog-Fixed: Fix relay signal indicator, properly show how many relays you are connected to
2023-04-14 11:46:55 -07:00
William Casarin
042e02d2e4
regression: unbreak dms
2023-04-14 10:33:50 -07:00
William Casarin
40468b1603
refactor: dms view init logic
2023-04-14 10:33:20 -07:00
tyiu
1ac9620242
Add thread muting
...
Changelog-Added: Add thread muting
Closes : #893
2023-04-14 09:43:36 -07:00
tyiu
32bb8c365d
Export strings for translation
2023-04-13 18:37:58 +02:00
William Casarin
806c6257df
A few more performance tweaks
2023-04-12 20:09:51 -07:00
William Casarin
1320ff6bec
Fix tabs sometimes not switching
...
This is the dumbest code I've ever written
Changelog-Fixed: Fix tabs sometimes not switching
2023-04-11 15:05:03 -07:00
William Casarin
179da97090
cleanup some dubious code
2023-04-11 14:21:48 -07:00
William Casarin
2b2d124495
Configurable notification dots
...
Changelog-Added: Make notification dots configurable
2023-04-11 13:58:04 -07:00
William Casarin
89b2382ad7
Rename block to mute
...
Changelog-Changed: Rename block to mute
2023-04-05 08:53:21 -07:00