|
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 |
|
|
4ebd44cb4e
|
Avoid leaking some console colors.f
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4859 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-18 15:39:32 +00:00 |
|
|
75cb9f7fd2
|
Make things workable with a reverse proxy in front.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4858 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-18 15:27:44 +00:00 |
|
|
d0e11bc68b
|
Add missing .clang-format, and fix some spaces that slipped through.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4856 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-17 19:22:02 +00:00 |
|
|
1958623a7a
|
Package prettier.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4855 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-17 18:59:36 +00:00 |
|
|
498d8b6520
|
Hook up prettier in the editor.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4854 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-17 18:53:21 +00:00 |
|
|
a12f2fec5a
|
Grarrgh. Build.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4853 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-17 16:36:40 +00:00 |
|
|
22bf046643
|
Fix fix fix tests.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4852 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-17 15:33:08 +00:00 |
|
|
dca48fae36
|
Some test fixes, and introduce some pledge and unveil for OpenBSD.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4851 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-17 14:55:39 +00:00 |
|
|
33dd2560e0
|
Format.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4848 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-16 00:48:49 +00:00 |
|
|
aeb5c6ee25
|
Run the selenium automation tests from C, so that they all run in once place, and because I get better errors for some reason. Fix more issues along the way.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4847 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-16 00:47:54 +00:00 |
|
|
fbc3cfeda4
|
clang-format the source. Not exactly how I want it, but automated is better than perfect.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4845 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-15 23:35:01 +00:00 |
|
|
c8812b1add
|
Make the tests not do the imports all the time.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4844 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-15 03:00:34 +00:00 |
|
|
8d82e80639
|
Nope. JS_EVAL_FLAG_STRIP loses line numbers and other debug information. Need those.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4843 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-14 17:45:28 +00:00 |
|
|
ed741d53d7
|
Enable top-level async and JS_EVAL_FLAG_STRIP.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4842 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-14 17:39:27 +00:00 |
|
|
685754895b
|
Have we achieved clean shutdown?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4841 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-13 23:07:36 +00:00 |
|
|
e7791d38ff
|
Continuing the fight against http lifetime issues.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4840 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-10 22:09:52 +00:00 |
|
|
9f14653001
|
No, yikes, Cory.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4839 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-10 21:58:02 +00:00 |
|
|
6c5a7b0751
|
Add missing statics, and remove the 'tildefriends check' command.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4838 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-10 16:50:00 +00:00 |
|
|
51a327c52d
|
.well-known => C.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4837 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-10 16:10:58 +00:00 |
|
|
6801758cb3
|
staticDirectoryHandler => C.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4835 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-10 03:14:02 +00:00 |
|
|
ed2d57fb4b
|
Serve core static files without leaving C.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4833 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-09 01:21:57 +00:00 |
|
|
e87acc6286
|
robots.txt => C
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4832 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-08 01:08:05 +00:00 |
|
|
eb5da26004
|
Now this OpenSSL use is perfect.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4829 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-07 23:45:04 +00:00 |
|
|
e98802f5b2
|
Fix https somehow.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4827 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-07 22:59:51 +00:00 |
|
|
af54b6483e
|
Some success exporting and importing apps on android.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4826 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-07 00:05:07 +00:00 |
|
|
96167c3167
|
Fix more memory leaks and ssb shutdown order issues.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4825 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-02-06 17:42:17 +00:00 |
|
|
7f661d9af9
|
Appease the analyzer, but also how did this ever work?
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4818 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-31 02:04:10 +00:00 |
|
|
4bd46a1657
|
Working on 0.0.16 now.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4816 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-28 23:55:17 +00:00 |
|
|
72369ab745
|
Let's release 0.0.15.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4814 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-28 23:35:28 +00:00 |
|
|
a5a00b6987
|
Make garbage collecting blobs ease up on my phone.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4811 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-28 21:08:08 +00:00 |
|
|
2c79e03094
|
A little paranoia as I stare at this code and some analyzer nonsense.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4807 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-28 12:50:47 +00:00 |
|
|
21e6cf10b6
|
Sigh. Linked list bugs.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4806 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-27 21:53:57 +00:00 |
|
|
dc655bb359
|
Prefer tf_resize_vec many places over tf_realloc.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4805 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-27 21:29:06 +00:00 |
|
|
b9987580ee
|
Now all the tests run clean.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4804 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-27 21:01:10 +00:00 |
|
|
cb2dfc696d
|
Fixed a few more good leaks. Now there are just some unclean shutdown issues.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4803 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-27 18:26:01 +00:00 |
|
|
7f0643f9c0
|
Stop leaking the TLS context.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4802 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-27 17:27:56 +00:00 |
|
|
14a4117aff
|
Don't leak the http handlers.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4801 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-27 17:11:24 +00:00 |
|
|
55fb5dce1a
|
Whoa, leaked messages.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4800 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-27 16:37:22 +00:00 |
|
|
923d6f9835
|
I think that's all the leaks accounted for though not yet fixed.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4799 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-27 15:45:51 +00:00 |
|
|
08b5ade8ec
|
Getting closer on lifetime issues.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4798 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-27 14:44:17 +00:00 |
|
|
91f41c7497
|
Fix the windows build.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4797 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-27 13:51:08 +00:00 |
|
|
fa06282ff9
|
Make it so we don't have to wait ages for a timer to be able to shutdown with ^C.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4796 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-27 13:48:16 +00:00 |
|
|
48b967f5b6
|
Tryingn to button down websocket lifetime issues.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4795 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-27 02:36:08 +00:00 |
|
|
f479165aac
|
Fixes 'tildefriends test'.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4794 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-27 01:47:51 +00:00 |
|
|
2f83ecc1ac
|
At least one legit memory leak, but also add a SIGTERM handler that attempts a clean shutdown so that I can ensure that it succeeds. It currently does not.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4793 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-27 01:25:30 +00:00 |
|
|
00ba74a6c4
|
This simplifies upgrading an HTTP request to a websocket, I believe, and fixes sending refresh auth tokens.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4791 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-25 18:00:23 +00:00 |
|
|
64249976a8
|
Fix https requests redirecting to http.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4781 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-19 00:48:42 +00:00 |
|
|
4fd155e68a
|
Make haiku compile again, though I'm not happy about its lack of INADDR_ANY support.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4759 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-12 00:11:03 +00:00 |
|
|
74eb74deb1
|
Playing with pahole.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4756 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-11 01:38:30 +00:00 |
|
|
a0af058f5e
|
Don't leak promises.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4752 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-10 02:49:44 +00:00 |
|
|
b40457d774
|
Disable storing messages for disconnection debug by default, and add another environment variable for logging SSB RPC messages.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4751 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-10 02:41:28 +00:00 |
|
|
2353b43514
|
Attempt to release sqlite memory.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4750 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-10 02:36:27 +00:00 |
|
|
a0f390b7dc
|
Fix a memory leak in httpd.js.c.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4747 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-09 17:22:39 +00:00 |
|
|
29fc728509
|
These look like potential leaks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4744 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-08 02:30:08 +00:00 |
|
|
0fb341f378
|
Enable memory tracking on an environment variable.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4743 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-08 02:18:10 +00:00 |
|
|
21d4a9b328
|
Appease gcc 12's analyzer.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4740 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-07 21:08:20 +00:00 |
|
|
b73f5011cf
|
Continuing trying to crunch android openssl sizes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4738 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-06 21:33:20 +00:00 |
|
|
39c942a205
|
Support deleting identities, too.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4736 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-06 19:22:49 +00:00 |
|
|
d89a7a5556
|
Looks like I can round-trip an SSB identity, now.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4733 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-04 01:17:30 +00:00 |
|
|
8ab53f2da3
|
Some plumbing to export an SSB identity from Tilde Friends.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4732 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-04 00:21:15 +00:00 |
|
|
c78753f3ff
|
Expose bip39 to script, and fix some things around base64 so that I can round trip it properly.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4729 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-03 17:25:34 +00:00 |
|
|
34a87d8b3b
|
Minor cleanup. Make http.c trace its callbacks.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4728 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-03 02:14:17 +00:00 |
|
|
7516524d69
|
Implement the rest of the endpoints that were already mostly C in C.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4727 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-02 23:26:42 +00:00 |
|
|
ccafc23d3c
|
Adding bip39 so I can use it to move around private keys.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4725 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-02 20:25:11 +00:00 |
|
|
709b57d84f
|
Move /trace and /mem to C.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4724 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-02 15:43:17 +00:00 |
|
|
9ef909c9a1
|
Reimplement http -> https redirects. Remove request phases. With just a little extra storage, it wasn't needed.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4723 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-02 15:02:47 +00:00 |
|
|
d7c0ffaac4
|
speedscope 1.19.0.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4722 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-02 01:09:05 +00:00 |
|
|
e4cd5312f1
|
Oops, fix websockets.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4721 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-01 22:22:03 +00:00 |
|
|
197fca6d3b
|
Fix/cleanup around a crash I'm seeing.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4720 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2024-01-01 22:14:27 +00:00 |
|
|
04af1f0053
|
I think it we ask for AF_INET6, we get 4+6. Let's do that.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4719 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-31 03:42:07 +00:00 |
|
|
93d9b1ed93
|
I think we can assume curl on all platforms for tests.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4718 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-31 03:24:20 +00:00 |
|
|
2d73116bc0
|
Don't free an undefined JSValue.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4717 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-31 03:09:32 +00:00 |
|
|
797509fc11
|
Fix a crash processing TLS while a session is closing.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4715 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-31 03:05:52 +00:00 |
|
|
9d1476a760
|
Slight memcpy paranoia.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4713 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-30 21:41:48 +00:00 |
|
|
c1890775dc
|
Fixes for fragmented websocket messages. Android is happy, now.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4712 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-30 21:35:53 +00:00 |
|
|
72e5fe5b8f
|
Allow receiving fragmented websocket messages. I thought this was what was breaking me on Android, but it's not.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4711 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-30 20:35:03 +00:00 |
|
|
c81ec214e2
|
Missing thread busy indicator.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4710 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-30 20:34:35 +00:00 |
|
|
0dcc879eb1
|
Delete httpd.js.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4709 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-30 19:47:36 +00:00 |
|
|
4f3f4295ea
|
Some HTTP fixes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4708 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-30 19:18:09 +00:00 |
|
|
d02f17a8cf
|
I think the new HTTP implementation is basically working, now.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4707 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-30 18:59:02 +00:00 |
|
|
2f6a92168e
|
Implement connection activity timeouts.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4706 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-30 16:52:05 +00:00 |
|
|
b6a3923b27
|
Some quick http refactors to make websockets less magic.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4705 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-30 16:29:16 +00:00 |
|
|
d556cbc835
|
Let's start 0.0.15.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4704 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-30 16:08:15 +00:00 |
|
|
f4f560b164
|
Let's call this 0.0.14. Cut some apps to squeeze in under 5MB.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4702 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-29 19:33:46 +00:00 |
|
|
14b7f9237b
|
A uv_connect_t is not a handle that can be closed. Fixes a crash.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4701 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-29 18:58:58 +00:00 |
|
|
7964524e0a
|
Fix websocket unmasking issues. Autotest works with C httpd, now.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4699 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-29 17:45:07 +00:00 |
|
|
8ab8335baa
|
This is exchanging some websocket messages, now.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4698 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-25 23:50:55 +00:00 |
|
|
cd43bf9dfa
|
Bugs galore, but this is sending and receiving some websocket messages.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4697 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-25 23:39:16 +00:00 |
|
|
ccebf831e7
|
A bit closer to websockets.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4696 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-25 22:53:05 +00:00 |
|
|
9f2f9bd8b0
|
Fixed some package math.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4695 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-24 22:09:09 +00:00 |
|
|
adf8c14536
|
Saw a websocket message go across the wire with this.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4694 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-24 22:06:11 +00:00 |
|
|
606e82d718
|
Saw a websocket message go across the wire with this.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4693 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-24 21:39:51 +00:00 |
|
|
1621f1753a
|
WebSocket request/response header dance. Feels like the loop is getting close to closed, but I want to refactor everything.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4692 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-24 17:43:33 +00:00 |
|
|
196ab66e14
|
Treat the ?query string and body the same as httpd.js does. Now I can auth.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4691 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-23 19:52:59 +00:00 |
|
|
38ab32dad9
|
Fix some http request lifetime issues, and follow the same lowercase convention for headers.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4690 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-21 17:45:06 +00:00 |
|
|
86046e52f0
|
One less dynamic http allocation. Also one less crash.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4689 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-21 17:15:59 +00:00 |
|
|
9e7c860414
|
Compile fix.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4688 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-21 02:06:17 +00:00 |
|
|
7dc8b86ee2
|
Return legit responses for some static files.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4687 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-21 02:04:20 +00:00 |
|
|
6ecbfe3de6
|
Sort of barely starting to call httpd callbacks with the new implementation.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4686 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-21 01:27:57 +00:00 |
|
|
f9940fc436
|
Add a runtime switch between httpd implementions. One of which is totally not hooked up yet.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4685 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-21 00:56:16 +00:00 |
|
|
58e75ee276
|
I think we did some keep-alive.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4684 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-21 00:13:03 +00:00 |
|