William Casarin
bffa42a13a
Supporter Badges
2023-05-15 11:57:37 -07:00
William Casarin
a6745af519
Implement damus zap split donations using NWC
2023-05-15 09:41:26 -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
85262e1a4e
nwc: fix response parsing
2023-05-14 00:03:51 -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
Bryan Montz
43017828e2
fix user notifications from old events immediately shown on install and login
...
Changelog-Fixed: Fix user notifications from old events immediately shown on install and login
Closes : #1106
2023-05-08 11:02:12 -07:00
Bryan Montz
9847f12c95
Remove unused code
...
Closes : #1105
2023-05-08 11:01:04 -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
440ef02eaa
Update reaction notification title and miscellaneous localization fixes
2023-05-05 09:01:05 -07:00
45a78fa14f
Rename 'Liked by' to 'Reacted by'
2023-05-05 09:00:03 -07:00
William Casarin
39a324fd1e
Optimize json processing and preloading
...
- Preload events when added to the EventHolder queue
- Remove relative time formatting from preloader. Just do it when event appears
- Process incoming json in a background queue by default
Changelog-Fixed: Fix wrong relative times on events
Changelog-Changed: Preload events when they are queued
2023-05-03 10:36:10 -07:00
William Casarin
3b541f2ec1
Fix small bug in like counters
2023-05-03 06:36:42 -07:00
William Casarin
61c9732acd
Fix crash when loading DMs in the background
...
Changelog-Fixed: Fix crash when loading DMs in the background
2023-05-02 06:48:02 -07:00
9f701a7d44
Fix bug with reaction notifications referencing the wrong event
...
Changelog-Fixed: Fix bug with reaction notifications referencing the wrong event
Closes : #1047
2023-05-01 15:21:01 -07:00
William Casarin
1ca0519e25
Event Preloading
...
Changelog-Added: Added event preloading when scrolling
Changelog-Added: Preload images so they don't pop in
Changelog-Fixed: Fixed preview elements popping in
Changelog-Changed: Cached various UI elements so its not as laggy
Changelog-Fixed: Fixed glitchy preview
2023-04-30 20:06:38 -07:00
William Casarin
be08083b88
Load zaps instantly on events
...
Refactor our event cache a bit and add zap caching
Changelog-Changed: Load zaps instantly on events
2023-04-28 17:25:31 -07:00
William Casarin
c2325a5e39
always process events
2023-04-28 13:03:26 -07:00
William Casarin
d16192e845
Show blurhash placeholders from image metadata
...
Changelog-Added: Show blurhash placeholders from image metadata
2023-04-26 15:21:12 -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
Bryan Montz
0e94c48e26
Replace Starscream with URLSessionWebSocketTask
...
Changelog-Fixed: Fix slow reconnection issues
2023-04-24 18:11:07 -07:00
William Casarin
fd8ad494e9
Add partial support for different repost variants
...
Changelog-Added: Add partial support for different repost variants
2023-04-22 12:11:45 -07:00
William Casarin
9d22f40a53
Remove some cruft
2023-04-21 17:15:23 -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
William Casarin
209f3e8759
onlyzaps: Clean up reaction filter logic a bit
2023-04-20 11:23:58 -07:00
66641fc9ae
Add setting to hide reactions
...
Changelog-Added: Add setting to hide reactions
2023-04-20 08:20:50 -07:00
Gísli Kristjánsson
a320fae2bc
Load missing profiles from boosts on home view
...
Changelog-Fixed: Load missing profiles from boosts on home view
Closes : #947
2023-04-17 10:19:29 -07:00
William Casarin
02fc065005
Always check signatures on profile events
...
These contain sensitive data (lightning addresses) and it would be
really bad if these were forged.
Changelog-Changed: Always check signatures of profile events
2023-04-15 16:01:00 -07:00
William Casarin
ebba9d3004
Fix broken notifications
2023-04-15 13:42:10 -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
76a669acc2
Show DM message in local notification
...
Changelog-Changed: Show DM message in local notification
2023-04-15 09:46:13 -07:00
William Casarin
39236dc094
remove verbose logs
2023-04-15 09:44:17 -07:00
William Casarin
f0bbba7a33
Fix invalid DM author notifications
...
Changelog-Fixed: Fix invalid DM author notifications
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
1ac9620242
Add thread muting
...
Changelog-Added: Add thread muting
Closes : #893
2023-04-14 09:43:36 -07:00
William Casarin
54c8958250
Fix a few more hitches
2023-04-12 18:22:16 -07:00
William Casarin
2b2d124495
Configurable notification dots
...
Changelog-Added: Make notification dots configurable
2023-04-11 13:58:04 -07:00
William Casarin
e9be227009
Add bitcoin icon to bitcoin hashtags
...
Changelog-Added: Add bitcoin icon to bitcoin hashtags
2023-04-06 16:04:16 -07:00
William Casarin
bedf7e0648
Add reply counts
...
Changelog-Added: Reply counts
2023-04-04 12:03:56 -07:00
Swift
e2812a9aa1
Add option to only show notification from people you follow
...
Changelog-Added: Add option to only show notification from people you follow
Closes : #866
2023-04-04 10:22:41 -07:00
William Casarin
679779ab3e
Get around CCP bootstrap relay banning by caching user's relays as their bootstrap relays
...
Changelog-Fixed: Get around CCP bootstrap relay banning by caching user's relays as their bootstrap relays
2023-04-04 10:12:29 -07:00
William Casarin
c6e5193111
Don't show translation status
...
It's too poppy
2023-04-03 17:12:10 -07:00
Swift
61ef709d91
Local notifications for other events
...
Changelog-Added: Added local notifications for other events
2023-04-03 16:38:39 -07:00
William Casarin
cc190c3618
Also broadcast event's user profile
...
This should help propagation of user profiles
Changelog-Changed: Broadcast now also broadcasts event user's profile
2023-04-03 09:47:15 -07:00
William Casarin
2596542cb6
Enable offline posting
...
You can now post, like, repost, reply offline
Changelog-Added: Enable offline posting
2023-03-31 15:14:55 -07:00
08b7e50bd8
Fix localization issues and import translations
2023-03-31 10:10:26 -04:00
William Casarin
0a4e75bfec
Add nip05 search
...
Changelog-Added: Added ability to lookup users by nip05 identifiers
2023-03-29 19:24:06 -04:00
William Casarin
c03b4cac11
Zap Notifications: Include who it's from and message
2023-03-27 17:48:40 -04:00