Commit Graph

19 Commits

Author SHA1 Message Date
1513996924 Improve status logging 2025-05-30 16:17:29 -07:00
75b55104bd Implement per-user message queues to prevent duplicate post syncing. Correclty initialize from a user or connect URL. Dont register the service worker when we\'re headless or an archive peer. Wrap sync logging with superlog 2025-05-27 00:01:52 -07:00
2ff634ddf0 tidy logs. Add all files to service worker 2025-05-26 19:09:30 -07:00
a3a9682f86 Working chuking and image syncing. Still some bugs with syncing some large posts. 2025-05-21 11:39:02 -07:00
9df18d7f35 Limited post send size and post syncing is working for small posts 😮 2025-05-19 02:09:50 -07:00
d86519cf6b Remove functions that VSCode added 2025-05-19 01:38:40 -07:00
338266a3c6 Post syncing logic is wokting. As expected datachannels fail to send posts above a certain size. Need to implement chunking next. 2025-05-19 01:21:32 -07:00
cedc1d7b36 request post ids for users that match users we follow when peers announce users they know about. Fix for RPCs being async on the remote end. Check returned postIDs to see if we need any posts from a peer. 2025-05-19 00:06:23 -07:00
b46c600d75 Announce users the local peers knows to remote peers when they connect. Fix RPC system to correctly serialize and multiple params. Add detailed logging for rpc calls. 2025-05-18 20:26:54 -07:00
15e595cca1 working websocket and bootstrap peer reconnection when connection is lost 2025-05-18 15:11:34 -07:00
404a224bf1 Notes 2025-04-30 00:45:42 -07:00
Martin West
e33b267977 fix to wrong peerId in event 2025-04-30 00:23:20 +02:00
45b707f39d Add peer disconnect event dispatch 2025-04-29 01:10:03 -07:00
0005f06b2b Add events to peer manager 2025-04-27 22:38:42 -07:00
63d7b276db add missing files 2025-04-27 10:11:10 -07:00
15c95e5c59 fix logging console function names. Attempt to connect to initial peers 2025-04-24 03:07:42 -07:00
5a2953c876 Print connection candidate stats on connect. Retry if we cant connect to the bootstrap node. Need to do the same for the intial websocket connection. 2025-04-21 00:56:25 -07:00
f6bf55f13c working datachannel and inital RPC test 2025-04-17 23:54:12 -07:00
aade48a7b8 wip v2 2025-04-13 15:10:07 -07:00