summaryrefslogtreecommitdiff
path: root/html.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Backport from xs (new xs_set() API).Gravatar default2022-11-211-3/+5
|
* Deleted the link at the end of each RSS entry.Gravatar default2022-11-201-4/+0
|
* More RSS tweaks.Gravatar default2022-11-201-14/+5
|
* Fixed RSS link.Gravatar default2022-11-201-4/+4
|
* Add a link to the post in each RSS entry.Gravatar default2022-11-201-0/+4
|
* More RSS tweaks.Gravatar default2022-11-201-3/+3
|
* More RSS tweaks.Gravatar default2022-11-201-2/+15
|
* RSS improvements.Gravatar default2022-11-191-16/+12
|
* Fixed crash when testing for the Accept header.Gravatar default2022-11-181-3/+5
|
* Log if the RSS is served.Gravatar default2022-11-181-1/+3
|
* Added a RSS link in the public timeline page.Gravatar default2022-11-181-2/+5
|
* More RSS tweaks.Gravatar default2022-11-181-1/+3
|
* More RSS cropping.Gravatar default2022-11-181-1/+1
|
* Added rss on output.Gravatar default2022-11-181-4/+87
|
* New function enqueue_output_to_actor().Gravatar default2022-11-181-3/+2
|