summaryrefslogtreecommitdiff
path: root/html.c
AgeCommit message (Collapse)Author
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
2022-12-04Don't show the messages' md5.default
2022-12-03Don't try to admire empty messages.default
2022-12-03Show the development version.default
2022-12-03Always show who boosted something, not only when it's on level 0.default
2022-12-03Upgraded local/ to public/.default
2022-12-03New function timeline_simple_list().default
2022-12-02Show stray parents in the origin.default
2022-12-02More old code deletions.default
2022-12-02Fixed one post queries.default
2022-12-02Fixed RSS and outbox to use the new data storage.default
2022-12-02Big data storage change.default
2022-12-01Close a tag in history list.default
2022-11-28Changed following_list() to return a list of actors.default
2022-11-28Upgraded followers to the new db.default
2022-11-26Don't call object_del() from timeline_del().default
Only delete from each user's cache, not from the global database.
2022-11-26Renamed 'admin' link label to 'private'.default
2022-11-25Use macro XS_ALL were possible.default