Commit graph

2292 commits

Author SHA1 Message Date
default
8800ed3892 More tweaks regarding shared inboxes. 2024-01-05 17:37:36 +01:00
default
5e2f4e9902 dequeue() unlinks the file, even if it's been unable to parse it. 2024-01-04 16:27:07 +01:00
default
2218889b43 In the people page, followers and following lists are foldable. 2024-01-04 10:35:27 +01:00
default
755d997fb1 Updated copyright year. 2024-01-04 09:22:03 +01:00
default
26d277a8c5 Updated RELEASE_NOTES. 2024-01-03 16:16:45 +01:00
grunfink
f299731bb7 Merge pull request 'Added FreeBSD documentation and rc script' (#96) from draga79/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/96
2024-01-03 15:15:00 +00:00
draga79
746db4047d Update doc/snac.8
Added FreeBSD
2024-01-03 13:55:53 +00:00
draga79
edd1e0abe4 Updated README.md for FreeBSD instructions 2024-01-03 13:54:23 +00:00
draga79
f94cfcc5d2 Addes FreeBSD rc script example 2024-01-03 13:51:36 +00:00
default
6fe31dd725 Added example configuration for the Apache2 server. 2024-01-03 12:48:57 +01:00
default
e003f87c2d Moved most server state to a structure. 2024-01-03 11:01:25 +01:00
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