Commit Graph

64 Commits

Author SHA1 Message Date
Bryan Montz
603a5a1814 Refinements to RelayConnection plus tests for creating requests
Closes: #644
2023-02-19 08:36:03 -08:00
William Casarin
0e83632896 Revert "Add the ability to unlike posts"
This reverts commit 237c939639.
2023-02-13 10:04:31 -08:00
Oleg Gordiichuk
237c939639 Add the ability to unlike posts
Changelog-Added: Add ability to unlike posts
Closes: #580
2023-02-13 09:50:14 -08:00
William Casarin
eae844e081 Fix event encoding issue 2023-02-06 11:10:23 -08:00
William Casarin
006f8d79e0 Lightning Zaps
Added initial lightning zaps/tipping integration

Changelog-Added: Receive Lightning Zaps
2023-02-02 15:51:57 -08:00
4fbc9882ce Add LibreTranslate integration for machine translating notes from other languages 2023-01-30 16:46:06 -05:00
William Casarin
552bd9cae5 Implement NIP-21 URI handling
Changelog-Added: Added nostr: uri handling
2023-01-28 08:31:11 -08:00
William Casarin
f5e03f145c Fix build 2023-01-22 10:10:54 -08:00
Joel Klabo
2a9ddd10c8 Choose Participants on a Thread Reply
Closes: #345
Changelog-Added: Add the ability to choose participants when replying
2023-01-22 10:10:13 -08:00
William Casarin
e14cd99c85 Add first_eref_mention helper to refactor embedded builder 2023-01-21 10:29:40 -08:00
William Casarin
b2b790a969 Reactions View
Changelog-Added: Added Reactions View
2023-01-11 16:13:09 -08:00
hewigovens
8c91ce3e10 Always check SecRandomCopyBytes return value
Closes: #223
2023-01-02 18:30:24 -08:00
4f4557e4b6 Replace deprecated Data.withUnsafeMutableBytes call
Closes: #214
2023-01-02 08:19:47 -08:00
William Casarin
52b2407f49 Switch like from ❤️ to 🤙
Actually react with 🤙 at the protocol level as well

Changelog-Changed: Switch like from ❤️  to 🤙
2022-12-31 17:44:56 -08:00
Thomas
d1cbf74840 Improved visual composition for threads
Changelog-Changed: Improve visual composition of threads
2022-12-27 14:41:28 -08:00
Sam DuBois
549cbb9bce Fix issue with loading view using the redacted modifier
Also tried to make some adjusmtents to the refresh subscribtion to see
if this fixes bugs people were having

Closes: #119

Changelog-Fixed: Fixed issues when refreshing global view
2022-12-22 18:10:42 -08:00
William Casarin
573bf37fbb use bootstrap relays in account creation 2022-12-18 17:36:33 -08:00
William Casarin
d942b823b2 add nip10 marker to boosts
damus web will use these instead of relying on the content which will be
optional
2022-11-18 20:02:31 -08:00
William Casarin
eb99e6c323 Rewrite note parsing in C
This eliminates any parsing choppyness

Fixes: #32
Signed-off-by: William Casarin <jb55@jb55.com>
2022-10-17 15:22:28 -07:00
William Casarin
39ab555a77 Fix loading bug when opening boosted posts
Changelog-Fixed: Fixed thread loading issue when clicking on boosts
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-10 12:11:04 -07:00
William Casarin
9420a7a0ad Show chatroom first if content contains #chat
Changelog-Added: Load chat view first if content contains #chat
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-09 16:08:05 -07:00
William Casarin
3cb628eb36 disable pow counting for now
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-07 19:30:17 -07:00
William Casarin
708d2d7b38 validation: actually validate events
Check to see if id and/or signature are good

Changelog-Changed: Check note ids and signatures on every note
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-06 23:03:01 -07:00
William Casarin
97bca010f6 Censor unclebobmartin from damus
Limits the size of posts viewable within damus to 32,000 bytes. It's
still probably too big, but let's have some sane limit so uncle's named
bob can't break your app just because they can.

Changelog-Fixed: Limit post sizes to max 32,000 as an upper bound sanity limit.
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-05 12:23:42 -07:00
William Casarin
c122035851 Implement NIP04: Encrypted Direct Messages
Closes #5

This adds encrypted direct message support to damus

Changelog-Added: Implement NIP04: Encrypted Direct Messages
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-02 12:14:36 -07:00
William Casarin
7bf9f62255 fix home feed
Signed-off-by: William Casarin <jb55@jb55.com>
2022-06-20 15:30:14 -07:00
William Casarin
6de7d7ae58 edit relays
Signed-off-by: William Casarin <jb55@jb55.com>
2022-06-09 13:47:25 -07:00
William Casarin
23bb7c7f18 connect to relays stored in contacts
Signed-off-by: William Casarin <jb55@jb55.com>
2022-06-08 13:09:46 -07:00
William Casarin
097cc54bba extract HomeModel from ContentView
huge refactor

Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-24 12:57:40 -07:00
William Casarin
e50c8f0dbc account creation working
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-21 21:07:33 -07:00
William Casarin
874d15df45 following view
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-16 16:23:34 -07:00
William Casarin
7554a87d88 following and unfollowing
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-15 11:08:36 -07:00
William Casarin
040ffdf9f5 boosts working
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-10 14:41:34 -07:00
William Casarin
bd49c8a9d1 fix ordering on search, copy note
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-09 12:09:51 -07:00
William Casarin
8369b05c10 remove some old replyref stuff
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-08 19:02:57 -07:00
William Casarin
5e63eca0e9 simplify like refs
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-08 19:01:42 -07:00
William Casarin
151c79dd98 move some stuff around, reply desc
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-08 10:45:24 -07:00
William Casarin
8896d19f40 initial reply revamp
It now understands mentions

Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-08 10:25:50 -07:00
William Casarin
4db06b015c event mentions working
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-07 17:48:00 -07:00
William Casarin
0eb1372937 more mention progress
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-07 13:50:19 -07:00
William Casarin
f42bc2e91e likes, mention parsing, lots of stuff
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-04 16:26:10 -07:00
William Casarin
a88324333b profiles
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-30 10:37:29 -07:00
William Casarin
ce989450f4 many updates
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-25 08:28:07 -07:00
William Casarin
cb463c6da9 a bunch more usability improvements
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-23 18:21:45 -07:00
William Casarin
78c5b47f11 chatroom
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-19 19:46:30 -07:00
William Casarin
5bb46c5d10 reply bug fixes
still need to revamp this logic for mentions

Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-18 17:31:39 -07:00
William Casarin
d2c9f0eab1 simplify reply_ids
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-18 14:31:11 -07:00
William Casarin
9b79b46601 better reply descriptions
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-18 13:17:34 -07:00
William Casarin
8cc3edf195 use direct references on root events
references to root should be treated slightly differently, otherwise the
entire thread will be shown when you select the root event.

Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-18 12:32:55 -07:00
William Casarin
cca8738519 fix signature/encoding issues with slashes
Signed-off-by: William Casarin <jb55@jb55.com>
2022-04-18 10:30:28 -07:00