aboutsummaryrefslogtreecommitdiff
path: root/html.c
AgeCommit message (Collapse)Author
2026-01-17Fixed small memory leak.grunfink
2026-01-17Merge pull request 'simple cosmetic counters' (#519) from ↵grunfink
byte/snac2:counters into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/519
2026-01-17segfault fixbyte
2026-01-17doing count conditionalbyte
2026-01-16simple cosmetic countersbyte
2026-01-12Fixed typo.grunfink
2026-01-12Move the pronouns closer to the account name.grunfink
2026-01-12Strip all HTML tags from pronouns.grunfink
2026-01-12Minor tweak.grunfink
2026-01-12Use the metadata pronouns.violette
2026-01-12user-specified word mutes and matchingbyte
2026-01-08Also disable EmojiReact notifications, if so configured.grunfink
2026-01-08Don't show the EmojiReact dropdown if disabled.grunfink
2026-01-08Don't show any EmojiReactions if they are disabled.grunfink
2026-01-06Fixed crash.grunfink
2026-01-06Hide EmojiReacts from muted actors and blocked instances.grunfink
2026-01-01Bumped copyright year.grunfink
2026-01-01Add boosts, likes and reacts to actor's people pageAlexandre Oliva
Show in an actor's page anything that the user could have seen from actor in timeline or notifications, namely: - posts by actor (use get_atto to identify the actor) - boosts by actor - user's posts with likes or emojireacts by actor That said, in this view, only the latest boost is shown for a post, so it might not seem like the boost is by actor. Likes and emojireacts aren't even shown, so the reason why a post appears might be puzzling. Use timeline_simple_list, since we don't show entire conversations, and we want to identify all posts with actor's interactions. Saturate show at max_timeline_entries, so that we don't silently skip entries.
2025-12-30Fixed indentation in previous patch (my fault).grunfink
2025-12-30Add posts by actor to people pageAlexandre Oliva
Select posts by the actor from the given timeline range. Since posts by the actor may be very sparse in the timeline, add a "More (x 10)" button to bump the show count, that controls how many timeline posts we'll filter *from*. We could conceivably keep searching the timeline until we find as many posts as requested or reach the end, but that could take a very long time. Just filtering the given ranges is much simpler, and probably sufficiently intuitive despite the potential initial surprise.
2025-12-28introduce separate people/ pagesAlexandre Oliva
When you have lots of followers or followees or pending follows, constructing the entire people page to look up information about a single user can take a while and be quite wasteful when you want to look up a single user. Introduce and prefer people/<md5> over people#<md5>. While at that, fix a memory leak in webfinger search: the empty list was allocated twice.
2025-12-26Fixed failed search when blank surround the query string.grunfink
This time, without fucking up everything.
2025-12-26Revert "Fixed failed search when blank surround the query string."grunfink
This reverts commit 79c32485dffa95107216c2251ffa111d7cdef432.
2025-12-20Fixed failed search when blank surround the query string.grunfink
2025-12-19Reindex tags when editing a post.grunfink
Tags that were deleted in the post message are not deleted, though.
2025-12-19Some fixes.violette
2025-12-18Fixed typo.grunfink
2025-12-18Strip surrounding colons in emoji pictures, if they are still there.grunfink
2025-12-18Fixed more minor leaks.grunfink
2025-12-18Fixed leak in emoji_reacted().grunfink
2025-12-18Fixed some xs_fmt() usages.grunfink
2025-12-18Fixed some xs_join() uses.grunfink
2025-12-18Fixed some xs_dup() leaks.grunfink
2025-12-18Added emoji reactions (contributed by violette).violette
2025-12-09If terse is set, history is also hidden.grunfink
2025-12-09New query variable terse=anything.grunfink
If set to any value, a public post page doesn't show any headline.
2025-12-03Merge pull request 'rendering visibility conditionally, with lesser reach if ↵grunfink
needed' (#493) from byte/snac2:feature/lesser-visibility into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/493
2025-11-30Fix user matchingrako
In order to be a proper prefix, the actor url must end with a '/' otherwise it can match another user that starts with the same prefix: for example 'testuser' will match anything made by 'testuser2'
2025-11-26Some attachments are of type 'Video' instead of a MIME type (bsky).grunfink
2025-11-20Added a Follow/Unfollow button next to a new follow notification.grunfink
2025-11-18Merge pull request 'Add metadata to remote users' (#499) from ↵grunfink
dandelions/snac2:metadata-pr into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/499
2025-11-17Some implementations set quoted posts with 'quoteUrl', so look at that as well.grunfink
2025-11-15Request unfound actors from the notifications page.grunfink
2025-11-14Merge pull request 'Fixed typo in html attribute' (#500) from ↵grunfink
dandelions/snac2:next-text-typo-pr into master Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/500
2025-11-14fixed typo in html attrgreen
2025-11-14metadata: hide the divider when user has no normal fieldsgreen
2025-11-14metadata: location and bday propertiesgreen
2025-11-14metadata: quick fix for <p> tagsgreen
2025-11-14metadata for remote users in people pagegreen
2025-11-10Don't call enqueue_object_request() for quoted posts in public timelines.grunfink