Commit graph

2916 commits

Author SHA1 Message Date
default
e550e86afb Check the digest before enqueueing. 2022-09-27 07:16:46 +02:00
default
7255086401 Backported from xs. 2022-09-26 18:40:46 +02:00
default
acb4bcd80f Use xs_evp_sign() for signing. 2022-09-26 14:45:31 +02:00
default
e3cea55770 Backported from xs. 2022-09-26 14:44:53 +02:00
default
1834dc57b0 More error testing in srv_archive(). 2022-09-26 13:06:15 +02:00
default
8f738e1417 Serve the actor as the correct content-type. 2022-09-26 12:29:26 +02:00
default
57325b09f7 Added direction to srv_archive() files. 2022-09-26 12:10:11 +02:00
default
fd6f71bfe3 More work but signatures seem to still fail. 2022-09-26 11:19:45 +02:00
default
acc467c034 New function msg_admiration(). 2022-09-26 10:08:14 +02:00
default
f410e3a40a New function post. 2022-09-26 09:28:39 +02:00
default
c37a99b97c New function is_msg_public(). 2022-09-26 09:25:35 +02:00
default
e0e86d269a Renamed to recipient_list(). 2022-09-26 09:22:32 +02:00
default
46ee4a4a18 New function recipients(). 2022-09-26 09:22:05 +02:00
default
74aef6994a Link to local if the child id is from this actor. 2022-09-26 09:08:03 +02:00
default
1c8878c3da Also store local referrers in the local timeline. 2022-09-26 07:32:44 +02:00
default
5321295005 Resolve object id instead of discarding like or boost. 2022-09-26 07:19:45 +02:00
default
d1a2a7438d New metadata 'referrer', that contains an actor.
This field contains the actor that boosted an entry.
2022-09-26 07:13:39 +02:00
default
b5be6a0172 Return the correct content-type. 2022-09-26 00:01:19 +02:00
default
39de21e860 New file README.md. 2022-09-25 23:22:12 +02:00
default
d86f6ee27f Backported from xs. 2022-09-25 22:57:18 +02:00
default
424557fcb8 Fixed some incorrect allocations. 2022-09-25 22:40:31 +02:00
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