Commit graph

357 commits

Author SHA1 Message Date
default
4676f8ce13 The HTML user page does not show an error, only the empty header. 2023-10-08 19:27:07 +02:00
default
8524ace23f Hide posts from the public web for accounts with 'private' == true. 2023-10-08 00:06:37 +02:00
default
b1868d85bb New function encode_html_strict(). 2023-10-04 18:19:38 +02:00
default
5278e89142 Added more calls to xs_match(). 2023-09-21 21:35:34 +02:00
default
749dbef349 Used xs_match() in some places. 2023-09-21 21:25:45 +02:00
default
f8c62fe210 Pinned posts are never purged. 2023-09-18 22:52:27 +02:00
default
f556cb5c7d Show metadata in the public HTML page. 2023-09-18 11:49:27 +02:00
default
5a3c7cf985 Added web UI to store profile metadata (as key/value pairs). 2023-09-18 11:13:30 +02:00
default
d32141eb22 Process Follow Group and Unfollow Group buttons. 2023-09-06 13:58:55 +02:00
default
7eef1b4b5e Added new buttons to Follow/Unfollow Groups. 2023-09-06 13:50:02 +02:00
default
442ba99ada Minor tweak to avoid possible undefined behaviour. 2023-08-29 19:38:53 +02:00
default
29896e2ac6 Renamed label 'Older entries...' back to 'More...'. 2023-08-28 07:59:33 +02:00
default
5518bb509b In HTML images, move the loading=lazy BEFORE the src attribute.
This may (or may not, not completely sure) avoid this Firefox bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=1647077
2023-08-24 06:52:42 +02:00
default
2f8e4645b1 Only show the 'audience' field in the 'Page' post. 2023-08-23 09:47:05 +02:00
default
505084bab7 Added some support for 'Article' object types. 2023-08-23 09:44:46 +02:00
default
b9f4bea0c9 Only use a Link as an attachment if there are no other. 2023-08-19 22:05:12 +02:00
default
31fff8bf19 Show current vote count on mouseover. 2023-08-19 17:16:30 +02:00
default
dae2e406d6 history_add() now creates an etag. 2023-08-19 09:59:58 +02:00
default
5c7b26bcdc static_get() and history_get() both share the same code. 2023-08-19 09:52:04 +02:00
default
5de1a9ce0c Rewritten history_get() prototype to match static_get(). 2023-08-19 09:31:13 +02:00
default
6ede6497ad Convert 'Link' attachments that have a media extension to something more useful. 2023-08-17 17:38:39 +02:00
default
8b28a6894f Header banners can now be uploaded. 2023-08-14 18:33:44 +02:00
default
8c87b6894e Fixed some warning. 2023-08-14 18:04:27 +02:00
default
3f7e3c1d81 Unify the instance description text. 2023-08-14 18:02:20 +02:00
default
16c14060a8 Discard avatar uploads that are not images. 2023-08-14 15:12:09 +02:00
default
2696f62dc5 If the user has a header image, show it the public page. 2023-08-14 15:00:46 +02:00
default
ab41e651d0 Don't show children in the instance timeline. 2023-08-14 11:48:05 +02:00
default
86571f37bb The instance URL can now show a timeline. 2023-08-14 11:24:41 +02:00
default
64111f85bd Some work towards an instance timeline. 2023-08-14 10:08:19 +02:00
default
d291bb16ca Allow a NULL snac struct in html_entry(). 2023-08-12 14:03:44 +02:00
default
cac1c6febd Rewritten actor_get() to not depend on a user. 2023-08-12 11:23:01 +02:00
default
499697258d Rewritten is_msg_public() to not depend on a user. 2023-08-12 09:43:01 +02:00
default
d305f899eb Set the default poll end time to 1 hour. 2023-08-11 12:38:10 +02:00
default
4c6f1a79e4 Added web UI for limit/unlimit actions. 2023-08-10 19:18:24 +02:00
default
18976dc6b8 Revert "Implemented hide_followers_only."
Posts from groups give false positives from hide_followers_only,
so the full idea is discarded.

This reverts commit b3797d2416.
2023-08-09 14:43:27 +02:00
default
cdb201cc04 Revert "Added web interface for hide_followers_only."
This reverts commit 84e8cb419b.
2023-08-09 14:42:38 +02:00
default
84e8cb419b Added web interface for hide_followers_only. 2023-08-09 14:34:22 +02:00
default
b3797d2416 Implemented hide_followers_only. 2023-08-09 14:29:09 +02:00
default
3e5bb109d1 Renamed json dump functions to new xs spec. 2023-08-08 19:29:34 +02:00
default
6f2e407692 Added hints to web UI buttons. 2023-08-07 06:06:04 +02:00
default
f5a3dbf8d6 Use xs_json_dump_pp() wherever possible. 2023-08-03 09:02:08 +02:00
default
a3226b5b7a Don't redir to 'snac-posts', now that the top page is smaller. 2023-08-02 08:47:57 +02:00
default
0f8c0cd694 Updated comment in headers. 2023-07-28 11:34:18 +02:00
Yonle
b2a274df76 html.c: Fix non-list tag object for external custom emoji
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-26 06:10:08 +00:00
default
ede2a38b2b If an image has no description, try the post 'name' field. 2023-07-25 12:36:04 +02:00
default
085c5a545a Simplified attachment iteration in HTML rendering. 2023-07-25 12:31:42 +02:00
default
e6baeadf5f Allow the 'attachment' field of a post to be single object instead of a list.
It seems that Gotosocial does this.
2023-07-25 12:01:42 +02:00
default
2ee74c9a6a Added a 'Back to top' link at the end of the page. 2023-07-24 20:51:24 +02:00
Yonle
3c1dc419ea html.c: Put "User Settings" outside of "Operations".
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-24 23:13:13 +07:00
Yonle
25bb8f0dd2 Rollback to 86f507410b for some reasons.
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-24 22:56:18 +07:00