Commit graph

2933 commits

Author SHA1 Message Date
default
5792ef5d24 Process 'Create' messages (untested). 2022-09-25 07:58:25 +02:00
default
b070d2d8f8 The HTTP request headers are stored in a plain dict. 2022-09-25 07:42:57 +02:00
default
58de0798f2 New function srv_archive(). 2022-09-25 07:28:42 +02:00
default
c3e19f1650 Added some aechiving. 2022-09-24 12:22:17 +02:00
default
e9afd7cd13 More work. 2022-09-24 11:54:35 +02:00
default
a7202dcd1c More message work. 2022-09-24 11:04:35 +02:00
default
ea57b47264 Started creating messages. 2022-09-24 10:43:57 +02:00
default
33d27ef2d3 More log tweaks. 2022-09-24 10:22:30 +02:00
default
e9c2f58993 Replace long paths with ~ in logs. 2022-09-24 10:18:34 +02:00
default
d69fa8d855 Always call srv_debug() from snac_debug(). 2022-09-24 10:12:26 +02:00
default
a6712ba79a Also store the req object in enqueue_input(). 2022-09-24 10:03:27 +02:00
default
3df33c845d More ActivityPub work. 2022-09-23 23:49:09 +02:00
default
c181c57f56 New function enqueue_input(). 2022-09-23 23:09:09 +02:00
default
b4a4fa0b0d Fixed memleak. 2022-09-23 21:01:35 +02:00
default
6e6c315494 New function activitypub_get_handler(). 2022-09-23 20:59:19 +02:00
default
1d694a245a xs_httpd_request() also returns the payload. 2022-09-23 20:28:23 +02:00
default
bbf5471039 New function process_queue(). 2022-09-23 19:37:01 +02:00
default
cf59d68491 New functions send_to_inbox() and send_to_actor(). 2022-09-23 19:07:45 +02:00
default
6586be50a0 Fixed bug in actor_request(). 2022-09-23 18:46:30 +02:00
default
a0bcc4e6c0 Improved activitypub_request(). 2022-09-23 18:15:59 +02:00
default
02b0df78c6 server_get_handler() returns the status. 2022-09-23 17:44:02 +02:00
default
11134e58a3 webfinger_get_handler() returns the status. 2022-09-23 17:40:59 +02:00
default
40193b1320 webfinger_request() returns the status. 2022-09-23 17:36:40 +02:00
default
bdc166111d [activitypub.c] New file. 2022-09-23 17:33:33 +02:00
default
6281ef2c92 Reworked timeline_add(). 2022-09-23 09:50:38 +02:00
default
ce26879f2f Added comment about what to do with recursive parent storage. 2022-09-23 00:03:45 +02:00
default
b84267e4d3 _timeline_parent() does not need to be recursive (or does it?). 2022-09-23 00:00:25 +02:00
default
51dc99a86d Return 110 "Response Is Stale" to stale actors. 2022-09-22 18:56:50 +02:00
default
5803b928b5 Minor actor tweak. 2022-09-22 18:52:42 +02:00
default
4f4f321a53 Added some actor functions. 2022-09-22 18:50:39 +02:00
default
595ded1fc7 httpd serves susie.png. 2022-09-22 17:55:59 +02:00
default
7a60c71744 Fixed memleak in greeting. 2022-09-22 17:44:23 +02:00
default
b8436ddfde Renamed enqueue() to enqueue_output(). 2022-09-22 17:12:46 +02:00
default
b5769aca9b New function _timeline_parent(). 2022-09-22 14:46:23 +02:00
default
28c7961e67 New macro valid_status(). 2022-09-22 11:50:53 +02:00
default
d66b20a880 Deleted left debug information. 2022-09-22 11:40:50 +02:00
default
2a05ec3b6e Minor webfinger tweak. 2022-09-22 11:35:44 +02:00
default
f2e4de7f90 More webfinger work. 2022-09-22 11:28:13 +02:00
default
00a8929581 New function webfinger_request() (incomplete). 2022-09-22 10:15:24 +02:00
default
6e4294f8e8 Added a webfinger handler. 2022-09-21 21:12:49 +02:00
default
a19d509b87 Updated Makefile. 2022-09-21 19:52:11 +02:00
default
8df3d4ab5d Fix q_path. 2022-09-21 19:46:02 +02:00
default
9270a0077e Added a global server handler. 2022-09-21 19:28:30 +02:00
default
e7c886beb7 More httpd work. 2022-09-21 18:27:30 +02:00
default
7efb6d5833 New flag srv_running. 2022-09-21 18:13:11 +02:00
default
8e653d201f [httpd.c] new file. 2022-09-21 18:09:16 +02:00
default
d2bdaf378f More work in http signed request. 2022-09-21 09:31:05 +02:00
default
9573dbcdb6 New function xs_sha256_base64(). 2022-09-21 09:17:59 +02:00
default
8dadbbc78e Use its own copy of the headers in http_signed_request(). 2022-09-21 08:57:02 +02:00
default
d76131b473 Added http signed request code (untested). 2022-09-20 21:00:16 +02:00