|
11373faf23
|
Log during -t=bench every database access from the main thread.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4498 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-10-08 14:25:22 +00:00 |
|
|
0473eec0a2
|
Remove DB work from tf_ssb_notify_message_added, which runs on the main thread.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4497 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-10-08 13:52:49 +00:00 |
|
|
b252b921f8
|
Call out restricted DB access when we acquire the reader.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4429 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-08-25 19:41:54 +00:00 |
|
|
e223d35252
|
Make the connections tab know more about tunnels and such.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4426 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-08-25 18:22:09 +00:00 |
|
|
f1b55ddd64
|
Attempt to track requests better. New requests need to be flagged as such. Still trying to chase tunnel instability.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4412 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-08-20 19:55:59 +00:00 |
|
|
faca2d387b
|
Calculate thread busyness as the current concurrent running threads vs. the max number of threads ever seen running concurrently.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4404 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-08-17 00:01:59 +00:00 |
|
|
16155ef746
|
Automated enough with selenium to be able to create a Tilde Friends account, create an SSB identity, and post a first message. I'm still confused on some things, but this is progress, and I fixed a longstanding issue creating the first identity.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4377 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-08-03 00:30:48 +00:00 |
|
|
fb73fd0afc
|
Make storing messages async. Phew.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4355 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-07-20 01:02:50 +00:00 |
|
|
18128303b6
|
Appending a message produces the ID. And bump the version.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4344 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-07-13 00:20:12 +00:00 |
|
|
7d562ce85c
|
Allow the DB writer to be used from a worker thread. Not well tested, just still trying to charge forward on moving all blocking work off the main thread.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4325 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-06-15 00:27:49 +00:00 |
|
|
ca28b5ca82
|
Delete some code that doesn't need to exist.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4319 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-06-01 22:53:44 +00:00 |
|
|
dd61a6ecc3
|
Report which method was not found.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4311 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-05-23 22:16:07 +00:00 |
|
|
f421606e21
|
libuv 1.45.0, #include cleanup, probably something else.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4308 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-05-21 21:36:51 +00:00 |
|
|
ed4faedcd7
|
Report some information when importing messages and discover an old verification bug.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4293 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-05-11 00:22:42 +00:00 |
|
|
956ea0df56
|
Track and expose hitches in some suspect callbacks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4261 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-04-19 23:05:59 +00:00 |
|
|
262b0e5e52
|
Attempt to track CPU usage of libuv worker threads.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4198 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-03-01 01:36:26 +00:00 |
|
|
b35d74ce36
|
Allow running read-only sqlite queries from libuv worker threads. Needs so much more testing.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4172 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-02-08 01:29:44 +00:00 |
|
|
ab75ec07f8
|
Added some storage+debugging to track what happens before we disconnect. Maybe I'll learn something.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4146 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-01-22 20:37:19 +00:00 |
|
|
0af1bcf110
|
Audited message flags?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4136 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-01-18 23:43:49 +00:00 |
|
|
85a2bc3f0f
|
Add a stat for blobs stored.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4133 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-01-18 22:52:54 +00:00 |
|
|
ce0b4de5a1
|
Fix one lingering call to ssb.connectionSendJson.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4129 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-01-17 23:10:17 +00:00 |
|
|
67d34bf70e
|
Send history streams in batches. Should block the main thread less.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4127 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-01-17 02:17:29 +00:00 |
|
|
69253432b8
|
ssb.js is now entirely in C. Usual disclaimers about it not being amazingly well tested.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4111 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-01-08 20:01:35 +00:00 |
|
|
53e4f4341c
|
createHistoryStream JS -> C.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4110 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-01-08 17:45:15 +00:00 |
|
|
6ff33191bb
|
Try to make the tests not mingle with other instances.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4109 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-01-08 13:48:28 +00:00 |
|
|
513eb88a53
|
-t rooms cleanup.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4108 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-01-08 00:44:36 +00:00 |
|
|
3506d9dec1
|
Rooms JS => C.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4107 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-01-08 00:25:38 +00:00 |
|
|
c09e043812
|
blob wants from JS -> C.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4106 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-01-05 00:52:23 +00:00 |
|
|
d48b8b0ae1
|
Export todo, and weird spacing.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4057 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-11-28 02:18:58 +00:00 |
|
|
1e84b74ced
|
Can actually attempt to connect to a room from the web interface, now. No actual success yet.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4036 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-11-13 03:24:30 +00:00 |
|
|
e49b54207a
|
Show potential room connections differently.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4027 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-11-09 03:51:31 +00:00 |
|
|
06529fddfb
|
Trying to make connections more robust.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4020 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-11-09 01:31:18 +00:00 |
|
|
3a5ae4c228
|
Attempt to clean up requests for tunnel connections that are going away.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4018 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-11-07 02:57:29 +00:00 |
|
|
b12f8f9da8
|
First go at implementing rooms. A test passes that appears to exercise them.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4017 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-11-02 23:34:44 +00:00 |
|
|
f53ce584e3
|
No more secrets in ~/.config, and speed up some tests.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4002 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-10-14 12:27:34 +00:00 |
|
|
f764007fc6
|
Tiny steps toward getting away from one global identity.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3932 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-07-14 01:01:14 +00:00 |
|
|
aee99af953
|
Track request counts?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3927 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-07-09 22:00:33 +00:00 |
|
|
d4135f7133
|
Message IDs are apparently generated from the latin1 encoding of a message. Added a command to check/fix that.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3833 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-10 03:58:33 +00:00 |
|
|
1aa4b0e590
|
Hook up some stats from the SSB side.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3822 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-05 20:18:58 +00:00 |
|
|
cd51edcd8f
|
I think this fixes the questionable archaic sequence / author order issue.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3813 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-02-03 02:00:05 +00:00 |
|
|
c616a16993
|
Still not syncing with the other clients I want but fighting to try to get it.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3701 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-12-22 19:57:34 +00:00 |
|
|
63c344112d
|
Add a callback for when messages are added to the database. Abuse it to forward messages semi-live.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3686 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-11-11 00:05:07 +00:00 |
|
|
18c90214a8
|
Trying to normalize event handling somewhat. More to go before it's simple.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3685 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-11-07 22:28:58 +00:00 |
|
|
08e32c0de4
|
Minor cleanups.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3672 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-10-24 19:23:21 +00:00 |
|
|
059392df8e
|
What was ssb.rpc.c now lives in ssb.js.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3663 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-09-09 00:37:02 +00:00 |
|
|
e85168ac53
|
Fixed some memory leaks. Memory leak-related paranoia. Minor cleanups.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3659 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-09-06 20:54:44 +00:00 |
|
|
35e0d8b68a
|
Add some test infrastructure.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3658 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-09-06 18:23:22 +00:00 |
|
|
cadcb236ee
|
Work in progress moving SSB RPC handlers into javascript.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3657 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-09-06 17:50:38 +00:00 |
|
|
cfd5341a6b
|
Rename the DB things.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3656 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-08-22 19:41:27 +00:00 |
|
|
e922af4c55
|
Trying to get organized. Move things db, import, and export out of ssb.c.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3655 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-08-22 19:34:28 +00:00 |
|