Commit graph

2541 commits

Author SHA1 Message Date
default
f523e8c178 Added a new min_account_age parameter to server.json.
By setting this value to a number of seconds, any activity from accounts
created newer than that, will be rejected.
2024-02-22 13:52:45 +01:00
default
1061414775 Also apply 1em patch to utils.c. 2024-02-22 13:27:03 +01:00
grunfink
14eac63ab5 Merge pull request 'front: style.css: reduce children post left padding' (#129) from Yonle/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/129
2024-02-22 12:26:01 +00:00
default
2b831f8f9c Updated TODO. 2024-02-22 12:42:15 +01:00
default
d4364e80f7 Added *another argument* to html_timeline() to select where posts are taken from.
This way, the /instance logged-in timeline can show posts that are not
really into a user's timeline.
2024-02-22 12:26:32 +01:00
default
69d33622d3 Reverted ae6aafeb88.
This breaks the experimental /instance timeline for now.
2024-02-21 22:38:08 +01:00
default
385239366e Updated RELEASE_NOTES. 2024-02-21 09:56:56 +01:00
default
e9553379e9 Log (and not notify) repeated likes and announces. 2024-02-21 09:22:32 +01:00
default
ae6aafeb88 In html_timeline(), always pick the msg from the global object storage.
This allows the logged instance timeline to work.

Does this have more implications? Not sure.
2024-02-21 08:38:46 +01:00
default
49b226a8e9 Started an instance page. 2024-02-21 08:27:11 +01:00
default
bc3c7dde33 More local -> read_only argument renamings. 2024-02-21 08:12:10 +01:00
default
b40e71c11c Added a page argument to html_timeline(). 2024-02-21 08:09:57 +01:00
default
2b814287fd Renamed 'local' argument to 'read_only', as it was a bit confusing. 2024-02-21 08:00:03 +01:00
default
4fa0264900 Updated RELEASE_NOTES. 2024-02-21 07:55:14 +01:00
Yonle
26c2f46df9 front: style.css: reduce children post left padding
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-20 20:42:30 +07:00
default
e6ef328e5a Call verify_links() instead of enqueue_verify_links() from purge_user(). 2024-02-20 06:38:58 +01:00
default
4806c4ef7e Increased logging level for enqueue_verify_links(). 2024-02-20 06:18:41 +01:00
default
65ae0f87f6 Enqueue a link verification from the user purge. 2024-02-20 06:13:34 +01:00
default
a3b9ef5b98 The link verification time is stored as a time_t.
This way, it will be easier in an eventual future to test if
a link verification is too old to be trusted.
2024-02-20 06:10:42 +01:00
default
d583a35d9e Enqueue a verify_links q_item in admin/user-setup. 2024-02-20 05:46:44 +01:00
default
34349112f6 New verify_links q_item. 2024-02-20 05:31:34 +01:00
default
ada3e978c5 Updated RELEASE_NOTES. 2024-02-20 05:20:59 +01:00
default
75e1f939d0 Backport from xs. 2024-02-20 05:18:03 +01:00
default
d1ad6640ea Updated documentation. 2024-02-19 18:25:37 +01:00
grunfink
06660fb774 Merge pull request 'webfinger: add profile-page relation to links' (#126) from khm/snac2:profile-page into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/126
2024-02-16 20:12:23 +00:00
khm
cae37df80f webfinger: fix whitespace 2024-02-16 11:58:10 -08:00
khm
5bebe5f257 webfinger: fix stupid typo 2024-02-16 11:54:21 -08:00
khm
62dfe46bfb webfinger: add webfinger profile page to links 2024-02-16 11:53:23 -08:00
default
5d4e0b0914 Fixed bug in get_attachments(). 2024-02-16 18:20:48 +01:00
default
c172e918b1 Added verify_links to usage(). 2024-02-16 13:18:21 +01:00
default
e6de555f7d Added a 'verified link' title to them. 2024-02-16 06:23:07 +01:00
default
0ede5e8b80 Fixed crash in verify_links(). 2024-02-16 06:06:12 +01:00
default
2da394aef4 Added 'accept' and 'user-agent' headers to verify_links(). 2024-02-16 05:47:18 +01:00
default
79f79c0c6a Updated RELEASE_NOTES. 2024-02-16 05:31:05 +01:00
default
39d3f5b2c3 Bumped version. 2024-02-16 05:28:32 +01:00
default
572c52f9fe More verify link logging. 2024-02-16 05:26:31 +01:00
default
fcf9f9e331 Updated depedencies. 2024-02-15 19:25:14 +01:00
default
c3b50574ac New function verify_links(). 2024-02-15 19:24:10 +01:00
default
b75e44afb3 Backport from xs. 2024-02-15 17:44:28 +01:00
default
263e239653 Moved verified links to its own json file. 2024-02-15 17:34:46 +01:00
default
2afcb4b6ec mastoapi: fill the verified_at fields in mastoapi_account() for local users. 2024-02-15 10:46:16 +01:00
default
b4208bfec9 Renamed validated_metadata to validated_links. 2024-02-15 10:33:33 +01:00
default
f5d6223bbf Always return rel=me in msg_actor() links. 2024-02-15 00:17:33 +01:00
default
09d680e7dc Also add the rel=me to metadata links in msg_actor(). 2024-02-14 23:49:45 +01:00
default
ec35ad451f mastoapi: added verified_at dates for verified links. 2024-02-14 23:03:32 +01:00
default
d106f86a67 Show validation checks and rel=me in links in the public page. 2024-02-14 22:56:56 +01:00
default
f066ac6bda Updated TODO. 2024-02-14 19:50:35 +01:00
default
43e3a0fdda Added some experimental code to hide follower-only failed replies. 2024-02-14 19:24:26 +01:00
default
72c2f25c85 Updated TODO. 2024-02-14 10:33:31 +01:00
default
ae90ea684a Updated TODO. 2024-02-14 09:56:50 +01:00