Commit Graph

425 Commits

Author SHA1 Message Date
Mike Dilger
e730110448 Highlight (in thread feed) the event you are looking at (this will matter when replies to ancestors are no longer shown) 2023-01-14 13:12:06 +13:00
Mike Dilger
975eb90508 Merge branch 'mention-search' 2023-01-14 12:44:43 +13:00
Mike Dilger
0990806d45 clippy and fmt 2023-01-14 12:41:23 +13:00
7540ee473a do not add unnecessary tags when mentioning people. 2023-01-14 12:39:27 +13:00
bc88fe979c more flexible user search for mentions. 2023-01-14 12:39:18 +13:00
Mike Dilger
bec63b1c09 Updates for upstream nostr-types 2023-01-14 12:35:21 +13:00
Mike Dilger
be813f47d5 update nostr-types 2023-01-14 12:27:34 +13:00
Mike Dilger
5a48e40956 Rename settings regarding posts to view 2023-01-14 12:03:41 +13:00
Mike Dilger
ea6de6deec Events::get_local() 2023-01-14 11:33:16 +13:00
Mike Dilger
287de1c955 Events object, instead of a direct DashMap, can encapsulate more 2023-01-14 11:28:52 +13:00
Mike Dilger
9336ece7db Strip out desired events handling 2023-01-14 11:28:52 +13:00
Mike Dilger
c581d45855 More comments in DEVELOPING.md 2023-01-14 11:26:55 +13:00
Mike Dilger
b8fceb975b Mention cargo clippy and cargo fmt in DEVELOPING.md 2023-01-14 11:03:09 +13:00
Mike Dilger
56f458f119 Do not try to validate nip05 domains less than 4 characters long 2023-01-14 11:03:04 +13:00
Michael Dilger
191c7a792d
Merge pull request #137 from fiatjaf/filter-out-messages-from-future
Filter out messages from the future
2023-01-14 10:33:04 +13:00
Mike Dilger
5a65bb72b6 add rustfmt.toml 2023-01-14 10:12:59 +13:00
Mike Dilger
430c7b4ca2 update nostr-types 2023-01-14 10:09:37 +13:00
232e542332
filter out messages from future. 2023-01-13 16:09:44 -03:00
Mike Dilger
b8d402287a Honor max_relays beyond just at startup 2023-01-13 08:20:09 +13:00
Mike Dilger
0782b21c06 Use dashmap in People, no longer need RwLock around it 2023-01-13 07:16:15 +13:00
Mike Dilger
bb25c671d4 gossip screenshot 2023-01-12 09:08:06 +13:00
Mike Dilger
e047f0b7bb Fix all the crazy excessive nip05 checking (several bugs were involved) 2023-01-12 04:40:26 +13:00
Mike Dilger
5ba2122c56 Add 'Replies To' link on reply posts in Following feed and Person feed 2023-01-12 03:48:02 +13:00
Mike Dilger
200f5233fb cargo clippy 2023-01-12 02:47:21 +13:00
Mike Dilger
c127a8eecd Include "root" e tag in our replies 2023-01-12 02:46:38 +13:00
Mike Dilger
88da5b8bb9 Don't subscribe to events we don't need (2 places) 2023-01-12 02:39:16 +13:00
Mike Dilger
a90e0c0861 Updates for upstream changes 2023-01-11 20:42:48 +13:00
Mike Dilger
9be60a5602 Update nostr-types 2023-01-11 20:39:33 +13:00
Mike Dilger
6c99a722c0 Tweak setting defaults and ranges a bit 2023-01-11 19:14:25 +13:00
Mike Dilger
168bc94b41 extra logging on nip-05 fetch errors to include user 2023-01-11 19:14:25 +13:00
Mike Dilger
60332659b7 Extra logging on nip-05 fetch errors so I can see which domains they are and double-check manually 2023-01-11 18:23:33 +13:00
Mike Dilger
25d1c11652 Stop getting missing events on startup (we don't really need them until we need them, now that we have 4 feeds) 2023-01-11 18:23:33 +13:00
Mike Dilger
8f1a4e037f Distinguish (for relays) last_connected_at from last_general_eose_at 2023-01-11 18:23:33 +13:00
Mike Dilger
cc917122a8 Removing all default relays from gossip (were added in schema updates), at least until I can contact relay owners and get permission. 2023-01-11 17:27:58 +13:00
Mike Dilger
170c90d374 On startup, load metadata in the background 2023-01-11 16:57:18 +13:00
Mike Dilger
31fbf7342e cargo clippy 2023-01-11 16:57:08 +13:00
Mike Dilger
4c9ddda1a8 Notes about DEVELOPING.txt 2023-01-11 13:58:57 +13:00
Mike Dilger
5b6fb97889 Show which relays we are connected to on the relays page (crude still) 2023-01-11 07:19:55 +13:00
Mike Dilger
84854af90a Log how many people we are following at each relay when we connect 2023-01-11 07:14:01 +13:00
Mike Dilger
61105e5e4e Merge branch 'sync-followed' 2023-01-10 18:04:30 +13:00
Mike Dilger
d96733642d Sync following list (pull part only, push tbd) 2023-01-10 18:00:13 +13:00
Mike Dilger
367df9373e process: handle ContactLists if ours, respect new merge setting 2023-01-10 17:59:49 +13:00
Mike Dilger
91ffab957d globals.pull_following_merge preference as to whether we are merging or overwriting our following list 2023-01-10 17:59:49 +13:00
Mike Dilger
28fe1d0f3f people.follow_all(pubkeys, merge, asof) 2023-01-10 17:59:49 +13:00
Mike Dilger
42d6dd045b Replace people 'create_if_missing' with 'create_all_if_missing' 2023-01-10 17:59:49 +13:00
Mike Dilger
d60533488c Schema 9: person.followed_last_updated 2023-01-10 17:59:49 +13:00
Mike Dilger
21b725f11d Log first part of RelayMessage when it cannot be deserialized from JSON, so the event.id can be chased down and the issue figured out.
As an example, I found someone had 'p' tags with npub values in them.
2023-01-10 17:54:42 +13:00
Mike Dilger
8f42829cb4 fix README lighting address 2023-01-10 10:25:31 +13:00
Mike Dilger
3163f60505 Stop getting reactions when looking at a person's feed. If there is a simple low cost way to do it, we can bring it back. 2023-01-09 21:32:09 +13:00
Mike Dilger
caad5348cd When showing tags under post, translate keys to names 2023-01-09 21:22:58 +13:00