source: Klonkt/CHANGELOG.md@ 0877771

main
Last change on this file since 0877771 was e67828e, checked in by roboburr <roboburr@…>, 2 months ago

fix(media): poster frames for remote videos (News feed + Circle tiles)

A remote video (Loops/PeerTube/Mastodon attachment) rendered as a black box until
played: the image proxy refused non-image content, so the tile/feed poster 302'd to
the raw mp4 and never displayed. The proxy now extracts a poster frame from remote
video too — via a bounded range fetch (first 4MB, enough for a faststart mp4's first
frame; moov-at-end files fall back to the old 302). The News feed's <video> gets a
poster so long videos show a frame instead of black. (>30s keeping controls instead
of autoplaying is by design — that was the reported "didn't load like the others".)

  • src/services/ThumbnailService.js — getRemoteThumbnail accepts video/* via a 4MB ranged fetch + single-frame extract; animated-buf guard scoped to images.
  • src/views/pages/news.ejs — feed videos carry poster=thumb(url, 1280).
  • CHANGELOG(.nl/.de).md — under Fixed.

Closes prutfolio-src-k1q.

Co-Authored-By: Claude <noreply@…>

  • Property mode set to 100644
File size: 12.2 KB
Line 
1# Changelog — Klonkt
2
3All notable changes to Klonkt. Newest at the top.
4Versions follow [SemVer](https://semver.org/).
5
6## [Unreleased]
7
8### Added
9- **Choose a light or dark share card.** The auto-generated share image follows your site theme;
10 under Admin → SEO you can now force it light or dark.
11- **A mention is now a notification.** When someone on the fediverse mentions you in a post —
12 even one that isn't a reply to you — it shows up in your fediverse notifications with a link
13 to the original.
14- **Cover art on openly shared audio.** A track shared openly on the fediverse now carries its
15 cover art (or the post cover), so audio players that support artwork show it instead of a blank tile.
16- **Report a post to the fediverse.** From a fediverse post you can now report it to the moderators
17 of its own home server, with an optional reason — and if someone reports your site, the report
18 shows up in your fediverse notifications.
19- **Set a post's language.** Choose the language you wrote a post in — on the fediverse it enables
20 timeline language filtering and the translate button.
21- **Alt text for images.** Give your cover image a description (and inline images keep their own
22 alt text) — it federates to the fediverse and lets screen readers describe the picture.
23- **Mention people in a post.** Typing `@user@server` in a post now links to their profile and
24 notifies them on the fediverse — even if they don't follow you — just like a mention in a reply.
25- **Short videos in the feed autoplay and loop.** An animated cover or a short (≤30s) clip in the
26 News feed now plays automatically and loops muted, like a GIF; longer videos keep their controls.
27- **Vote on fediverse polls.** A poll from an account you follow now shows in the News feed with its
28 options and current results, and you can cast your vote — it federates back like any Mastodon vote.
29- **Create your own polls.** A post can now carry a poll (single or multiple choice, with a set
30 duration). It federates as a real fediverse poll, so your Mastodon followers can vote from their own
31 app; the live results show on the post and the poll closes itself when the time is up.
32
33### Changed
34- **Sharing audio openly is now one-way.** Once a track is shared openly on the fediverse the file
35 has spread, so "closing" it again would be false security — the editor now locks the choice after
36 opening and warns you before you tick it.
37
38### Fixed
39- **Remote videos show a preview frame.** A video in the News feed or a Circle tile (e.g. from
40 Loops or PeerTube) used to appear as a black box until you pressed play; it now shows a real
41 poster frame. (Longer videos keep their player controls by design — only clips under 30 seconds
42 autoplay like a GIF.)
43- **Mentions, hashtags and links inside brackets now work.** A mention like `(@user@server)`, a
44 `(#hashtag)` or a bracketed URL federated as plain text — and the mentioned person was never
45 notified. They now link (and notify) like their unbracketed forms.
46- **Plain web addresses become links on the fediverse.** A bare URL typed in a post or reply now
47 federates as a clickable link instead of plain text.
48
49## [1.2.0] — 2026-07-01
50
51### Added
52- **PeerTube videos in the feed.** A PeerTube link in a post now shows an inline player in the News
53 feed, like YouTube, Spotify and SoundCloud already did.
54- **Light share images.** Sites whose default theme is Light now get a matching light Open Graph card
55 when a page is shared, instead of always a dark one.
56- **Leave your own visits out of the stats.** As the admin you can now exclude your own IP address
57 from your site statistics, for a truer picture of real visitors.
58- **Right-click "Save" is turned off on covers, images and videos** — a light bit of friction so the
59 artwork isn't one click from being saved (it's friction, not protection).
60
61### Fixed
62- **Animated video covers now render correctly everywhere.** In the Circle and the grid they could
63 show up as a broken image or a blank tile; they now display as a proper looping video that fills the
64 square, centred. Right-clicking a cover gives the normal link menu instead of the browser's video controls.
65- **Following someone no longer gets stuck.** A follow whose first delivery fails (the other server
66 briefly unreachable) is now retried automatically with backoff, instead of staying on "pending" forever.
67- **Boosted posts show their real text** in the Circle, instead of a "RE: <link>" prefix.
68- **Hardened fediverse handling** — stricter signature checks on incoming activity, blocks now also
69 cover a boost of a blocked author, and pinned-post syncing no longer races when you save several times quickly.
70
71## [1.1.0] — 2026-06-30
72
73### Added
74- **Animated covers play smoothly everywhere.** Upload an animated WebP as a cover and Klonkt also
75 makes a muted, looping video of it. iOS Safari — where animated WebP is janky — gets the smooth
76 video, every other browser keeps the crisp WebP, and on the fediverse the cover federates as a
77 video that plays in Mastodon and its apps. Shown on the post, the grid, the feed and related posts.
78- **Media library (Admin → Media).** See every uploaded image, where each one is used, copy its URL,
79 and clean up unused files in one click — including the leftover video/poster of an animated cover.
80 Images, Audio and Playlists now share one tab bar.
81- **Share button** at the bottom of every post (native share sheet, or copy link).
82- **Replace a track's audio file** without re-creating the track.
83- **Music on the fediverse (first step).** Audio posts now carry schema.org *MusicRecording* /
84 *MusicAlbum* data, and a per-post toggle can share a hosted track as a real fediverse audio
85 attachment that plays in followers' feeds.
86
87### Changed
88- **Cleaner embeds on Mastodon.** A post with a YouTube/Spotify/SoundCloud link now lets Mastodon
89 show its player card; link-only tracks share their streaming links. The cover still shows in other
90 Klonkt feeds. (On your own site nothing changes — the player and cover render as before.)
91- **Circles stay in sync the fediverse way** — edits and missed posts catch up automatically via
92 standard ActivityPub, so a Circle no longer drifts out of date.
93- **Everything Klonkt federates is now valid AS2 / JSON-LD**, guarded by a test, so stricter servers
94 accept it.
95- The track list is sorted **newest-first**.
96
97### Fixed
98- **Animated WebP covers are no longer frozen to a single frame** (the crop editor and the thumbnailer
99 left them static).
100- **Link-only tracks** (Spotify/YouTube, no uploaded file) can be inserted into a post again.
101- **Link previews** (og:image / Twitter card) now use absolute image URLs, so they show on Signal,
102 WhatsApp and other scrapers.
103- Several **fediverse delivery fixes**: covers/links no longer turn into a black tile on Mastodon,
104 raw audio files don't clutter a post that already has a player, and dead links from a renamed
105 remote post heal themselves.
106- The **mobile feed** loads full-resolution covers; long titles wrap instead of overflowing.
107- **Self-hosting updates** are more reliable: re-running the installer keeps your channel, and the
108 updater no longer restarts or claims an update when you're already up to date.
109
110## [1.0.0] — 2026-06-30
111
112### Added
113- **Klonkt is now on the fediverse (ActivityPub).** Your site is a real fediverse
114 account: people on Mastodon — or another Klonkt — can follow you, and your posts
115 reach their feeds. You can follow accounts and read their posts in a **News** feed,
116 get **notifications**, and **like, boost and reply** to posts. Incoming activity is
117 verified, so fake replies, likes and followers are rejected.
118- **Anyone can reply, like or boost your posts from the fediverse** — visitors interact
119 from their own account (they just enter their server); no account on your site needed.
120- **Circles**: follow other Klonkt sites and show each other's public posts in your
121 Circle — decentralised, with no central platform.
122- **Sensitive (NSFW) posts** with your own content-warning text: blurred with
123 click-to-reveal across the site, and shown as a content warning on the fediverse.
124- **Block** an account or an entire domain you'd rather not hear from.
125- Search now also finds **tracks** (by title, artist and album), playable straight from
126 the results with a link to the post they appear in — and post search matches as you type.
127- **Live theme preview** in Admin → site settings: accent, theme and palette update
128 instantly, before you save.
129- Uploaded images are automatically optimised to **WebP** for faster pages.
130- A roomier **mobile writing experience**: tap to open a distraction-free fullscreen
131 editor, with the formatting toolbar staying in view above the keyboard.
132- **Long posts collapse in the News feed** with a *read more* toggle, so a long post no
133 longer fills the whole screen — tap to expand or collapse it.
134- **See everyone in a Circle**: when a Circle has more than five sites, the member count
135 opens a popup that lists them all, so a big Circle no longer hides its members.
136
137### Changed
138- **Palettes revised to 8**: the neutral **Klonkt** (gold accent) is the new default,
139 plus seven full-colour themes — Forest, Ocean, Teal, Lilac, Sunset, Candy and Amber.
140- **Your profile federates more completely**: the links on your profile, the date you
141 joined and the accounts you follow now travel along to other servers, so your profile
142 looks complete when someone views it from Mastodon or elsewhere.
143- **Cover images and avatars are sharper** — resized on the server instead of being
144 squeezed by the browser.
145
146### Removed
147- **Hub mode** — Klonkt is now **solo or Circles**; you build a collective or label
148 through **Circles** (federated, standalone sites).
149- **Native comments and Google login** — replies, likes and boosts now run entirely
150 through the fediverse.
151- **Local favourites (♥)** — replaced by the ⭐ fediverse like.
152
153### Fixed
154- **Hashtags and mentions now work in every language and script** (e.g. Japanese, Cyrillic,
155 Arabic), both on your site and when federating — not just the Latin alphabet.
156- **Switching a site to solo (federation off) works again.** Turning the fediverse off could
157 make the whole site return “page not found” instead of just disabling federation; it now
158 cleanly switches federation off while the rest of the site keeps working. (Self-hosters:
159 update to pick up the fix.)
160- The Fediverse and Notifications items now disappear from the menu when federation is off,
161 instead of lingering.
162- The mini-player jumps and scrolls to the track that's playing — also from an album or
163 playlist — and keeps it highlighted.
164- Empty album/playlist covers now fall back to the first track's cover.
165- A profile photo that broke in the header after the WebP switch now repairs itself.
166- Many **mobile post-editor** fixes: reliable scrolling, a formatting toolbar that stays
167 put, no page jumps when you tap a button, and a Save bar that sits just above the keyboard.
168- **Boosts now reach the original poster** — their server registers the boost and notifies
169 them, just like a boost from Mastodon — and a boost is retried if a server is briefly
170 unreachable instead of being sent once and forgotten.
171- **Unfollowing an account now takes effect on the other server** (it could previously fail
172 to register, leaving you still following on their side).
173
174## [1.0.0-beta.2] — 2026-06-19
175
176First release where we actively track the version (shown in the footer — click it for
177this page).
178
179### Added
180- Release tracking: the version number in the footer links to this changelog page.
181- Eight premium features (Patreon-gated): newsletter/mailing list, download-for-email,
182 release scheduling + fan-only previews, EPK/press kit, pro statistics, link-in-bio +
183 click stats, embeddable player, and show agenda + notify-me.
184- Newsletter signup field in the footer (on/off in Admin → Settings).
185- SMTP settings configurable in Admin → Settings (no more config-file edit needed), with
186 a test-mail button.
187
188### Changed
189- Tidier settings forms (stacked labels, full-width inputs).
190- EPK/press kit shows the top 10 most-listened tracks.
191- Nicer 404 page (mobile-friendly) and clearer login error messages.
192
193### Fixed
194- The site-wide audio player wasn't loading any tracks.
195- Button text became unreadable on hover.
196- Date pickers now follow the theme.
197- Back/forward navigation no longer shows a doubled header.
Note: See TracBrowser for help on using the repository browser.