From 766b3f237d419d9a562b109a9b3a0d1ef427b86c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 15 May 2025 07:34:13 +0200 Subject: [PATCH] Fix user export --- CHANGELOG.md | 67 +++++++++++++++++++ .../exporters/videos-exporter.ts | 2 +- 2 files changed, 68 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f261eaa6d..0085440ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,72 @@ # Changelog +## v7.2.0-rc.1 + +### Configuration + + * Prefer to not store lives in object storage by default: `object_storage.streaming_playlists.store_live_streams` is now `false` in the config template + * Use `hot` trending algorithm by default: `trending.videos.default` is now `hot` in the config template + +### Docker + + * Add missing docker env options to configure live settings [#6948](https://github.com/Chocobozzz/PeerTube/pull/6948) + * Expose NGINX logs folder in `docker-compose.yml` [#6963](https://github.com/Chocobozzz/PeerTube/pull/6963) + +### NGINX + + * Fix max body size inconsistency with PeerTube backend: https://github.com/Chocobozzz/PeerTube/commit/a2812e40d90619528a6b2a4c491640a9737f8f3c + +### Plugins/Themes/Embed API + + * Add server plugin hooks (https://docs.joinpeertube.org/api/plugins): + * `filter:email.subject.result` & `filter:email.template-path.result` [#6876](https://github.com/Chocobozzz/PeerTube/pull/6876) + +### Features + + * :tada: Redesign *Manage my videos* page :tada: + * Redesign the page to list more videos for a clearer overview + * Add sort, pagination and column display settings + * Add channel buttons to quickly filter videos + * Improve video search & filters + * Add ability to display video comments count [#6635](https://github.com/Chocobozzz/PeerTube/pull/6635) + * :tada: Redesign video management/publication pages :tada: + * Migrate the video update page to a *Manage video* tool, that includes *Studio* and *Stats* features + * Video publication privacy choice is moved in the second step + * Use a lateral menu to navigate between *Manage video* pages + * Add information related to the video state (transcoding, etc.) and clearly display unavailable features + * Add user agent stats to video stats [#6871](https://github.com/Chocobozzz/PeerTube/pull/6871) + * Support drag-and-drop to replace the video file [#6970](https://github.com/Chocobozzz/PeerTube/pull/6970) + * :tada: Improve NSFW/sensitive content system :tada: + * Support content warning so video authors can describe why the video is considered sensitive + * Change the *Blur* sensitive content policy for viewers where the miniature name is not blurred anymore + * Add an additional *Warn* sensitive content policy for viewers where the thumbnail is not blurred + * *Blur* and *Warn* policies add a *Sensitive* icon below the thumbnail. A warning is also displayed in the player + * The player embed now displays the sensitive content warning + * Add ability to set predefined sensitive flags to videos so video authors help to identify specific sensitive content + * If enabled by administrators, users can override their default sensitive content policy for specific flags. + For example, they can hide all sensitive content but display with a warning content flagged as *Violent* by video authors + * Add sensitive content filter in admin videos overview + * Allow users to resend the email verification link when changing their current email + * Inject subtitle links in HLS playlists so it's easier for external video players that use the `master.m3u8` playlist to display subtitles + * Disable log coloration when TTY does not support it [#6988](https://github.com/Chocobozzz/PeerTube/pull/6988) + * Support more embed parameters in custom markup (`` and ``) [#6989](https://github.com/Chocobozzz/PeerTube/pull/6989) + +### Bug fixes + + * More robust theme CSS variables injection + * Fix podcast feed URL in subscribe button + * Fix podcast feed download extension when the file is a video + * Fix broken downloaded audio file + * Fix crash on download stream error + * Fix local posts counter in NodeInfo + * Run transcription after file replacement + * Better video chapters parsing from the description + * Correctly handle `generateTranscription` body param on upload/import + * Fix federation compatibility with GoToSocial + * Fix PeerTube account client redirection + * Prevent plugins to log exceptions + + ## v7.1.1 ### SECURITY diff --git a/server/core/lib/user-import-export/exporters/videos-exporter.ts b/server/core/lib/user-import-export/exporters/videos-exporter.ts index 92b86feb5..9aaaf12da 100644 --- a/server/core/lib/user-import-export/exporters/videos-exporter.ts +++ b/server/core/lib/user-import-export/exporters/videos-exporter.ts @@ -391,7 +391,7 @@ export class VideosExporter extends AbstractUserExporter { if (separatedAudioFile) { const stream = new PassThrough() - await new VideoDownload({ video, videoFiles: [ videoFile, separatedAudioFile ] }) + new VideoDownload({ video, videoFiles: [ videoFile, separatedAudioFile ] }) .muxToMergeVideoFiles(stream) .catch(err => logger.error('Cannot mux video files', { err }))