Commit graph

610 commits

Author SHA1 Message Date
default
affab3ab3c Minor tweaks. 2024-05-31 11:24:39 +02:00
Louis Brauer
ac3b5dcbd4 Merge branch 'master' into announcements 2024-05-30 22:38:05 +00:00
Louis Brauer
c3bcb2bd3b Implement instance announcements 2024-05-31 00:30:37 +02:00
default
b8633c7c59 Added a class to the new "Alt...". 2024-05-30 16:14:56 +02:00
default
a5ec96a6da Added an "Alt..." details just below attachments with them.
The alt text is still also generated as 'alt' and 'name' attributes,
but this is more usable from phones and tablets.
2024-05-30 16:12:08 +02:00
Louis Brauer
4621a25ba4 Merge remote-tracking branch 'origin/master' 2024-05-27 12:25:38 +02:00
Louis Brauer
81cf309e4d Implement Mastodon PATCH endpoint for account profile updates 2024-05-27 12:24:17 +02:00
Louis Brauer
0e21d35e80 Use enum instead of numeric status codes for HTTP statuses 2024-05-26 21:45:41 +02:00
default
37b6c7926e Minor code reformatting. 2024-05-26 09:01:13 +02:00
Louis Brauer
9749a65007 Enable deletion of avatar and header image in user settings 2024-05-26 01:47:22 +02:00
default
f631fc5ed2 Added a 'title' to each list timeline. 2024-05-24 19:06:39 +02:00
default
a727bb29f6 Don't show list links in read only timelines. 2024-05-24 12:36:08 +02:00
default
bd4511e7c5 Show 'Nothing found for tag' message. 2024-05-24 12:31:41 +02:00
default
8ebad8d536 Minor list show tweaks. 2024-05-24 12:24:23 +02:00
default
a787c818b2 Added links to the lists in html_timeline(). 2024-05-24 12:12:03 +02:00
default
8cf7559a7e Added more const. 2024-05-23 10:01:37 +02:00
default
4777fc86cb Added const everywhere. 2024-05-21 14:12:15 +02:00
default
34311714ce User search can also be done by tag. 2024-05-15 05:57:21 +02:00
default
281f934f74 content_search() also searches the instance timeline. 2024-05-14 05:17:33 +02:00
default
9acba489fb Add some special treatment to Event object display. 2024-05-11 19:35:33 +02:00
default
6f3763f452 Show 'Event' object types as Notes. 2024-05-11 19:15:18 +02:00
default
e1ce85debd Unified post-like object type match. 2024-05-11 18:46:15 +02:00
default
1762e0f145 Added an incremental max seconds value to every content search page. 2024-05-11 09:29:38 +02:00
default
f2a33727e7 Added a search box. 2024-05-10 17:54:15 +02:00
default
767c2d98d5 Also add the 'More...' link if there was a search timeout. 2024-05-10 12:49:03 +02:00
default
c2c0f3b39b More search tweaks la la la la. 2024-05-10 12:44:26 +02:00
default
5d1577af3c More web ui search tweaks baaaaah I'm boring. 2024-05-10 11:55:45 +02:00
default
1531e81a31 Added a skip argument to content_search(). 2024-05-10 11:29:18 +02:00
default
2b27a0d772 Some tweaks to web ui search. 2024-05-10 11:02:59 +02:00
default
430afe103b Added a title to search results. 2024-05-09 22:57:08 +02:00
default
a5766a6c83 The /admin page now accepts ?q=regex for a content search. 2024-05-09 10:04:45 +02:00
Kelson Vibber
c17a225ce2 Merge branch 'master' into style-tweaks-on-2.52 2024-05-09 04:42:35 +00:00
Kelson Vibber
be420cae77 Set avatars and custom emoji as square (fixes display in Dillo)
The minimalist web browser Dillo has recently started up development
again. Its CSS implementation only applies the explicitly stated
width and height of an image, so avatars were displaying at 2.5 em high,
and the full original width.
https://dillo-browser.github.io/
2024-05-09 04:28:01 +00:00
default
5d519288fb Merge branch 'master' of grunfink-codeberg:grunfink/snac2 2024-05-08 09:48:57 +02:00
khm
d27a60dfe7 allow unboosting your own posts 2024-05-07 23:28:51 -07:00
default
fa8b401927 More HTML simplification. 2024-05-08 04:15:36 +02:00
default
2322de4900 Added a title to the instance timeline. 2024-05-07 20:53:58 +02:00
default
d3cdbf1702 Added a title to list timelines. 2024-05-07 20:51:43 +02:00
default
82ec4ea95c Minor "Back to top" "More..." link refactoring. 2024-05-07 20:32:13 +02:00
default
b57409a959 Fixed typo. 2024-05-07 19:45:10 +02:00
default
6b1721c977 List timelines can now be (manually) navigated from the web UI.
URLs are {srv_baseurl}/{user}/list/{list_id} (you must know the list id).
2024-05-07 19:40:28 +02:00
default
c31a4ae73e Minor RSS title beautifying. 2024-05-05 11:27:24 +02:00
default
45357b8e6e New function timeline_to_rss(). 2024-05-05 11:00:29 +02:00
default
be9cf2f555 Enqueue an object request for closed polls.
It seems that Pleroma does not send poll updates on close (or never).
2024-05-05 01:58:27 +02:00
default
7ea57485c7 More Pleroma poll tweaks. 2024-05-05 01:21:07 +02:00
default
2f499e9421 Fixed Pleroma polls. 2024-05-05 01:06:34 +02:00
default
ebf6a4bd8e URLs like {srv_baseurl}/{user}/admin/p/{md5} are valid.
But only if {md5} is in the user's timeline.
2024-04-22 05:46:56 +02:00
default
26840e0dc0 Some tweaks to previous patch. 2024-04-18 17:13:31 +02:00
grunfink
100c9cf569 Merge pull request 'Ability to federate with hidden networks #93 (update for v2.49)' (#149) from iwojima/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/149
2024-04-18 15:12:47 +00:00
default
44d126e0f9 Improved non-public reply check. 2024-04-17 08:09:05 +02:00
default
2e31253ba8 Don't skip orphan private posts that are for us. 2024-04-17 06:45:19 +02:00
default
1a9bb5fd07 Fixed bug in form processing. 2024-04-11 14:19:22 +02:00
default
21c0bdb6f2 Added Unlike and Unboost buttons to web interface. 2024-04-11 05:22:40 +02:00
default
ebc2f36c08 Added rel="alternate" links to ActivityPub objects for the public timeline and single posts. 2024-04-09 06:32:07 +02:00
default
a453c01f32 Some software return a list of icons instead of one, because why not. 2024-03-25 19:58:27 +01:00
default
adf0a13992 If an emoji in emojis.json is an URL to an image, it's stored in the tag list. 2024-03-25 16:15:09 +01:00
default
2f4a881dd2 Added a tip to delete the attachment. 2024-03-20 06:15:02 +01:00
default
0577051f44 Editing a post doesn't lose the attachment and its alt text. 2024-03-20 05:45:32 +01:00
default
8f983d388a Tweaked HTML structure of the people page. 2024-03-18 12:21:57 +01:00
default
c12acc0cc9 Also hide Older... posts details if it's empty. 2024-03-15 19:20:24 +01:00
default
d50b039104 Set display to none for children details that are empty. 2024-03-15 19:05:42 +01:00
default
7aa5250eb8 Backport from xs. 2024-03-15 04:10:11 +01:00
default
f485dbdaf0 Added actor refreshing via the user queue. 2024-03-12 17:54:54 +01:00
iwojim0
7312f4ce51 Ability to federate with hidden networks #93 (update for v2.49) 2024-03-09 14:37:54 +00:00
default
91bb0615d9 Replaced most xs_dict_iter() with xs_dict_next(). 2024-03-09 08:44:48 +01:00
default
093f4af282 Shortened the maximum conversation levels.
Set to a compilation define in MAX_CONVERSATION_LEVELS.
2024-03-08 05:41:08 +01:00
default
7fe866d60d Returns empty anchors for hidden posts or muted actors.
This will help keeping the previous position after 'Hide' or 'MUTE'.
2024-03-07 09:29:01 +01:00
default
d65951622e Fixed incorrect link to booster. 2024-03-02 07:12:11 +01:00
default
1ac162ce43 Don't show the :shortname: as a title tag.
It sometimes breaks usernames and it's pointless anyway.
2024-03-02 06:49:12 +01:00
Yonle
5a2ab086ae html.c: html_user_body: snac-property: Put &nbsp; (empty space) instead of <br>
Signed-off-by: Yonle <yonle@lecturify.net>
2024-02-23 21:38:41 +07:00
default
d4364e80f7 Added *another argument* to html_timeline() to select where posts are taken from.
This way, the /instance logged-in timeline can show posts that are not
really into a user's timeline.
2024-02-22 12:26:32 +01:00
default
69d33622d3 Reverted ae6aafeb88.
This breaks the experimental /instance timeline for now.
2024-02-21 22:38:08 +01:00
default
ae6aafeb88 In html_timeline(), always pick the msg from the global object storage.
This allows the logged instance timeline to work.

Does this have more implications? Not sure.
2024-02-21 08:38:46 +01:00
default
49b226a8e9 Started an instance page. 2024-02-21 08:27:11 +01:00
default
bc3c7dde33 More local -> read_only argument renamings. 2024-02-21 08:12:10 +01:00
default
b40e71c11c Added a page argument to html_timeline(). 2024-02-21 08:09:57 +01:00
default
2b814287fd Renamed 'local' argument to 'read_only', as it was a bit confusing. 2024-02-21 08:00:03 +01:00
default
a3b9ef5b98 The link verification time is stored as a time_t.
This way, it will be easier in an eventual future to test if
a link verification is too old to be trusted.
2024-02-20 06:10:42 +01:00
default
d583a35d9e Enqueue a verify_links q_item in admin/user-setup. 2024-02-20 05:46:44 +01:00
default
e6de555f7d Added a 'verified link' title to them. 2024-02-16 06:23:07 +01:00
default
263e239653 Moved verified links to its own json file. 2024-02-15 17:34:46 +01:00
default
b4208bfec9 Renamed validated_metadata to validated_links. 2024-02-15 10:33:33 +01:00
default
d106f86a67 Show validation checks and rel=me in links in the public page. 2024-02-14 22:56:56 +01:00
default
43e3a0fdda Added some experimental code to hide follower-only failed replies. 2024-02-14 19:24:26 +01:00
default
0930ce726f New function is_msg_from_private_user(). 2024-02-10 09:08:09 +01:00
default
5702e2592f Made descs a bit longer. 2024-02-07 19:32:15 +01:00
default
c33fa82755 If it's a one-post-only page, show the post content instead of the bio. 2024-02-07 19:25:18 +01:00
default
89b64de531 Some og:description tweaks. 2024-02-07 19:15:20 +01:00
default
7efa3ce519 Added a navigation footer (i.e., an optional "More..." link) to the notification page. 2024-02-05 19:50:56 +01:00
default
4e35b4b865 Added paging to notify_list(), and use it in the notifications page. 2024-02-05 19:34:27 +01:00
default
729ad476f0 notify_list() no longer has a new_only argument. 2024-02-05 10:18:38 +01:00
default
823cb05fe5 Don't serve a cached admin page if it's older than the server start time. 2024-02-05 09:38:30 +01:00
default
74ce67a631 In build_mentions(), avoid adding a user handle more than once. 2024-02-05 09:19:27 +01:00
default
2e72a6215e New field in 'New Post...' to include an inReplyTo URL. 2024-02-01 09:29:25 +01:00
default
5563a41ed0 Added the date to each notification. 2024-01-31 08:18:50 +01:00
default
d839654ccb Moved the favicon link out of the CSS loop. 2024-01-28 11:18:14 +01:00
Florian Paul Azim Hoberg
fe892622d3 feature(favicon): Add favicon support (#107) 2024-01-28 08:09:44 +01:00
default
5b3a2fbd88 Use get_attachments() in html_entry(). 2024-01-24 19:30:01 +01:00
default
0b08649a0d Added a fix to also show the mutual emoji in the people page. 2024-01-24 09:51:16 +01:00
default
1affef47b4 Moved the mutual and bot emojis after the link, where they belong. 2024-01-24 09:34:18 +01:00