|
27b275548e
|
Fix docs.
|
2024-05-12 08:37:14 -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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
c674cca482
|
Move some DB things out of httpd.
|
2024-04-04 21:00:59 -04:00 |
|
|
9f3171e3f1
|
Remove auth.js. #7
|
2024-04-02 20:11:36 -04:00 |
|
|
3fa1c6c420
|
Tidied up getting an auth key slightly.
|
2024-04-01 12:53:00 -04:00 |
|
|
537a8654fa
|
Rename sequence_before_author => flags. #29
|
2024-03-13 19:40:09 -04:00 |
|
|
6d89c1da6e
|
Format.
|
2024-03-05 20:49:30 -05:00 |
|
|
5b7e5eb91b
|
Give fts a better chance of working with jsonb messages.content.
|
2024-03-03 18:55:58 +00:00 |
|
|
591642efb3
|
Convert messages.content to JSONB. This is a very disruptive change.
|
2024-02-28 20:01:52 -05: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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
b1714cf554
|
I think I fixed following calculations, again. Revived the test, though it's still very not thorough.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4662 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-12-07 02:28:49 +00:00 |
|
|
5fff3b8161
|
Following asan fixes.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4624 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-11-09 00:08:04 +00:00 |
|
|
4cedc54d2d
|
Reworked some following math.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4601 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-11-03 00:45:30 +00:00 |
|
|
25bc1279c2
|
This is how we bind sqlite variables by index.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4576 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-10-24 01:27:35 +00:00 |
|
|
6db1a097aa
|
Add a button in the profile editor to ask the server to follow you. I'm hoping this helps replicating accounts that are otherwise difficult to discover.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4558 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-10-20 14:37:24 +00:00 |
|
|
0473eec0a2
|
Remove DB work from tf_ssb_notify_message_added, which runs on the main thread.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4497 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-10-08 13:52:49 +00:00 |
|
|
b23b0ca239
|
Some include-what-you-use progress.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4462 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-09-13 23:39:52 +00:00 |
|
|
b252b921f8
|
Call out restricted DB access when we acquire the reader.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4429 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-08-25 19:41:54 +00:00 |
|
|
faca2d387b
|
Calculate thread busyness as the current concurrent running threads vs. the max number of threads ever seen running concurrently.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4404 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-08-17 00:01:59 +00:00 |
|
|
358d02d97f
|
Another index I've wanted, and better error display for queries in the ssb app.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4403 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-08-16 22:57:16 +00:00 |
|
|
f7d201859a
|
Use the sqlite authorizer for async requests, too.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4401 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-08-16 22:43:08 +00:00 |
|
|
b5768dd927
|
Capture (almost) all worker thread time.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4373 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-07-29 22:29:09 +00:00 |
|
|
3e5abf3a4d
|
Enable auto vacuum.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4372 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-07-27 12:22:37 +00:00 |
|
|
afde69b5d9
|
Took a whack at cleaning up old blobs.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4369 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-07-27 02:51:42 +00:00 |
|
|
c371fc2a8e
|
Fixed multiple trace problems.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4357 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-07-20 05:06:15 +00:00 |
|
|
6889e11fd1
|
Minor cleanup. Missing traces.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4356 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-07-20 02:20:38 +00:00 |
|
|
fb73fd0afc
|
Make storing messages async. Phew.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4355 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-07-20 01:02:50 +00:00 |
|
|
6fcebd7a08
|
Nope, do the thing from the right thread.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4354 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-07-19 00:58:20 +00:00 |
|
|
15ea62a546
|
Trace all the async things.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4353 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-07-18 23:56:20 +00:00 |
|
|
b0cd58f5aa
|
Make blob store actually not block the main thread.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4352 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-07-18 23:46:15 +00:00 |
|
|
c1ec150696
|
SHA256 was sticking out on a profile, so don't unnecessarily hold the DB writer while we're doing that.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4342 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-07-08 13:43:44 +00:00 |
|
|
85b87553dd
|
Avoid SQL logic error in blob replication.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4340 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-07-07 12:08:14 +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 |
|
|
ef5afc1e23
|
Minor cleanup while pondering syncing faster.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4322 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-06-14 21:59:04 +00:00 |
|
|
ca28b5ca82
|
Delete some code that doesn't need to exist.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4319 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-06-01 22:53:44 +00:00 |
|
|
f421606e21
|
libuv 1.45.0, #include cleanup, probably something else.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4308 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-05-21 21:36:51 +00:00 |
|
|
bdac0c7879
|
Whitespace.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4230 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-03-17 22:57:18 +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 |
|
|
4bea8bb6ba
|
sqlite thread safety and extended result codes, mainly.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4183 ed5197a5-7fde-0310-b194-c3ffbd925b24
|
2023-02-17 22:43:19 +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 |
|