summaryrefslogtreecommitdiff
path: root/html.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed some warning.Gravatar default2023-08-141-1/+1
|
* Unify the instance description text.Gravatar default2023-08-141-12/+1
|
* Discard avatar uploads that are not images.Gravatar default2023-08-141-11/+15
|
* If the user has a header image, show it the public page.Gravatar default2023-08-141-2/+13
|
* Don't show children in the instance timeline.Gravatar default2023-08-141-2/+2
|
* The instance URL can now show a timeline.Gravatar default2023-08-141-0/+73
|
* Some work towards an instance timeline.Gravatar default2023-08-141-18/+48
|
* Allow a NULL snac struct in html_entry().Gravatar default2023-08-121-23/+28
|
* Rewritten actor_get() to not depend on a user.Gravatar default2023-08-121-7/+7
|
* Rewritten is_msg_public() to not depend on a user.Gravatar default2023-08-121-3/+3
|
* Set the default poll end time to 1 hour.Gravatar default2023-08-111-1/+1
|
* Added web UI for limit/unlimit actions.Gravatar default2023-08-101-1/+17
|
* Revert "Implemented hide_followers_only."Gravatar default2023-08-091-16/+1
| | | | | | | Posts from groups give false positives from hide_followers_only, so the full idea is discarded. This reverts commit b3797d24162bd2c8637d267ae0a08f3cd6e45dff.
* Revert "Added web interface for hide_followers_only."Gravatar default2023-08-091-11/+0
| | | | This reverts commit 84e8cb419ba95a53ae4d2a1c9f4bb60d55dfc5f5.
* Added web interface for hide_followers_only.Gravatar default2023-08-091-0/+11
|
* Implemented hide_followers_only.Gravatar default2023-08-091-1/+16
|
* Renamed json dump functions to new xs spec.Gravatar default2023-08-081-2/+2
|
* Added hints to web UI buttons.Gravatar default2023-08-071-26/+31
|
* 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
|