summaryrefslogtreecommitdiff
path: root/html.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added edit support for posts.Gravatar default2023-01-241-3/+69
|
* Updated year in copyright notices.Gravatar default2023-01-171-1/+1
|
* Backport from xs.Gravatar default2023-01-121-5/+5
|
* Show the More... link above the 'About this site'.Gravatar default2023-01-111-2/+2
|
* Deleted unused argument in timeline_admire().Gravatar default2023-01-111-2/+2
|
* Deleted unused arguments in timeline_add().Gravatar default2023-01-111-1/+1
|
* Show the mentioned people after a CC:.Gravatar default2023-01-091-0/+5
|
* Don't generate empty children popups.Gravatar default2023-01-031-10/+17
|
* Add a link rel=alternate to the user RSS.Gravatar default2022-12-251-0/+6
|
* timeline_request() fixes the canonical id for the object.Gravatar default2022-12-231-2/+2
|
* The 'Older...' details are back, now better.Gravatar default2022-12-191-1/+19
|
* Deleted the 'Older...' details tag because it's becoming too confusing.Gravatar default2022-12-181-12/+1
|
* Conversations can be collapsed.Gravatar default2022-12-181-2/+7
|
* Replaced all calls to post() with enqueue_message().Gravatar default2022-12-161-5/+5
|
* Also show the 'updated' timestamp.Gravatar default2022-12-151-9/+24
|
* Use object_likes_len() and object_announces_len() in the post score.Gravatar default2022-12-101-3/+3
|
* Don't show the 'Boost' button for private messages.Gravatar default2022-12-081-3/+5
|
* Also add 'redir' hidden field to Replies.Gravatar default2022-12-081-0/+2
|
* Some tweaks to improve the page position after like or boost.Gravatar default2022-12-081-13/+9
|
* Wrapped too long string literals.Gravatar default2022-12-081-2/+4
|
* Little tweak to previous change to avoid a memleak.Gravatar default2022-12-081-1/+7
|
* Fix mentions with one @ signGravatar Alex Schroeder2022-12-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Ask for just 1 more entry beyond the current page to test if there are more.Gravatar default2022-12-071-2/+2
|
* Fixed last minute typo.Gravatar default2022-12-071-1/+1
|
* Minor tweaks to paged timeline output.Gravatar default2022-12-071-17/+18
|
* Pagination of the public and private pageGravatar Alex Schroeder2022-12-061-8/+31
| | | | | | | | | | | 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.
* Add loading="lazy" to all imagesGravatar Alex Schroeder2022-12-061-4/+4
| | | | | | | | | 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
* Fixed crash in new code (moron me...)Gravatar default2022-12-041-1/+5
|
* Match the CW checkbox status to what is currently configured.Gravatar default2022-12-041-1/+1
|
* No sensitive content in the public timelineGravatar Alex Schroeder2022-12-041-10/+6
| | | | | | 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).
* Add an option to always show sensitive contentGravatar Alex Schroeder2022-12-041-6/+22
| | | | | | | | | - 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
* Deleted debug code in html_entry().Gravatar default2022-12-041-8/+2
|
* Don't show the messages' md5.Gravatar default2022-12-041-0/+2
|
* Don't try to admire empty messages.Gravatar default2022-12-031-4/+10
|
* Show the development version.Gravatar default2022-12-031-1/+4
|
* Always show who boosted something, not only when it's on level 0.Gravatar default2022-12-031-43/+42
|
* Upgraded local/ to public/.Gravatar default2022-12-031-1/+7
|
* New function timeline_simple_list().Gravatar default2022-12-031-4/+2
|
* Show stray parents in the origin.Gravatar default2022-12-021-22/+12
|
* More old code deletions.Gravatar default2022-12-021-2/+0
|
* Fixed one post queries.Gravatar default2022-12-021-4/+6
|
* Fixed RSS and outbox to use the new data storage.Gravatar default2022-12-021-1/+5
|
* Big data storage change.Gravatar default2022-12-021-67/+75
|
* Close a tag in history list.Gravatar default2022-12-011-1/+1
|
* Changed following_list() to return a list of actors.Gravatar default2022-11-281-1/+1
|
* Upgraded followers to the new db.Gravatar default2022-11-281-4/+3
|
* Don't call object_del() from timeline_del().Gravatar default2022-11-261-0/+3
| | | | Only delete from each user's cache, not from the global database.
* Renamed 'admin' link label to 'private'.Gravatar default2022-11-261-2/+2
|
* Use macro XS_ALL were possible.Gravatar default2022-11-251-2/+2
|
* Use the new hide API.Gravatar default2022-11-241-2/+2
|