summaryrefslogtreecommitdiff
path: root/html.c
AgeCommit message (Collapse)Author
2023-08-17Convert 'Link' attachments that have a media extension to something more useful.default
2023-08-14Header banners can now be uploaded.default
2023-08-14Fixed some warning.default
2023-08-14Unify the instance description text.default
2023-08-14Discard avatar uploads that are not images.default
2023-08-14If the user has a header image, show it the public page.default
2023-08-14Don't show children in the instance timeline.default
2023-08-14The instance URL can now show a timeline.default
2023-08-14Some work towards an instance timeline.default
2023-08-12Allow a NULL snac struct in html_entry().default
2023-08-12Rewritten actor_get() to not depend on a user.default
2023-08-12Rewritten is_msg_public() to not depend on a user.default
2023-08-11Set the default poll end time to 1 hour.default
2023-08-10Added web UI for limit/unlimit actions.default
2023-08-09Revert "Implemented hide_followers_only."default
Posts from groups give false positives from hide_followers_only, so the full idea is discarded. This reverts commit b3797d24162bd2c8637d267ae0a08f3cd6e45dff.
2023-08-09Revert "Added web interface for hide_followers_only."default
This reverts commit 84e8cb419ba95a53ae4d2a1c9f4bb60d55dfc5f5.
2023-08-09Added web interface for hide_followers_only.default
2023-08-09Implemented hide_followers_only.default
2023-08-08Renamed json dump functions to new xs spec.default
2023-08-07Added hints to web UI buttons.default
2023-08-03Use xs_json_dump_pp() wherever possible.default
2023-08-02Don't redir to 'snac-posts', now that the top page is smaller.default
2023-07-28Updated comment in headers.default
2023-07-26html.c: Fix non-list tag object for external custom emojiYonle
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-25If an image has no description, try the post 'name' field.default
2023-07-25Simplified attachment iteration in HTML rendering.default
2023-07-25Allow the 'attachment' field of a post to be single object instead of a list.default
It seems that Gotosocial does this.
2023-07-24Added a 'Back to top' link at the end of the page.default
2023-07-24html.c: Put "User Settings" outside of "Operations".Yonle
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-24Rollback to 86f507410bc5a1e6ce8bcd34f94400a380143d64 for some reasons.Yonle
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-24html.c: Rollback to e9adaa1f7a, Put "User Settings..." outside of ↵Yonle
"Operations..."'s <details> element Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-24html.c: No need to redirect to #snac-posts again.Yonle
Form has been minimized with <details> since commit c409d2e, So there is no need to redirect user to user/admin#snac-posts again. Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-24html.c & httpd.c: Fix hardlink.Yonle
Some people may still want to post in the web client with such different way, Such as posting from Yggdrasil / SSH port forwarder, and so on. This commit gives the workaround for that purpose, However things will go messed up when current path were ends with / (Like: user/, admin/). But overall, If user just uses it like normal, Then things will just worked well as expected. Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-24Moved user settings to its own page.default
2023-07-19If a message has an audience, its URL is shown after the content.default
Messages coming from channels, communities (Lemmy) or magazines (kbin.social), have this field set with the "parent" url.
2023-07-19Merge branch 'master' of grunfink-codeberg:grunfink/snac2default
2023-07-18html.c: RSS: fix.Yonle
Feed title, and description is not properly rendered. So here goes a fix that instead of using encode_html TWICE, We use sanitize() for feed description instead. Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-18html.c: custom emoji <img>: Resize height to 2em, and put veritcal-align to ↵Yonle
middle. Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-18Avoid too deep nesting of html_entry().default
2023-07-17html.c / UX: Give admin page more spaceYonle
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-15html.c: *prev_src at edit: Just use encode_html.Yonle
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-15html.c: Probably put placeholder on certain input and textboxesYonle
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-14Fixed crash on empty static and history objects.default
2023-07-14html.c: Don't let public get into timeline.html_Yonle
Signed-off-by: Yonle <yonle@lecturify.net>
2023-07-13If a Page has an image, show it as an attachment.default
2023-07-13Fixed Link HTML.default
2023-07-13Added support for lemmy-style "Link" attachments.default
2023-07-13Added support for the 'Page' ActivityPub object.default
So that you can follow and interact with lemmy channels.
2023-07-13Fixed memory leaks.default
2023-07-12html.c: Also encode html characters in admin pageYonle