summaryrefslogtreecommitdiff
path: root/html.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use xs_json_dump_pp() wherever possible.Gravatar default2023-08-031-6/+2
|
* Don't redir to 'snac-posts', now that the top page is smaller.Gravatar default2023-08-021-1/+1
|
* Updated comment in headers.Gravatar default2023-07-281-1/+1
|
* html.c: Fix non-list tag object for external custom emojiGravatar Yonle2023-07-261-2/+26
| | | | Signed-off-by: Yonle <yonle@lecturify.net>
* If an image has no description, try the post 'name' field.Gravatar default2023-07-251-0/+2
|
* Simplified attachment iteration in HTML rendering.Gravatar default2023-07-251-62/+29
|
* Allow the 'attachment' field of a post to be single object instead of a list.Gravatar default2023-07-251-24/+21
| | | | It seems that Gotosocial does this.
* Added a 'Back to top' link at the end of the page.Gravatar default2023-07-241-1/+5
|
* html.c: Put "User Settings" outside of "Operations".Gravatar Yonle2023-07-241-3/+3
| | | | Signed-off-by: Yonle <yonle@lecturify.net>
* Rollback to 86f507410bc5a1e6ce8bcd34f94400a380143d64 for some reasons.Gravatar Yonle2023-07-241-34/+40
| | | | Signed-off-by: Yonle <yonle@lecturify.net>
* html.c: Rollback to e9adaa1f7a, Put "User Settings..." outside of ↵Gravatar Yonle2023-07-241-33/+11
| | | | | | "Operations..."'s <details> element Signed-off-by: Yonle <yonle@lecturify.net>
* html.c: No need to redirect to #snac-posts again.Gravatar Yonle2023-07-241-3/+3
| | | | | | | 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>
* html.c & httpd.c: Fix hardlink.Gravatar Yonle2023-07-241-37/+31
| | | | | | | | | | | | | 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>
* Moved user settings to its own page.Gravatar default2023-07-241-11/+33
|
* If a message has an audience, its URL is shown after the content.Gravatar default2023-07-191-0/+9
| | | | | Messages coming from channels, communities (Lemmy) or magazines (kbin.social), have this field set with the "parent" url.
* Merge branch 'master' of grunfink-codeberg:grunfink/snac2Gravatar default2023-07-191-11/+16
|\
| * html.c: RSS: fix.Gravatar Yonle2023-07-181-7/+9
| | | | | | | | | | | | | | | | | | 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>
| * html.c: custom emoji <img>: Resize height to 2em, and put veritcal-align to ↵Gravatar Yonle2023-07-181-2/+2
| | | | | | | | | | | | middle. Signed-off-by: Yonle <yonle@lecturify.net>
| * html.c / UX: Give admin page more spaceGravatar Yonle2023-07-171-2/+5
| | | | | | | | Signed-off-by: Yonle <yonle@lecturify.net>
* | Avoid too deep nesting of html_entry().Gravatar default2023-07-181-0/+4
|/
* html.c: *prev_src at edit: Just use encode_html.Gravatar Yonle2023-07-151-1/+1
| | | | Signed-off-by: Yonle <yonle@lecturify.net>
* html.c: Probably put placeholder on certain input and textboxesGravatar Yonle2023-07-151-12/+12
| | | | Signed-off-by: Yonle <yonle@lecturify.net>
* Fixed crash on empty static and history objects.Gravatar default2023-07-141-11/+17
|
* html.c: Don't let public get into timeline.html_Gravatar Yonle2023-07-141-1/+5
| | | | Signed-off-by: Yonle <yonle@lecturify.net>
* If a Page has an image, show it as an attachment.Gravatar default2023-07-131-3/+23
|
* Fixed Link HTML.Gravatar default2023-07-131-1/+1
|
* Added support for lemmy-style "Link" attachments.Gravatar default2023-07-131-1/+14
|
* Added support for the 'Page' ActivityPub object.Gravatar default2023-07-131-2/+9
| | | | So that you can follow and interact with lemmy channels.
* Fixed memory leaks.Gravatar default2023-07-131-6/+13
|
* html.c: Also encode html characters in admin pageGravatar Yonle2023-07-121-9/+9
|
* Fixed HTML re-encoding in the user bio.Gravatar default2023-07-111-2/+2
|
* When sanitize() is called, encode_html() is no longer needed.Gravatar default2023-07-111-2/+1
|
* Added new CSS classes snac-embedded-video and snac-embedded-audio.Gravatar default2023-07-111-2/+6
|
* Fixed crash.Gravatar default2023-07-111-12/+26
|
* Fixed some memory leaks.Gravatar default2023-07-111-44/+65
|
* html.c: Escape XML characters & View unknown type attachment linkGravatar Yonle2023-07-111-41/+56
| | | | Signed-off-by: Yonle <yonle@lecturify.net>
* Pinned posts also appear in the public timeline.Gravatar default2023-07-061-1/+4
|
* Posts can be pinned/unpinned from the web interface.Gravatar default2023-07-051-3/+21
|
* Pinned posts appear at the top of the public timeline.Gravatar default2023-07-051-1/+4
|
* Also call process_tags() when in the public timeline's bio.Gravatar default2023-07-041-2/+4
|
* The content warning check and description is propagated from the replied ↵Gravatar default2023-07-041-5/+10
| | | | message.
* Also fill the sensitive content fields in the edit dialog.Gravatar default2023-07-041-2/+6
|
* The sensitive content can have a description.Gravatar default2023-07-041-4/+11
|
* More unfollow notification tweaks.Gravatar default2023-07-041-1/+1
|
* Also show unfollows in the notification area.Gravatar default2023-07-041-2/+5
|
* Added HTTP caching to static data.Gravatar default2023-07-021-4/+6
|
* Fixed footer link.Gravatar default2023-07-011-2/+2
|
* Added CSS classes to notification and people pages.Gravatar default2023-07-011-8/+20
|
* Added class snac-post-header to the people list.Gravatar default2023-06-291-1/+3
|
* Added a new snac-post-header CSS class.Gravatar default2023-06-291-12/+10
|