277830bc3c
format: Sort includes. Yes, please.
2024-10-08 12:19:44 -04:00
85fce59c0c
ssb: Sync on demand fixes. Avoid keeping message streams live in this mode.
2024-10-06 11:50:49 -04:00
8a6147d512
ssb: Beginnings of a "sync now" mode for mobile.
2024-10-06 11:14:37 -04:00
e799b256b2
ssb: Even more muxrpc activity status fixes.
2024-10-05 21:00:50 -04:00
b222dc0ca8
Merge branch 'main' of https://dev.tildefriends.net/cory/tildefriends
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.
2024-10-04 22:05:17 -04:00
7c36a543da
ssb: Fix a leaked request and a shutdown error.
2024-10-04 12:39:39 -04:00
90e000c18e
ssb: Fix activity indication of muxrpc requests expiring.
2024-10-03 12:41:45 -04:00
1bb9d737d8
ssb: Show activity for each muxrpc request.
2024-10-02 20:43:51 -04:00
681859531c
muxrpc: Simplifying comparing RPC names. This has just always bugged me.
2024-10-02 18:46:12 -04:00
8cc4c19d73
Prettier and generated files I've missed.
2024-09-30 12:15:27 -04:00
bb9c18faf1
Some missing log newlines.
2024-09-30 12:13:57 -04:00
fabdfb76b9
android: readParcelable compatibility.
2024-09-29 08:18:46 -04:00
bce263a928
android: Use FileObserver, which is actually compatible with api level 24 which we claim to support.
2024-09-29 00:17:38 -04:00
195920e476
android: Avoid a ClosedWatchServiceException.
2024-09-28 23:25:28 -04:00
944c895bcd
Generated 0.0.23 files. Oops.
2024-09-25 19:55:12 -04:00
e5f58c2898
Produce user info for the server identity for admin users.
2024-09-19 12:22:38 -04:00
d3a5aba703
A brave new world where admin users can use the server identity.
2024-09-17 12:47:28 -04:00
9e283e427c
Fix viewing apps by blob ID URL.
2024-09-16 12:45:06 -04:00
34f25e3e06
How did I not have an index on type? Wow.
2024-09-11 19:53:07 -04:00
6e06ec0904
Clean up connections that don't handshake in time.
2024-09-09 15:25:10 -04:00
ae096b2c9c
Try harder to make webview localStorage work on different versions. I suspect that's what #73 is about.
2024-09-04 12:50:12 -04:00
97fb63dda1
Actually 0.0.23-wip.
2024-08-28 19:59:34 -04:00
17d6cc7d46
Let's try 0.0.22 again.
2024-08-28 19:20:55 -04:00
56e483782d
Let's start work on 0.0.23. Clean out some libuv non-submodule cruft while I'm in here.
2024-08-28 19:10:16 -04:00
7114ce2516
Let's release 0.0.22.
2024-08-28 18:40:10 -04:00
e6f5eb244e
Missing port.
2024-08-25 22:00:35 -04:00
ab62e83110
Fixed some peer ID brokenness.
2024-08-25 21:56:01 -04:00
ee0efa536a
Fix and assert against some more unsafe cross-thread JSContext use.
2024-08-25 13:30:46 -04:00
011670c70b
Pass along and use the actual port we're listening on for peers.exchange.
2024-08-25 09:50:28 -04:00
f543cc642e
Clean up some error'd RPC requests. Don't send blobs.createWants if we're not replicating.
2024-08-24 10:39:47 -04:00
8ac3c5ea22
Keep c-ares initialized. Fixes android, which can't just be re-initialized.
2024-08-22 12:43:20 -04:00
63918f0680
Make blobs.has do its work off the main thread so it doesn't violate that assert, and make the test cover such things a bit better.
2024-08-21 22:55:40 -04:00
bfb3d8b8a2
Add an option to disable account registation, and fix use of a JSContext from the wrong thread along the way.
2024-08-21 20:56:21 -04:00
e38ff99607
Special treatment to make TXT record lookup work on android.
2024-08-21 20:27:43 -04:00
a15bb8e994
Don't rely on being idle to do anything. Fixes JS job starvation on slow machines more.
2024-08-21 12:53:38 -04:00
6f487100cd
Format.
2024-08-20 12:35:42 -04:00
0693a2315f
Fix async job starvation if everything is running too slowly.
2024-08-20 12:26:34 -04:00
f360e886ff
Make -t peer_exchange complete and test that something happened.
2024-08-19 12:29:40 -04:00
6ea08cc5dc
Add the beginnings of a peers.exchange test and begin to fix fallout.
2024-08-15 12:48:24 -04:00
657bcadc7e
Work-in-progress, untested, naive peer exchange. Intended to be disabled by default by a setting.
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
3895c33915
Implement prompt() for android. #72
2024-08-14 12:45:22 -04:00
d32999f178
Decouple DNS-based seed discovery from the broadcast timer.
2024-08-08 18:50:54 -04:00
f621feb843
Fix some builds and make the windows build actually succeed at resolving what I want.
2024-08-07 22:25:38 -04:00
8d277f029d
Support using a seeds host for bootstrapping connections.
2024-08-07 21:03:39 -04:00
b78ecaa814
F-Droid looks all set for now. Let's start 0.0.22.
2024-08-06 12:17:26 -04:00
aabbb10564
for fdroid: Use android ndk r27, set SOURCE_DATE_EPOCH for the android ssl build, and remove a non-determinism in AndroidManifest.xml.
2024-08-04 09:36:46 -04:00
3ccd6c9a3e
I missed.
2024-08-02 22:26:01 -04:00
c290240de7
Make a release to make sure F-Droid can pick it up.
2024-08-02 22:20:18 -04:00
8e799b174b
Address some fdroid zip non-determinism.
2024-08-02 21:55:00 -04:00
3ef8698f42
Put android:versionCode and such back in the static AndroidManifest.xml. I forgot that F-Droid needs to see it.
2024-08-02 20:37:05 -04:00
13f02c2aca
Preparing to release 0.0.21.
2024-07-31 12:50:35 -04:00
c1fb15b135
ci tweaks and aab fixes.
2024-07-24 13:50:48 -04:00
082d041d44
Update the android app icon / launch icon.
2024-07-24 12:50:31 -04:00
24cec21465
Move last remnant of static file handling from core to C.
2024-07-24 12:06:24 -04:00
9f71ec6194
Minor android cleanup.
2024-07-24 11:27:37 -04:00
a46bb8183c
Fix OpenBSD compile.
2024-07-14 16:59:23 -04:00
d5d5a7b012
Build a separate .apk for fdroid with its own app ID.
2024-07-14 16:18:47 -04:00
9e5a1ee975
Ugg.
2024-07-09 19:21:27 -04:00
95bf3f0316
This is almost doing something.
2024-07-09 19:19:01 -04:00
d69dd513bc
Another silly fdroid test.
2024-07-09 19:08:40 -04:00
525cdf571a
Testing a thing for fdroid.
2024-07-07 17:14:13 -04:00
50b54599ef
Minor cleanup.
2024-07-04 13:18:23 -04:00
ed6bef6d24
Get android running its sandbox in a seprate, isolated service process. So that we support not extracting the native code from the APK, so that we support distributing as an .aab file, so that we may one day release on the app store.
2024-07-04 13:02:39 -04:00
71268636df
Steps toward following all the inconvenient, changing android rules:
...
* Set android:debuggable=false.
* Call native code through JNI only. Having a native executable on disk and exec-ing it no longer seems possible.
* Do all the Tilde Friends things in one process, without a proper sandbox, until I can wire up a restricted service worker process.
* Jam Android App Bundle (.aab) building into the makefile.
* Yuck.
2024-06-30 13:32:17 -04:00
2338b26329
Start working on 0.0.21.
2024-06-26 20:47:44 -04:00
8a93cdd33c
Let's release 0.0.20.
2024-06-26 20:29:07 -04:00
5452f3f623
Appease -fsanitize.
2024-06-26 20:20:34 -04:00
256614dbaf
Actually stop stomping settings.
2024-06-26 19:58:59 -04:00
049449b213
I think this is how I lost settings.
2024-06-26 19:44:45 -04:00
574292b798
Reduce some common log noise.
2024-06-23 15:11:18 -04:00
8e5a024d3d
SVG favicon.
2024-06-20 20:05:00 -04:00
410bb7c09d
Fix a ref count mistake and add a long-overdue tf_util_print_backtrace() that helped me find it.
2024-06-20 19:49:21 -04:00
9de8b0f449
Oops.
2024-06-20 12:36:21 -04:00
d47c3a1222
Fix a ref/unref mismatch.
2024-06-17 21:45:51 -04:00
df99b3aa90
Trying to catch an issue I think I saw in the debugger.
2024-06-17 21:23:48 -04:00
0090850e10
Forgot the other end of blobs.get.
2024-06-17 20:59:25 -04:00
9efd64bd18
Actually enforce _tf_ssb_assert_not_main_thread.
2024-06-17 12:36:54 -04:00
b16c37e48b
Make ssb.privateMessageDecrypt do its work not on the main thread. I think that's finally everything for real.
2024-06-16 17:22:26 -04:00
3ee2c00726
Build fix.
2024-06-16 17:08:10 -04:00
d5a7e19f1a
Move the bulk of ssb.privateMessageEncrypt work (CPU + DB) off the main thread.
2024-06-16 17:07:12 -04:00
9b52415b35
Make ssb.setServerFollowingMe not use the DB from the main thread. Two left??
2024-06-16 16:22:59 -04:00
dbe24494d9
Remove ssb.messageContentGet. It's easy to do this with ssb.sqlAsync, and this wasn't being used productively. Three uses of DB on the main thread remaining.
2024-06-16 16:02:39 -04:00
3eab5a5f70
Make ssb.forgetStoredConnection not use the DB on the main thread. Four remaining?
2024-06-16 15:57:19 -04:00
548febfb22
Make ssb.storedConnections do its DB work not on the main thread. Five remaining by my new count?
2024-06-16 15:29:59 -04:00
b40f72443a
A little format, as a treat.
2024-06-16 12:18:19 -04:00
2c03496373
Make databases.list, database.remove, and database.getLike all do their DB work off the main thread. That's the last thing I'm aware of.
2024-06-16 12:17:51 -04:00
b6a937c954
Move db.exchange DB work off of the main thread.
2024-06-16 10:16:39 -04:00
cb3c7afade
Move ssb.getPrivateKey's DB work off the main thread.
2024-06-16 08:07:02 -04:00
991022adfc
Move ssb.appendMessageWithIdentity's DB work off the main thread.
2024-06-16 07:51:06 -04:00
2bc71a18a6
Make ssb.deleteIdentity not block the main thread with DB work.
2024-06-14 17:39:24 -04:00
57ca864fbb
Build fix.
2024-06-12 21:08:41 -04:00
a09edfb612
ssb.addIdentity without hitting the DB from the main thread.
2024-06-12 21:06:30 -04:00
7997a739ab
ssb.createIdentity without hitting the database from the main thread.
2024-06-12 20:47:48 -04:00
248b258413
Make database.getAll() not block the main thread on database access.
2024-06-12 20:29:39 -04:00
0423ed7fb4
Login without hitting the DB from the main thread.
2024-06-12 20:12:35 -04:00