Commit Graph

42 Commits

Author SHA1 Message Date
d0e5372460 Add more detailed ICE logging 2025-06-01 18:18:42 -07:00
c171906b03 Consider the boostrap peer as a real peer for reconnect purposes. We really need more intelligent syncing overall. 2025-05-30 19:13:40 -07:00
1c5ce87922 Improve status logging 2025-05-30 16:19:26 -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
71b047099b add missling files 2025-05-26 19:25:52 -07:00
2ff634ddf0 tidy logs. Add all files to service worker 2025-05-26 19:09:30 -07:00
b1277a762e Truncate log messages in html so it doesn\'t kill phones. Fix id in log message 2025-05-22 22:39:23 -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
b49e760bf3 Split out the concept of headless and an archive peer. Add better logging for URL params 2025-05-18 21:30:04 -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
bobbydigitales
0b5fee4aca checkpoint 2025-03-25 20:04:52 -07:00
bobbydigitales
71b5284b0f Mucho mucho update 2024-11-19 19:14:00 -08:00
bobbydigitales
6c692c4b9f add deno run script 2024-11-08 09:46:19 -08:00
bobbydigitales
6ce693cefc lotsa stuff 2024-10-30 20:51:44 -07:00
bobbydigitales
101f8e15b2 deno server 2024-10-09 20:03:57 -07:00
bobbydigitales
26ed3bcf84 deno server 2024-10-09 08:30:28 -07:00
bobbydigitales
ac6846613a WIP 2024-10-07 00:24:22 -07:00
bobbydigitales
2236ff0e6d Lotsa changes :) 2024-10-03 12:32:59 -07:00
bobbydigitales
c449267f01 Exchange ids vs posts. Support image paste. 2024-09-22 21:12:51 -07:00
bobbydigitales
998840ec2c peers syncing for a single user 2024-09-20 20:54:54 -07:00
bobbydigitales
f0d073bab1 WIP 2024-09-13 22:57:30 -07:00
“bobbydigitales”
0df7bd7096 Merge branch 'main' of raspberrypi.local:~/Projects/dandelion 2024-03-24 22:58:57 -07:00
“bobbydigitales”
49a2c8b011 Add unique ID per post and an index to the db for that 2024-03-24 22:51:33 -07:00
bobbydigitales
362876e167 WIP 2024-02-15 22:57:26 -08:00
“bobbydigitales”
b07a93246f Complete move to IndexedDB 2023-11-14 00:12:39 -08:00
“bobbydigitales”
41054a5dbf converting to IndexedDB 2023-11-12 23:31:07 -08:00
bobbydigitales
6cd5a04cc1 WIP 2023-11-11 20:44:58 -08:00
“bobbydigitales”
148df433c4 wip 2023-11-09 21:45:17 -08:00