|
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 |
|
|
b04eccdbda
|
Move the auth handler out of JS. #7
|
2024-03-31 16:15:50 -04: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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
c2f62cd8e0
|
Now we're uploading some data.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4682 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-20 23:58:28 +00:00 |
|
|
03e4b37c04
|
Make the http test complete successfully.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4680 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-18 17:51:15 +00:00 |
|
|
7b3a9e0f63
|
Send a valid HTTP response and shutdown the connection.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4679 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-17 17:44:54 +00:00 |
|
|
1d214f89ed
|
Work in progress HTTP server in C.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4676 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-13 23:59:11 +00:00 |
|
|
52aa6eed0d
|
Builds for OpenBSD!
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4620 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-11-08 03:36:08 +00:00 |
|
|
1c621a602f
|
This builds an executable for ios.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4511 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-10-12 00:29:17 +00:00 |
|
|
02dd8c3dd0
|
Try to isolate my instability with go-ssb-room. I guess I did? Haven't found a resolution.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4469 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-09-21 23:38:55 +00:00 |
|
|
e921b4a86a
|
Actually serialize doubles. Yikes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4463 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-09-17 00:13:31 +00:00 |
|
|
d0177d24cb
|
Clean up some test cruft.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4384 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-08-04 23:44:48 +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 |
|
|
791c3dd787
|
Remove unused file operations.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4263 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-04-19 23:53:52 +00:00 |
|
|
61ff466908
|
Replace all printfs with tf_printf, which redirects to android logging. Change into the files directory so that sqlite can do its thing. Getting closer.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4203 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-03-07 17:50:17 +00:00 |
|
|
1f77df7a90
|
Remove dependency on base64c. Use libsodium's. Also consolidate the calls, as the usage is quite special.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4175 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-02-14 03:15:24 +00:00 |
|
|
b406501263
|
Start of a benchmark.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4076 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-12-12 03:11:32 +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 |
|
|
113a82b382
|
Make auth use JWTs.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3991 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-09-28 23:52:44 +00:00 |
|
|
52f744e106
|
Test output cleanup.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3923 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-07-09 14:38:00 +00:00 |
|
|
7f9c01a9bb
|
Fix a test leak.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3922 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-07-09 14:33:38 +00:00 |
|
|
fe5a6033ef
|
Close / clean up a socket if connect fails.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3920 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-07-09 14:14:48 +00:00 |
|
|
b42b5d11fa
|
Remove require. There is only import+export.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3905 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-06-18 17:50:22 +00:00 |
|
|
9c90b2bc1d
|
Use a custom allocator for everything.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3892 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-06-04 17:04:51 +00:00 |
|
|
7848b5e560
|
Merge in mingw changes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3873 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2022-05-16 22:30:14 +00:00 |
|
|
21ba7cb02c
|
Make all of the File.* operations async.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3675 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-10-28 00:53:16 +00:00 |
|
|
07a0828626
|
Async File.writeFile.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3673 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-10-27 23:27:21 +00:00 |
|
|
786c83c57c
|
Fix tests in light of async File.readFile.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3669 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-10-10 22:45:24 +00:00 |
|
|
843c53e15e
|
I just decided. Braces on their own lines.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3668 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2021-10-10 21:51:38 +00:00 |
|