Commit Graph

46 Commits

Author SHA1 Message Date
6ca226dbec Merge remote-tracking branch 'origin/main' into bobbyd-status-bar 2025-06-01 18:20:20 -07:00
06fdb7627f Add more detailed ICE logging 2025-06-01 18:18:42 -07:00
2af3749c6b Small tweaks 2025-06-01 00:00:17 -07:00
17550e2d1d WIP 2025-05-30 19:46:43 -07:00
7b26eab07b 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
94f8b1f3ef WIP 2025-05-30 18:09:41 -07:00
a00432bb0b Improve status logging 2025-05-30 16:19:26 -07:00
1eb86a2c7a 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
818451397f add missling files 2025-05-26 19:25:52 -07:00
17f24ddc90 tidy logs. Add all files to service worker 2025-05-26 19:09:30 -07:00
827e5ce05b Truncate log messages in html so it doesn\'t kill phones. Fix id in log message 2025-05-22 22:39:23 -07:00
5fb8de590c Working chuking and image syncing. Still some bugs with syncing some large posts. 2025-05-21 11:39:02 -07:00
438e004cc3 Limited post send size and post syncing is working for small posts 😮 2025-05-19 02:09:50 -07:00
55de88bec5 Remove functions that VSCode added 2025-05-19 01:38:40 -07:00
42bed0f516 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
1a47dc8931 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
2e8b2fe14c Split out the concept of headless and an archive peer. Add better logging for URL params 2025-05-18 21:30:04 -07:00
3905368bbb 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
28050f1a54 working websocket and bootstrap peer reconnection when connection is lost 2025-05-18 15:11:34 -07:00
c6a28b7931 Notes 2025-04-30 00:45:42 -07:00
Martin West
7cbd4d3957 fix to wrong peerId in event 2025-04-30 00:23:20 +02:00
23498bcaa7 Add peer disconnect event dispatch 2025-04-29 01:10:03 -07:00
6a98b23f5b Add events to peer manager 2025-04-27 22:38:42 -07:00
303267b1e3 add missing files 2025-04-27 10:11:10 -07:00
6374b22551 fix logging console function names. Attempt to connect to initial peers 2025-04-24 03:07:42 -07:00
ce9ef3efcc 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
9f312f0bfb working datachannel and inital RPC test 2025-04-17 23:54:12 -07:00
002ac23605 wip v2 2025-04-13 15:10:07 -07:00
bobbydigitales
a24d212b3e checkpoint 2025-03-25 20:04:52 -07:00
bobbydigitales
a9197ce2e0 Mucho mucho update 2024-11-19 19:14:00 -08:00
bobbydigitales
ae90b38ecd add deno run script 2024-11-08 09:46:19 -08:00
bobbydigitales
8d6a379ee7 lotsa stuff 2024-10-30 20:51:44 -07:00
bobbydigitales
59383ebaec deno server 2024-10-09 20:03:57 -07:00
bobbydigitales
c32ef6fee5 deno server 2024-10-09 08:30:28 -07:00
bobbydigitales
524fd4abe6 WIP 2024-10-07 00:24:22 -07:00
bobbydigitales
5aca6d3098 Lotsa changes :) 2024-10-03 12:32:59 -07:00
bobbydigitales
b7a0b448b2 Exchange ids vs posts. Support image paste. 2024-09-22 21:12:51 -07:00
bobbydigitales
b2b6e637d6 peers syncing for a single user 2024-09-20 20:54:54 -07:00
bobbydigitales
17a2ac86b2 WIP 2024-09-13 22:57:30 -07:00
“bobbydigitales”
944ba8d3f2 Merge branch 'main' of raspberrypi.local:~/Projects/dandelion 2024-03-24 22:58:57 -07:00
“bobbydigitales”
9eafc9b6ec Add unique ID per post and an index to the db for that 2024-03-24 22:51:33 -07:00
bobbydigitales
77c368de36 WIP 2024-02-15 22:57:26 -08:00
“bobbydigitales”
bb214c9d85 Complete move to IndexedDB 2023-11-14 00:12:39 -08:00
“bobbydigitales”
252dddb068 converting to IndexedDB 2023-11-12 23:31:07 -08:00
bobbydigitales
352ae73f6e WIP 2023-11-11 20:44:58 -08:00
“bobbydigitales”
6c2f485a83 wip 2023-11-09 21:45:17 -08:00