9f71ec6194
Minor android cleanup.
Build Tilde Friends / Build-All (push) Successful in 6m12s
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
163fbd85e7
Fix docs.
2024-06-10 20:23:11 -04:00
58bb86ebe1
Make http.auth_query async and get its DB work off the main thread.
2024-06-10 20:22:28 -04:00
c5140ee8e8
Move DB work for ssb.getIdentities() and ssb.getAllIdentities() off the main thread.
2024-06-10 17:18:29 -04:00
6270fd8118
We don't need to go to the DB to get our public key.
2024-06-10 16:56:21 -04:00
3fff706848
Get the code of conduct and JWT signing key without hitting the database from the main thread.
2024-06-10 16:37:12 -04:00
c259defab5
Move database.get and database.set off the main thread.
2024-06-10 15:30:14 -04:00
e5fee5c306
Buildfix.
2024-06-10 12:01:49 -04:00
9d35b4bdfb
Resuming work to move all DB access off the main thread.
2024-06-10 11:45:20 -04:00
9497d7cf64
Fix some shutdown hangs/leaks.
2024-06-06 20:31:24 -04:00
71329c5532
format+prettier
2024-06-03 12:36:34 -04:00
feb4bf9e87
Limit message sends in a continued attempt to fix intermittent runaway memory usage. #64
2024-06-02 12:38:12 -04:00
7a2974e54f
Working on 0.0.20.
2024-05-29 20:17:33 -04:00
f4dfc1dd98
Let's release 0.0.19.
2024-05-29 19:50:59 -04:00
d974a5e044
An experiment in controlling memory usage when syncing. uv_read_stop when we have too active message/blob writes to the database and uv_read_start when we're back under control. #64
2024-05-22 19:53:33 -04:00
1be94ae0be
Removed ssb.addEventListener and ssb.removeEventListener from the public API. Can do the same thing with core.register.
2024-05-22 18:51:21 -04:00
a0210379ae
Avoid confusing log output when responding with a method not found error.
2024-05-20 12:39:21 -04:00
e56dc207d1
Fix some shutdown issues in connection tracker code.
2024-05-16 12:41:48 -04:00
523c9c9ad2
Move mime type shenanigans from JS => C.
2024-05-15 19:25:48 -04:00
74bb2151c1
Fix shutdown issues with in-flight SSB connection attempts.
2024-05-15 12:37:13 -04:00
27b275548e
Fix docs.
2024-05-12 08:37:14 -04:00
47838d5e48
More name info issues.
2024-05-11 10:53:21 -04:00
ca00c4fb5d
Fix multiple issues getting identity info.
2024-05-11 10:23:07 -04:00
52962f3a5e
Remove the :auth key. We can sign JWTs with :admin, and it's one less magic key.
2024-05-11 09:50:00 -04:00
7d9b1b508b
Print a little colorful message when we've started about where to connect. Multiple people have pointed out that it's not obvious that it's working.
2024-05-11 09:18:30 -04:00
3a43d6f8ac
Build fix.
2024-05-11 09:03:37 -04:00
11a6649847
Add back a verify command. Remove unused and not very useful ssb.getMessage(). Make field ordering shenanigans more explicit.
2024-05-11 08:48:50 -04:00
7caf4a0173
Fix numerous issues around setting the first registered used as an admin.
2024-05-10 22:21:59 -04:00
385524352c
Refactor most uses of uv_queue_work to go through a helper that keeps track of thread business, traces, and is generally less code.
2024-05-08 21:00:37 -04:00
5ca5323782
Fix /speedscope/ => deps/speedscope/index.html.
2024-05-08 20:57:53 -04:00
ba6da856bb
Let trace truncate names more if it means we can generate valid JSON.
2024-05-08 20:56:44 -04:00
c0e72246cc
Trying to understand a lingering 'previous message doesn't exist.' And format.
2024-05-08 12:20:57 -04:00
c7ab5447ea
Move / redirect handling to C
2024-05-05 15:24:15 -04:00
421955f2a0
getIdentityInfo => C.
2024-05-05 13:48:22 -04:00
a28f6985ed
getActiveIdentity => C.
2024-05-05 12:55:32 -04:00
17667b4cf8
make format
2024-05-02 20:10:56 -04:00
5231ec22e7
More trying to clean up lingering requests.
2024-05-02 19:59:54 -04:00
929ae1b709
After eyeballing lingering requests, clean up requests after the response to an async (non-streaming) request is done.
2024-05-02 19:37:38 -04:00
f01f7a5ab9
Show active RPC requests in the connections tab. Probably TMI, but I want greater introspection into what is going on, and this seemed like a positive step.
2024-05-02 19:02:23 -04:00
a2dce833f8
Fix another shutdown issue.
2024-05-02 12:30:22 -04:00
4edee0f7f6
Allow importing from a single app .json.
2024-04-30 21:43:14 -04:00
4cbda7a849
Improve file errors so that it doesn't look like everything has failed when we see there's no https cert available.
2024-04-28 12:25:12 -04:00
48d6bf4c15
Hook up onJsAlert on android.
2024-04-28 11:04:29 -04:00
b5ed7014f6
Fix attaching files (aka WebView file picking) on Android.
2024-04-26 18:10:22 -04:00
a9cb913a47
Working on 0.0.19.
2024-04-24 19:29:17 -04:00
b7b5d4f1a5
Calling it 0.0.18.
2024-04-24 19:24:10 -04:00
96037d4da6
Android pull refresh fixes. Sigh.
2024-04-17 22:37:24 -04:00
2ecae7da93
Implement my own hokey pull to refresh on Android. Nobody's got time for all those dependencies.
2024-04-17 19:55:14 -04:00
26165e30de
Fix -t auto.
2024-04-13 20:32:17 -04:00
c52331a23a
format/prettier
2024-04-13 20:07:39 -04:00
64bbd383de
Trying to make the navigation bar fit again with a new dropdown. Good grief, CSS.
2024-04-13 16:52:30 -04:00
0412b97170
WIP managing a per-app current identity from the Tilde Friends navigation bar.
2024-04-13 13:22:59 -04:00
1ceeed1007
prettier + clang-format.
2024-04-11 18:36:31 -04:00
c674cca482
Move some DB things out of httpd.
2024-04-04 21:00:59 -04:00
9cb872eec2
Remove JS functions: hmacsha256sign, hmac2ha256verify, parseHttpRequest, sha1Digest, and maskBytes. These are no longer needed with httpd and auth in C
2024-04-03 21:14:52 -04:00
e50144bd34
Validate exit codes more thoroughly. C'mon, Cory.
2024-04-02 20:32:47 -04:00
9f3171e3f1
Remove auth.js. #7
2024-04-02 20:11:36 -04:00
cc92748747
Move sending refresh tokens out of JS.
2024-04-02 12:42:31 -04:00
0a0b0c1adb
Make sure we don't leak the session string when reassigning it.
2024-04-02 12:20:59 -04:00
92a74026a6
Format the new auth code.
2024-04-01 12:53:47 -04:00
3fa1c6c420
Tidied up getting an auth key slightly.
2024-04-01 12:53:00 -04:00
b04eccdbda
Move the auth handler out of JS. #7
2024-03-31 16:15:50 -04:00
9ce30dee70
Start working on 0.0.18.
2024-03-27 19:08:10 -04:00
3c0b680b8e
Let's release 0.0.17.
2024-03-27 18:59:40 -04:00
9164be2f37
Fix loading from not standalone zip.
2024-03-25 16:34:27 -04:00
5385264f94
Fix an http use after free during shutdown.
2024-03-25 16:31:09 -04:00
610e756c07
Ever closer to the elusive clean http shutdown.
2024-03-25 16:23:45 -04:00
15c9f8f458
Rudimentary support for building the executable with data attached. Pushed some things around in the makefile to fix issues along the way. #46
2024-03-25 13:50:17 -04:00
0e2fc65301
Document run -k flag.
2024-03-20 20:33:23 -04:00
e8ef7e74de
Fixed a leak in JS blob store.
2024-03-18 12:46:12 -04:00
c32e1b9583
http request cleanup crash fix.
2024-03-18 16:34:07 +00:00
855d603795
docs + prettier
2024-03-17 13:21:33 -04:00
af25782185
More http/request shutdown issues.
2024-03-17 12:38:37 -04:00
e5ba51b80a
Chasing a leak that looks like an EBT clock. Deleted some unneeded code and adding a missing JS free.
2024-03-17 13:44:05 +00:00
5e240de677
Fix requesting blobs from blob_wants. ids were trucated. Yikes.
2024-03-17 09:16:06 -04:00
537a8654fa
Rename sequence_before_author => flags. #29
2024-03-13 19:40:09 -04:00
88d8e60511
Some minor paranoia to appease valgrind.
2024-03-12 21:44:20 -04:00
0aa1ed9464
Fix a failure requesting more blobs.
2024-03-08 21:38:31 -05:00
cb94ed6a2a
Some plumbing to expose the actual bound SHS port so that I can make a dynamic room app.
2024-03-07 21:03:14 -05:00
f3601321f7
That's all the doxygen warnings. #27
2024-03-06 21:13:16 -05:00
540059368c
11 make docs warnings left, but I'm out of time for tonight.
2024-03-06 20:57:38 -05:00
7ce89123f7
85 make docs warnings remain.
2024-03-06 12:46:27 -05:00
e3c7c86212
All but the two biggest .h files have docs.
2024-03-06 12:31:17 -05:00
794804e27f
A few more .h file docs.
2024-03-05 21:17:20 -05:00
6d89c1da6e
Format.
2024-03-05 20:49:30 -05:00
d059554464
Some workarounds for Haiku. uv_fs_scandir can't tell if a dirent is a file. setrlimit doesn't do anything productive for us.
2024-03-05 20:49:16 -05:00
3a392d4a9f
More .h docs.
2024-03-05 12:47:58 -05:00
e3071b372a
Poking at TCP binds from Haiku.
2024-03-04 21:51:27 -05:00
18bd279b0c
Some progress on .h docs, and add a preliminary CONTRIBUTING.md.
2024-03-04 12:23:00 -05:00
5b93db7463
A buncha muncha cruncha .h docs. Also add vim temporary files to .gitignore.
2024-03-03 18:12:44 -05:00
5b7e5eb91b
Give fts a better chance of working with jsonb messages.content.
2024-03-03 18:55:58 +00:00
78ca383e3c
http.h docs.
2024-03-03 12:35:10 -05:00
c1eed9ada3
Fixed a leak in ssb.getServerIdentity().
2024-03-03 12:20:03 -05:00
42994f8977
Make the SSB network key configurable by command-line argument.
2024-03-02 15:01:09 -05:00
f0a871e1f8
More docs.
2024-03-01 21:18:12 -05:00
c991763b00
tests.h and tlscontext.js.h docs.
2024-02-28 21:18:59 -05:00
591642efb3
Convert messages.content to JSONB. This is a very disruptive change.
2024-02-28 20:01:52 -05:00
6182ffa1d4
Docs for tls.h and trace.h.
2024-02-28 19:12:41 -05:00
402a898d96
Let's start working on 0.0.17.
2024-02-28 18:47:21 -05:00
13d43d8319
Let's release 0.0.16.
2024-02-28 18:24:12 -05:00
40f3da6a65
Fix a leak in returning HTTP responses.
2024-02-25 19:38:00 -05:00
3bc18b9021
Docs for util.js.h.
2024-02-25 18:52:34 -05:00
9aa0617aa1
Fix android argv.
2024-02-25 16:02:56 -05:00
a43c1d3d1e
Format.
2024-02-25 15:03:43 -05:00
1ed0e817e8
BSD compile fix.
2024-02-25 14:57:14 -05:00
8c13f5dbba
xopt => getopt_long. I give up on xopt. It didn't help me as much as I had hoped, and I had problems building for mingw with only some versions of GCC. Not worth any further time.
2024-02-25 14:45:31 -05:00
70a3e7fc7d
Make app export append a trailing newline to the app.json files so that we match prettier.
2024-02-24 11:12:35 -05:00
63ae186c76
Export app json files indented with tabs.
2024-02-24 10:55:09 -05:00
2701b7d04e
Address some gcc-13 analyzer warnings. #33
2024-02-22 20:13:51 -05:00
450b07fd08
Add a Doxyfile and preliminary module-level docs.
2024-02-20 21:41:37 -05:00