Commit graph

2281 commits

Author SHA1 Message Date
default
607335aa74 Try to avoid host header misconfigurations in check_signature(). 2024-01-03 09:22:07 +01:00
default
6bd8aed25d Made check_signature() a bit clearer. 2024-01-03 08:56:17 +01:00
default
556c72fec3 Updated RELEASE_NOTES. 2024-01-02 17:52:23 +01:00
default
12123fe176 Updated documentation. 2023-12-29 17:33:48 +01:00
default
b31abde6bd Minor tweaks to /.well-known/nodeinfo returned data. 2023-12-29 10:58:21 +01:00
default
3414ab48c6 In 'Follow', ensure the actor object to be followed is here.
Due to the routing change made for the shared inboxes, local users
are not in the data storage, so this fixes it.
2023-12-28 09:26:08 +01:00
default
ecdb5aced8 In xs_fcgi_response(), don't add the b_size to the total size if body is NULL. 2023-12-27 23:14:43 +01:00
default
7c2e2902cc The actor link is now an anchored link to the people page for connected users. 2023-12-27 13:18:35 +01:00
default
bf435af788 Backport from xs. 2023-12-27 12:54:38 +01:00
default
94a6274a46 Also log the job_fifo len in status.txt. 2023-12-26 18:28:43 +01:00
default
ae8f5560e4 Really do what is described in previous commit. 2023-12-26 18:14:13 +01:00
default
4fe99ed722 Don't create a link to the people page from the public one. 2023-12-26 18:05:49 +01:00
default
92c27a3038 The "boosted" link in html_entry() points to the user in the people page.
This way, it's easier to do something on someone whom we follow,
like MUTE them, limit, etc.
2023-12-26 14:04:13 +01:00
default
e8b94c1773 New page status.txt.
It just return an empty page as a query, but some status logging is done.
2023-12-26 10:41:55 +01:00
default
d9ca841cc9 Don't wrap the content in <p></p>; just add a final <p>. 2023-12-21 07:49:39 +01:00
default
adcfc212c0 Check some fwrite() return values in xs_fcgi_response(). 2023-12-20 09:15:25 +01:00
default
808849ba14 Don't collect our own shared inbox. 2023-12-19 12:08:06 +01:00
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