Commit graph

2375 commits

Author SHA1 Message Date
default
2caeb550b9 Added support for the 'Page' ActivityPub object.
So that you can follow and interact with lemmy channels.
2023-07-13 21:01:15 +02:00
default
a05aa969d0 Added a maximum level of recursion to timeline_request(). 2023-07-13 20:19:50 +02:00
default
0bdd1f0420 Always log send status in post_message(). 2023-07-13 18:21:30 +02:00
default
545af948db New function post_message(), to send a message bypassing the output queue.
This is used when accepting Follow requests; this way, follows are
confirmed as fast as possible.

If the message cannot be immediately sent, it's queued as always.
2023-07-13 18:18:23 +02:00
default
137f775605 Minor prototype tweak. 2023-07-13 17:58:18 +02:00
default
5ddde84eaa Version 2.37 RELEASED. 2023-07-13 16:51:04 +02:00
default
76e1608069 Fixed memory leaks. 2023-07-13 10:49:49 +02:00
grunfink
ff8e400e67 Merge pull request 'XSS: Also encode in admin page, and other....' (#65) from yonle/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/65
2023-07-13 08:42:30 +00:00
Yonle
b428386582 utils.c: Prompt does not need \n 2023-07-12 11:29:01 +07:00
Yonle
5291bb8446 xs_mime.h: .opus mime is audio/ogg 2023-07-12 10:44:08 +07:00
Yonle
2d584d219a html.c: Also encode html characters in admin page 2023-07-12 09:19:04 +07:00
Yonle
47adfa169a activitypub.c: Remove unused variable. 2023-07-12 09:18:57 +07:00
default
a0e813db0a Fixed HTML re-encoding in the user bio. 2023-07-11 20:34:02 +02:00
default
158b360181 When sanitize() is called, encode_html() is no longer needed. 2023-07-11 20:28:24 +02:00
default
28a91ab732 Added new CSS classes snac-embedded-video and snac-embedded-audio. 2023-07-11 20:16:44 +02:00
default
a18c719298 Fixed crash. 2023-07-11 19:58:55 +02:00
default
45d45f6503 Updated RELEASE_NOTES. 2023-07-11 19:48:21 +02:00
default
1c5a689457 Fixed some memory leaks. 2023-07-11 19:45:58 +02:00
grunfink
a5272a21e6 Merge pull request 'Attempt to prevent XSS.' (#64) from yonle/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/64
2023-07-11 17:11:21 +00:00
Yonle
63741cb66a html.c: Escape XML characters & View unknown type attachment link
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-11 23:08:01 +07:00
grunfink
eb7bee953b Merge pull request 'xs_mime.h: Add various mimetypes for audios & videos' (#63) from yonle/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/63
2023-07-11 11:54:44 +00:00
Yonle
c6e3bca051 xs_mime.h: Add various mimetypes for audios & videos 2023-07-11 18:31:36 +07:00
default
068c8233a1 Updated RELEASE_NOTES. 2023-07-11 06:56:01 +02:00
default
3642cd25e4 Simplified inbox_list(). 2023-07-10 18:04:59 +02:00
default
1a94d7c05b Revert "New server config array "webfinger_domains"."
This reverts commit f2e0b77478.
2023-07-10 07:19:51 +02:00
default
92b3b71532 [examples/snac-global.service] New file. 2023-07-10 06:05:43 +02:00
default
d2aa5727ba Fixed failed mkdir() in restricted environments. 2023-07-09 20:23:38 +02:00
default
c562a4531c Bumper version. 2023-07-08 09:58:01 +02:00
default
f2e0b77478 New server config array "webfinger_domains". 2023-07-08 09:57:40 +02:00
default
321d9fb069 Version 2.36 RELEASED. 2023-07-07 08:30:24 +02:00
default
cc91dd42fb Updated TODO. 2023-07-06 10:14:25 +02:00
default
332c708fd3 Updated RELEASE_NOTES. 2023-07-06 08:52:41 +02:00
default
0dd570dcad Pinned posts also appear in the public timeline. 2023-07-06 08:48:06 +02:00
default
e2789cece5 index_list() and index_list_desc() always return a list, even if empty. 2023-07-05 14:41:47 +02:00
default
08e474561e Tweaked static_get() logging. 2023-07-05 14:07:52 +02:00
default
eef3c419dd Posts can be pinned/unpinned from the web interface. 2023-07-05 14:06:21 +02:00
default
57ba1d575f Pinned posts appear at the top of the public timeline. 2023-07-05 13:51:20 +02:00
default
fe9fc2d4b6 Updated documentation. 2023-07-05 13:30:01 +02:00
default
8faa06652d Merge branch 'master' of triptico.com:git/snac2 2023-07-05 09:51:45 +02:00
default
c47df7634e Backport from xs. 2023-07-05 09:51:41 +02:00
default
38ee86f81e Also call process_tags() when in the public timeline's bio. 2023-07-04 17:15:38 +02:00
default
7e5b02be3f Fixed weird prototype of process_tags(). 2023-07-04 16:57:17 +02:00
default
6fce560f01 The actor bio now accepts tags. 2023-07-04 16:54:41 +02:00
default
9c7cc7b710 index_list() and index_list_desc() don't return deleted entries. 2023-07-04 16:33:54 +02:00
default
9bf872d603 Updated RELEASE_NOTES. 2023-07-04 15:03:36 +02:00
default
b1f1f353fa Updated TODO. 2023-07-04 15:02:44 +02:00
default
8a392233d2 The content warning check and description is propagated from the replied message. 2023-07-04 15:02:04 +02:00
default
339fe5edc5 Also fill the sensitive content fields in the edit dialog. 2023-07-04 14:55:24 +02:00
default
b55dbf13e4 The sensitive content can have a description. 2023-07-04 14:50:09 +02:00
default
f29986f854 Updated TODO. 2023-07-04 14:40:31 +02:00