f543cc642e
Clean up some error'd RPC requests. Don't send blobs.createWants if we're not replicating.
Cory McWilliams2024-08-24 10:39:47 -04:00
8ac3c5ea22
Keep c-ares initialized. Fixes android, which can't just be re-initialized.
Cory McWilliams2024-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.
Cory McWilliams2024-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.
Cory McWilliams2024-08-21 20:56:21 -04:00
e38ff99607
Special treatment to make TXT record lookup work on android.
Cory McWilliams2024-08-21 20:27:43 -04:00
b0e3d922c8
libuv busy loop in uv__run_timers with -flto. Sigh.
Cory McWilliams2024-08-21 19:40:07 -04:00
a15bb8e994
Don't rely on being idle to do anything. Fixes JS job starvation on slow machines more.
Cory McWilliams2024-08-21 12:53:38 -04:00
657bcadc7e
Work-in-progress, untested, naive peer exchange. Intended to be disabled by default by a setting.
Cory McWilliams2024-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.
Cory McWilliams2024-08-14 20:02:46 -04:00
d32999f178
Decouple DNS-based seed discovery from the broadcast timer.
Cory McWilliams2024-08-08 18:50:54 -04:00
f621feb843
Fix some builds and make the windows build actually succeed at resolving what I want.
Cory McWilliams2024-08-07 22:25:38 -04:00
8d277f029d
Support using a seeds host for bootstrapping connections.
Cory McWilliams2024-08-07 21:03:39 -04:00
1788a02338
Add c-ares. These are the hoops I have to jump through to be able to provide some bootstrap nodes.
Cory McWilliams2024-08-07 20:21:39 -04:00
68c9d4afa7
Found some docs that say the icon.png max size is 512x512.
Cory McWilliams2024-08-04 21:54:42 -04:00
f0ea38fe49
Just set SOURCE_DATE_EPOCH=1. Using the last commit time is complicated (have to rebuild OpenSSL every commit/release). This only affects a debug string that we don't expose.
Cory McWilliams2024-08-04 12:54:02 -04:00
8a76c25394
Silence some OpenSSL build output so I can see what else is going on. Also install the signed fdroid APK in dist.
Cory McWilliams2024-08-04 12:10:52 -04:00
fd96126e3e
Ooh, can I just exclude OpenSSL submodules? I don't want to see those.
Cory McWilliams2024-08-04 11:49:04 -04:00
5447b247a0
Back to r26d, and pin the timezome to get SOURCE_DATE_EPOCH to work correctly.
Cory McWilliams2024-08-04 09:54:33 -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.
Cory McWilliams2024-08-04 09:36:46 -04:00
3ef8698f42
Put android:versionCode and such back in the static AndroidManifest.xml. I forgot that F-Droid needs to see it.
Cory McWilliams2024-08-02 20:07:21 -04:00
84c22dbf5f
Move to OpenSSL as a git submodule. Redundant for platforms where it's not used, but makes fdroid easier.
Cory McWilliams2024-07-10 19:25:01 -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.
Cory McWilliams2024-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.
Cory McWilliams2024-06-30 13:32:17 -04:00
568729ecd6
Stop auto-updating the version in default.nix. Will do it manually only on release.
Cory McWilliams2024-06-29 08:33:51 -04:00