Commit graph

131 commits

Author SHA1 Message Date
Andrew Alderwick
3cb1725225 Added OpenBSD's unveil() and pledge() support. 2023-01-13 13:25:14 +01:00
default
11ba44ff9f Some mention formatting tweaks. 2023-01-13 07:12:19 +01:00
default
1d0ab9c156 Added (partial) support for #HashTags in posts. 2023-01-12 13:49:37 +01:00
default
6b344b8c2e Deleted unused argument in timeline_request(). 2023-01-11 20:51:15 +01:00
default
40b3f739d2 Deleted unused argument in timeline_admire(). 2023-01-11 20:47:36 +01:00
default
75f8554e38 Deleted unused arguments in timeline_add(). 2023-01-11 20:40:13 +01:00
default
1aac24ca75 More keyId/signature tweaks. 2023-01-11 09:38:19 +01:00
default
1438d046a5 Log tweaks. 2023-01-10 20:37:53 +01:00
default
23eb05ee99 Use the already loaded actor in check_signature(). 2023-01-10 18:21:00 +01:00
default
292d7c3e95 Fixed log level for 'serving actor'. 2022-12-24 07:05:01 +01:00
default
850259b269 Added a working space to timeline_request(). 2022-12-23 21:41:52 +01:00
default
e762d942de Don't rewrite the id unless it's different. 2022-12-23 21:30:18 +01:00
default
f9f6d96579 Corrected a debug level. 2022-12-23 12:32:59 +01:00
default
f83ff46b6b Fixed crash on some webfinger errors. 2022-12-23 12:20:54 +01:00
default
0bba515cf0 timeline_request() fixes the canonical id for the object. 2022-12-23 10:01:10 +01:00
default
a24b27bf29 Don't generate inReplyTo as an empty string. 2022-12-23 08:05:00 +01:00
default
8461fbfbcc Log the actor request. 2022-12-16 08:35:52 +01:00
default
e6c48cc96a In msg_note(), delete all cc recipients also in the to. 2022-12-16 07:51:10 +01:00
default
25acaf178c Replaced all calls to post() with enqueue_message(). 2022-12-16 07:16:00 +01:00
default
427f7341fa New function enqueue_message(). 2022-12-16 07:09:25 +01:00
default
286eb291c7 Lower debug level to repeated follows. 2022-12-15 16:43:01 +01:00
default
df612873d6 Log repeated Follow messages. 2022-12-15 16:37:34 +01:00
default
6a7007e381 Added support for Update + Note on input. 2022-12-15 11:06:31 +01:00
default
645e7ec43e Some code reordering to placate scan-build's wrath. 2022-12-14 04:55:47 +01:00
default
79270abd09 Log the response date in send_to_inbox() errors. 2022-12-11 09:08:12 +01:00
default
6fd5d14428 In process_queue(), do not retry for 404 or 410 status. 2022-12-10 10:36:31 +01:00
default
cef10f5678 Added level of debug for 'Delete' messages. 2022-12-08 08:19:24 +01:00
Alex Schroeder
a221237637 Pagination of the public and private page
Use the query parameters skip and show to control what you can see,
e.g. /alex/admin?skip=0&show=4

Don't use or save the timeline cache if either is set.

The following functions were changed from accepting a single max
parameter to accepting both skip and show:
timeline_simple_list, timeline_list, index_list_desc.
2022-12-06 18:27:33 +01:00
Alex Schroeder
20f862a651 Use "new" instead of "New" for log messages
The messages for new "Like" and new "Delete" started with an uppercase
n instead of a lowercase n like all the other log messages.
2022-12-04 10:35:01 +01:00
default
af6d31ff83 New function timeline_simple_list(). 2022-12-03 07:27:26 +01:00
default
a133427e8d More old code cleaning. 2022-12-02 20:56:51 +01:00
default
3e2891b100 Renamed timeline_here() to object_here(). 2022-12-02 20:44:51 +01:00
default
c06136a8ac Fixed one post queries. 2022-12-02 19:39:17 +01:00
default
33c8a73c17 Fixed RSS and outbox to use the new data storage. 2022-12-02 19:30:59 +01:00
default
c00e3afcdc Big data storage change. 2022-12-02 19:14:59 +01:00
default
e98dbe4eb5 Added the profile="" argument to Person content-type. 2022-12-01 19:38:11 +01:00
default
8b4dbfd708 Deleted dump of debugging code. 2022-11-28 17:54:32 +01:00
default
f209c3205d Use xs_set in recipient_list() and inbox_list(). 2022-11-28 15:49:56 +01:00
default
07fec71273 Upgraded followers to the new db. 2022-11-28 10:46:42 +01:00
default
832bbfd5eb Dump bad signature headers to /tmp/ (temporary). 2022-11-27 09:18:35 +01:00
default
a9d3e0ca79 I was using fclose() instead of pclose(). What a moron. 2022-11-27 09:09:55 +01:00
default
1243e26a0d New function object_add_ow(). 2022-11-26 05:18:48 +01:00
default
afeec970a3 Also call object_del() on a renewed actor in actor_request(). 2022-11-25 12:50:19 +01:00
default
e2c332c68a On Update + Person, call object_del() before actor_add(). 2022-11-25 12:09:30 +01:00
default
9145cca97a In msg_note(), also add the in_reply_to author as a tag.Mention. 2022-11-22 20:31:22 +01:00
default
f4bebf0323 Logging tweaks. 2022-11-18 18:08:09 +01:00
default
e6bf647b98 Always log process_queue sending. 2022-11-18 08:04:20 +01:00
default
f0e17d6753 Queue messages to inboxes instead of actors. 2022-11-17 18:33:54 +01:00
default
a12da31bdf Move send to actor logging to process_queue(). 2022-11-17 10:16:54 +01:00
default
35ad83e9ec Also log the inbox in send_to_actor(). 2022-11-17 09:16:25 +01:00