Commit Graph

2114 Commits

Author SHA1 Message Date
default
dd51da30d8 Correctly insert polls and attachments inside CW. 2023-12-19 11:42:06 +01:00
default
90bab08655 More shared inbox tweaks. 2023-12-18 13:40:39 +01:00
default
be3e5c9618 Added some crash checks. 2023-12-18 13:24:07 +01:00
default
52f27123bb Fixed follow / unfollow mess for shared inboxes. 2023-12-18 11:37:02 +01:00
default
45c5c71f9e Fixed Accept + Follow for shared inboxes. 2023-12-18 11:15:53 +01:00
default
de6d61f66f Also strip cgi variables (things after ?) in key request for checking. 2023-12-18 10:07:42 +01:00
default
195c21ab2e Avoid crashing on missing 'method' or 'path' headers in httpd_connection(). 2023-12-18 09:35:22 +01:00
default
af912dba0b actor_request() accepts again an optional snac argument. 2023-12-17 19:53:54 +01:00
default
adf4213756 Deleted debug messages. 2023-12-17 18:40:26 +01:00
default
cbcd573fb5 Also check for the .../followers rcpt for non-public messages. 2023-12-17 17:35:59 +01:00
default
04745f5f7d Blah blah blah is_msg_for_me() blah blah blah 2023-12-17 17:07:26 +01:00
default
9b18d7b377 Even more is_msg_for_me() tweaks. 2023-12-17 16:39:25 +01:00
default
29b6b5c717 Even more is_msg_for_me() updates. 2023-12-17 16:25:04 +01:00
default
935c09125d More is_msg_for_me() tweaks. 2023-12-17 15:58:13 +01:00
default
fd637549f3 Added a prefix to srv_archive_qitem(). 2023-12-17 15:27:39 +01:00
default
f8196b4ef6 New function srv_archive_qitem(). 2023-12-17 15:21:16 +01:00
default
ad718e5b80 Fixed shared inbox distribution logic for Delete messages. 2023-12-17 14:56:09 +01:00
default
f93b5ad091 Fixed a misleding log text. 2023-12-16 23:24:32 +01:00
default
7ebe4a13a1 CSS code must be emitted as preformatted and not escaped. 2023-12-16 16:38:31 +01:00
default
5736f38968 Added more code to discard Delete messages earlier. 2023-12-16 15:15:00 +01:00
default
f703a34e3f New cmdline command 'update', to post an update for a user.
Only useful for testing, so it's left undocumented.
2023-12-16 09:54:22 +01:00
default
f32c7dd813 More tweaks to is_msg_for_me(). 2023-12-15 22:25:14 +01:00
default
3e3dee8a2f Avoid propagating Undo messages innecesarily. 2023-12-15 21:43:34 +01:00
default
0dd4739cc6 Added some spacing to the Operations... form. 2023-12-15 20:28:51 +01:00
default
e9f391ed86 Added a special check for Undo + Follow. 2023-12-15 11:08:10 +01:00
grunfink
91b656f111 Merge pull request 'html.c: media: disable preloading' (#87) from Yonle/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/87
2023-12-15 10:07:13 +00:00
Yonle
b1b1627fb4 html.c: media: disable preloading
Signed-off-by: Yonle <yonle@lecturify.net>
2023-12-15 16:50:45 +07:00
default
3779587861 Updated RELEASE_NOTES. 2023-12-15 10:27:27 +01:00
default
9e07559fc3 Updated RELEASE_NOTES. 2023-12-15 09:37:36 +01:00
default
e2733cac69 Merge branch 'master' of triptico.com:git/snac2 2023-12-15 09:34:33 +01:00
default
9e07114d02 Merge branch 'master' of grunfink-codeberg:grunfink/snac2 2023-12-15 09:34:13 +01:00
grunfink
35f68ae7dd Merge pull request 'format.c: add <bdi>' (#86) from Yonle/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/86
2023-12-15 08:33:53 +00:00
Yonle
a5c740f564 format.c: add <bdi>
Signed-off-by: Yonle <yonle@lecturify.net>
2023-12-15 12:01:20 +07:00
default
878943a584 More debug tweaks. 2023-12-14 21:40:50 +01:00
default
a0c6b93d2e More log tweaks. 2023-12-14 19:58:44 +01:00
default
888a79e58a Call process_input_message() from the shared-inbox input.
This way, some garbage like unrequested Deletes from Mastodon
and other transient errors (like unaccessible authors) can be
short-circuited before propagating the message to the users.
2023-12-11 17:59:48 +01:00
default
b1ecaba803 Added a special drop for Delete messages from unknown actors. 2023-12-11 16:59:33 +01:00
default
e78f0bf1b1 Fixed error message. 2023-12-11 16:00:16 +01:00
default
25b0829470 Do not retry Delete messages on actor error. 2023-12-11 15:04:30 +01:00
default
bfdaf380ea More logging tweaks. 2023-12-11 10:41:41 +01:00
default
c06b74cc8e Revert "Reverted actor_request() without user."
This reverts commit 8d0a69cd75.
2023-12-11 10:12:57 +01:00
default
8d0a69cd75 Reverted actor_request() without user.
Some sites require even Person requests to be signed.
2023-12-11 08:00:49 +01:00
default
c693c7c62c Some logging tweaks. 2023-12-11 07:37:53 +01:00
default
88294c5198 Log actor_request() errors. 2023-12-11 07:19:42 +01:00
default
09b926c168 More functions do not require the user argument. 2023-12-10 17:50:03 +01:00
default
0e6c5f9463 actor_request() does not need a user argument. 2023-12-10 17:46:54 +01:00
default
8823325bd9 The 'actor' command from the command-line allows non-signed queries. 2023-12-10 10:36:14 +01:00
default
90179f8459 activitypub_request() may have a NULL user.
In the NULL user case, only non-signed requests will be done,
but it's probably enough for actor requests in most cases.
2023-12-10 10:27:45 +01:00
default
1c19404258 Minor reordering code to process_input_message(). 2023-12-10 10:17:50 +01:00
default
95ccff541c process_input_message() returns -1 on errors. 2023-12-10 10:00:17 +01:00