Commit graph

895 commits

Author SHA1 Message Date
default
6d33117dbe Remove manually the leading zeros in _xs_json_dumps(). 2022-09-25 22:40:09 +02:00
default
a63c9c24c1 Avoid crashing on empty q_items. 2022-09-25 21:55:29 +02:00
default
64b7b66e3b Always write a raw payload in srv_archive(). 2022-09-25 21:52:41 +02:00
default
bf1ee12da2 More sign work (I'm tired). 2022-09-25 21:45:58 +02:00
default
e132ce5076 New function msg_actor(). 2022-09-25 21:02:47 +02:00
default
fcf9329449 Minor tweak in http signatures. 2022-09-25 18:54:05 +02:00
default
6f7f98ded3 Fixed a bug in the digest header. 2022-09-25 18:50:53 +02:00
default
6169932733 New function timeline_request(). 2022-09-25 18:28:15 +02:00
default
bb70101fec New function timeline_admire(). 2022-09-25 17:42:39 +02:00
default
fe6440b363 Some log tweaks. 2022-09-25 09:55:33 +02:00
default
5f4379d434 Fixed bug in srv_archive(). 2022-09-25 09:47:36 +02:00
default
4f328eec1f Some fixes to timeline_add(). 2022-09-25 09:07:43 +02:00
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