242 Commits

Author SHA1 Message Date
dbbcce8165 ssb: Don't store connections that aren't user-initiated.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
2025-01-04 17:08:36 -05:00
da31f9cadd cleanup: get/set sent clock is now unused. 2025-01-03 16:56:04 -05:00
44d9f69434 ssb: Refactoring EBT implementation. I think this works not worse than before and will let me schedule message replication better in a future change. #93 2025-01-03 13:59:25 -05:00
639fce376a ssb: More uv_async_send paranoia still. #96
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 22m51s
2025-01-02 13:01:09 -05:00
3dcafdf403 ssb: More uv_async_send paranoia. #96
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 22m52s
2025-01-02 12:40:11 -05:00
cd2fe9f8d9 ssb: Fix a crash on Windows when we would call uv_async_send on a handle that had already been closed. Various other cleanup and improvements along the journey. #96
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
2025-01-02 12:35:58 -05:00
5980ee4c86 cleanup: Unneeded #include.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
2024-12-28 21:13:53 -05:00
2dd32cdce2 ssb: Tweak idle scheduling even more, still. Fixes -t=bench.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 22m36s
2024-12-27 15:51:33 -05:00
9cddd93dad ssb: Don't schedule duplicate history stream requests for the same account. Changes how we schedule idle work. Let's see if this is better.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 22m35s
2024-12-27 15:02:52 -05:00
ba8941046e ssb: Consolidate some redundant connection code.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 22m32s
2024-12-27 12:27:54 -05:00
7843168fad ssb: Hook up some more disconnect messaging. 2024-12-26 20:12:04 -05:00
855f5f7af4 ssb: Before destroying a connection, show a message on why it is going away in the UI.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 20m6s
2024-12-24 17:23:22 -05:00
c85dd2655c ssb: Strip out the old disconnection debug information.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 20m15s
2024-12-24 16:44:52 -05:00
fb0e4060cd ssb: Instrument some more callbacks for hitches.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
2024-12-24 16:33:08 -05:00
41e91f2922 ssb: Consolidate global settings helpers.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 21m28s
2024-12-24 11:16:52 -05:00
5e23c32ae8 build: Fix a potential null dereference?
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 21m9s
2024-12-15 07:53:24 -05:00
9c0f6481c0 ssb: Try to go easier on the main thread, still.
Some checks failed
Build Tilde Friends / Build-All (push) Failing after 14m8s
2024-12-14 21:36:33 -05:00
68ae45dd58 ssb: Prevent -t=bench from stalling.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 18m50s
2024-12-11 20:53:25 -05:00
0da6abeb98 ssb: We can trace request names these days.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
2024-11-26 11:14:30 -05:00
71444b0427 ssb: Shutdown fixes.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 16m12s
2024-11-25 17:14:16 -05:00
8836c7f0ca cleanup: prettier + format. 2024-11-20 20:24:58 -05:00
53e75d8209 cleanup: Consolidate countof macros.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 20m32s
2024-11-13 20:22:42 -05:00
50089f72c6 ssb: We can show what state a connection is in. 2024-11-13 19:15:59 -05:00
20701d9cf1 ssb: Missed a few connection failures for context.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 18m5s
2024-11-13 18:44:14 -05:00
fa94442eb2 ssb: Populate more connection errors with context. 2024-11-13 18:35:17 -05:00
9b00b41a1e ssb: Connection result preliminary hookup to ui, and fix some fallout.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 18m5s
2024-11-11 22:24:54 -05:00
b1f6ad17e1 ssb: Pass around reasons for failing to connect. This will help get that information to the ui when I finish hooking it up. 2024-11-11 22:12:41 -05:00
9614d03bef ssb: Fix a timer leak I observed trying to wrap up 0.0.24.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 17m17s
2024-10-30 19:32:24 -04:00
2f193e64c8 ssb: Show muxrpc command names when possible in verbose logging. 2024-10-23 15:37:28 -04:00
86751362cb ssb: Indicate which muxrpc sends failed, and use that to fix some replication nonsense and log noise.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 15m22s
2024-10-23 14:13:55 -04:00
30329f7cad ssb: No duplicate connections, even with tunnels. This is confusing.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 15m32s
2024-10-14 12:44:21 -04:00
29a1478c86 ssb: No duplicate tunnels.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 14m41s
2024-10-13 18:13:31 -04:00
f1dee2a089 ssb: Why would I not log the host of failed DNS requests? 2024-10-08 20:16:04 -04:00
85fce59c0c ssb: Sync on demand fixes. Avoid keeping message streams live in this mode.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 19m17s
2024-10-06 11:50:49 -04:00
8a6147d512 ssb: Beginnings of a "sync now" mode for mobile.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 19m52s
2024-10-06 11:14:37 -04:00
e799b256b2 ssb: Even more muxrpc activity status fixes.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 21m51s
2024-10-05 21:00:50 -04:00
b222dc0ca8 Merge branch 'main' of https://dev.tildefriends.net/cory/tildefriends
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
2024-10-05 20:44:17 -04:00
c52c6b04ca ssb: muxrpc activity status fixes. 2024-10-05 20:44:01 -04:00
b95eed46bb ssb: Fix a request leak in tunnel.connect.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 18m11s
2024-10-04 22:05:17 -04:00
90e000c18e ssb: Fix activity indication of muxrpc requests expiring.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 17m54s
2024-10-03 12:41:45 -04:00
1bb9d737d8 ssb: Show activity for each muxrpc request.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 16m23s
2024-10-02 20:43:51 -04:00
681859531c muxrpc: Simplifying comparing RPC names. This has just always bugged me.
Some checks failed
Build Tilde Friends / Build-All (push) Has been cancelled
2024-10-02 18:46:12 -04:00
6e06ec0904 Clean up connections that don't handshake in time.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 11m26s
2024-09-09 15:25:10 -04:00
ee0efa536a Fix and assert against some more unsafe cross-thread JSContext use.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 7m10s
2024-08-25 13:30:46 -04:00
011670c70b Pass along and use the actual port we're listening on for peers.exchange.
Some checks failed
Build Tilde Friends / Build-All (push) Failing after 4m5s
2024-08-25 09:50:28 -04:00
e38ff99607 Special treatment to make TXT record lookup work on android.
Some checks are pending
Build Tilde Friends / Build-All (push) Waiting to run
2024-08-21 20:27:43 -04:00
657bcadc7e Work-in-progress, untested, naive peer exchange. Intended to be disabled by default by a setting.
Some checks failed
Build Tilde Friends / Build-All (push) Failing after 5m56s
2024-08-14 21:07:16 -04:00
107666cc60 Add a setting to toggle whether replication is allowed, to be able to make a pure room, or even less, node. 2024-08-14 20:02:46 -04:00
3d58094199 Fix some sanitizer issues, and disable LTO in debug builds to save some iteration time. 2024-08-14 19:40:20 -04:00
463951a4f1 Track/show the origin of each broadcast (discovery/room/peer exchange). 2024-08-14 19:23:01 -04:00