summaryrefslogtreecommitdiff
path: root/html.c
AgeCommit message (Collapse)Author
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
2022-11-24Use the new hide API.default
2022-11-21Backport from xs (new xs_set() API).default
2022-11-20Deleted the link at the end of each RSS entry.default
2022-11-20More RSS tweaks.default
2022-11-20Fixed RSS link.default
2022-11-20Add a link to the post in each RSS entry.default
2022-11-20More RSS tweaks.default
2022-11-20More RSS tweaks.default
2022-11-19RSS improvements.default
2022-11-18Fixed crash when testing for the Accept header.default
2022-11-18Log if the RSS is served.default
2022-11-18Added a RSS link in the public timeline page.default
2022-11-18More RSS tweaks.default
2022-11-18More RSS cropping.default
2022-11-18Added rss on output.default
2022-11-18New function enqueue_output_to_actor().default
2022-11-18Fixed Follow bug, introduced by latest sharedInbox change.default