summaryrefslogtreecommitdiff
path: root/html.c
AgeCommit message (Collapse)Author
2023-02-15Rewritten text 'More...' as 'Load more...'.default
2023-02-15Added form field code for uploading the avatar.default
2023-02-15Added support for receiving un uploaded avatar.default
2023-02-10Improved Delete button fix.default
2023-02-10Fixed actor / post Delete confusion bug.default
2023-02-08Followers can be deleted.default
2023-02-08Only show the 'in reply to' link if level == 0.default
2023-02-08Use timeline_here() for parents in html_entry().default
2023-02-07Added web interface for the Telegram information.default
2023-02-05New user option 'purge_days'.default
2023-02-05Deleted the type argument from object_get_my_md5() and object_get().default
It was never used.
2023-02-05Renamed timeline_get() to timeline_get_by_md5(), as that is what id does.default
2023-02-05New function timeline_get().default
2023-02-03More debug level changes.default
2023-01-28Attached images have a hashed name instead of a time one.default
2023-01-28Image attachments in posts can now have descriptions ('alt text').default
2023-01-28New post field 'alt_text'.default
2023-01-27New function default_avatar_base64().default
2023-01-24Added edit support for posts.default
2023-01-17Updated year in copyright notices.default
2023-01-12Backport from xs.default
2023-01-11Show the More... link above the 'About this site'.default
2023-01-11Deleted unused argument in timeline_admire().default
2023-01-11Deleted unused arguments in timeline_add().default
2023-01-09Show the mentioned people after a CC:.default
2023-01-03Don't generate empty children popups.default
2022-12-25Add a link rel=alternate to the user RSS.default
2022-12-23timeline_request() fixes the canonical id for the object.default
2022-12-19The 'Older...' details are back, now better.default
2022-12-18Deleted the 'Older...' details tag because it's becoming too confusing.default
2022-12-18Conversations can be collapsed.default
2022-12-16Replaced all calls to post() with enqueue_message().default
2022-12-15Also show the 'updated' timestamp.default
2022-12-10Use object_likes_len() and object_announces_len() in the post score.default
2022-12-08Don't show the 'Boost' button for private messages.default
2022-12-08Also add 'redir' hidden field to Replies.default
2022-12-08Some tweaks to improve the page position after like or boost.default
2022-12-08Wrapped too long string literals.default
2022-12-08Little tweak to previous change to avoid a memleak.default
2022-12-07Fix mentions with one @ signAlex Schroeder
In a mention like the following, the old code had a problem: It would split the name by '@' and get a list of two elements. Since this is less than three, it would then try to get the domain name from the href ("social.alexschroeder.ch") and concatenate it with the name, resulting in "alex@social.alexschroeder.ch@social.alexschroeder.ch". The reason was that the code expects an initial "@". In that case, splitting "@alex@social.alexschroeder.ch" would result in three elements, and no domain name guessing would happen. If, on the other hand, the name was "@foo" then finding the domain name in the URL and appending it so that you get @foo@domain.name is the correct solution. "tag": [ { "type": "Mention", "href": "https://social.alexschroeder.ch/alex", "name": "alex@social.alexschroeder.ch" } ], The fix consists in prepending an "@" if the name does not start with "@" and leaving the rest of the code unchanged.
2022-12-07Ask for just 1 more entry beyond the current page to test if there are more.default
2022-12-07Fixed last minute typo.default
2022-12-07Minor tweaks to paged timeline output.default
2022-12-06Pagination of the public and private pageAlex Schroeder
Use the query parameters skip and show to control what you can see, e.g. /alex/admin?skip=0&show=4 Don't use or save the timeline cache if either is set. The following functions were changed from accepting a single max parameter to accepting both skip and show: timeline_simple_list, timeline_list, index_list_desc.
2022-12-06Add loading="lazy" to all imagesAlex Schroeder
Only load images when they're visible. "The loading attribute on an <img> element … can be used to instruct the browser to defer loading of images/iframes that are off-screen until the user scrolls near them." https://developer.mozilla.org/en-US/docs/Web/Performance/Lazy_loading#images_and_iframes
2022-12-04Fixed crash in new code (moron me...)default
2022-12-04Match the CW checkbox status to what is currently configured.default
2022-12-04No sensitive content in the public timelineAlex Schroeder
Don't use h3 in the public timeline. Use the details tag, as before, but default to "open" if the config setting is set. Only do this in the private timeline (where local == 0, as set by html_get_handler).
2022-12-04Add an option to always show sensitive contentAlex Schroeder
- add a cw key to user.json - add a cw checkbox to user setup form - handle the cw parameter when updating user setup - when rendering an entry, look at the cw config: if set, use a h3 heading for the summary; otherwise use details + summar + SENSITIVE CONTENT like before
2022-12-04Deleted debug code in html_entry().default