Commit Graph
881 Commits
Author SHA1 Message Date
grunfink b5f9aa9cb0 Increase the level argument in quoted posts. 2026-02-23 18:14:11 +01:00
grunfink 0cc14c3725 Do the same with list 'url' fields in notifications. 2026-02-14 16:47:22 +01:00
grunfink 3907b00976 Fixed crash when the 'url' field is a list. 2026-02-14 16:46:09 +01:00
grunfink c3aff2d518 Fixed mismatched following count. 2026-02-14 16:26:44 +01:00
grunfink 11140d0e0c Also show 'url' in notifications. 2026-02-14 05:48:46 +01:00
grunfink ebcdb74865 Use the 'url' link instead of 'id' (if there is one) in html_actor_icon(). 2026-02-14 05:42:45 +01:00
grunfink 6f8eb9ced3 In timelines, always create a 'people/' link, not only if follower or following. 2026-02-10 05:44:59 +01:00
grunfink 86359ddf67 Call xs_replace_i() in html_date_label() instead of overwriting. 2026-02-03 08:18:59 +01:00
grunfink 8dd51011df Use the translated month names in date labels. 2026-02-02 18:10:01 +01:00
grunfink 50dce8af53 Added ... to 'Notifications filter' string. 2026-01-28 05:56:46 +01:00
zen 8555842236 typo 2026-01-27 18:43:02 +01:00
zen 205fcca4fc typo 2026-01-27 18:42:01 +01:00
byte c87c4dc260 style 2026-01-25 16:56:04 +01:00
byte 56ca23c68c notifications filter 2026-01-25 16:56:04 +01:00
grunfink 441e1b2706 Merge pull request 'Add hh:mm times to posts, using the user timezone' (#530) from dandelions/snac2:exact-post-times into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/530
2026-01-25 10:29:56 +01:00
grunfink d30472f0d9 Merge pull request 'Configurable limits for polls' (#534) from dandelions/snac2:poll-limits into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/534
2026-01-25 10:20:35 +01:00
green a14cf4a7db poll-limits: revert accidentally commited changes 2026-01-25 00:30:38 +01:00
green ce8e11adc7 personal: bigger limit for polls 2026-01-24 02:23:16 +01:00
green 207d9e0f01 small: fix segfault for poll options 2026-01-24 02:23:16 +01:00
green 50129db64b small: configurable poll limit 2026-01-24 02:23:16 +01:00
green eed16255b3 visibility: copy more fields on edit 2026-01-24 00:38:02 +01:00
green ec3f28ca63 time-labels: fixed segfault 2026-01-23 21:04:16 +01:00
green 2890fe25be small: timezone dependant date labels 2026-01-23 21:02:20 +01:00
grunfink 8ce4bd725d Fixed small memory leak. 2026-01-17 05:24:50 +01:00
grunfink 33b066733e Merge pull request 'simple cosmetic counters' (#519) from byte/snac2:counters into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/519
2026-01-17 05:22:25 +01:00
byte 84c0ee63cf segfault fix 2026-01-17 02:49:56 +00:00
byte 1719c1fe95 doing count conditional 2026-01-17 02:45:33 +00:00
byte 485986dab9 simple cosmetic counters 2026-01-16 21:11:42 +00:00
grunfink 3f3e4892ff Fixed typo. 2026-01-12 18:08:34 +01:00
grunfink a84e74e8f2 Move the pronouns closer to the account name. 2026-01-12 06:14:58 +01:00
grunfink 7fe8761ed7 Strip all HTML tags from pronouns. 2026-01-12 05:20:52 +01:00
grunfink b1612de210 Minor tweak. 2026-01-12 05:11:45 +01:00
violette f5ad346f7d Use the metadata pronouns. 2026-01-12 05:09:21 +01:00
byte 6ad2365a41 user-specified word mutes and matching 2026-01-12 01:25:49 +01:00
grunfink a8cbbeeb3f Also disable EmojiReact notifications, if so configured. 2026-01-08 09:05:53 +01:00
grunfink 5ef0483ab3 Don't show the EmojiReact dropdown if disabled. 2026-01-08 08:47:57 +01:00
grunfink c6642e958b Don't show any EmojiReactions if they are disabled. 2026-01-08 08:43:50 +01:00
grunfink a01e4b148f Fixed crash. 2026-01-06 18:53:38 +01:00
grunfink 6c876107ab Hide EmojiReacts from muted actors and blocked instances. 2026-01-06 14:26:57 +01:00
grunfink 11af00194e Bumped copyright year. 2026-01-01 17:01:03 +01:00
Alexandre Oliva 20eba6f519 Add boosts, likes and reacts to actor's people page
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.
2026-01-01 16:25:00 +01:00
grunfink f99895032e Fixed indentation in previous patch (my fault). 2025-12-30 13:14:50 +01:00
Alexandre Oliva 93f82fae9e Add posts by actor to people page
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-30 13:12:46 +01:00
Alexandre Oliva b64bebd412 introduce separate people/ pages
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-28 20:59:12 +01:00
grunfink be4dd4ea7f Fixed failed search when blank surround the query string.
This time, without fucking up everything.
2025-12-26 21:24:08 +01:00
grunfink a1f0a89931 Revert "Fixed failed search when blank surround the query string."
This reverts commit 79c32485df.
2025-12-26 21:15:19 +01:00
grunfink 79c32485df Fixed failed search when blank surround the query string. 2025-12-20 13:15:34 +01:00
grunfink a97d3ac116 Reindex tags when editing a post.
Tags that were deleted in the post message are not deleted, though.
2025-12-19 15:27:51 +01:00
violette e233f3f904 Some fixes. 2025-12-19 09:54:50 +01:00
grunfink 9f3f8d237a Fixed typo. 2025-12-18 10:02:43 +01:00