Commit graph

2452 commits

Author SHA1 Message Date
grunfink
8126fb97ce Merge pull request 'html.c: html_user_body: snac-property: Put &nbsp; (empty space) instead of <br> & other' (#142) from Yonle/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/142
2024-02-24 06:39:59 +00:00
Yonle
d42aaa19e4 default css: also darken <input> and <textarea>
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-24 00:48:21 +07:00
Yonle
5a2ab086ae html.c: html_user_body: snac-property: Put &nbsp; (empty space) instead of <br>
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-23 21:38:41 +07:00
grunfink
145e662339 Merge pull request 'utils.c: *default_srv_config: add configuration for min_account_age' (#139) from Yonle/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/139
2024-02-22 19:10:24 +00:00
Yonle
e8caedc74f utils.c: *default_srv_config: add configuration for min_account_age
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-22 21:25:16 +07:00
default
4816bd54b0 Merge branch 'master' of grunfink-codeberg:grunfink/snac2 2024-02-22 14:16:26 +01:00
grunfink
695ffa1406 Merge pull request 'utils.c: *default_srv_config: change max_timeline_entries default to 50' (#138) from Yonle/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/138
2024-02-22 13:16:06 +00:00
default
1af00abfba Also reject posts from accounts that are too old to be true. 2024-02-22 14:11:05 +01:00
default
4a97294f12 Updated RELEASE_NOTES. 2024-02-22 14:01:08 +01:00
Yonle
9161ce30eb utils.c: *default_srv_config: change max_timeline_entries default to 50
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-22 20:00:07 +07:00
default
2b2bb4be0f Updated documentation. 2024-02-22 13:56:41 +01:00
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