]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - CHANGELOG.md
Update changelog
[github/Chocobozzz/PeerTube.git] / CHANGELOG.md
1 # Changelog
2
3 ## v4.3.1
4
5 ### IMPORTANT NOTES
6
7 * If you upgrade from PeerTube **< 4.3.0**, please follow 4.3.0 IMPORTANT NOTES
8
9 ### SECURITY
10
11 * Prevent XSS in sort select on pages that list videos. Thanks to Anthony Roth who reported the vulnerability!
12
13 ### Bug fixes
14
15 * Fix broken embed player on live reload
16 * Fix channel follow when manually approve instance followers is enabled
17 * Fix input with number overflow on small screen
18 * Fix moderation dropdown overflow on mobile
19 * Clearer instance subscription page title in admin
20 * Prevent "Cannot use same state" video error
21 * Correctly handle RTMP streams without audio
22 * Correctly process broadcast parallel job in parallel
23
24
25 ## v4.3.0
26
27 ### IMPORTANT NOTES
28
29 * Redis **<** 5.x is not supported anymore
30 * FFmpeg **<** 4.3 is not supported anymore
31
32 ### Maintenance
33
34 * Use `yt-dlp` by default instead of `youtube-dl` for new installations (because of much more dev activity)
35 * Support NodeJS 18
36 * Improved PeerTube logs:
37 * Reduce amount of PeerTube error logs
38 * Introduce `log.log_tracker_unknown_infohash` setting to disable "Unknown infoHash" warnings
39 * Web browsers send their error logs to the server that writes them in its own logs. Can be disabled by `log.accept_client_log` setting
40 * Introduce experimental support of [OpenTelemetry](https://opentelemetry.io/)
41 * Enable metrics export using a Prometheus exporter
42 * Enable tracing export using a Jaeger exporter
43 * Automatically rebuild native plugin modules on NodeJS ABI change
44
45 ### Docker
46
47 * Add ability to easily use the docker compose stack on localhost
48
49 ### Plugins/Themes/Embed API
50
51 * Theme:
52 * Removed unused `--secondaryColor` CSS variable
53 * Add client plugin hooks (https://docs.joinpeertube.org/api-plugins):
54 * `filter:api.my-library.video-playlist-elements.list.params` & `filter:api.my-library.video-playlist-elements.list.result` [#5098](https://github.com/Chocobozzz/PeerTube/pull/5098)
55 * `action:video-channel-create.init`
56 * `action:video-channel-update.init` & `action:video-channel-update.video-channel.loaded`
57 * `action:video-channel-videos.init` & `action:video-channel-videos.video-channel.loaded` & `action:video-channel-videos.videos.loaded`
58 * `action:video-channel-playlists.init` & `action:video-channel-playlists.video-channel.loaded` & `action:video-channel-playlists.playlists.loaded`
59 * `filter:share.video-embed-code.build.params` & `filter:share.video-embed-code.build.result` & `filter:share.video-playlist-embed-code.build.params` & `filter:share.video-playlist-embed-code.build.result`
60 * `filter:share.video-embed-url.build.params` & `filter:share.video-embed-url.build.result` & `filter:share.video-playlist-embed-url.build.params` & `filter:share.video-playlist-embed-url.build.result`
61 * `filter:share.video-url.build.params` & `filter:share.video-url.build.result` & `filter:share.video-playlist-url.build.params` & `filter:share.video-playlist-url.build.result`
62 * `action:modal.share.shown`
63 * Add server plugin hooks (https://docs.joinpeertube.org/api-plugins):
64 * `filter:job-queue.process.params` & `filter:job-queue.process.result`
65 * `filter:transcoding.manual.resolutions-to-transcode.result` & `filter:transcoding.auto.resolutions-to-transcode.result`
66 * `action:api.video-channel.created` & `action:api.video-channel.updated` & `action:api.video-channel.deleted`
67 * `action:notifier.notification.created`
68 * Add HTML placeholder (https://docs.joinpeertube.org/contribute-plugins?id=html-placeholder-elements):
69 * `share-modal-playlist-settings` & `share-modal-video-settings`
70
71 ### Features
72
73 * :tada: Add ability for users to synchronize a remote channel [#5135](https://github.com/Chocobozzz/PeerTube/pull/5135) :tada:
74 * Automatically import all videos of a remote channel in your PeerTube channel
75 * PeerTube will watch for new publications and automatically import these new videos
76 * UI:
77 * Redesigned *Create an account* steps
78 * Improved *Login* page
79 * Use a lighter font color
80 * Use a bigger font size
81 * Don't display form errors in red while typing but only when we unfocus the input
82 * Display an error message when the user is unauthorized to view a page [#5097](https://github.com/Chocobozzz/PeerTube/pull/5097)
83 * Display latest upload date for captions
84 * Add an information if the live will be saved as a replay when displaying live sessions
85 * Move search bar at the center of the header
86 * Add *Toki Pona* and *Croatian* locales in client
87 * Embed:
88 * Display a message and automatically start live streams in embed
89 * Use the instance name instead of "PeerTube" in embed control bar
90 * Reuse current watch page query parameters for embed when using OEmbed [#5023](https://github.com/Chocobozzz/PeerTube/pull/5023)
91 * Instance follows:
92 * Introduce a *Rejected* state for follow requests to not reprocess already rejected follow requests
93 * Add bulk actions on instance following/followers ()
94 * Admins:
95 * Add ability to disable original resolution transcoding of the uploaded video/live stream
96 * Add ability to delete a specific video file in videos overview
97 * Display *Last Login* column by default in users overview
98 * Remember last selected columns in users overview
99 * Add ability to set a custom video import timeout
100 * Add ability to set the default feed (Atom, RSS...) items count
101 * Admins and moderators now bypass API rate limits
102 * Add ability to list comments on local videos in comments overview
103 * Limit video import resolution depending on enabled VOD transcoding resolutions
104 * Store and display the uploaded video original filename [#4885](https://github.com/Chocobozzz/PeerTube/pull/4885)
105 * Add *Total views* in the my channels list [#5007](https://github.com/Chocobozzz/PeerTube/pull/5007)
106 * Add *Original Publication Date* video sort option [#4959](https://github.com/Chocobozzz/PeerTube/pull/4959)
107 * Performance:
108 * Optimized view/watching endpoint
109 * Optimized video feed SQL query
110 * Process images (resize, convert...) in a dedicated worker thread
111 * Optimized emoji markup list rendering in client
112 * Use a worker thread to send ActivityPub Broadcast requests
113 * Suffix external auth username/channel name on conflict instead of throwing an exception
114
115 ### Bug fixes
116
117 * Fix users overview *Last login* sort in admin
118 * More robust *move to object storage* job failure
119 * Fix comment add avatar with a unauthenticated user
120 * Fix fetching unlisted video in client
121 * Fix comments/download enabled attributes when importing a video
122 * Fix total instance views stats
123 * Fix HLS player infinite buffering on seek
124 * Reset table pagination on search
125 * *Host* search filter can also search into channels and playlists in global search
126 * Fix *My videos* invalid counter
127 * Prevent error on highlighted thread
128 * Fix *Jobs*, *Account blocklist* and *Server blocklist* hidden columns on Safari
129 * Fix live stream max bitrate
130 * Fix incompatibility with OpenSSL 3
131 * Don't crash on redis connection error
132 * Transcoding:
133 * Fix failed transcoding with a mp3 file that contains a cover image
134 * Prevent duplicated HLS playlist when running transcoding
135 * Regenerate video file names when running transcoding manually
136 * Prevent job failures resulting in broken videos on concurrent transcoding
137 * Fix transcoding of videos with quad audio channels
138 * ActivityPub
139 * Fix random invalid HTTP signature generation
140 * Use unique AP id for *Accept*/*Reject* activities
141 * Correctly handle remote actors that don't have follow counters
142 * Correctly handle unknown remote actor image size
143 * Add years in graph legend when grouping video views stats by month
144 * Prevent creating multiple lives when clicking multiple times on the "Go Live" button
145 * Fix *undefined" resolution in player *Stats for nerds*
146 * Fix not displayed error message in administrator web config
147 * More robust S3 upload [#5231](https://github.com/Chocobozzz/PeerTube/pull/5231)
148 * Fix broken saved live stream with only one resolution
149 * Fix `removeEventListener` player embed api
150 * Progressively cleanup actor images without width from the database
151 * Fix broken dates on localized pages
152 * Prevent job queue to be started before plugins
153 * Fix old database enum names
154 * Don't display remove file icon in admin videos overviews if we can't delete the file
155
156
157 ## v4.2.2
158
159 ### IMPORTANT NOTES
160
161 * If you upgrade from PeerTube **< 4.2.0**, please follow 4.2.0 IMPORTANT NOTES
162
163 ### SECURITY
164
165 * Upgrade vulnerable server dependencies
166
167 ### Bug fixes
168
169 * Fix fast restream in permanent live
170 * Fix latency mode setting when creating a live
171 * Fix unique constraint tag violation when importing videos
172 * Fix latest live sessions order
173 * Fix server crash feed when accessing feeds that contains a live
174 * Fix `false` boolean attribute (`data-is-live` etc) in custom markup
175
176
177 ## v4.2.1
178
179 ### IMPORTANT NOTES
180
181 * If you upgrade from PeerTube **< 4.2.0**, please follow 4.2.0 IMPORTANT NOTES
182
183 ### Bug fixes
184
185 * Fix live ending job that breaks new live session
186 * Fix search filters counter
187 * Fix upload banner icon margin
188 * Fix button icon margin
189 * Fix my import expander icon that should only be displayed on import error
190 * Fix select components styling inconsistency
191 * Increase max watch section to avoid too much warnings in server
192 * Optimize broadcast job creation
193 * Optimize `View` activities delivery using a dedicated broadcast job queue that can be run in parallel
194 * Fix video selection buttons placement
195 * Fix searching into account blocklist
196 * Fix incorrect instance stats
197 * Fix broken player on ICE error
198 * Relax views federation
199 * Fix peertube user in docker
200 * Fix playlist element federation with a deleted video
201
202
203 ## v4.2.0
204
205 ### IMPORTANT NOTES
206
207 * **Important** You need to execute manually a migration script (can be executed after your upgrade, while your PeerTube instance is running) to generate smaller avatar miniatures:
208 * Classic installation: `cd /var/www/peertube/peertube-latest && sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production node dist/scripts/migrations/peertube-4.2.js`
209 * Docker installation: `cd /var/www/peertube-docker && docker-compose exec -u peertube peertube node dist/scripts/migrations/peertube-4.2.js`
210 * **Important** SQL migrations (in particular `0685-multiple-actor-images`) can take several minutes to complete
211 * **Important** You must update your nginx configuration to support video web editor: https://docs.joinpeertube.org/install-any-os?id=nginx
212 * REST API:
213 * `PUT /api/v1/videos/{id}/watching` is deprecated, use `POST /api/v1/videos/videos/{id}/views` instead: https://docs.joinpeertube.org/api-rest-reference.html#operation/addView
214
215 ### Maintenance
216
217 * Add `client.videos.resumable_upload.max_chunk_size` config option [#4857](https://github.com/Chocobozzz/PeerTube/pull/4857)
218 * Add `object_storage.upload_acl` config option [#4861](https://github.com/Chocobozzz/PeerTube/pull/4861)
219 * Add ability to set RTMP/RTMPS listening hostname using `rtmp.hostname`/`rtmps.hostname` and public RTMP/RTMPS hostname using `rtmp.public_hostname`/`rtmps.public_hostname`
220 * Removed `best` default trending algorithm. It is automatically used if using `hot` algorithm with a logged in user
221
222 ### Docker
223
224 * Use NodeJS 16 in PeerTube docker image: administrators may have to reinstall PeerTube plugins that use native NodeJS dependencies
225 * Support readonly tmp directory (if you want to use `tmp` directory as a volume)
226
227 ### Plugins/Themes/Embed API
228
229 * Theme:
230 * Add `--mainBackgroundHoverColor` and `--greySecondaryBackgroundColor` CSS variables
231 * Add server plugin hooks
232 * `filter:api.video-playlist.videos.list.params` and `filter:api.video-playlist.videos.list.result`
233 * Support `getSettings()`, `isLoggedIn()` and `getAuthHeader()` client plugin helpers in embed
234 * Player URL query parameters:
235 * Support `controlBar=0` to hide player control bar. See [the documentation](https://docs.joinpeertube.org/api-embed-player?id=url-parameters) for more information
236
237 ### Features
238
239 * :tada: Add video edition from the PeerTube web interface :tada:
240 * Cut the video (set a new start/new end)
241 * Add an intro at the beginning and/or an outro at the end of the video
242 * Add an icon/watermark in the top right corner of the video
243 * PeerTube will automatically transcode the new video and replace the original one
244 * :sparkles: *Funded by "la Direction du numérique du Ministère de l'Éducation Nationale, de la Jeunesse et des Sports"* :sparkles:
245 * :tada: Add advanced statistics of a specific video :tada:
246 * Provide *Average watch time*, *Total watch time* and *Peak viewers* video statistics
247 * Display total viewers, aggregated watch time and audience retention in interactive time series graphs
248 * Display viewer countries in bar chart if not disabled by admins
249 * :sparkles: *Funded by HowlRound Theatre Commons at Emerson College* :sparkles:
250 * :tada: Add latency setting support for lives (small latency without P2P or high latency to increase P2P ratio) :tada:
251 * :tada: Add ability to save a replay of every streaming session of a permanent live :tada:
252 * :sparkles: *Funded by HowlRound Theatre Commons at Emerson College* :sparkles:
253 * Add simple subtitle edition from video captions tab in video edition form [#4666](https://github.com/Chocobozzz/PeerTube/pull/4666)
254 * Display live streaming sessions details in permanent live information modal
255 * Add ability to also mute users when banning them [#4660](https://github.com/Chocobozzz/PeerTube/pull/4660)
256 * UI improvements:
257 * Add ability for admins to display author avatar in video miniatures [#4639](https://github.com/Chocobozzz/PeerTube/pull/4639) [#4823](https://github.com/Chocobozzz/PeerTube/pull/4823)
258 * Display author avatar in embed
259 * Move admin comments list in *Overviews* menu
260 * Add a *Refresh* button to admin comments list
261 * Add ability to sort videos by total views
262 * Add *Persian* locale support
263 * Add previous page redirection support on external auth login
264 * Support proxy for object storage [#4973](https://github.com/Chocobozzz/PeerTube/pull/4973)
265 * Add "Only display embed URL" checkbox in share modal
266
267 ### Bug fixes
268
269 * Video uploads fixes:
270 * Fix invalid token during long uploads
271 * Fix upload on server with a slow disk
272 * Fix upload of some videos with unknown duration (`.m2v` for example)
273 * Fix 2 hours limit on uploads
274 * Fix upload page title [#4904](https://github.com/Chocobozzz/PeerTube/pull/4904)
275 * Fix video upload with some characters in filename
276 * Fix `.ac3` and `.mts` upload on some OS
277 * Fix avatar with account username starting with a number
278 * Fix client html cache on theme update
279 * Disallow unlisted video indexation
280 * Allow oembed to fetch unlisted videos
281 * Stop removing remote Mastodon rates
282 * Fix email links displayed twice in text version
283 * Fix user quota inconsistencies in admin when users use lives
284 * Fix admin instance following list when sorting by *Redundancy allowed*
285 * More reliable object storage upload when using multipart [#4903](https://github.com/Chocobozzz/PeerTube/pull/4903)
286 * Correctly handle HTTP signature draft 11 requests (without `date` header but with `(created)`)
287 * Fix `ctrl + 0-9` player hotkeys conflicting with web browser hotkeys
288
289
290 ## v4.1.1
291
292 ### Security
293
294 * Strip EXIF data when processing images
295
296 ### Docker
297
298 * Fix videos import by installing python 3
299 * Install `git` package (may be needed to install some plugins)
300
301 ### Bug fixes
302
303 * Fix error when updating a live
304 * Fix performance regression when rendering HTML and feeds
305 * Fix player stuck by HTTP request error
306
307
308 ## v4.1.0
309
310 ### IMPORTANT NOTES
311
312 * PeerTube does not support NodeJS 12 anymore
313
314 ### Plugins/Themes/Embed API
315
316 * Introduce ability for plugins to create client pages: https://docs.joinpeertube.org/contribute-plugins?id=create-client-page
317 * Plugins that register custom video fields can choose in which tab they want to display them and can report errors: https://docs.joinpeertube.org/contribute-plugins?id=add-custom-fields-to-video-form
318 * Add new client plugin id selectors
319 * Add `#plugin-selector-about-instance-moderation`, `#plugin-selector-about-instance-other-information`, `#plugin-selector-about-instance-features`, `#plugin-selector-about-instance-statistics`, `#plugin-selector-about-menu-instance`, `#plugin-selector-about-menu-peertube`, `#plugin-selector-about-menu-network` in about page [#4597](https://github.com/Chocobozzz/PeerTube/pull/4597)
320 * Add `#plugin-selector-menu-user-dropdown-language-item` in menu [#4597](https://github.com/Chocobozzz/PeerTube/pull/4597)
321 * Add client plugin hooks
322 * `filter:login.instance-about-plugin-panels.create.result` and `filter:signup.instance-about-plugin-panels.create.result` to add custom instance information in login/signup pages
323 * Add server plugin hooks
324 * `filter:api.server.stats.get.result`
325 * `filter:api.video.upload.video-attribute.result`, `filter:api.video.import-url.video-attribute.result`, `filter:api.video.import-torrent.video-attribute.result`, `filter:api.video.live.video-attribute.result` when creating a video object
326 * `action:api.video-caption.created` and `action:api.video-caption.deleted` [#4650](https://github.com/Chocobozzz/PeerTube/pull/4650)
327 * Server helpers
328 * `videos.getFiles(videoId: number)` to list video files (webtorrent, hls and thumbnail files)
329 * `videos.ffprobe(path: string)` to get `ffprobe` JSON result
330 * Publish [@peertube/peertube-type](https://www.npmjs.com/package/@peertube/peertube-types) NPM module that can be used by TypeScript plugins
331 * Add ability to disable P2P in embed using `p2p` query parameter in embed URL
332
333 ### Maintenance
334
335 * REST API
336 * Deprecate `webTorrentEnabled` in favour of `p2pEnabled` for user model
337 * Add ability to pause/resume the job queue
338 * Also publish stable releases on https://builds.joinpeertube.org/release
339 * Add ability for admins to specify `youtube-dl`/`yt-dlp` python binary path [#4706](https://github.com/Chocobozzz/PeerTube/pull/4706)
340 * PeerTube server startup is faster
341
342 ### Security
343
344 * Check video privacy before listing or accepting captions, comments or rates
345 * Check video import target URL does not resolve to internal IP. This technique has some limits so if you have private HTTP services on your server/network publicly accessible, we recommend to use a proxy or a dedicated interface for PeerTube
346
347 ### CLI tools
348
349 * Also remove HLS files when using `prune-storage` script
350 * Support `--plugin-version` option when installing a plugin [#4599](https://github.com/Chocobozzz/PeerTube/pull/4599)
351
352 ### Features
353
354 * :tada: Player improvements
355 * Increase control bar size on desktop & mobile
356 * Add overlay on tap to easily play/pause the video on mobile
357 * Automatically move to landscape when full screen a video on mobile
358 * Add fast forward/rewind on double tap on mobile
359 * Cleanup, fix and add player hotkeys
360 * Keep control bar displayed when settings panel is opened
361 * Faster hiding transition for control bar
362 * Stop confusing *peer* indication in control bar when p2p is disabled
363 * Try to fast forward video on HLS decode error
364 * :tada: More admin customizations
365 * Specify default *Publish* video attributes (download enabled, comments enabled, privacy, licence)
366 * Choose to automatically redirect users on the external auth platform on login button click
367 * Set default P2P policy for the player
368 * Search improvements
369 * Add *Result type* filter in search (videos, channels or playlists)
370 * Display only video results when searching on video metadata (tags, categories etc)
371 * Video imports
372 * Users can cancel and delete video imports
373 * Add ability to filter video imports by target URL
374 * Add ability for users to delete individual elements in videos history
375 * Show date and views counter in playlist element miniature [#4396](https://github.com/Chocobozzz/PeerTube/issues/4396)
376 * Add *norsk* locale support
377 * Check mute status and display mute badges in channel and account pages
378 * Add *No linguistic content* video language option [#4631](https://github.com/Chocobozzz/PeerTube/pull/4631)
379 * Don't send notifications to admins/moderators if an admin/moderator reported an abuse
380 * Add ability for moderators/admins to edit any channel [#4608](https://github.com/Chocobozzz/PeerTube/pull/4608)
381 * Add a refresh button to admin videos overview page [#4753](https://github.com/Chocobozzz/PeerTube/pull/4753)
382 * Add *Official* badge to official plugins in admin plugin pages
383 * Automatically clean unavailable remote ActivityPub resources
384 * Media RSS feed displays video file as default enclosure instead of torrent
385 * Use white background for PeerTube icons (instead of transparency)
386 * Show private badge for private videos in playlists [#4767](https://github.com/Chocobozzz/PeerTube/pull/4767)
387
388 ### Bug fixes
389
390 * Fix weird `require` bug on plugin upgrade
391 * Fix plugin storage return value when storing a JSON array [#4640](https://github.com/Chocobozzz/PeerTube/pull/4640)
392 * Decrease delay to cleanup resumable uploads (to 1 hour)
393 * Update torrent metadata on video update
394 * Fix HLS player with videos that have stream duration inconsistencies
395 * Fix player crash if the video contains only audio resolution
396 * Fix ffmpeg crash when using a transcoding plugin encoder that doesn't support PeerTube B-frame strategy
397 * Fix transcoding failure for audio only uploads
398 * Don't run HLS transcoding when running manually WebTorrent transcoding from the admin
399 * Don't run audio transcoding with video only file
400 * Correctly send new HLS files after re-transcoding to object storage
401 * Fix stuck state when move transcoding job failed
402 * Correctly display internal videos of internal subscriptions
403 * Correctly display all videos history to users
404 * Fix video upload with big preview file
405 * Fix description/comment timestamp click of external video
406 * Add missing `mediaType` information to AP objects
407 * Fix abuse list crash on deleted reporter account
408 * Convert markdown to HTML/plain text for RSS feeds
409 * Search on tags is now case insensitive
410 * Forbid comments/captions listing of private/internal videos
411 * Prevent video import on non unicast ips
412 * Improve markdown to plain text converter, especially when handling lists
413 * Fix scheduled publication on upload
414 * Fix youtube-dl max buffer size error
415 * Hide remote subscribe if user is logged in
416 * Fix video file `storage` column inconsistency
417
418
419 ## v4.0.0
420
421 ### IMPORTANT NOTES
422
423 * **Important** You need to execute manually a migration script (can be executed after your upgrade, while your PeerTube instance is running) to migrate HLS files name:
424 * Classic installation: `cd /var/www/peertube/peertube-latest && sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production node dist/scripts/migrations/peertube-4.0.js`
425 * Docker installation: `cd /var/www/peertube-docker && docker-compose exec -u peertube peertube node dist/scripts/migrations/peertube-4.0.js`
426 * **Important** We fixed configuration inconsistencies and added some keys. **You must change/add them in your production.yaml**
427 * `log.rotation.maxFileSize` becomes `log.rotation.max_file_size`
428 * `log.rotation.maxFiles` becomes `log.rotation.max_files`
429 * `log.anonymizeIP` becomes `log.anonymize_ip`
430 * Removed `import.http.proxy` configuration: use `HTTP_PROXY` and `HTTPS_PROXY` environment variables instead
431 * Added `storage.bin` in configuration file
432 * REST API: Deprecate `filter` videos list query parameter in favour of `isLocal` and `include`
433 * PeerTube **is compatible** with ffmpeg 4.4.1 but **is not compatible** with ffmpeg 4.4.0
434 * Removed deprecated `/static/torrents` route
435 * We changed the live `views` and `viewers` system, that could lead to federation inconsistencies with instances < 4.0.0 for these specific counters
436
437 ### Maintenance
438
439 * Add ability for sysadmins to disable web configuration edition [#4315](https://github.com/Chocobozzz/PeerTube/pull/4315)
440 * YoutubeDL:
441 * Support [yt-dlp](https://github.com/yt-dlp/yt-dlp/) (recommended due to unmaintained [youtube-dl](https://github.com/ytdl-org/youtube-dl))
442 * Add ability to set release URL in configuration
443 * Add ability to override `default-playlist.png`, `default-avatar-account.png`, `default-avatar-video-channel.png` using `storage.client_overrides` configuration [#4392](https://github.com/Chocobozzz/PeerTube/pull/4392)
444
445 ### Plugins/Themes/Embed API
446
447 *Documentation: https://docs.joinpeertube.org/api-plugins*
448
449 * Add client plugin hooks:
450 * `filter:api.video-watch.video-playlist-elements.get.params` and `filter:api.video-watch.video-playlist-elements.get.result` [#4387](https://github.com/Chocobozzz/PeerTube/pull/4387)
451 * Introduce plugin id selectors: https://docs.joinpeertube.org/contribute-plugins?id=plugin-selector-on-html-elements
452 * Add `#plugin-selector-login-form` to login form
453
454 ### Docker
455
456 * We now use Bullseye for Docker images, so the image name changed:
457 * `production-buster` becomes `production-bullseye`
458 * `v4.x.x-buster` becomes `v4.x.x-bullseye`
459 * Allow configuration to be static/readonly [#4315](https://github.com/Chocobozzz/PeerTube/pull/4315)
460
461 ### CLI tools
462
463 * Add [create-move-video-storage-jobs](https://docs.joinpeertube.org/maintain-tools?id=create-move-video-storage-jobjs) script to move local video files in object storage [#4481](https://github.com/Chocobozzz/PeerTube/pull/4481)
464 * Removed `peertube-repl` and `peertube-watch` scripts
465 * Apply import interval only when reasonable [#4552](https://github.com/Chocobozzz/PeerTube/pull/4552)
466
467 ### Features
468
469 * :tada: Add videos overview in admin
470 * List all available videos on the instance
471 * Display video information summary: file type, file size, privacy, state, embed...
472 * Many filters available: videos with/without HLS/WebTorrent, remote/local videos, exclude muted accounts...
473 * Run WebTorrent/HLS transcoding
474 * Remove WebTorrent/HLS video files
475 * Bulk actions: remove, block, run transcoding, delete video files...
476 * Correctly generate thumbnails/previews for portrait videos
477 * Keep input image ratio for banners, avatars, thumbnails...
478 * Support 144p transcoding [#4492](https://github.com/Chocobozzz/PeerTube/pull/4492)
479 * Support RTMPS
480 * UI:
481 * Live:
482 * Specify live type at first step
483 * Improve *Permanent live* label using *Recurring live* expression
484 * Clearer moderation dropdowns using section titles
485 * Improve admin tables responsive
486 * Add warning when trying to share a private playlist/video [#4469](https://github.com/Chocobozzz/PeerTube/pull/4469)
487 * Change *Sort by views* to *Sort by recent views* [#4483](https://github.com/Chocobozzz/PeerTube/pull/4483)
488 * Add *Next video to be played* in watch page if autoplay is enabled [#4497](https://github.com/Chocobozzz/PeerTube/pull/4497)
489 * Add embed preview in share modal
490 * Add user username in modal when deleting a user
491 * Add video name in modal when blocking/removing a video
492 * Improve notification settings organization
493 * Video/live views:
494 * Add ability for admins to change local buffer update interval
495 * Add ability for admins to change view expiration for a specific IP
496 * Introduce `viewers` attribute for live videos and reduce delay to see `viewers` update in the interface
497 * Take into accounts `views` created during the live when saving replay
498 * Add markdown support for playlist description [#4489](https://github.com/Chocobozzz/PeerTube/pull/4489)
499 * Improve video playback when having invalid redundancy URLs
500 * Load video resolutions before video starts in player settings menu
501 * Optimize federation:
502 * Correctly set HTTP request timeout
503 * Process slow/bad targets in a dedicated queue
504 * Optimize ActivityPub outbox fetch
505 * Automatically update `publishedAt` attribute when re-streaming in a permanent live
506 * Add ability for users to view their followers
507 * Add ability for users to filter their videos per channel
508 * Add ability for admins to show author display name instead of username in video miniatures [#4422](https://github.com/Chocobozzz/PeerTube/pull/4422)
509 * Add ability for admins to filter logs by tags
510 * Add ability for admins to configure per user channels limit [#4491](https://github.com/Chocobozzz/PeerTube/pull/4491)
511 * Add available instance themes and plugins in `/about/peertube` page
512 * Remove contributors list from `/about/peertube` since some contributors don't want their name to be displayed on unknown PeerTube instances
513 * Add *Transcoding failed* video state [#4525](https://github.com/Chocobozzz/PeerTube/pull/4525)
514 * Add ability to make a search using a URL containing query parameters
515 * Optimize *channel with video* component in homepage
516
517 ### Bug fixes
518
519 * Alert user when aborting video upload
520 * Fix youtube-dl update with proxy
521 * Fix *My videos* search on page refresh
522 * Fix homepage request error when having many elements (channels, videos...)
523 * Prevent multiple post-process triggering of upload-resumable [#4175](https://github.com/Chocobozzz/PeerTube/pull/4175)
524 * Fix remote interaction on remote content
525 * Fix HLS transcoding job when running `create-transcoding-job` CLI
526 * Fix import error log on failed import
527 * Fix transcoding with very low input bitrate
528 * Update `updatedAt` video attribute on thumbnail update
529 * Fix local video concurrent update
530 * Fix redundancy error when PeerTube tries to extend/remove redundancy
531 * Fix account switch in account channels page
532 * Hide job progress information for jobs that don't support it
533 * Fix player settings menu keyboard navigation
534 * Fix player placeholder width
535 * Fix playlist miniature size with big description
536 * Correctly escape meta tags
537 * Fix audio upload client bug if not enabled by instance
538 * Add header Vary Accept-Language [#4588](https://github.com/Chocobozzz/PeerTube/pull/4588)
539 * Fix additional extensions admin config description
540 * Fix upload of video with long filename
541 * Fix pending transcoding counter with failed job
542 * Fix client header search on ios
543 * Fix iframe attribute `allow-popups` for oembed
544 * Fix theme update when logged in
545 * Fix homepage title
546
547
548 ## v3.4.1
549
550 ### Bug fixes
551
552 * Fix broken PeerTube when cookies are disabled or if the embed iframe does not have appropriate options
553 * Fix search by channel's handle with an handle containing the local host
554 * Don't display autoblock message in upload page it is not enabled by the admin
555 * Don't index `/about/peertube` page
556 * Correctly handle OEmbed with an URL containing query parameters
557 * More robust youtube-dl thumbnail import
558 * Don't send a new video notification when using create transcoding CLI script
559
560
561 ## v3.4.0
562
563 ### IMPORTANT NOTES
564
565 * **Important:** Due to a bug in ffmpeg, PeerTube is not compatible with ffmpeg 4.4. See https://github.com/Chocobozzz/PeerTube/issues/3990
566 * **Debian Bullseye admins:** Debian Bullseye removed `python` binary/link in favour of explicit `python2`/`python3` binaries. But `youtube-dl` used by PeerTube needs it so you'll have to install [python-is-python2](https://packages.debian.org/bullseye/python-is-python2) or [python-is-python3](https://packages.debian.org/bullseye/python-is-python3) **before** upgrading PeerTube
567 * PeerTube now supports NodeJS 16
568
569 ### Plugins/Themes/Embed API
570
571 *Documentation: https://docs.joinpeertube.org/api-plugins*
572
573 * Server helpers
574 * **Deprecate** `videoLanguageManager.addLanguage` and `videoLanguageManager.deleteLanguage`: use `videoLanguageManager.addConstant` and `videoLanguageManager.deleteConstant` instead
575 * **Deprecate** `videoCategoryManager.addCategory` and `videoCategoryManager.deleteCategory`: use `videoCategoryManager.addConstant` and `videoCategoryManager.deleteConstant` instead
576 * **Deprecate** `videoLicenceManager.addLicence` and `videoLicenceManager.deleteLicence`: use `videoLicenceManager.addConstant` and `videoLicenceManager.deleteConstant` instead
577 * **Deprecate** `videoPrivacyManager.deletePrivacy`: `videoPrivacyManager.deleteConstant` instead
578 * **Deprecate** `playlistPrivacyManager.deletePlaylistPrivacy`: `playlistPrivacyManager.deleteConstant` instead
579 * Introduce `.getConstantValue()`, `.getConstants()` and `.resetConstants()` for `videoLanguageManager`, `videoCategoryManager`, `videoLicenceManager`, `videoPrivacyManager` and `playlistPrivacyManager`
580 * Add server plugin hooks:
581 * `filter:api.overviews.videos.list.params` and `filter:api.overviews.videos.list.result`
582
583 ### Custom markup API
584
585 *Documentation: https://docs.joinpeertube.org/api-custom-client-markup*
586
587 * Add ability to only display VOD or live videos in `<peertube-videos-list>` element
588 * `<peertube-container>` fills all available width. Can be changed using `data-justify-content` attribute
589
590 ### Maintenance
591
592 * Remove `StandardOutput` and `StandardError` settings from systemd service template [#4300](https://github.com/Chocobozzz/PeerTube/pull/4300)
593 * Use random UUIDs for video, torrent and streaming playlist files
594 * Filename is regenerated when the file content changes: allows admins to use aggressive caching
595
596 ### CLI tools
597
598 * Remove unmaintened `optimize-old-videos.js` script
599 * Add short UUID support in video scripts
600
601 ### Features
602
603 * :tada: Add video filters to common video pages (account videos, channel videos, recently added/local/trending videos...)
604 * Change video sort (recently added, hot, views...)
605 * Only display live/VOD videos
606 * Filter by languages/categories
607 * Hide or display sensitive content
608 * Choose to display all videos or only local videos
609 * :tada: **Beta:** Add support for saving video files in object storage [#4290](https://github.com/Chocobozzz/PeerTube/pull/4290)
610 * Check the documentation: https://docs.joinpeertube.org/admin-remote-storage
611 * :tada: Add ability for instances to follow any actor (so specific accounts and channels)
612 * Updated HLS.js (library to play HLS playlists in PeerTube player) to V1:
613 * Remember last bandwidth to prevent resolution change at the beginning of the video
614 * Automatically downgrade resolution if bandwidth is too low
615 * Add latency metric for live videos in stats for nerd card
616 * Immediate quality change when the user clicks on a specific resolution
617 * Add ability to search by PeerTube host in search filters
618 * Disallow search engine indexation of remote channels/accounts
619 * Transcoding:
620 * Improve bitrate calculation using "bit per pixel" method
621 * Limit live bitrate to input bitrate
622 * Accessibility/UI:
623 * Alert user for low quota and video auto-block on upload page [#4336](https://github.com/Chocobozzz/PeerTube/pull/4336)
624 * Display a modal when logged in to explain why and where set up the account profile [#4352](https://github.com/Chocobozzz/PeerTube/pull/4352)
625 * Display messages to inform why and where set up channels in *My library* pages [#4352](https://github.com/Chocobozzz/PeerTube/pull/4352)
626 * Display a warning when using capitalized letter for the email/username in the login form
627 * Display a message in embed on unsupported web browser
628 * Support out proxy using env variables (`HTTP_PROXY` and `HTTPS_PROXY`) [#4346](https://github.com/Chocobozzz/PeerTube/pull/4346)
629 * Support *Latin* language for videos
630
631 ### Bug fixes
632
633 * Fix PeerTube button link in embed
634 * Don't remove existing redundancies on host redundancy update
635 * Remove thumbnail flash when autoplay is enabled in embed
636 * Fetch data in bulk for the homepage, fixing API rate limit errors
637 * Fix channel name validator consistency between client and server
638 * Fix resumable upload without preview file in the body
639 * Fix redundancy of big HLS files
640 * Fix stats for nerd card label width
641 * Fix stats for nerd card resolution
642 * Fix uploading videos with empty tags in CLI tools
643 * Fix HLS player on non HTTPS instances
644 * Hide schedule privacy if private was removed by a plugin
645 * Fix moderation embeds
646 * Fix description timestamp click
647 * Fix privacy descriptions
648 * Safer avatar, banner and video preview
649 * Fix broken delete buttons of admin federation lists [#4378](https://github.com/Chocobozzz/PeerTube/pull/4378)
650 * More robust webtorrent redundancy download
651 * Fix hls redundancy in pruning script
652 * Fix compat' with old web browsers (Pale Moon, Safari 11, iOS 11, old webkit...))
653 * Fix silent 500 after resumable upload
654 * Fix HTML config injection with custom HTML/CSS
655 * Fix video upload on iOS
656
657
658 ## v3.3.0
659
660 ### IMPORTANT NOTES
661
662 * **Important:** v3.2.0 introduced a `pg_dump` export bug in the auto upgrade script. v3.2.1 fixed this bug. To upgrade from v3.2.**0**:
663 * You can upgrade manually https://docs.joinpeertube.org/install-any-os?id=manually
664 * Or you can apply the changes introduced in this commit: https://github.com/Chocobozzz/PeerTube/commit/86dc0b9cc9374cba7548bb613ff43d92f90570a8 and then use the auto upgrade script
665 * **Important:** Due to a bug in ffmpeg, PeerTube is not compatible with ffmpeg 4.4. See https://github.com/Chocobozzz/PeerTube/issues/3990
666
667
668 ### Maintenance
669
670 * Increase max image/caption/torrent upload size to `4MB`. You need to update your nginx configuration to handle this change
671 * Increase fetcher job concurrency to `3`
672
673 ### Docker
674
675 * Support log level env parameter `PEERTUBE_LOG_LEVEL` [#4149](https://github.com/Chocobozzz/PeerTube/pull/4149)
676
677 ### Plugins/Themes/Embed API
678
679 * Add client helpers:
680 * `getBaseRouterRoute()` [#4153](https://github.com/Chocobozzz/PeerTube/pull/4153)
681 * Add client plugin hooks (https://docs.joinpeertube.org/api-plugins):
682 * `filter:left-menu.links.create.result` to add/remove left menu links
683 * `filter:internal.player.videojs.options.result` to filter options sent to videojs player [#4126](https://github.com/Chocobozzz/PeerTube/pull/4126)
684 * Add server plugin hooks (https://docs.joinpeertube.org/api-plugins):
685 * `action:api.video-playlist-element.created`
686
687
688 ### Features
689
690 * :tada: Add ability to create a custom homepage using HTML, markdown and [custom HTML tags](https://docs.joinpeertube.org/api-custom-client-markup) [#4007](https://github.com/Chocobozzz/PeerTube/pull/4007)
691 * :tada: Add ability to search playlists in PeerTube instance and [SepiaSearch](https://sepiasearch.org/)
692 * :tada: Shorter public URLs (old URLs are still supported):
693 * Handle short UUID (`8r4jooaQpHp8tw1E1qpSeYq` instead of `3caf7bea-5ceb-4959-81a0-b44d184e897c`) for playlists and videos
694 * Use `/w/:id` instead of `/videos/watch/:id` and `/w/p/:id` instead of `/videos/watch/playlist/:id`
695 * Use `/a/:accountName` instead of `/accounts/:accountName` and `/c/:channelName` instead of `/video-channels/:channelName` [#4009](https://github.com/Chocobozzz/PeerTube/pull/4009)
696 * Provide `/@:username` page that automatically redirect to the account or channel page [#4009](https://github.com/Chocobozzz/PeerTube/pull/4009)
697 * :tada: Add RTL layout support
698 * Add ability to use HTML, markdown and [custom HTML tags](https://docs.joinpeertube.org/api-custom-client-markup) in instance description
699 * Default to dark theme (if available) if requested by the web browser
700 * Add ability for admins to configure minimum age required in signup page [#4010](https://github.com/Chocobozzz/PeerTube/pull/4010)
701 * Use a dedicated URL for each tab in publish page
702 * Add ability to prefill contact form using query parameters in URL [#4161](https://github.com/Chocobozzz/PeerTube/pull/4161)
703 * Accessibility/UI:
704 * Show logo in mobile view [#4141](https://github.com/Chocobozzz/PeerTube/pull/4141)
705 * Improve download modal to download video subtitles
706 * Better error message when trying to import a torrent containing multiple files
707 * REST API errors:
708 * Use [RFC 7807](https://datatracker.ietf.org/doc/html/rfc7807) format to display errors [#4143](https://github.com/Chocobozzz/PeerTube/pull/4143)
709 * Improve date format error messages
710 * Improve video name and tag error messages
711 * Performance:
712 * Use raw SQL to fetch a video from database (~ latency / 2)
713 * Inject server config in HTML
714 * Speed up client plugin loading
715 * Cache refresh actor promises
716 * Optimize activity pub video update
717 * Relax some database transactions
718 * Use an internal cache for DNS resolution.
719 This should speed up federation and fix weird acquire timeouts in sequelize pool (causing slowness in the client interface)
720
721 ### Bug fixes
722
723 * Fix video upload with a capitalized extension
724 * Fix "height not divisible by 2" ffmpeg error
725 * Don't count deleted comment for replies
726 * Fix UI bug when a plugin deleted the public privacy setting [#4163](https://github.com/Chocobozzz/PeerTube/pull/4163)
727 * Fix `player.getResolutions()` embed API when the video is has not been played yet
728 * Fix live placeholder image aspect ratio in theatre mode
729 * Fix plugin modal/notifier
730 * Fix some 404 errors for remote avatar
731 * Fix daily quota display
732 * Fix ownership change with a live video
733 * Correctly handle broken plugin install
734 * Fix channel deletion when it has videos
735 * Force TLS for webfinger in production
736 * Correctly support `wav` mimetype
737 * Fix default video privacy when plugins deleted private video privacy
738 * Fix subscribe hotkey
739 * Fix HTTP fallback with a video that does not have webtorrent files
740 * Fill video information when importing a peertube video
741
742
743 ## v3.2.1
744
745 ### IMPORTANT NOTES
746
747 * **Important:** v3.2.0 introduced a `pg_dump` export bug in the auto upgrade script. To upgrade from v3.2.0:
748 * You can upgrade manually https://docs.joinpeertube.org/install-any-os?id=manually
749 * Or you can apply the changes introduced in this commit: https://github.com/Chocobozzz/PeerTube/commit/86dc0b9cc9374cba7548bb613ff43d92f90570a8 and then use the auto upgrade script
750
751 ### Bug fixes
752
753 * Fix create account button style
754 * Fix auto upgrade script
755 * Fix live image aspect ratio in theatre mode
756
757
758 ## v3.2.0
759
760 ### IMPORTANT NOTES
761
762 * **Important:** You must update your nginx configuration to add the `upload-resumable` endpoint: https://github.com/Chocobozzz/PeerTube/blob/develop/support/nginx/peertube#L81
763 * **Important:** Due to a bug in ffmpeg, PeerTube is not compatible with ffmpeg 4.4. See https://github.com/Chocobozzz/PeerTube/issues/3990
764 * **Important:** Drop NodeJS 10 support
765 * PeerTube is not compatible with NodeJS 16 yet
766 * By default, HLS transcoding is now enabled and webtorrent is disabled. We suggest you to reflect this change.
767 See [the documentation](https://docs.joinpeertube.org/admin-configuration?id=webtorrent-transcoding-or-hls-transcoding) for more information
768 * PeerTube client now displays bigger video thumbnails.
769 To fix old thumbnails quality, run `regenerate-thumbnails` script after your PeerTube upgrade: https://docs.joinpeertube.org/maintain-tools?id=regenerate-thumbnailsjs
770
771 ### Docker
772
773 * Support SSL database env parameter [#4114](https://github.com/Chocobozzz/PeerTube/pull/4114)
774
775 ### Maintenance
776
777 * Support `X-Frame-Options` header, enabled by default in the configuration
778 * Directly use `node` in [systemd template](https://github.com/Chocobozzz/PeerTube/blob/develop/support/systemd/peertube.service)
779 * Check ffmpeg version at PeerTube startup
780 * Add `upload-resumable` nginx endpoint: https://github.com/Chocobozzz/PeerTube/blob/develop/support/nginx/peertube#L81
781
782 ### CLI tools
783
784 * Add `regenerate-thumbnails` script to regenerate thumbnails of local videos
785
786 ### Plugins/Themes/Embed API
787
788 * Theme:
789 * `--submenuColor` becomes `--submenuBackgroundColor`
790 * Support HTML placeholders for plugins. See [the documentation](https://docs.joinpeertube.org/contribute-plugins?id=html-placeholder-elements) for more information
791 * `player-next` next to the PeerTube player
792 * Support storing files for plugins in a dedicated directory. See [the documentation](https://docs.joinpeertube.org/contribute-plugins?id=storage) for more information
793 * Transcoding:
794 * Add `inputOptions` option support for transcoding profile [#3917](https://github.com/Chocobozzz/PeerTube/pull/3917)
795 * Add `scaleFilter.name` option support for transcoding profile [#3917](https://github.com/Chocobozzz/PeerTube/pull/3917)
796 * Plugin settings:
797 * Add ability to register `html` and `select` setting
798 * Add ability to hide a plugin setting depending on the form state
799 * Plugin form fields (to add inputs to video form...):
800 * Add ability to hide a plugin field depending on the form state using `.hidden` property
801 * Add client helpers:
802 * `getServerConfig()`
803 * `getAuthHeader()`
804 * Add server helpers:
805 * `config.getServerConfig()`
806 * `plugin.getBaseStaticRoute()`
807 * `plugin.getBaseRouterRoute()`
808 * `plugin.getDataDirectoryPath()`
809 * `user.getAuthUser()`
810 * Add client plugin hooks (https://docs.joinpeertube.org/api-plugins):
811 * `action:modal.video-download.shown`
812 * `action:video-upload.init`
813 * `action:video-url-import.init`
814 * `action:video-torrent-import.init`
815 * `action:go-live.init`
816 * `action:auth-user.logged-in` & `action:auth-user.logged-out`
817 * `action:auth-user.information-loaded`
818 * `action:admin-plugin-settings.init`
819 * Add server plugin hooks (https://docs.joinpeertube.org/api-plugins):
820 * `filter:api.download.video.allowed.result` & `filter:api.download.torrent.allowed.result` to forbid download
821 * `filter:html.embed.video-playlist.allowed.result` & `filter:html.embed.video.allowed.result` to forbid embed
822 * `filter:api.search.videos.local.list.params` & `filter:api.search.videos.local.list.result`
823 * `filter:api.search.videos.index.list.params` & `filter:api.search.videos.index.list.result`
824 * `filter:api.search.video-channels.local.list.params` & `filter:api.search.video-channels.local.list.result`
825 * `filter:api.search.video-channels.index.list.params` & `filter:api.search.video-channels.index.list.result`
826
827 ### Features
828
829 * :tada: More robust uploads using a resumable upload endpoint [#3933](https://github.com/Chocobozzz/PeerTube/pull/3933)
830 * Accessibility/UI:
831 * :tada: Redesign channel and account page
832 * :tada: Increase video miniature size
833 * :tada: Add channel banner support
834 * Use a square avatar for channels and a round avatar for accounts
835 * Use account initial as default account avatar [#4002](https://github.com/Chocobozzz/PeerTube/pull/4002)
836 * Prefer channel display in video miniature
837 * Add *support* button in channel page
838 * Set direct download as default in video download modal [#3880](https://github.com/Chocobozzz/PeerTube/pull/3880)
839 * Show less information in video download modal by default [#3890](https://github.com/Chocobozzz/PeerTube/pull/3890)
840 * Autofocus admin plugin search input
841 * Add `1.75` playback rate to player [#3888](https://github.com/Chocobozzz/PeerTube/pull/3888)
842 * Add `title` attribute to embed code [#3901](https://github.com/Chocobozzz/PeerTube/pull/3901)
843 * Don't pause player when opening a modal [#3909](https://github.com/Chocobozzz/PeerTube/pull/3909)
844 * Add link below the player to open the video on origin instance [#3624](https://github.com/Chocobozzz/PeerTube/issues/3624)
845 * Notify admins on new available PeerTube version
846 * Notify admins on new available plugin version
847 * Sort channels by last uploaded videos
848 * Video player:
849 * Add loop toggle to context menu [#3949](https://github.com/Chocobozzz/PeerTube/pull/3949)
850 * Add icons to context menu [#3955](https://github.com/Chocobozzz/PeerTube/pull/3955)
851 * Add a *Previous* button in playlist watch page [#3485](https://github.com/Chocobozzz/PeerTube/pull/3485)
852 * Automatically close the settings menu when clicking outside the player
853 * Add "stats for nerds" panel in context menu [#3958](https://github.com/Chocobozzz/PeerTube/pull/3958)
854 * Add channel and playlist stats to stats endpoint [#3747](https://github.com/Chocobozzz/PeerTube/pull/3747)
855 * Support `playlistPosition=last` and negative index (`playlistPosition=-2`) URL query parameters for playlists [#3974](https://github.com/Chocobozzz/PeerTube/pull/3974)
856 * My videos:
857 * Add ability to sort videos (publication date, most viewed...)
858 * Add ability to only display live videos
859 * Automatically resume videos for non logged-in users [#3885](https://github.com/Chocobozzz/PeerTube/pull/3885)
860 * Admin plugins:
861 * Show a modal when upgrading a plugin to a major version
862 * Display a setting button after plugin installation
863 * Add ability to search live videos
864 * Use bigger thumbnails for feeds
865 * Parse video description markdown for Opengraph/Twitter/HTML elements
866 * Open the remote interaction modal when replying to a comment if we are logged-out
867 * Handle `.srt` captions with broken durations
868 * Performance:
869 * Player now lazy loads video captions
870 * Faster admin table filters
871 * Optimize feed endpoint
872
873 ### Bug fixes
874
875 * More robust comments fetcher of remote video
876 * Fix database ssl connection
877 * Remove unnecessary black border above and below video in player [#3920](https://github.com/Chocobozzz/PeerTube/pull/3920)
878 * Reduce tag input excessive padding [#3927](https://github.com/Chocobozzz/PeerTube/pull/3927)
879 * Fix disappearing hamburger menu for narrow screens [#3929](https://github.com/Chocobozzz/PeerTube/pull/3929)
880 * Fix Youtube subtitle import with some languages
881 * Fix transcoding profile update in admin config
882 * Fix outbox fetch with subtitled videos
883 * Correctly unload a plugin on update/uninstall [#3940](https://github.com/Chocobozzz/PeerTube/pull/3940)
884 * Ensure to install plugins that are supported by PeerTube
885 * Fix welcome/warning modal displaying twice
886 * Fix h265 video import using CLI
887 * Fix context menu when watching a playlist
888 * Fix transcoding job priority preventing video publication when there are many videos to transcode
889 * Fix remote account/channel "joined at"
890 * Fix CLI plugins list command options [#4055](https://github.com/Chocobozzz/PeerTube/pull/4055)
891 * Fix HTTP player defaulting to audio resolution
892 * Logger warning level is "warn"
893 * Fix default boolean plugin setting [#4107](https://github.com/Chocobozzz/PeerTube/pull/4107)
894 * Fix duplicate ffmpeg preset option for live
895 * Avoid federation error when file has no torrent file
896 * Fix local user auth select
897 * Fix live ending banner display
898 * Fix redundancy max size
899 * Fix broken lives handling
900
901
902
903 ## v3.1.0
904
905 ### IMPORTANT NOTES
906
907 * **Important:** Drop PostgreSQL 9.6 support
908 * **Important:** Deprecate NodeJS 10
909 * Support NodeJS 14 and 15
910 * Remove ES5 module support (breaks compatibility with web browsers we didn't support)
911 * PeerTube releases now contain client source maps helping client debugging (for developers and admins).
912 It's the reason why the release size is bigger (we think it's worth it)
913 * Remove deprecated static routes (`/static/avatars/`, `/static/previews/` and `/static/video-captions/`)
914 * PeerTube now uses a unique name for thumbnails, previews and captions allowing to correctly cache these resources.
915 It could break some third party clients that guessed these filenames depending on the video UUID. We'll continue this work in the future
916 for video filenames, so admins can easily cache these files (using multiple reverse proxies etc)
917
918 ### Maintenance
919
920 * Fix nginx max body size configuration
921
922 ### CLI tools
923
924 * Add script printing command to generate a resolution for a given file [#3507](https://github.com/Chocobozzz/PeerTube/pull/3507)
925 * Add `--wait-interval <seconds>` option to video-import script to wait between two video imports [#3310](https://github.com/Chocobozzz/PeerTube/pull/3310)
926
927 ### Plugins/Themes/Embed API
928
929 * Add server plugin hooks (https://docs.joinpeertube.org/api-plugins):
930 * `filter:api.user.me.videos.list.params` and `filter:api.user.me.videos.list.result`
931 * Add server helpers:
932 * `videos.loadByIdOrUUID`
933 * Add server transcoding helpers (https://docs.joinpeertube.org/contribute-plugins?id=add-new-transcoding-profiles):
934 * `transcodingManager.addVODProfile`
935 * `transcodingManager.addVODEncoderPriority`
936 * `transcodingManager.addLiveProfile`
937 * `transcodingManager.addLiveEncoderPriority`
938
939 ### Features
940
941 * Transcoding:
942 * Fair transcoding jobs priority: give an higher priority to `optimize` jobs and decrease priority of transcoding jobs depending on the amount of videos uploaded by the user during the last 7 days [#3637](https://github.com/Chocobozzz/PeerTube/pull/3637)
943 * Higher niceness priority for live transcoding compared to vod transcoding [#3577](https://github.com/Chocobozzz/PeerTube/pull/3577)
944 * Allow admins to choose a transcoding profile. New transcoding profiles can be added by PeerTube plugins that can inject custom ffmpeg encoders/parameters
945 * Add transcoding support for 1440p (Quad HD/QHD/WQHD) videos [#3518](https://github.com/Chocobozzz/PeerTube/pull/3518)
946 * Add transcoding progress in admin transcoding jobs list
947 * Use `veryfast` preset for default transcoding profile (same result size but faster)
948 * Transcode audio uploads to lower configured resolutions
949 * Transcode HLS playlists in a `tmp` directory (less bugs/inconsistencies)
950 * Allow admins to choose the transcoding jobs concurrency
951 * Support Albanian locale
952 * Video upload:
953 * Async torrent creation on video upload. We hope that it should fix some weird upload errors
954 * Add `.m4a` audio upload support
955 * Accessibility/UI:
956 * Move orange admin buttons on the left side
957 * Hide title to left menu toggle icon
958 * Add username information in profile settings
959 * Improve about page layout
960 * Add refresh button in jobs list
961 * Add ability to set a custom user quota
962 * Rewrite prose for JavaScript disabled message [#3684](https://github.com/Chocobozzz/PeerTube/pull/3684)
963 * Video import:
964 * Stricter youtube-dl format selectors for import (don't import HDR videos and cap to the max supported resolution) [#3516](https://github.com/Chocobozzz/PeerTube/pull/3516)
965 * Don't publish imported videos before the user submitted the second step form
966 * Allow admins to choose the import jobs concurrency
967 * Implement *hot* and *best* trending algorithms [#3625](https://github.com/Chocobozzz/PeerTube/pull/3625) & [#3681](https://github.com/Chocobozzz/PeerTube/pull/3681)
968 * Admin config:
969 * Add URL fragment support in admin config page to go on the appropriate tab
970 * Improve submit error message
971 * Allow admins to disable ping requests logging [#3550](https://github.com/Chocobozzz/PeerTube/pull/3550)
972 * Add a setting so PeerTube periodically cleans up remote AP interactions
973 * Add ability for admins to update plugin auth field of a particular user
974 * Support `webp` avatar upload
975 * Implement remote comment/subscription
976 * Register a service worker [#3464](https://github.com/Chocobozzz/PeerTube/pull/3464)
977 * Add ability to remove one's avatar for account and channels [#3467](https://github.com/Chocobozzz/PeerTube/pull/3467)
978 * Show first decimal for video views above a thousand [#3564](https://github.com/Chocobozzz/PeerTube/pull/3564)
979 * Allow user to search through their watch history [#3576](https://github.com/Chocobozzz/PeerTube/pull/3576)
980 * Allow users/visitors to search through an account's videos [#3589](https://github.com/Chocobozzz/PeerTube/pull/3589)
981 * Use an HTML link to display feed url
982 * Allow AP resolution for default account/channel pages (`/accounts/:name/video-channels` and `/video-channels/:name/videos`)
983 * Redirect to login on 401, display 403 variant [#3632](https://github.com/Chocobozzz/PeerTube/pull/3632)
984 * Performance:
985 * Optimize videos list API endpoint
986 * Optimize videos list views sort SQL query
987 * Avoid as much as possible to process remote thumbnail
988 * Proxify remote torrent requests from local clients (like we do for captions and previews)
989 * Optimize rate POST endpoint
990 * Tighten hotkeys definitions to not conflict with the web browser hotkeys [#3702](https://github.com/Chocobozzz/PeerTube/pull/3702)
991 * Add more AP stats to stats endpoint
992 * Increase jobs request timeout to 7 seconds
993 * Increase broadcast request concurrency to 30
994
995 ### Bug fixes
996
997 * Fix remote subscribe input alignment
998 * Fix loading bar for HTTP requests
999 * Fix table header overflow
1000 * Disable wait transcoding checkbox instead of hiding it when uploading an incompatible video for the web
1001 * Fix sendmail emailer configuration
1002 * Add missing niceness to ffmpeg thumbnail process
1003 * Videos with only HLS files:
1004 * Fix RSS feed
1005 * Correctly wait transcoding before federating
1006 * Fix redundancy
1007 * Correctly remove torrents
1008 * Localize decimal separator in video miniatures [#3643](https://github.com/Chocobozzz/PeerTube/pull/3643)
1009 * Check banned status on external authentication
1010 * Remove all video redundancies when purging the cache
1011 * Fix URI search admin config update
1012 * Fix broken HLS playback with videos that contain an unknown channel layout
1013 * Fix HLS generation after file import script
1014 * Ensure we don't receive things from local actors
1015 * Try to recover from network errors in HLS player
1016 * Fix comments sorting dropdown z-index
1017 * Fix create transcoding job script depending on the transcoding configuration
1018 * Fix NSFW policy in my videos, account videos and channel videos pages
1019 * Fix complete description loading of a previous video
1020 * Fix video comments display with deleted comments
1021 * Don't override preview image on import
1022 * Fix Accept AP messages sending to previously accepted followers
1023 * Fix import script when using the instance uses the search index
1024 * Fix player freeze on Safari with a video that has many subtitles
1025 * Fix anonymous user settings
1026 * Fix preview upload with capitalized ext
1027 * Fix abuses list crash on deleted video
1028 * More robust channel change federation
1029 * Fix emptying video tags
1030 * Fix broken local actors that do not have a public/private key
1031 * Fix bad PeerTube URL for playlist embed
1032 * Live:
1033 * Don't update live attributes if they did not change (allowing to update live metadata even if the live has started)
1034 * Fix live RAM usage when ffmpeg is too slow to transcode the RTMP stream
1035 * Correctly load live information (description and preview) when not started
1036 * Fix mention notification with deleted comment
1037 * Fix default boolean plugin setting
1038 * Fix long text on modals [#3840](https://github.com/Chocobozzz/PeerTube/pull/3840)
1039
1040 ## v3.0.1
1041
1042 ### SECURITY
1043
1044 * **Important:** Fix retrieving data of another user if the username contains `_` when fetching *my information*
1045
1046 ### Docker
1047
1048 * Fix [upgrade documentation](https://docs.joinpeertube.org/install-docker?id=upgrade)
1049 * Add live RTMP port in docker compose
1050
1051 ### Bug fixes
1052
1053 * Fix account feed URL
1054 * Log RTMP server error (address already in use)
1055 * Fix NPM theme links in admin theme page
1056 * Don't reject AP actors with empty description
1057 * Fix twitter admin config description
1058 * Fix duplicate entry in job list page
1059 * Fix `nl-NL` broken admin config page
1060 * Fix bad tracker client IP when using a reverse proxy
1061
1062
1063 ## v3.0.0
1064
1065 **Since v2.4.0**
1066
1067 ### IMPORTANT NOTES
1068
1069 * Update the default configuration to not federate unlisted videos. We recommend to admins to update [this setting](https://github.com/Chocobozzz/PeerTube/blob/develop/config/production.yaml.example#L196)
1070 * Update the default configuration to remove remote video views to reduce DB size and improve performances. We recommend to admins to update [this setting](https://github.com/Chocobozzz/PeerTube/blob/develop/config/production.yaml.example#L170)
1071 * Remove deprecated video abuse API
1072
1073 ### Maintenance
1074
1075 * Refresh nginx configuration [#3313](https://github.com/Chocobozzz/PeerTube/pull/3313)
1076
1077 ### Docker
1078
1079 * Replace traefik by nginx in our docker-compose template:
1080 * Better consistency with our default setup (we now use the same stack)
1081 * Use our default nginx template enabling many optimizations
1082 * Update the documentation to take into account this change: https://docs.joinpeertube.org/install-docker
1083
1084 ### Plugins/Themes/Embed API
1085
1086 * Add ability for auth plugins to redirect user on logout [#32](https://framagit.org/framasoft/peertube/PeerTube/-/merge_requests/32) & [#33](https://framagit.org/framasoft/peertube/PeerTube/-/merge_requests/33)
1087 * Add `input-password` setting to plugins [#3375](https://github.com/Chocobozzz/PeerTube/issues/3375)
1088 * Add server plugin hooks (https://docs.joinpeertube.org/api-plugins):
1089 * `filter:api.accounts.videos.list.params`
1090 * `filter:api.accounts.videos.list.result`
1091 * `filter:api.video-channels.videos.list.params`
1092 * `filter:api.video-channels.videos.list.result`
1093 * Authenticate the user if possible in plugin router [#3400](https://github.com/Chocobozzz/PeerTube/pull/3400)
1094
1095 ### Features
1096
1097 * :tada: :tada: :tada: Support live streaming :tada: :tada: :tada: [#3250](https://github.com/Chocobozzz/PeerTube/pull/3250)
1098 * Create a live video using the PeerTube interface and start streaming using your favorite streaming software (OBS, ffmpeg...)
1099 * If the admin allows it, add ability for users to save a replay of their live
1100 * Support live transcoding in multiple resolutions
1101 * Admins can set a limit of created lives per user/instance and a duration limit
1102 * This is the first step of live streaming, we'll consolidate the feature next year
1103 * Support Galician locale
1104 * Update left menu [#3296](https://github.com/Chocobozzz/PeerTube/pull/3296)
1105 * Add *My settings*, *My library*, *Administration* (if admin) below the username
1106 * Rename section titles to *In my account*, and *On instance name* for better block scopes identification
1107 * Removed confusing *Account settings* and *Channel settings* from user dropdown
1108 * Add *My notifications* in user dropdown
1109 * Split account horizontal menu in two [#3296](https://github.com/Chocobozzz/PeerTube/pull/3296)
1110 * *My library* containing *Channels*, *Videos*, *Imports*, *Ownership changes*, *Playlists*, *Subscriptions* and *History*
1111 * *My settings* containing *Account settings*, *Notifications* and *Moderation* tools
1112 * Add page in admin to manage video comments of the instance
1113 * List latest comments
1114 * Delete comments of a specific user
1115 * Delete comments in bulk
1116 * Delete notifications related to muted accounts/instances
1117 * Add ability for moderators to display all videos (not yet published, private...) in channels/accounts pages
1118 * Support GIF avatars upload and federation [#3329](https://github.com/Chocobozzz/PeerTube/pull/3329)
1119 * Automatically enable auto block of new videos if the admin enables signups in the admin interface
1120 * Allow private syndication feed of videos from subscriptions [#3074](https://github.com/Chocobozzz/PeerTube/pull/3074)
1121 * Improve default account and channel avatars [#3326](https://github.com/Chocobozzz/PeerTube/pull/3326)
1122 * Accessibility/UI:
1123 * More explicit error messages for file uploads [#3347](https://github.com/Chocobozzz/PeerTube/pull/3347)
1124 * Allow to retry a failed video upload [#3347](https://github.com/Chocobozzz/PeerTube/pull/3347)
1125 * Improve jobs and logs view [#3127](https://github.com/Chocobozzz/PeerTube/pull/3127)
1126 * Use badges for *NSFW* and *Unfederated* labels in video block list table
1127 * Improved video rating popover text if the user is not logged-in [#3168](https://github.com/Chocobozzz/PeerTube/pull/3168)
1128 * Improve markdown-it emoji list column display [#3253](https://github.com/Chocobozzz/PeerTube/pull/3253)
1129 * Add help popup for choosing a licence [#3306](https://github.com/Chocobozzz/PeerTube/pull/3306)
1130 * Change *Upload* button to *Publish*
1131 * More player download/upload title details [#3394](https://github.com/Chocobozzz/PeerTube/pull/3394)
1132 * Create a dedicated transcoding tab in admin config
1133 * Improve 404 page
1134 * Improve login form [#3357](https://github.com/Chocobozzz/PeerTube/pull/3357)
1135 * Add a title attribute on views element to see the view counter [#3365](https://github.com/Chocobozzz/PeerTube/pull/3365)
1136 * Clearer titles for periods in recently added and videos from subscriptions pages
1137 * Select first available channel when accepting ownership change [#3382](https://github.com/Chocobozzz/PeerTube/pull/3382)
1138 * Hide channel registration step if default quota is 0 [#3393](https://github.com/Chocobozzz/PeerTube/pull/3393)
1139 * Add possibility to share origin URL to video if it's not local [#3201](https://github.com/Chocobozzz/PeerTube/pull/3201)
1140 * Render markdown in email notifications for new comments [#3255](https://github.com/Chocobozzz/PeerTube/pull/3255)
1141 * Add an admin setting to force ipv4 in youtube-dl [#3311](https://github.com/Chocobozzz/PeerTube/pull/3311)
1142 * Add ability for admins to put markdown in all fields of *About* page [#3371](https://github.com/Chocobozzz/PeerTube/pull/3371)
1143 * Support `activeMonth` and `activeHalfyear` in nodeinfo
1144
1145 ### Bug fixes
1146
1147 * Fix inability to delete a channel due to a bug in the confirm modal
1148 * Fix views processing for hour 0
1149 * Fix ownership change modal accept button
1150 * Fix incorrect ActivityPub IDs
1151 * Do not transcode videos to an higher bitrate than the source
1152 * Fix video display of muted accounts on overview page
1153 * Fix transcoding errors in readonly docker containers [#3198](https://github.com/Chocobozzz/PeerTube/pull/3198)
1154 * Fix running another transcoding job using the CLI on a video that was already transcoded
1155 * Fix embed on Brave web browser
1156 * Fix break line display for re-draft comments [#3261](https://github.com/Chocobozzz/PeerTube/pull/3261)
1157 * Fix hidden loading bar
1158 * Fix jobs pagination
1159 * Fix missing player localized strings
1160 * Fix instance file size stats when the admin enabled HLS
1161 * Fix embed of HLS videos on non HTTPS websites
1162 * Hide embed dock when title/description are disabled
1163 * Fix follow notification when the follower has been deleted
1164 * Fix client override endpoint in nginx configuration [#3297](https://github.com/Chocobozzz/PeerTube/pull/3297)
1165 * Fix overflow of some dropdowns
1166 * Fix infinite scrollin in channel's playlists page
1167 * Fix anchors scrolling in About page
1168 * Fix canonical URLs of videos and playlists [#3406](https://github.com/Chocobozzz/PeerTube/pull/3406)
1169 * Fix CLI import script when importing Youtube channels
1170 * Fix video tag min length validator
1171 * Fix user notification preferences column width [#3352](https://github.com/Chocobozzz/PeerTube/pull/3352)
1172 * Fix forgotten/reset password UI [#3351](https://github.com/Chocobozzz/PeerTube/pull/3351)
1173 * Fix 00:00 player timecode in video description and comments
1174 * Avoid too large federation cert error messages in logs
1175 * Fix registration form width on mobile [#3274](https://github.com/Chocobozzz/PeerTube/pull/3274)
1176 * Fix "Too many packets buffered for output stream" ffmpeg error with some videos
1177 * Fix 500 error when fetching unknown video thread
1178 * Fix infinite scroll in *Local videos* page when enabling the *Display all videos* checkbox on big screens
1179 * Fix menu theme colors [#3376](https://github.com/Chocobozzz/PeerTube/pull/3376)
1180 * Fix playlist list `name`/`displayName` sort field [#3385](https://github.com/Chocobozzz/PeerTube/pull/3385)
1181 * Fix 401 error display in embeds
1182 * Do not crash if SMTP server is down, instead log an error [#3457](https://github.com/Chocobozzz/PeerTube/issues/3457)
1183 * Fix redundancy federation in specific cases
1184 * Stop CLI auth failure with extra `/` [#3520](https://github.com/Chocobozzz/PeerTube/issues/3520)
1185 * Add missing audit log if the user deletes its account
1186 * Don't crash on youtube-dl update write error
1187 * Fix video auto block notification issue
1188
1189 **Since v3.0.0-rc.1**
1190
1191 ### Features
1192
1193 * Support Galician locale
1194 * Support `activeMonth` and `activeHalfyear` in nodeinfo
1195
1196 ### Bug fixes
1197
1198 * Fix views processing for hour 0
1199 * Fix follows pages (in admin and about)
1200 * Don't display live max duration if disabled by admin
1201 * Correctly display live badge in videos list
1202 * Fix redundancy federation in specific cases
1203 * Fix live miniatures
1204 * Don't update player timestamp when clicking on a timecode in comments/descriptions for a live
1205 * Fix admin table filters
1206 * Fix some accessibility issues
1207 * Stop CLI auth failure with extra `/` [#3520](https://github.com/Chocobozzz/PeerTube/issues/3520)
1208 * Fix login error display
1209 * Don't display log level in audit logs view
1210 * Add missing audit log if the user deletes its account
1211 * Don't crash on youtube-dl update write error
1212 * Fix video auto block notification issue
1213
1214
1215 ## v2.4.0
1216
1217 **Since v2.3.0**
1218
1219 ### IMPORTANT NOTES
1220
1221 * The minimum ffmpeg version required is now 4.1
1222 * Deprecate static routes that will be removed in 3.0 (you may not have to do anything if you used paths returned by the video REST API):
1223 * `/static/avatars/`: use `/lazy-static/avatars/` instead
1224 * `/static/previews/`: use `/lazy-static/previews/` instead
1225 * `/static/video-captions/`: use `/lazy-static/video-captions/` instead
1226 * Use `playlistPosition` URL parameter for playlists instead of `videoId` to set the current playlist position
1227
1228 ### Maintenance
1229
1230 * Better error message on PostgreSQL connection error
1231 * Add `ssl` option support for PostgreSQL connection
1232
1233 ### Official PeerTube plugins
1234
1235 * [Player video annotation (alpha)](https://framagit.org/framasoft/peertube/official-plugins/-/tree/master/peertube-plugin-video-annotation)
1236
1237 ### Plugins/Themes/Embed API
1238
1239 * Add embed API (https://docs.joinpeertube.org/api-embed-player):
1240 * `playNextVideo` method
1241 * `playPreviousVideo` method
1242 * `getCurrentPosition` method
1243 * Embed URL parameters
1244 * Add ability to disable PeerTube link in embed using an URL param (`peertubeLink=0`)
1245 * Add plugins support in embed
1246 * Add client plugin hooks (https://docs.joinpeertube.org/api-plugins):
1247 * `action:embed.player.loaded` (for embed)
1248 * Add custom fields in video update/upload form using `registerVideoField` (https://docs.joinpeertube.org/contribute-plugins?id=add-custom-fields-to-video-form)
1249
1250 ### Features
1251
1252 * Moderation:
1253 * :tada: Add ability to report comments and accounts
1254 * :tada: Add messaging system between local reporter of an abuse and moderators so they can easily communicate
1255 * :tada: Users can now see their abuse reports, and have notifications when an abuse state changed (accepted/rejected) or when moderators added a new message
1256 * Add embed to block list details [@rigelk in #2926](https://github.com/Chocobozzz/PeerTube/pull/2926)
1257 * Video playlists:
1258 * :tada: Add ability to embed playlists
1259 * :tada: Add ability to put a video multiple times in a playlist (with different startAt/stopAt parameters or not)
1260 * Video comments:
1261 * Add uni-code emojis native display in comments [@Kimsible in #3046](https://github.com/Chocobozzz/PeerTube/pull/3046)
1262 * Add delete and re-draft action on a comment that doesn't have replies [@Kimsible in #3046](https://github.com/Chocobozzz/PeerTube/pull/3046)
1263 * Hide deleted comments when there aren't replies [@Kimsible in #3046](https://github.com/Chocobozzz/PeerTube/pull/3046)
1264 * Accessibility/UI:
1265 * Disable vertical scroll instead of hide on desktop browsers [@Kimsible in #2962](https://github.com/Chocobozzz/PeerTube/pull/2962)
1266 * Update my-account sub-menus icons [@Kimsible in #2977](https://github.com/Chocobozzz/PeerTube/pull/2977)
1267 * Improve navigation sub-menu and tabs effects [@Kimsible in #2971](https://github.com/Chocobozzz/PeerTube/pull/2971)
1268 * Hide generic channel display name and avatar on watch view [@Kimsible in #2988](https://github.com/Chocobozzz/PeerTube/pull/2988)
1269 * Display user quota progress bars above upload form [@Kimsible in #2981](https://github.com/Chocobozzz/PeerTube/pull/2981)
1270 * Improve mobile accessibility by moving table action cells on the left [@Kimsible in #2980](https://github.com/Chocobozzz/PeerTube/pull/2980)
1271 * Directly display download button in watch page on logged-out users [@rigelk in #2919](https://github.com/Chocobozzz/PeerTube/pull/2919)
1272 * Improve users list table display in admin (add badge, progress bar) [@rigelk in #2991](https://github.com/Chocobozzz/PeerTube/pull/2991)
1273 * Add dynamic column display for users list table in admin [@rigelk in #2991](https://github.com/Chocobozzz/PeerTube/pull/2991)
1274 * Add anchor links to about/instance [@Kimsible in #3064](https://github.com/Chocobozzz/PeerTube/pull/3064)
1275 * Improve select components [@rigelk in #3035](https://github.com/Chocobozzz/PeerTube/pull/3035)
1276 * Add content overlay for opened menu on touchscreens [@Kimsible in #3088](https://github.com/Chocobozzz/PeerTube/pull/3088)
1277 * Add alert and hide upload view when no upload is possible [@Kimsible in #2966](https://github.com/Chocobozzz/PeerTube/pull/2966)
1278 * Allow sorting notifications by unread/newest **@rigelk**
1279 * Add open-graph and twitter-card metas for accounts, video-channels and playlists urls [@Kimsible in #2996](https://github.com/Chocobozzz/PeerTube/pull/2996)
1280 * Add channel name to create-user admin form [@Kimsible in #2984](https://github.com/Chocobozzz/PeerTube/pull/2984)
1281 * Support Kabile for video languages/captions
1282 * Translate page titles
1283 * Add `.ac3`, `.aac`, `.qt`, `.mqv`, `.3gpp`, `.3gpp2`, `.m1v`, `.mpg`, `.mpe`, `.vob` extensions support on upload if transcoding is enabled **@rigelk**
1284 * Performance:
1285 * Improved front-end performance by reducing localized bundle sizes (~ 2MB instead of 3MB for the homepage)
1286 * Optimize comments RSS feed SQL query
1287 * Optimize default sort SQL query when listing videos
1288
1289
1290 ### Bug fixes
1291
1292 * Handle webp images from youtube-dl
1293 * Fix embed p2p warning localization
1294 * iOS fixes:
1295 * Fix HLS only videos playback
1296 * Fix fullscreen
1297 * Fix iPad desktop mode playback
1298 * Try to fix autoplay with iOS/Safari
1299 * Fix anonymous user theme
1300 * Fix player hotkeys after mouse interaction
1301 * Fix resolution transcoding for portrait videos
1302 * Do not display videojs poster when video is starting to avoid blinking effect [@Kimsible in #3056](https://github.com/Chocobozzz/PeerTube/pull/3056)
1303 * Correctly scroll to anchors in my-settings [@Kimsible in #3032](https://github.com/Chocobozzz/PeerTube/pull/3032)
1304 * Forbid reset password links reuse
1305 * Fix low default resolution on webtorrent videos
1306 * Fix instance features table responsive in about page [@test2a in #3090](https://github.com/Chocobozzz/PeerTube/pull/3090)
1307 * Fix playlist element deletion/edition in my account
1308 * Fix video playlist playback resuming
1309 * Correctly display error message for Internet Explorer
1310 * Fix videos RSS feed when HLS only is enabled
1311 * Add site_name to opengraph tags
1312
1313
1314 **Since v2.4.0-rc.1**
1315
1316 ### Bug fixes
1317
1318 * Add site_name to opengraph tags
1319 * Fix privacy/channel select on upload
1320
1321
1322 ## v2.3.0
1323
1324 **Since v2.2.0**
1325
1326 ### IMPORTANT NOTES
1327
1328 * Add `client_overrides` directory in configuration file. **You must configure it in your production.yaml**
1329 * Deprecate `/videos/abuse` endpoint.
1330 A new endpoint to report videos will be created in PeerTube 2.4 and will also allow to report accounts and comments (`/videos/abuse` will be removed in 3.0)
1331 * Renamed videos blacklist feature to videos blocks/blocklist
1332
1333
1334 ### Documentation
1335
1336 * Add feeds routes to the openapi spec **@rigelk**
1337 * Add notifications routes to the openapi spec **@rigelk**
1338 * Add redundancy routes to the openapi spec **@rigelk**
1339 * Add plugins routes to the openapi spec **@rigelk**
1340 * Add examples, descriptions and missing filters for abuses routes in the openapi spec **@rigelk**
1341 * Update CentOS insutructions in dependencies.md [@cgarwood82 in 2904](https://github.com/Chocobozzz/PeerTube/pull/2904)
1342
1343 ### Maintenance
1344
1345 * Switched image processing library from native dependency `sharp` to pure JS implementation `jimp`. Admins don't have to compile `sharp` anymore and `jimp` is lighter
1346 * Provide specific engine boundaries for NodeJS and Yarn [@rigelk in 0c4bacb](https://github.com/Chocobozzz/PeerTube/commit/0c4bacbff53bc732f5a2677d62a6ead7752e2405)
1347 * Add ability to set `database.name` config option [@gramakri in #2898](https://github.com/Chocobozzz/PeerTube/pull/2898)
1348
1349
1350 ### Docker
1351
1352 * Fix `POSTGRES` env variables in docker-compose ([@kimsible in #2538](https://github.com/Chocobozzz/PeerTube/pull/2538/files))
1353 * Fix OpenDKIM permissions in docker-compose setup [@kimsible in #2868](https://github.com/Chocobozzz/PeerTube/pull/2868)
1354
1355
1356 ### Official PeerTube plugins
1357
1358 * [Auto block videos (alpha)](https://framagit.org/framasoft/peertube/official-plugins/-/tree/master/peertube-plugin-auto-block-videos)
1359
1360
1361 ### Plugins/Themes/Embed API
1362
1363 * Add ability to override client assets: logo - favicon - PWA icons - PWA manifest name and description [@kimsible in #2897](https://github.com/Chocobozzz/PeerTube/pull/2897)
1364
1365 ### Features
1366
1367 * :tada: Add global search support (has to be explicitely enabled by admins)
1368 * :tada: Add ability for admins to display a banner on their instance
1369 * :tada: Support Vietnamese and Kabyle languages. Also re-establish Occitan language locale despite lack of support in Angular
1370 * Federation:
1371 * Make federation of unlisted videos an instance-level server preference [@Tak in #2802](https://github.com/Chocobozzz/PeerTube/pull/2802)
1372 * Sort ActivityPub video object files by resolution in descending order (fix issue with Pleroma)
1373 * Send complete video description in ActivityPub video objects
1374 * Moderation:
1375 * Add ability to bulk delete comments of an account
1376 * Add ability to mute accounts from video miniature
1377 * Improve report modal: [@rigelk in #2842](https://github.com/Chocobozzz/PeerTube/pull/2842)
1378 * Add ability to provide predefined reasons
1379 * Embed of the video in the modal
1380 * Add ability to set a **startAt** parameter
1381 * Accessibility:
1382 * Add lang attribute in languages list menu [@Pandoraaa in #2832](https://github.com/Chocobozzz/PeerTube/pull/2832)
1383 * Add aria-hidden to non-descriptive icons [@Pandoraaa in #2844](https://github.com/Chocobozzz/PeerTube/pull/2844)
1384 * Change focus color instead of opacity of video play button [@Pandoraaa in #2845](https://github.com/Chocobozzz/PeerTube/pull/2845)
1385 * Add explicit step and aria-current attribute in register form [@Pandoraaa in #2861](https://github.com/Chocobozzz/PeerTube/pull/2861)
1386 * Add scope tags and aria-labels in instance features table [@Pandoraaa in #2866](https://github.com/Chocobozzz/PeerTube/pull/2866)
1387 * Add keyboard navigation in video watch page buttons [@Pandoraaa in #2854 with @rigelk](https://github.com/Chocobozzz/PeerTube/pull/2854)
1388 * Replaced softies icons by feather icons **@rigelk**
1389 * Support player hotkeys when it is not focused
1390 * Improve video miniature grids to fill the space as much as possible **@rigelk**
1391 * Add video miniature dropdown in *Discover* page
1392 * Add channel information in *My videos* page
1393 * Add videos count per channel in *My channels* page
1394 * Improve channel deletion warning by explaining how many videos will be deleted
1395 * Simplify navigation within most admin menus **@rigelk**
1396 * Tracker:
1397 * Log IP requesting unknown infoHash [@JohnXLivingston in
1398 212e17a ](https://github.com/Chocobozzz/PeerTube/commit/212e17a1892162a69138c0b9c0a1bd88f95209a8)
1399 * Block IP of infohash spammers [db48de8](https://github.com/Chocobozzz/PeerTube/commit/db48de8597897e5024f8e9ed5acb1a8f40748169)
1400 * Allow limiting video-comments rss feeds to an account or video channel [@rigelk in 00494d6](https://github.com/Chocobozzz/PeerTube/commit/00494d6e2ae915741f47869dcd359d9728a0af91)
1401
1402 ### Bug fixes
1403
1404 * Fix default anonymous theme that should use instance default
1405 * Fix configuration form issue when auto follow index URL is empty
1406 * Fix URL import of some videos
1407 * Fix quota representation in profile settings **@rigelk**
1408 * Exclude 0p from auto webtorrent quality
1409 * Fix scroll on some pages with hash in URL
1410 * Fix search filter in video reports
1411 * Fix anonymous user nsfw policy
1412 * Don't cache embed HTML page resulting in broken embed after a PeerTube upgrade
1413 * Accessibility:
1414 * Add lang in document to match current locale [@rigelk in #2822](https://github.com/Chocobozzz/PeerTube/pull/2822)
1415 * Prevent duplicate id attributes for `.svg` [@rigelk in #2822](https://github.com/Chocobozzz/PeerTube/pull/2822)
1416 * Fix headings order or add missing ones [@Pandoraaa in #2871](https://github.com/Chocobozzz/PeerTube/pull/2871)
1417 * Remove uneccessary details to link titles [@Pandoraaa in #2879](https://github.com/Chocobozzz/PeerTube/pull/2879)
1418 * Fix accessibility action buttons and display on imports and followers list [@kimsible in #2986](https://github.com/Chocobozzz/PeerTube/pull/2986)
1419 * Fix iOS player with HLS-only videos
1420 * Fix action buttons selection mode styles [@kimsible in #2983](https://github.com/Chocobozzz/PeerTube/pull/2983)
1421
1422
1423 **Since v2.3.0-rc.1**
1424
1425 ### Bug fixes
1426
1427 * Fix broken locales
1428 * Fix embed URL in share modal
1429 * Handle webp images from youtube-dl
1430 * Fix iOS player with HLS-only videos
1431 * Fix popup issues on video miniature click when searching on the global index
1432 * Fix username in password-reset email [@kimsible in #2960](https://github.com/Chocobozzz/PeerTube/pull/2960)
1433 * Fix maximized icon padding in markdown textarea [@kimsible in #2963](https://github.com/Chocobozzz/PeerTube/pull/2963)
1434 * Fix action buttons selection mode styles [@kimsible in #2983](https://github.com/Chocobozzz/PeerTube/pull/2983)
1435 * Fix user creation in admin [@kimsible in #2985](https://github.com/Chocobozzz/PeerTube/pull/2985)
1436 * Fix accessibility action buttons and display on imports and followers list [@kimsible in #2986](https://github.com/Chocobozzz/PeerTube/pull/2986)
1437
1438
1439 ## v2.2.0
1440
1441 **Since v2.1.0**
1442
1443 ## IMPORTANT NOTES
1444
1445 * **/!\ VERY IMPORTANT /!\\** We added a unique index on actors usernames to fix some federation bugs.
1446 Please check now if you have conflicts:
1447 * Go inside your database using `sudo -u postgres psql peertube_prod` and run `select "preferredUsername" from actor where "serverId" is null group by "preferredUsername" having count(*) > 1;`
1448 * If you have some results, it seems you have duplicate channels/accounts.
1449 For every entry, you'll have to change the preferredUsername of the entry you want (so they are unique).
1450 The updated actors could have some federations issues
1451 * Changed `auto_follow_index` setting configuration: you now have to use the complete URL in `index_url`.
1452 If you used the default one, you now need to use `https://instances.joinpeertube.org/api/v1/instances/hosts`.
1453 This way, you can also use a direct raw URL (Gitlab, Github, pastebin, etc.) using [a simple text format](https://framagit.org/framasoft/peertube/instances-peertube#peertube-auto-follow) and easily maintain small communities or instance recommendation lists.
1454 * PeerTube requires NodeJS v10 or v12
1455
1456 ### CLI tools
1457
1458 * Add redundancy CLI: https://docs.joinpeertube.org/maintain-tools?id=peertube-redundancyjs
1459 * Add ability to pass remaining options to youtube-dl binary in peertube-import script ([@drzraf](https://github.com/drzraf))
1460
1461 ### Docker
1462
1463 * **Important:** Fix HLS storage configuration ([@xcffl](https://github.com/xcffl)): https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/config/production.yaml#L48
1464 * Add DKIM support to Docker ([@kimsible](https://github.com/kimsible))
1465
1466 ### Maintenance
1467
1468 * Add nginx configuration to redirect videos to an S3 bucket ([@rigelk](https://github.com/rigelk)) and update of the [corresponding documentation](https://docs.joinpeertube.org/admin-remote-storage).
1469
1470 ### Plugins/Themes/Embed API
1471
1472 * Add embed API (https://docs.joinpeertube.org/api-embed-player):
1473 * `playbackState` can be `ended`
1474 * `playbackStatusUpdate` has a `duration` field
1475 * `setCaption` and `getCaptions` methods
1476 * Add client plugin hooks (https://docs.joinpeertube.org/api-plugins):
1477 * `action:login.init`
1478 * `action:video-watch.video-threads.loaded`
1479 * `action:video-watch.video-thread-replies.loaded` ([@ipbc-dev](https://github.com/ipbc-dev))
1480 * Add server plugin hooks (https://docs.joinpeertube.org/api-plugins):
1481 * `filter:api.video.pre-import-url.accept.result`
1482 * `filter:api.video.pre-import-torrent.accept.result`
1483 * `filter:api.video.post-import-url.accept.result`
1484 * `filter:api.video.post-import-torrent.accept.result`
1485 * Add server helpers:
1486 * `database.query` to do SQL queries
1487 * `videos.removeVideo`
1488 * `config.getWebserverUrl`
1489 * `moderation.blockServer`, `moderation.unblockServer`, `moderation.blockAccount`, `moderation.unblockAccount`, `moderation.blacklistVideo`, `moderation.unblacklistVideo`
1490 * Add client helpers:
1491 * `notifier` to notify users using the toast component ([@kimsible](https://github.com/kimsible))
1492 * `showModal` to show a modal ([@kimsible](https://github.com/kimsible))
1493 * `markdownRenderer` to render markdown ([@kimsible](https://github.com/kimsible))
1494 * Add ability for plugins to define custom routes
1495 * Add ability for plugins to remove video/playlist privacies
1496 * Add ability for plugins to support additional auth methods
1497 * Add `onSettingsChange` support
1498
1499 ### Official PeerTube plugins
1500
1501 * [OpenID Connect](https://framagit.org/framasoft/peertube/official-plugins/-/tree/master/peertube-plugin-auth-openid-connect)
1502 * [LDAP](https://framagit.org/framasoft/peertube/official-plugins/-/tree/master/peertube-plugin-auth-ldap)
1503 * [SAML2](https://framagit.org/framasoft/peertube/official-plugins/-/tree/master/peertube-plugin-auth-saml2)
1504 * [Auto mute accounts/instances (alpha)](https://framagit.org/framasoft/peertube/official-plugins/-/tree/master/peertube-plugin-auto-mute)
1505
1506 ## Features
1507
1508 * :tada: Add HTML support in PeerTube emails, improve text-only version ([@rigelk](https://github.com/rigelk))
1509 * :tada: Add settings panel for anonymous users so they can change NSFW/P2P/autoplay/displayed videos policy ([@rigelk](https://github.com/rigelk))
1510 * :tada: Improve redundancy management:
1511 * Add quick action on video miniature to mirror a specific video using the web interface
1512 * Add admin dashboard to list remote and local redundancies
1513 * Add ability for admins to define remote redundancies policy (accept/reject)
1514 * :tada: Many responsive & UI improvements:
1515 * Add maximized mode to markdown textarea ([@kimsible](https://github.com/kimsible))
1516 * Detect and prevent sub menu overflow on small screens using a dropdown or a modal ([@rigelk](https://github.com/rigelk))
1517 * Use a typeahead component for the search bar ([@rigelk](https://github.com/rigelk))
1518 * Use a modal instead of a dropdown menu in small/mobile views ([@kimsible](https://github.com/kimsible))
1519 * Improve display of accounts and channel pages on small and medium screens ([@rigelk](https://github.com/rigelk))
1520 * Improve forms layout ([@rigelk](https://github.com/rigelk))
1521 * Replace helpers icons with descriptions in admin configuration ([@rigelk](https://github.com/rigelk))
1522 * Improve tables on mobile devices to prevent layout breakage ([@kimsible](https://github.com/kimsible))
1523 * Fix multiple broken views on small screens ([@kimsible](https://github.com/kimsible))
1524 * Make video add tabs scrollable on small devices ([@kimsible](https://github.com/kimsible))
1525 * Better use of space and icons in the plugin administration interface ([@rigelk](https://github.com/rigelk))
1526 * Restyle toast notifications to tone down colors ([@rigelk](https://github.com/rigelk))
1527 * Add/move links at the bottom of the left menu ([@rigelk](https://github.com/rigelk))
1528 * Improve avatar upload UI ([@rigelk](https://github.com/rigelk))
1529 * Use progress bars for quota used in my account ([@rigelk](https://github.com/rigelk))
1530 * Add variable pagination size to all tables ([@rigelk](https://github.com/rigelk))
1531 * Add empty states to all tables ([@rigelk](https://github.com/rigelk))
1532 * Add generic text filter to all admin tables ([@rigelk](https://github.com/rigelk))
1533 * Fix `z-index` for tooltips, modals and their button to prevent overlaps ([@rigelk](https://github.com/rigelk))
1534 * And many others!
1535 * :tada: Improve video abuses admin table ([@rigelk](https://github.com/rigelk)):
1536 * Add in-text specific search filters
1537 * Reports can be linked to directly
1538 * Rich reporter field
1539 * Add video thumbnail with abuse count for the video and position of the abuse in that list
1540 * Expand row to see more information about the video, the reporter and the reportee
1541 * Add many actions (on the video, on the reporter)
1542 * Don't remove a report when a video is deleted
1543 * Add information on a video abuse within its notification email ([@rigelk](https://github.com/rigelk))
1544 * Add ability for video owners to delete comments
1545 * Add filter inputs for blacklisted videos and muted accounts/servers ([@rigelk](https://github.com/rigelk))
1546 * Video import improvements:
1547 * Support subtitles when importing a video ([@kimsible](https://github.com/kimsible))
1548 * Generate thumbnail/preview from URL and inject them in the video edit form ([@kimsible](https://github.com/kimsible))
1549 * Support `licence` and `language` fields
1550 * Support audio file imports
1551 * Support WMA and WAV audio files upload
1552 * Support drag and drop for video upload/torrent import ([@rigelk](https://github.com/rigelk))
1553 * Add video file metadata to download modal ([@rigelk](https://github.com/rigelk))
1554 * Add views stats for channels ([@rigelk](https://github.com/rigelk))
1555 * Add more information about the user in the edit form ([@rigelk](https://github.com/rigelk))
1556 * Server optimizations:
1557 * Add cache for some immutable models
1558 * Don't refresh videos when processing a view
1559 * Optimize view endpoint
1560 * Completely rewritten SQL query to list videos
1561 * Optimize SQL request when broadcasting an activity
1562 * Support infinite scrolling in the discover page
1563 * Add ability for admins to create a user without a password. PeerTube will send a reset password link to the user ([@JohnXLivingston](https://github.com/JohnXLivingston))
1564 * Improve embed title background opacity
1565 * Add origin instance URL in watch page
1566 * Clearer description of advanced search options
1567 * Always copy full actor handle in video channels view ([@rigelk](https://github.com/rigelk))
1568 * Add `sendmail` support ([@immae](https://github.com/immae)) to `smtp` configuration
1569 * Support `rel="me"` links in markdown
1570 * Use `originallyPublishedAt` from body on import if it exists
1571 * Sort outbox by *DESC createdAt* order
1572 * Increase video comment max length limit
1573
1574 ### Bug fixes
1575
1576 * Update default user theme to `instance-default` (Jorge Silva)
1577 * Fix user dropdown menu with long texts ([@rigelk](https://github.com/rigelk))
1578 * Fix load more comments on infinite scroll ([@ipbc-dev](https://github.com/ipbc-dev))
1579 * Fix CSP issue on WebFinger service ([@ZanyMonk](https://github.com/ZanyMonk))
1580 * Fix federation with Pleroma
1581 * Fix Safari and iOS video play
1582 * Fix broken HLS player on old Edge
1583 * Fix running HLS transcoding on existing HLS video
1584 * Fix user role edition
1585 * Fix video duration display
1586 * Fix error when adding a video in a playlist that does not have a thumbnail
1587 * Fix internal video display in playlists
1588 * Fix add comment in threads with deleted comments
1589 * Fix video codec in HLS playlist resulting in a broken video
1590 * Fix torrent import on Windows
1591 * Respect browser autoplay policy: don't autoplay videos in mute mode
1592 * Fix playlist videos autoplay/next play ([@rigelk](https://github.com/rigelk))
1593 * Fix admin table column invalid sort error
1594 * Fix outbox crawling max page/timeout (when an admin follows an instance with many videos)
1595 * Add CORS to ActivityPub routes
1596 * Fix my video imports table display when a video gets deleted ([@rigelk](https://github.com/rigelk))
1597 * Fix peertube/import scripts `comment-enabled`, `wait-transcoding` and `download-enabled` options
1598 * Don't leak unlisted videos in comments feed
1599 * Do not display deleted comments or muted accounts/instances in RSS feed
1600 * Fix HLS audio only transcoding
1601 * Fix playlist creation/update with a long description
1602 * Fix links of same instance in video description
1603 * Fix REPL script
1604 * Fix broken client when cookies are disabled
1605 * Fix upload button color in dark mode
1606 * Explicit theme colors for inputs and textarea
1607 * Fix input/textarea themes
1608 * Fix action button icons theme
1609 * Fix grey color theme
1610 * Fix regression scrollbar bgcolor mdtextarea maximized-mode ([@kimsible](https://github.com/kimsible))
1611
1612
1613 **since v2.2.0-rc.1**
1614
1615 ### Bug fixes
1616
1617 * Fix broken migration introduced in 2.2.0-rc.1 in docker
1618 * Fix sort icons in tables
1619 * Fix action button overflow in tables
1620 * Fix broken client when cookies are disabled
1621 * Fix upload button color in dark mode
1622 * Explicit theme colors for inputs and textarea
1623 * Fix input/textarea themes
1624 * Fix dropdown menu overflow
1625 * Fix notifications with dark theme
1626 * Fix action button icons theme
1627 * Fix grey color theme
1628 * Fix regression scrollbar bgcolor mdtextarea maximized-mode ([@kimsible](https://github.com/kimsible))
1629 * Fix broken emails
1630
1631
1632
1633 ## v2.1.1
1634
1635 ### Bug fixes
1636
1637 * Fix youtube-dl in docker image
1638 * Fix playlist creation/update
1639 * Fix fetch of instance config in client
1640 * Manual approves followers only for the instance (and not accounts/channels)
1641 * Fix avatar update
1642 * Fix CSP for embeds
1643 * Fix scroll of the menu on mobile
1644 * Fix CPU usage of PostgreSQL
1645 * Fix embed for iOS
1646
1647
1648 ## v2.1.0
1649
1650 **Since v2.0.0**
1651
1652 ### IMPORTANT NOTES
1653
1654 * **/!\ VERY IMPORTANT /!\\** You need to execute manually a script (can be executed after your upgrade, while your PeerTube instance is running) to create HLS video torrents:
1655 * `cd /var/www/peertube/peertube-latest && sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production node dist/scripts/migrations/peertube-2.1.js`
1656 * **/!\ VERY IMPORTANT /!\\** In the next PeerTube release (v2.2.0), we'll add a unique index on actors usernames to fix some federation bugs.
1657 Please check now if you have conflicts using:
1658 * Go inside your database using `sudo -u postgres psql peertube_prod` and run `select "preferredUsername" from actor where "serverId" is null group by "preferredUsername" having count(*) > 1;`
1659 * If you have some results, it seems you have duplicate channels/accounts.
1660 For every entry, you'll have to change the preferredUsername of the entry you want (so they are unique).
1661 The updated actors could have some federations issues
1662 * We now use Buster for the docker image, so the image name changed:
1663 * `production-stretch` becomes `production-buster`
1664 * `v2.x.x-stretch` becomes `v2.x.x-buster`
1665 * Users cannot create more than 20 channels now to avoid UX and actor name squatting issues
1666 * We added a warning if the `videos` directory is the same than the `redundancy` one in your configuration file: it can create some bugs
1667
1668 ### Documentation
1669
1670 We added some sections in the documentation website:
1671
1672 * S3 remote storage: https://docs.joinpeertube.org/admin-remote-storage
1673 * Instances redundancy: https://docs.joinpeertube.org/admin-following-instances
1674 * Moderate your instance: https://docs.joinpeertube.org/admin-moderation
1675 * Customize your instance (install plugins & themes): https://docs.joinpeertube.org/admin-customize-instance
1676 * PeerTube logs (standard log/audit log): https://docs.joinpeertube.org/admin-logs
1677 * Mute accounts/instances: https://docs.joinpeertube.org/use-mute
1678 * Controlled player embed API: https://docs.joinpeertube.org/api-embed-player
1679
1680 ### Docker
1681
1682 * Sticking to one env-var management system ([@Leopere](https://github.com/Leopere)) (See https://github.com/Chocobozzz/PeerTube/pull/2247)
1683 * Simplify Dockerfile and slim Docker image ([@Nutomic](https://github.com/nutomic))
1684 * Add HLS support in Docker container by using the latest Debian stable (Buster) image
1685
1686 ### Plugins/Themes API
1687
1688 * Add checkbox and textarea as possible input types for settings ([@rigelk](https://github.com/rigelk))
1689 * Add `isLoggedIn` helper to client plugins ([@rigelk](https://github.com/rigelk))
1690 * Add client plugin hooks:
1691 * `action:video-watch.player.loaded` with player instance
1692 * `action:video-watch.video.loaded` with a videojs instance
1693 * `action:signup.register.init` ([@rigelk](https://github.com/rigelk))
1694 * `filter:api.signup.registration.create.params` ([@rigelk](https://github.com/rigelk))
1695 * `filter:internal.video-watch.player.build-options.params`
1696 * `filter:internal.video-watch.player.build-options.result`
1697 * `filter:internal.common.svg-icons.get-content.params`
1698 * `filter:internal.common.svg-icons.get-content.result`
1699 * Add server plugins hooks:
1700 * `action:api.user.blocked`
1701 * `action:api.user.unblocked`
1702 * `action:api.user.registered`
1703 * `action:api.user.created`
1704 * `action:api.user.deleted`
1705 * `action:api.user.updated`
1706 * `action:api.user.oauth2-got-token`
1707 * Accept `.` `_` and `0-9` characters in plugin names
1708
1709 ### Maintenance
1710
1711 * PeerTube moved translations from Zanata to Weblate. Here is the new translations website URL: https://weblate.framasoft.org/projects/peertube/
1712 * We now provide a JavaScript library to control a PeerTube embed: https://www.npmjs.com/package/@peertube/embed-api
1713 * Add ability to generate HLS videos using `create-transcoding-job` script (see [the documentation](https://docs.joinpeertube.org/maintain-tools?id=create-transcoding-jobjs))
1714 * Update nginx template: (you need to [update manually](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md#nginx))
1715 * Add streaming playlists endpoint
1716 * Add `client_body_temp_path` hint
1717 * Relax TLS/SSL ciphers hardening to allow Android 4.4.2 to use the PeerTube instance API
1718 * Add `maxFileSize`, `maxFiles` and `anonymizeIP` log options in configuration file
1719
1720 ### Features
1721
1722 * :tada: Add *internal* video privacy mode. *Internal* videos are only available to other logged in users of your instance, and are not federated
1723 * :tada: Add hyperlink video timestamps in comments & video descriptions ([@Lesterpig](https://github.com/lesterpig) & [@rigelk](https://github.com/rigelk))
1724 * :tada: Comments improvements:
1725 * Support basic markdown
1726 * Soft delete video comments instead of destroying them ([@alcalyn](https://github.com/alcalyn))
1727 * Add commentator name alongside fid for video comments ([@rigelk](https://github.com/rigelk))
1728 * Add a cancel button in comment form ([@rigelk](https://github.com/rigelk))
1729 * Show number of comments under a video in watch page ([@rigelk](https://github.com/rigelk))
1730 * Add user moderation dropdown ([@rigelk](https://github.com/rigelk))
1731 * Add ability to sort comments by *total replies* or *created date* ([@rigelk](https://github.com/rigelk))
1732 * Add *total replies from video author* indicator ([@rigelk](https://github.com/rigelk))
1733 * Comment name emphasis for video author ([@rigelk](https://github.com/rigelk))
1734 * Add "Watch later" button in video miniature overlay ([@rigelk](https://github.com/rigelk))
1735 * Add ability to transcode videos in an audio only video container ([@Yetangitu](https://github.com/Yetangitu))
1736 * Add playlist search input in *add to playlist* dropdown ([@rigelk](https://github.com/rigelk))
1737 * Add search bars for a user's videos and playlists ([@rigelk](https://github.com/rigelk))
1738 * Support playlists in share modal
1739 * Better UI for a better world:
1740 * Add play/pause bezels to the video player ([@rigelk](https://github.com/rigelk))
1741 * Use icons instead of buttons in watch page (like/dislike, support...) ([@rigelk](https://github.com/rigelk))
1742 * Improve *PeerTube* section in About page and add links to the documentation
1743 * Improve comment tree in Watch page
1744 * Improve dropdown box shadow ([@rigelk](https://github.com/rigelk))
1745 * Add channel avatar to watch view ([@rigelk](https://github.com/rigelk))
1746 * Improve likes-dislikes bar usability
1747 * Alter titles section header style ([@rigelk](https://github.com/rigelk))
1748 * Enhance jobs list display on smaller screens ([@alcalyn](https://github.com/alcalyn))
1749 * Add a button in the videos from subscriptions page to manage subscriptions ([@rigelk](https://github.com/rigelk))
1750 * Add duration to video attributes in watch view ([@rigelk](https://github.com/rigelk))
1751 * Add a message in the login form when signup is disabled for people that are looking for an account ([@rigelk](https://github.com/rigelk))
1752 * Add "Manage" button in owned account and channels pages ([@rigelk](https://github.com/rigelk))
1753 * Improve password input accessibility ([@rigelk](https://github.com/rigelk))
1754 * Add descriptions in moderation dropdown ([@rigelk](https://github.com/rigelk))
1755 * Performances improvements:
1756 * Lazy load categories, licences, languages and video/playlist privacies in the client
1757 * Only update remote actor avatar if the filename changed
1758 * Optimize transcoding by using the lowest resolution as input file
1759 * Speedup embed first paint
1760 * Optimize videos list SQL query
1761 * Optimize local videos list SQL query
1762 * Cache `peertube` instance actor SQL result
1763 * Cache HLS/WebTorrent InfoHash SQL result
1764 * Optimize notification endpoint on specific cases
1765 * Optimize "list my playlists" SQL query
1766 * Improve search filters: ([@rigelk](https://github.com/rigelk))
1767 * Add ability to sort results
1768 * Improve tags filter inputs
1769 * Add a button to reset filters
1770 * Improve autoplay: ([@rigelk](https://github.com/rigelk))
1771 * Autoplay next video switch for both user and visitors
1772 * Add *up next* screen on autoplay
1773 * Autoplay next video support for playlists
1774 * Add *next* video button to the player
1775 * Add loop setting when watching a playlist
1776 * Add option to download subtitles in download modal ([@rigelk](https://github.com/rigelk))
1777 * Add a button in account page to follow all account channels ([@rigelk](https://github.com/rigelk))
1778 * Add ability to search a video directly by its UUID
1779 * Case insensitive tags search
1780 * Add ability to disable WebTorrent (and only enable HLS) (**experimental and breaks federation with PeerTube instances < 2.1**)
1781 * Don't seed if the client is on a cellular network in the HLS player
1782 * Load HLS player in embed by default if enabled
1783 * Admin panels:
1784 * Add ability to sort by *state*, *score* and *redundancy allowed* columns in following/followers admin table
1785 * Add ability to filter per job type in admin
1786 * Add *Audit logs* section in admin Logs panel
1787 * Improve Media-RSS support ([@rigelk](https://github.com/rigelk))
1788 * Explicit the tag limit in video form ([@bikepunk](https://github.com/bikepunk))
1789 * Add a warning when uploading videos using root
1790 * Clearer video quota label in user settings
1791 * Pause the video when the user opens a modal
1792 * Handle basic HTML in account descriptions
1793 * Support `m4v` videos
1794 * Improve 4k resolution bitrate
1795 * Add missing hotkeys documentation in the watch page
1796 * Add a button to copy the channel handle ([@rigelk](https://github.com/rigelk))
1797 * Add server config to the nodeinfo metadata ([@rigelk](https://github.com/rigelk))
1798 * Improve notification popup interactivity ([@rigelk](https://github.com/rigelk))
1799
1800 ### Bug fixes
1801
1802 * Don't notify if the account in on a muted instance
1803 * Don't leak other notified addresses in notification emails
1804 * Allow the embed iframe to open links
1805 * Add missing button roles for the language chooser and keyboard shortcut menu items [@MarcoZehe](https://github.com/MarcoZehe)
1806 * Fix overflow when creating a channel
1807 * Fix "copy magnet URI" in player
1808 * Fix text overflow in menu
1809 * Fix player focus
1810 * Only display accepted followers/followings instances in about page
1811 * Fix brackets truncation in video description
1812 * Fix channel playlist miniatures overflow
1813 * Fix background color on some screens
1814 * Fix captions upload issue depending on the caption name
1815 * Fix file download when the video is private
1816 * Fix dropdown on video miniature for unlogged users
1817 * Fix video support field in update form
1818 * Fix video import having a long thumbnail url (Facebook for example)
1819 * Add correct HTTP status on not found video
1820 * Fix bug on login when username has a special character (`_` for example)
1821 * Fix plugin unregistration that did not remove properly its hooks ([@JohnXLivingston](https://github.com/JohnXLivingston))
1822 * Fix wrong audio only resolution label for hls
1823 * Fix AP icon URL for imported videos
1824 * Fix octet stream fallback for video ext
1825
1826 **since v2.1.0-rc.1**
1827
1828 ### Bug fixes
1829
1830 * Fix wrong audio only resolution label for hls
1831 * Fix AP icon URL for imported videos
1832 * Fix embed on mastodon
1833 * Fix octet stream fallback for video ext
1834
1835
1836 ## v2.0.0
1837
1838 **Since v1.4.1**
1839
1840 ### IMPORTANT NOTES
1841
1842 * Removed old JSON LD signature implementation. There will be some **federation incompatibilities** with forwarded activities sent
1843 by PeerTube instances < v2.0.0
1844 * Replaced configuration key `email.object` with `email.subject`: https://github.com/Chocobozzz/PeerTube/commit/916937d7daf386e4e2d37b2ca22db07b644b02df
1845
1846 ### Plugins/Themes API
1847
1848 * Add plugin hook on registration `filter:api.user.signup.allowed.result`
1849
1850 ### Docker
1851
1852 * Fix traefik version docker compose (**you need to update your `docker-compose.yml` file**: https://github.com/Chocobozzz/PeerTube/commit/f1b38883922fd59b36f093e44a5091e090d20862)
1853
1854 ### Maintenance
1855
1856 * Add `--tmpdir`, `--first`, `--last` and `--verbose [level]` parameters to peertube-import-videos script ([@Yetangitu](https://github.com/Yetangitu))
1857 * Improve REST API documentation ([@frankstrater](https://github.com/frankstrater))
1858 * Improve plugin management documentation
1859
1860 ### Features
1861
1862 * Better instance admin responsibility:
1863 * Add ability to set more information about your instance. This will be used in the future on https://joinpeertube.org to help people find
1864 the appropriate PeerTube instance on which they can register:
1865 * Main **Categories**
1866 * **Languages** you/your moderators speak
1867 * **Code of Conduct**
1868 * **Moderation information** (who moderates your instance, NSFW policy etc)
1869 * Who is **behind the instance** (a single person? non-profit?)
1870 * Why did the admin **create this instance**
1871 * How long the admin plan to **maintain the instance**
1872 * How the administrator **will finance** the PeerTube server
1873 * **Hardware** information
1874 * Add these information in the about page and in the signup page
1875 * Add a welcome modal at first admin login with some explanations of PeerTube and some useful links
1876 * Add warning modal when administrators enable or enabled signup but did not fill some important instance information
1877 (for now the instance **name**, **terms**, **administrator** and **maintenance lifetime** information)
1878 * Add ability to automatically follow back other instances
1879 * Add ability to automatically follow [the public registry](https://instances.joinpeertube.org/) instances
1880 * Add *Most liked videos* page ([@alcalyn](https://github.com/alcalyn))
1881 * Add a drag&drop delay on playlist videos to allow user scroll on small screens ([@alcalyn](https://github.com/alcalyn))
1882 * Allow to toggle video publication date to display absolute date ([@alcalyn](https://github.com/alcalyn))
1883 * Add statistics in about page ([@alcalyn](https://github.com/alcalyn))
1884 * Improve the *feature table* in about page
1885 * Add contributors in about page
1886 * Clearer warning of IP address leaking on embedded videos ([@robinkooli](https://github.com/robinkooli))
1887 * Case insensitive search on video tags
1888 * Add video name in "video publish notification"
1889 * Add ability to autoplay next recommended video (opt in) ([@LoveIsGrief](https://github.com/LoveIsGrief))
1890 * Add link behind the subscribe via RSS button ([@frankstrater](https://github.com/frankstrater))
1891 * Support text/plain caption files
1892 * Speedup theme injection
1893 * Add ability to enable HLS in the admin panel
1894
1895 ### Bug fixes
1896
1897 * Fix audio upload
1898 * Handle video reports from mastodon
1899 * Fix videos redundancy exceeding the limit
1900 * Fix search when user defined video languages in their preferences
1901 * Don't quick transcode with the wrong pixel format
1902 * Hide videos abuses of muted accounts
1903 * Fix account avatar widths
1904 * Fix default `commentsEnabled` and `downloadEnabled` values on video upload/import ([@frankstrater](https://github.com/frankstrater))
1905 * Disable auto complete of email field when editing another user information in admin panel ([@Knackie](https://github.com/Knackie))
1906 * Fix federation issues with some actors (that have long descriptions, or missing optional AP fields)
1907 * Remove down redundancy endpoints in HLS player
1908 * Fix user notifications with multiple opened tabs
1909 * Replace "overview" by "discover" in webpage titles
1910 * Clearer IP debug message in admin panel
1911 * Fix checkbox styles when using a theme
1912 * Don't redirect on verify account page after login
1913 * Fix player captions menu after choosing a subtitle
1914 * Fix CLI scripts with URLs ending with a `/`
1915 * Fix `--since` and `--until` timezone in `peertube-import-videos` script
1916 * Avoid circular error in logger
1917 * Fix start/stop of first element when loading a playlist
1918
1919 ***Since v2.0.0-rc.1***
1920
1921 ### Features
1922
1923 * Improve welcome/warning modals
1924 * Add ability to enable HLS in the admin panel
1925
1926 ### Bug fixes
1927
1928 * Fix auto index follow
1929 * Fix CLI scripts with URLs ending with a `/`
1930 * Fix `--since` and `--until` timezone in `peertube-import-videos` script ([@fflorent](https://github.com/fflorent))
1931 * Avoid circular error in logger
1932 * Fix start/stop of first element when loading a playlist
1933
1934
1935 ## v1.4.1
1936
1937 ### Bug fixes
1938
1939 * Fix too fast redundancy eviction
1940 * Fix broken auto blacklist page
1941 * Rename signup steps
1942 * Fix menu x overflow
1943
1944
1945 ## v1.4.0
1946
1947 **Since v1.3.1**
1948
1949 ### IMPORTANT NOTES
1950
1951 * **Important:** Add `plugins` directory in configuration file. **You should configure it in your production.yaml**
1952 * **Important:** Deprecate NodeJS 8 (support ends on [December 2019](https://github.com/nodejs/Release#release-schedule)). Please upgrade to NodeJS 10.
1953 * **Important:** Updated nginx template (you need to [update manually](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md#nginx))
1954 * Fix long server responses on dual stack servers: https://github.com/Chocobozzz/PeerTube/commit/fd2ddcae8ff4eb10bf7168ac3c8801f06b37627f
1955 * Improve images HTTP cache: https://github.com/Chocobozzz/PeerTube/commit/c928e1364fbdff87f27fd982710b95426a250491
1956 * **Important:** With the new theme system, we removed the dark mode button. Your administrator has to install [the dark theme](https://framagit.org/framasoft/peertube/official-plugins/tree/master/peertube-theme-dark)
1957 from their admin panel, and then users can choose this theme in their settings
1958 * Changed the playlist REST API to fix various issues. See https://github.com/Chocobozzz/PeerTube/pull/1998 for more information
1959 * Removed magnet URI support in download modal since most of the BitTorrent clients do not understand the `xs` parameter
1960 * Renamed `Overview` page to `Discover`
1961
1962 ### Security
1963
1964 * Moderators can only create and update regular users (thanks GGC-Project)
1965
1966 ### Maintenance
1967
1968 * Create a dedicated `package.json` for CLI tools to reduce server dependencies size
1969 * Add ability to set root password by environment at first start ([@darnuria](https://github.com/darnuria))
1970 * Removed unused `uuid` actor field (we already have a unique identifier that is the `preferredUsername`)
1971 * Add ability to disable PeerTube log rotation ([@NassimBounouas](https://github.com/NassimBounouas))
1972 * Speedup font display ([@BO41](https://github.com/BO41))
1973 * Improve static files HTTP cache
1974 * Add `--since` and `--until` parameters to import videos script to easily sync external channels ([@fflorent](https://github.com/fflorent))
1975 * Optimize `/watch/:uuid` endpoint
1976 * Optimize Sequelize (SQL ORM) queries generation (consumes less CPU)
1977 * Prune script is faster and can prune avatar files
1978
1979 ### Features
1980
1981 * :tada: Support Finnish, Greek and Scottish Gaelic languages
1982 * :tada: Add basic plugins and themes support (**beta**): https://docs.joinpeertube.org/contribute-plugins
1983 * Install plugins or themes from the administration panel
1984 * Choose a default theme for your instance
1985 * Users can choose the theme they want among the list of themes their administrator installed
1986 * :tada: Add ability to upload audio files: PeerTube will merge the audio file and the thumbnail to create a video
1987 * Multi step registration:
1988 * Add ability for new users to create their default channel
1989 * Guess the account username/channel username according to their display name
1990 * Add explanations about what the purpose of a username/channel name is, and what a channel is
1991 * Improve account video channels page:
1992 * Set it as the default page for the account page in order to avoid confusion between the account homepage and the video channel homepage
1993 * Display channels in rows with some of their videos
1994 * Support more URL parameters in embeds: `muted`, `loop`, `peertubeLink`
1995 * Redesign share modal and add customizations:
1996 * Start/stop at a specific timestamp
1997 * Automatically play/mute/loop the video
1998 * Set a specific subtitle by default
1999 * Group subscriptions and recently added videos in chronological order
2000 * Add ability for users to change their email address
2001 * Add ability to update the support field of all channel videos when we update the channel support field
2002 * Add a language filter in user preferences to display only videos in specific languages
2003 * Add instance follows list in a dedicated tab in the "About" page
2004 * Add ability to set to private a public/unlisted video or video playlist
2005 * Transcode in the `tmp` directory for s3fs compatibility ([@libertysoft3](https://github.com/libertysoft3))
2006 * Add a button to copy account username ([@NassimBounouas](https://github.com/NassimBounouas))
2007 * Redirect to "Local videos" page when going to the `peertube` account page
2008 * Rearrange search filter options ([@realityfabric](https://github.com/realityfabric))
2009 * Close modal after clicking on download ([@LeoMouyna](https://github.com/LeoMouyna))
2010 * Add ability for admins to customize emails object prefix and body signature ([@yohanboniface](https://github.com/yohanboniface))
2011 * Support 4K transcoding
2012 * Add link of the follower profile in administration ([@NassimBounouas](https://github.com/NassimBounouas))
2013 * Add subject field in contact form ([@NassimBounouas](https://github.com/NassimBounouas))
2014 * Add rate limit to registration and API endpoints
2015 * Add "video quota used" sortable column in user admin list ([@darnuria](https://github.com/darnuria))
2016 * Automatically update the playlist thumbnail according to the video at the first position (if the user did not set a specific thumbnail)
2017 * Automatically remove dead followings
2018 * Federate comment deletion if the comment was deleted by the video owner
2019
2020 ### Bug fixes
2021
2022 * Fix transcoding information in features table ([LiPek](https://github.com/LiPeK))
2023 * Fix tools auth with remote instances
2024 * Fix various issues in upload/import scripts
2025 * Fix redundancy exceeded quota
2026 * Fix login with email ([@NassimBounouas](https://github.com/NassimBounouas))
2027 * Fix quota display in features table
2028 * Fix transcoding help placement
2029 * Fix invisible videos in playlists
2030 * Fix HLS transcoding in lower resolutions
2031 * Fix various federation issues
2032 * Fix mute badge labels
2033 * Fix broken follow notification when the actor is deleted
2034 * Fix overflow and playlist block width in the watch page
2035 * Fix search results overflow on mobile
2036 * Fix infinite scroll on big screens
2037 * Fix start time on some HLS videos
2038 * Fix socket notification with multiple user tabs
2039 * Fix redundancy if the instance has already the file on disk
2040 * Fix image and plugin CSP
2041 * Fix video rows overflow
2042 * Dismiss modals on pop state
2043 * Go back when cancel NSFW modal
2044
2045
2046 ***Since v1.4.0-rc.1***
2047
2048 ### Features
2049
2050 * Add Finnish language support
2051
2052 ### Bug fixes
2053
2054 * Fix broken front end on Firefox ESR (60)
2055 * Fix prune storage script when using a same directory for multiple storage keys
2056 * Relax plugin `package.json` validation
2057 * Replace "overview" by "discover" in client titles
2058 * Change configuration: `email.object` becomes `email.subject`
2059 * Fix user creation by moderators
2060 * Fix video playlist element removal
2061 * Fix plugin card background color with dark theme
2062 * Fix lazy static route with unknown avatars (404 instead of 500)
2063 * Fix socket notification with multiple user tabs
2064 * Fix redundancy if the instance has already the file on disk
2065 * Fix image and plugin CSP
2066 * Fix video rows overflow
2067 * Dismiss modals on pop state
2068 * Go back when cancel NSFW modal
2069
2070
2071 ## v1.3.1
2072
2073 ### Bug fixes
2074
2075 * Fix Mastodon remote interactions
2076 * Fix missing video download button
2077 * Fix error in video upload/update form when scheduling publication
2078 * Fix black theme on some pages
2079 * Fix video import if auto blacklist is enabled
2080
2081
2082 ## v1.3.0
2083
2084 **Since v1.2.0**
2085
2086 ### IMPORTANT NOTES
2087
2088 * **nginx** Remove `text/html` from `gzip_types`: https://github.com/Chocobozzz/PeerTube/commit/7eeb6a0ba4028d0e20847b846332dd0b7747c7f8 [@bnjbvr](https://github.com/bnjbvr)
2089 * Add `streaming_playlists` directory in configuration file. **You should configure it in your production.yaml**
2090 * CSP configuration changed: it's now in a [dedicated section](https://github.com/Chocobozzz/PeerTube/blob/develop/config/production.yaml.example#L110)
2091
2092 ### Maintenance
2093
2094 * Add GitPod support ([@jankeromnes](https://github.com/jankeromnes)) that could help people to contribute on PeerTube: https://github.com/Chocobozzz/PeerTube/blob/develop/.github/CONTRIBUTING.md#online-development
2095 * Add reminder to restart PeerTube in upgrade script ([@ldidry](https://github.com/ldidry))
2096 * Add argument to dockerfile to pass options to npm run build ([@NaPs](https://github.com/NaPs))
2097 * Add `NOCLIENT` env support to only install server dependencies. Example: `NOCLIENT=true yarn install --pure-lockfile` ([@rigelk](https://github.com/rigelk))
2098
2099 ### Docker
2100
2101 * **Important:**: Add host network mode to the reverse proxy section (without this, it could break videos views and P2P: https://github.com/Chocobozzz/PeerTube/issues/1643#issuecomment-464789666)
2102 * **Important:**: Add a network section to [docker-compose.yml template](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/docker-compose.yml)
2103 and update your [.env](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/.env#L8) to fix IP forwarding issue ([@Nutomic](https://github.com/nutomic))
2104 * Fix SMTP default configuration ([@Nutomic](https://github.com/nutomic))
2105
2106 ### Features
2107
2108 * Add video playlist support
2109 * A user has a default `Watch-later` playlist
2110 * A user can create private, unlisted or public playlists
2111 * An element in this playlist can start or stop at specific timestamps (you can create some kind of zapping for example)
2112 * The difference with a channel is that you cannot subscribe to a playlist, but you can add videos from any other user in your playlist.
2113 It's useful to organize your videos, or create a playlist of videos you like and share the link on the web etc
2114 * Add quarantine videos (auto blacklist videos on upload) feature :tada: ([@joshmorel](https://github.com/joshmorel))
2115 * Add Japanese & Nederlands & Português (Portugal) support
2116 * Add experimental HLS support
2117 * Better playback
2118 * Better bandwidth management (for both client & server)
2119 * Needs to store another video file per resolution, so enabling this option multiplies the videos storage by 2 (only new uploaded videos, this is not retroactive)
2120 * Requires ffmpeg >= 4
2121 * Better instance's followers management:
2122 * Add ability to remove an instance's follower
2123 * Add ability to forbid all new instance's followers
2124 * Add ability to manually approve new instance's followers
2125 * Add notification on new instance's follower
2126 * Improve UI:
2127 * Increase player default height
2128 * Reduce big play button border width
2129 * Increase thumbnail sizes
2130 * Add hover effect on video miniature
2131 * Add "my library" section in menu
2132 * Add missing icons in some buttons/dropdown
2133 * 2 rows per overview section
2134 * Increase video thumbnail blur ([@Zig-03](https://github.com/Zig-03))
2135 * Improve video miniatures list on mobile
2136 * Add animation when opening user notifications
2137 * Add ability for admins to disable the tracker (and so the P2P aspect of PeerTube, in order to improve users privacy for example)
2138 * Add original publication date attribute to videos, and add ability to filter on it (Andrés Maldonado)
2139 * Add video miniature dropdown
2140 * Add ability for admins to declare their instance as dedicated to NSFW content
2141 * Improve SEO (there is still work to be done)
2142 * Login is now case insensitive (if using official web client)
2143 * Add NSFW policy & users signup policy & auto blacklist strategy in features table in about page
2144 * Improve comment deletion warning
2145 * Restore videos list component on history back
2146 * Add ability to consult server logs in admin
2147 * Allow administrators to change/reset a user's password ([@rigelk](https://github.com/rigelk))
2148 * Add a debug page to help admins to fix IP configuration issues
2149 * Add ability for admins to limit users videos history size
2150 * Add ability for admins to delete old remote videos views (reduce database size)
2151 * Optimize video update page load
2152 * Less refresh jobs
2153 * Cleanup invalid AP rates/comments/shares
2154 * Better videos redundancy config error handling
2155 * Check emails are enabled if the admin requires email verification ([@joshmorel](https://github.com/joshmorel))
2156 * Add `Add /accounts/:username/ratings endpoint` ([@yohanboniface](https://github.com/yohanboniface))
2157 * Allow to control API rates limit from configuration ([@yohanboniface](https://github.com/yohanboniface))
2158
2159 ### Bug fixes
2160
2161 * Don't notify prior to scheduled update ([@joshmorel](https://github.com/joshmorel))
2162 * Fix account description database error
2163 * Fix Pleroma follow
2164 * Fix greek label
2165 * Fix email notification for some users
2166 * Fix translation of "Copy magnet URI"
2167 * Fix negative seconds by displaying 0 instead [@zacharystenger](https://github.com/zacharystenger)
2168 * Fix URL in video import notification
2169 * Don't close help popover when clicking on it
2170 * Fix `tmp` directory cleanup
2171 * Fix custom CSS help
2172 * Fix JSONLD context
2173 * Fix privacy label display in upload form
2174 * Fix my account settings responsiveness
2175 * Fix keyboard icon transparency ([@gbip](https://github.com/gbip))
2176 * Fix contact admin button overflow
2177 * Wait config to be loaded before loading login/signup
2178 * Privacy is optional in upload API endpoint
2179 * Fix hotkeys help popup overflow
2180
2181 ***Since v1.3.0-rc.2***
2182
2183 ### Bug fixes
2184
2185 * Fix duplicates in playlist add component
2186 * Fix crash in files cache
2187 * Fix playlist view/update 403
2188 * Fix search with bad webfinger handles
2189
2190
2191 ## v1.2.1
2192
2193 ### Bug fixes
2194
2195 * **Important:** Fix invalid `From` email header in contact form that could lead to the blacklisting of your SMTP server
2196 * Fix too long display name overflow in menu
2197 * Fix mention notification when a remote account mention a local account that has the same username than yours
2198 * Fix access to muted servers table for moderators
2199 * Don't crash notification popup on bug
2200 * Fix reset password script that leaks password on invalid value
2201
2202
2203 ## v1.2.0
2204
2205 ### BREAKING CHANGES
2206
2207 * **Docker:** `PEERTUBE_TRUST_PROXY` env variable is now an array ([LecygneNoir](https://github.com/LecygneNoir))
2208 * **Docker:** Check you have all the storage fields in your `/config/production.yaml` file: https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/config/production.yaml#L34
2209 * **nginx:** Add redundancy endpoint in static file. **You should add it in your nginx configuration: https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md#nginx**
2210 * **nginx:** Add socket io endpoint. **You should add it in your nginx configuration: https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md#nginx**
2211 * Moderators can manage users now (add/delete/update/block)
2212 * Add `tmp` and `redundancy` directories in configuration file. **You should configure them in your production.yaml**
2213
2214 ### Maintenance
2215
2216 * Check free storage before upgrading in upgrade script ([@Nutomic](https://github.com/nutomic))
2217 * Explain that PeerTube must be stopped in prune storage script
2218 * Add some security directives in the systemd unit configuration file ([@rigelk](https://github.com/rigelk) & [@mkoppmann](https://github.com/mkoppmann))
2219 * Update FreeBSD startup script ([@gegeweb](https://github.com/gegeweb))
2220
2221 ### Docker
2222
2223 * Patch docker entrypoint to speed up the chown at startup ([LecygneNoir](https://github.com/LecygneNoir))
2224
2225 ### Features
2226
2227 * Add Russian, Polish and Italian languages
2228 * Add user notifications:
2229 * Notification types:
2230 * Comment on my video
2231 * New video from my subscriptions
2232 * New video abuses (for moderators)
2233 * Blacklist/Unblacklist on my video
2234 * Video import finished (error or success)
2235 * Pending video published (after transcoding or a scheduled update)
2236 * My account or one of my channel has a new follower
2237 * Someone (except muted accounts) mentioned me in comments
2238 * A user registered on the instance (for moderators)
2239 * Notification actions:
2240 * Add a web notification
2241 * Send an english email
2242 * Add contact form in about page (**enabled by default**)
2243 * Add ability to unfederate a local video in blacklist modal (**checkbox checked by default**)
2244 * Support additional video extensions if transcoding is enabled (**enabled by default**)
2245 * Redirect to the last url on login
2246 * Add ability to automatically set the video caption in URL. Example: https://peertube2.cpy.re/videos/watch/9c9de5e8-0a1e-484a-b099-e80766180a6d?subtitle=ru
2247 * Automatically enable the last selected caption when watching a video
2248 * Add ability to disable, clear and list user videos history
2249 * Add a button to help to translate peertube
2250 * Add text in the report modal to explain to whom the report will be sent
2251 * Open my account menu entries on hover
2252 * Explain what features are enabled on the instance in the about page
2253 * Add an error message in the forgot password modal if the instance email system is not configured
2254 * Add sitemap
2255 * Add well known url to change password ([@rigelk](https://github.com/rigelk))
2256 * Remove 8GB video upload limit on client side. There may still be such limit depending on the reverse proxy configuration ([@scanlime](https://github.com/scanlime))
2257 * Add CSP ([@rigelk](https://github.com/rigelk) & [@Nutomic](https://github.com/nutomic))
2258 * Update title and description HTML tags when rendering video HTML page
2259 * Add webfinger support for remote follows ([@acid-chicken](https://github.com/acid-chicken))
2260 * Add tooltip to explain how the trending algorithm works ([@auberanger](https://github.com/auberanger))
2261 * Warn users when they want to delete a channel because they will not be able to create another channel with the same name
2262 * Warn users when they leave the video upload/update (on page refresh/tab close)
2263 * Set max user name, user display name, channel name and channel display name lengths to 50 characters ([@McFlat](https://github.com/mcflat))
2264 * Increase video abuse length to 3000 characters
2265 * Add totalLocalVideoFilesSize in the stats endpoint
2266
2267 ### Bug fixes
2268
2269 * Fix the addition of captions to a video
2270 * Fix federation of some videos
2271 * Fix NSFW blur on search
2272 * Add error message when trying to upload .ass subtitles
2273 * Fix default homepage in the progressive web application
2274 * Don't crash on queue error
2275 * Fix EXDEV errors if you have multiple mount points
2276 * Fix broken audio in transcoding with some videos
2277 * Fix crash on getVideoFileStream issue
2278 * Fix followers search
2279 * Remove trailing `/` in CLI import script ([@HesioZ](https://github.com/HesioZ/))
2280 * Use origin video url in canonical tag
2281 * Fix captions in HTTP fallback
2282 * Automatically refresh remote actors to fix deleted remote actors that are still displayed on some instances
2283 * Add missing translations in video embed page
2284 * Fix some styling issues in dark mode
2285 * Fix transcoding issues with some videos
2286 * Fix Mac OS mkv/avi upload
2287 * Fix menu overflow on mobile
2288 * Fix ownership button icons ([@joshmorel](https://github.com/joshmorel))
2289
2290
2291 ## v1.1.0
2292
2293 ***Since v1.0.1***
2294
2295 ### BREAKING CHANGES
2296
2297 * **Docker:** `PEERTUBE_TRUST_PROXY` env variable is now an array ([LecygneNoir](https://github.com/LecygneNoir))
2298
2299 ### Maintenance
2300
2301 * Improve REST API documentation ([@rigelk](https://github.com/rigelk))
2302 * Add basic ActivityPub documentation ([@rigelk](https://github.com/rigelk))
2303 * Add CLI option to run PeerTube without client ([@rigelk](https://github.com/rigelk))
2304 * Add manpage to peertube CLI ([@rigelk](https://github.com/rigelk))
2305 * Make backups of files in optimize-old-videos script ([@Nutomic](https://github.com/nutomic))
2306 * Allow peertube-import-videos.ts CLI script to run concurrently ([@McFlat](https://github.com/mcflat))
2307
2308 ### Scripts
2309
2310 * Use DB information from config/production.yaml in upgrade script ([@ldidry](https://github.com/ldidry))
2311 * Add REPL script ([@McFlat](https://github.com/mcflat))
2312
2313 ### Docker
2314
2315 * Add search and import settings env settings env variables ([@kaiyou](https://github.com/kaiyou))
2316 * Add docker dev image ([@am97](https://github.com/am97))
2317 * Improve docker compose template ([@Nutomic](https://github.com/nutomic))
2318 * Add postfix image
2319 * Redirect HTTP -> HTTPS
2320 * Disable Træfik web UI
2321
2322 ### Features
2323
2324 * Automatically resume videos if the user is logged in
2325 * Hide automatically the menu when the window is resized ([@BO41](https://github.com/BO41))
2326 * Remove confirm modal for JavaScript/CSS injection ([@scanlime](https://github.com/scanlime))
2327 * Set bitrate limits for transcoding ([@Nutomic](https://github.com/nutomic))
2328 * Add moderation tools in the account page
2329 * Add bulk actions in users table (Delete/Ban for now)
2330 * Add search filter in admin users table
2331 * Add search filter in admin following
2332 * Add search filter in admin followers
2333 * Add ability to list all local videos
2334 * Add ability for users to mute an account or an instance
2335 * Add ability for administrators to mute an account or an instance
2336 * Rename "News" category to "News & Politics" ([@daker](https://github.com/daker))
2337 * Add explicit error message when changing video ownership ([@lucas-dclrcq](https://github.com/lucas-dclrcq))
2338 * Improve description of the HTTP video import feature ([@rigelk](https://github.com/rigelk))
2339 * Set shorter keyframe interval for transcoding (2 seconds) ([@Nutomic](https://github.com/nutomic))
2340 * Add ability to disable webtorrent (as a user) ([@rigelk](https://github.com/rigelk))
2341 * Make abuse-delete clearer ([@barbeque](https://github.com/barbeque))
2342 * Adding minimum signup age conforming to ceiling GPDR age ([@rigelk](https://github.com/rigelk))
2343 * Feature/description support fields length 1000 ([@McFlat](https://github.com/mcflat))
2344 * Add background effect to activated menu entry
2345 * Improve video upload error handling
2346 * Improve message visibility on signup
2347 * Auto login user on signup if email verification is disabled
2348 * Speed up PeerTube startup (in particular the first one)
2349 * Delete invalid or deleted remote videos
2350 * Add ability to admin to set email as verified ([@joshmorel](https://github.com/joshmorel))
2351 * Add separators in user moderation dropdown
2352
2353 ### Bug fixes
2354
2355 * AP mimeType -> mediaType
2356 * PeerTube is not in beta anymore
2357 * PeerTube is not in alpha anymore :p
2358 * Fix optimize old videos script
2359 * Check follow constraints when getting a video
2360 * Fix application-config initialization in CLI tools ([@Yetangitu](https://github.com/Yetangitu))
2361 * Fix video pixel format compatibility (using yuv420p) ([@rigelk](https://github.com/rigelk))
2362 * Fix video `state` AP context ([tcitworld](https://github.com/tcitworld))
2363 * Fix Linked Signature compatibility
2364 * Fix AP collections pagination
2365 * Fix too big thumbnails (when using URL import)
2366 * Do not host remote AP objects: use redirection instead
2367 * Fix video miniature with a long name
2368 * Fix video views inconsistencies inside the federation
2369 * Fix video embed in Wordpress Gutenberg
2370 * Fix video channel videos url when scrolling
2371 * Fix player progress bar/seeking when changing resolution
2372 * Fix search tab title with no search
2373 * Fix YouTube video import with some videos
2374
2375 ***Since v1.1.0-rc.1***
2376
2377 ### Bug fixes
2378
2379 * Fix AP infinite redirection
2380 * Fix trending page
2381
2382
2383 ## v1.0.1
2384
2385 ### Security/Maintenance/Federation
2386
2387 * Add HTTP Signature in addition to Linked Signature:
2388 * It's faster
2389 * Will allow us to use RSA Signature 2018 in the future without too much incompatibilities in the peertube federation
2390
2391
2392 ## v1.0.0
2393
2394 ### SECURITY
2395
2396 * Add more headers to HTTP signature to avoid actor impersonation by replaying modified signed HTTP requests (thanks Thibaut Girka)
2397
2398 ### Bug fixes
2399
2400 * Check video exists before extending expiration
2401 * Correctly delete redundancy files
2402 * Fix account URI in remote comment modal ([@rigelk](https://github.com/rigelk))
2403 * Fix avatar update
2404 * Avoid old issue regarding duplicated hosts in database
2405
2406
2407 ## v1.0.0-rc.2
2408
2409 ### Bug fixes
2410
2411 * Fix config endpoint
2412
2413
2414 ## v1.0.0-rc.1
2415
2416 ### Features
2417
2418 * Allow specification of channel ID in `peertube-upload.js` ([@anoadragon453](https://github.com/anoadragon453))
2419 * Show last commit hash alongside server version in footer ([@rigelk](https://github.com/rigelk))
2420 * Add comment feeds in watch page
2421
2422 ### Bug fixes
2423
2424 * Fix dnt route (yes again, but now we have unit tests for this route :D)
2425 * Check video channel name is unique when creating a new one
2426 * Fix video fps validator (prevent redundancy/refresh of some old videos)
2427 * Allow empty search on client side ([@rigelk](https://github.com/rigelk))
2428 * Correctly forward comment deletion
2429
2430
2431 ## v1.0.0-beta.16
2432
2433 ### BREAKING CHANGES
2434
2435 * Add prompt to upgrade.sh to install pre-release version ([@Nutomic](https://github.com/nutomic))
2436
2437 ### Features
2438
2439 * Add shortcuts icon in menu
2440 * Improve overview section titles
2441 * Check old password before change ([@BO41](https://github.com/BO41))
2442 * Adding frame-by-frame hotkey support in player ([@rigelk](https://github.com/rigelk))
2443
2444 ### Bug fixes
2445
2446 * Stop seeding torrents after a failed import
2447 * Fix player crashing the web browser
2448 * Fix player performance with small devices
2449 * Fix some untranslated strings
2450 * Fix video files duplicated when fps is null ([@rigelk](https://github.com/rigelk))
2451 * Fix video import of some youtube videos
2452 * Fix (long) video description when importing by url
2453 * Fix Mastodon federation with a comment reply
2454 * Correctly delete directories on import
2455 * Remove duplicated videos on unfollow/delete redundancy
2456 * Fix 404 on manifest
2457 * Hide useless error when destroying fake renderer
2458 * Display other videos on big screens on the right of the watch page
2459 * Fix no other videos displayed on some videos
2460 * Fix hidden advanced options in upload form
2461 * Fix message space on video upload cancel ([@rigelk](https://github.com/rigelk))
2462 * Fix error when updating many video captions
2463 * Fix "my account" subtitles
2464 * Fix error when clicking on the disabled publish button
2465 * Increase timeout on upload endpoint
2466 * Fix redundancy with videos already duplicated by another instance(s)
2467 * Correctly delete files on failed import
2468
2469
2470 ## v1.0.0-beta.15
2471
2472 ### Features
2473
2474 * Improve subscription button ([@rigelk](https://github.com/rigelk))
2475 * Display it for unlogged users
2476 * Add RSS feed
2477 * Allow remote follow
2478 * Allow remote comment ([@rigelk](https://github.com/rigelk))
2479 * Support Simplified Chinese ([@SerCom-KC](https://github.com/SerCom-KC))
2480
2481 ### Bug fixes
2482
2483 * Fix redundancy with old PeerTube torrents
2484 * Fix crash with `/static/dnt-policy/dnt-policy-1.0.txt` route
2485 * Fix redundancy totalVideos stats
2486 * Reduce video import TTL to 1 hour
2487 * Only duplicate public videos
2488
2489
2490 ## v1.0.0-beta.14
2491
2492 ### Features
2493
2494 * Video redundancy system (experimental)
2495 * Add peertube script (see [the doc](/support/doc/tools.md#cli-wrapper)) ([@rigelk](https://github.com/rigelk))
2496 * Improve download modal ([@rigelk](https://github.com/rigelk))
2497 * Add redirect after login ([@BO41](https://github.com/BO41))
2498 * Improve message when removing a user
2499 * Improve responsive on small screens
2500 * Improve performance:
2501 * Overview endpoint
2502 * SQL requests of watch page endpoints
2503 * SQL requests of ActivityPub endpoints
2504 * Cache user token
2505 * Videos infinite scroll in the web browser
2506 * Add warning if one of the storage directory is in the peertube production directory
2507 * Auto focus first field on login ([@rigelk](https://github.com/rigelk))
2508 * Add chevron hotkeys to change playback rate ([@rigelk](https://github.com/rigelk))
2509
2510 ### Bug fixes
2511
2512 * Fix 24 hours delay to process views
2513 * Fix tag search on overview page
2514 * Handle actors search beginning with '@'
2515 * Fix "no results" on overview page
2516 * Fix iOS player playback/subtitles menu
2517 * Fix description/comments that break the video watch page
2518 * Don't get recommended videos twice
2519 * Fix admin access to moderators
2520 * Fix nav tab and tag color in dark theme ([@rigelk](https://github.com/rigelk))
2521 * Fix help popover overflow ([@rigelk](https://github.com/rigelk))
2522 * Fix comment deletion with mastodon (only with new comments)
2523
2524
2525 ## v1.0.0-beta.13
2526
2527 ### Features
2528
2529 * Improve keyboard navigation ([@rigelk](https://github.com/rigelk))
2530 * Remember theme in local storage ([@rigelk](https://github.com/rigelk))
2531
2532 ### Bug fixes
2533
2534 * Fix upgrade/installation on node 8.12 (bcrypt issue)
2535 * Fix video channel deletion
2536 * Fix video channel RSS
2537 * Fix video views increment
2538
2539
2540 ## v1.0.0-beta.12
2541
2542 **If you have not updated to v1.0.0-beta.10, see the v1.0.0-beta.10.pre.1 changelog, in particular how to upgrade**
2543
2544 ### BREAKING CHANGES
2545
2546 * Users can now use the name they want for their channel.
2547 We will therefore favour the display of video channel handles/names instead of account in the future.
2548
2549 ### Documentation
2550
2551 * Add SECURITY.md document
2552 * Add TCP/IP tuning template to prevent buffer bloat/latency ([@scanlime](https://github.com/scanlime))
2553 * Add `parse-log` admin tool documentation
2554 * Improve README schemas ([@Edznux](https://github.com/edznux))
2555
2556 ### nginx template
2557
2558 * Add gzip support ([@scanlime](https://github.com/scanlime))
2559
2560 ### Docker template
2561
2562 * Add quota to the docker configuration values ([@kaiyou](https://github.com/kaiyou))
2563
2564 ### Features
2565
2566 * Add portuguese and swedish languages
2567 * Support user subscriptions
2568 * Add ability to search videos or channels with their URL/handle (can be opt-out by the admin)
2569 * Add "videos overview" page (pick randomly some categories/tags/channels and display their videos)
2570 * Add ability to set a name (left part of the handle) to a channel instead of UUID
2571 * Users can "give" their videos to other local users (WIP, feedback welcome) ([@grizio](https://github.com/grizio))
2572 * Add keyboard shortcuts (press `?` to see them) ([@rigelk](https://github.com/rigelk))
2573 * Add ability to set daily video upload quota to users ([@Nutomic](https://github.com/nutomic))
2574 * Add user email verification (can be opt-in by the admin) ([@joshmorel](https://github.com/joshmorel))
2575 * Improve video watch page style ([@rigelk](https://github.com/rigelk))
2576 * Trending page takes into account views from the last x days (defined by the admin in the configuration file)
2577 * Add "start at" checkbox in the video share modal
2578 * Add instance capabilities table in the signup page ([@rigelk](https://github.com/rigelk))
2579 * Improve video abuses display in admin ([@Nutomic](https://github.com/nutomic))
2580 * Add "my videos" shortcut in menu ([@LeoMouyna](https://github.com/LeoMouyna))
2581 * Support 0.75 and 1.25 playback speeds ([@Glandos](https://github.com/Glandos))
2582 * Improve error message on actor name conflict
2583 * Improve videos list/search SQL query (split it into 2 queries)
2584 * Make left menu show the scrollbar only on hover/focus ([@rigelk](https://github.com/rigelk))
2585 * Other videos column in watch page show related tagged videos if possible ([@jorropo](https://github.com/jorropo))
2586 * Password change errors more friendly ([@jorropo](https://github.com/jorropo))
2587 * Improve labels for video privacies (video upload/update)
2588 * Add theming via CSS custom properties ([@rigelk](https://github.com/rigelk))
2589 * Add dark theme ([@rigelk](https://github.com/rigelk))
2590 * Add input color to cope with browser themes ([@rigelk](https://github.com/rigelk))
2591
2592 ### Bug fixes
2593
2594 * Fix player video playback (videos never ends or infinite load after seeking)
2595 * Fix video URL import with videos having a small title
2596 * Make HSTS opt-in and leave it to the reverse-proxy ([@rigelk](https://github.com/rigelk))
2597 * Fix search results on mobile
2598 * Do not import live streaming
2599 * Fix NSFW filter when the instance decides to hide them and the user decides to list them
2600 * Delete highlighted comment too if needed
2601 * Fix ffmpeg auto thread admin configuration ([@jorropo](https://github.com/jorropo))
2602 * ActivityPub: use height instead of width to represent the video resolution
2603 * Fix thumbnail/preview in upload.js script
2604 * Fix import-videos.js duplicate detection
2605 * Fix occitan language label
2606
2607
2608 ## v1.0.0-beta.11
2609
2610 **If you have not updated to v1.0.0-beta.10, see the v1.0.0-beta.10.pre.1 changelog, in particular how to upgrade**
2611
2612 ### Features
2613
2614 * Add ability to import videos from a URL (YouTube, Dailymotion, Vimeo, raw file etc) or torrent file/magnet.
2615 Should be explicitly enabled by the administrator in the configuration file
2616 * Add german, spanish, taiwan (traditional chinese) and occitan languages
2617 * Add ability to delete our account
2618 * Add ability to ban a user
2619 * Add ability to set a moderation comment to an abuse
2620 * Add state (pending, accepted, rejected) attribute to an abuse
2621 * Add ability to set a reason when blacklisting a video
2622 * Add ability to blacklist local videos
2623 * Improve abuse and blacklist tables
2624 * Add user quota used in users list
2625 * Tracker only accept known infohash (avoid people to use your tracker for files unrelated to PeerTube)
2626 * Add database pool configuration ([@rigelk](https://github.com/rigelk))
2627 * Add audit log ([@Nautigsam](https://github.com/Nautigsam))
2628 * Add ffmpeg nice and auto thread ([@jorropo](https://github.com/jorropo))
2629 * Upgrade to bootstrap 4
2630 * DNT support
2631
2632 ### Bug fixes
2633
2634 * Fix videos FPS federation
2635 * Cleanup request files on bad request
2636 * Handle truncated markdown links
2637 * Fix dropdown position in menu
2638 * Translate subtitle languages in player
2639 * Translate player according the language of the interface
2640 * Fix reset my password button ([@joshmorel](https://github.com/joshmorel))
2641
2642
2643 ## v1.0.0-beta.10
2644
2645 **See the v1.0.0-beta.10.pre.1 changelog, in particular how to upgrade**
2646
2647 ### Bug fixes (from beta.10.pre.3)
2648
2649 * Fix caption upload on Mac OS
2650
2651
2652 ## v1.0.0-beta.10.pre.3
2653
2654 **See the v1.0.0-beta.10.pre.1 changelog, in particular how to upgrade**
2655
2656 ### Bug fixes (from beta.10.pre.2)
2657
2658 * Try to fix the infinite creation of Delete actor jobs by deleting kue migration
2659 * Cleanup SQL indexes
2660 * Try to optimize SQL search query
2661 * Try to optimize videos list SQL query
2662 * Add more logs and fix logger when having an error
2663 * Move subscription helper in the account line in video watch page
2664 * Fix responsive on videos search
2665 * Refresh orphan actors
2666 * Don't send a follow request if the follow was already accepted
2667
2668
2669 ## v1.0.0-beta.10.pre.2
2670
2671 **See the v1.0.0-beta.10.pre.1 changelog, in particular how to upgrade**
2672
2673 ### Bug fixes (from beta.10.pre.1)
2674
2675 * Fix captions/subtitles freeze in player
2676 * Fix attribute label width in video watch page
2677 * Fix player playback in Chrome
2678 * Revert SQL optimization when listing videos: it breaks the connection pool of some instances
2679
2680
2681 ## v1.0.0-beta.10.pre.1
2682
2683 This version is a pre release because it contains many important changes, and requires manual steps before upgrading.
2684
2685 **Important:** Before upgrading run the following commands (no need to stop PeerTube) on your PeerTube database (in this example it's *peertube_prod*):
2686
2687 ```
2688 $ sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS unaccent;'
2689 $ sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS pg_trgm;'
2690 ```
2691
2692 You will need [PostgreSQL Contrib](https://www.postgresql.org/docs/9.6/static/contrib.html).
2693
2694 ### BREAKING CHANGES
2695
2696 * Require `unaccent` and `pg_trgm` PostgreSQL extension for the PeerTube database
2697 * `category` filter param is replaced by `categoryOneOf`
2698 * Switch job queue to [Bull](https://github.com/OptimalBits/bull). **PeerTube will not migrate your old pending jobs in this new queue manager**
2699 * Update nginx template (you need to [update manually](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md#nginx))
2700 * Update default cache size configurations
2701 * Update search API route: `/videos/search` becomes `/search/videos`
2702 * Needs Redis >= 2.8.18
2703
2704 ### Features
2705
2706 * Add ability to change the language of the interface (currently available: english, french, basque, catalan, czech and esperanto)
2707 * Subtitles/captions support (.srt and .vtt)
2708 * Add advanced search
2709 * Add ability to click on category/language/licence/tags in watch page
2710 * Improve explanations of P2P & Privacy section in about page
2711 * Avoid design latency when the admin set custom CSS
2712 * Add ability to update video channel avatar
2713 * Limit video resolution depending on the video element size (Nitesh Sawant)
2714 * Show "Other videos" on a <1300px viewport ([@Simounet](https://github.com/simounet))
2715 * Add QR code to share videos URL ([@DeeJayBro](https://github.com/DeeJayBro))
2716 * Add "agree to the terms" checkbox in registration form
2717 * Add tracker rate limiter
2718 * Add author URL in OEmbed response
2719 * Display username instead of email in menu
2720 * Clarifying what extensions are accepted for upload ([@rigelk](https://github.com/rigelk))
2721 * Thumbnail support for RSS feeds ([@rigelk](https://github.com/rigelk))
2722 * Open CORS on API and static resources ([@rezonant](https://github.com/rezonant)
2723 * B-adapt 1 and B-frames 16 on ffmpeg transcoding: ([@Anton-Latukha](https://github.com/Anton-Latukha)). See https://github.com/Chocobozzz/PeerTube/pull/774 for more information
2724 * Support Redis socket ([@rigelk](https://github.com/rigelk))
2725 * Improve video `start` param to support string times (for example: 2m42s))
2726 * Display table next/prev/first/last icons in admin tables
2727 * NodeInfo support ([@rigelk](https://github.com/rigelk))
2728 * Improve HTTP headers security ([@rigelk](https://github.com/rigelk))
2729 * Improve client accessibility (for screen reader users etc)
2730 * Optimize SQL requests (in particular the one to list videos)
2731 * Optimize images ([@jorropo](https://github.com/jorropo))
2732 * Add esperanto, lojban, klingon and kotava (audio/subtitle) languages
2733 * Allow uploads of videos <8GB (*experimental*)
2734 * Handle FPS > 30 (*experimental*)
2735
2736 ### Bug fixes
2737
2738 * Fix avatars/thumbnails update (cache issue)
2739 * Fix pagination on admin job table when changing the job state
2740 * Fix SQL transaction retryer log
2741 * Correctly handle error when remote instance is down
2742 * Fix account videos URL when scrolling
2743 * Avoid commenting twice by disabling comment submit button when sending the comment
2744 * Reset confirm component input when closing it
2745 * Fix video speed when video resolutions changes ([@grizio](https://github.com/grizio))
2746 * Disable hotkeys modifiers for numbers ([@rigelk](https://github.com/rigelk))
2747 * Reset published date on video publish (scheduled or after a transcoding)
2748 * Avoid 404 title on the first page load
2749 * Fix forgot password message regarding email
2750 * Remove scroll to top when closing the menu ([@ebrehault](https://github.com/ebrehault))
2751 * Use UUID for channel link in watch page
2752
2753 ### Docker
2754
2755 * Add PEERTUBE_SMTP_DISABLE_STARTTLS config env
2756
2757
2758 ## v1.0.0-beta.9
2759
2760 ### Features
2761
2762 * Theater/Cinema mode in player
2763 * Add ability to wait transcoding before publishing it
2764 * Add ability for uploaders to schedule video update
2765 * Add time display to see where we seek the video
2766 * Add title in player peers info to show total downloaded/uploaded data
2767 * Provide magnet URI in player and download modal ([@rigelk](https://github.com/rigelk))
2768 * Add warning if the domain name is different from the one of the first start of Peertube
2769 * Add resolution to create-transcoding-job script ([@fflorent](https://github.com/fflorent))
2770
2771 ### Bug fixes
2772
2773 * Fix dislikes number in video watch page
2774 * Fix import when the imported file has the same extension than an already existing file
2775 * Fix bad RSS descriptions when filtering videos by account or channel
2776 * Fix RSS results limit
2777 * Fix glitch when updating player volume
2778 * Use local object URLs for feeds
2779 * Automatically jump to the highlighted thread
2780 * Fix account link width on video view ([@sesn](https://github.com/sesn))
2781 * Prevent commenting twice
2782 * Blue links color in comments
2783 * Fix quota precision in users list
2784 * Handle markdown in account/video channel pages
2785 * Fix avatar image in channel page
2786 * Fix slow HTTP fallback on Firefox
2787 * Do not create a user with the same username than another actor name
2788 * Reset search on page change
2789 * Fix images size limit
2790 * Log torrent errors/warnings in the console, instead of disturbing users
2791
2792
2793 ## v1.0.0-beta.8
2794
2795 ### Features
2796
2797 * Docker:
2798 * Add disable_starttls and transcoding configuration variables
2799 * `.env` file to define env variables (instead of defining them in `docker-compose.yml`)
2800 * Some improvements that should make the upgrades less painful
2801 * Add ability to manually run transcoding jobs (admin with CLI)
2802 * Add ability to import a video file (admin with CLI)
2803 * Add context menu to the player
2804 * Add number of videos published by an account/video channel
2805 * Improve player progress bar
2806 * Improve Twitter configuration help tooltips
2807 * Pick average video file instead of max quality in "Auto" resolution mode
2808 * Increase access token lifetime to 1 day
2809 * Add video comments RSS
2810
2811 ### Bug fixes
2812
2813 * Clicking on "Download" correctly opens a popup to download the video
2814 (instead of opening the video in a new tab)
2815 * Fix frequent logout
2816 * Fix `publishedAt` video attribute when following a new instance
2817 * Correctly resumes the video on "PeerTube" link click in embed
2818 * Fix markdown links truncation
2819 * Fix account/channel pages not updated if we only change the account/channel
2820 * Fix player resolution change that plays even if the video was paused
2821 * Fix posting view in embed that contains search params
2822 * Fix video watch tooltips regarding subscriptions by using the account name
2823 instead of the display name
2824 * Rename "my settings" to "my account" in menu
2825
2826
2827 ## v1.0.0-beta.7
2828
2829 ### BREAKING CHANGES
2830
2831 * Account client URLs are now `/accounts/{username}/` (and not `/accounts/{id}/`)
2832
2833 ### Documentation
2834
2835 * Better documentation on how to deploy with Docker: https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/docker.md
2836
2837 ### Features
2838
2839 * Add short description in about page
2840 * Add owner account name in video channel page
2841 * Improve performance in ActivityPub controllers
2842 * Video **support** field inherits video channel **support** field when uploading/updating a video
2843 * Resume video when clicking on "PeerTube" link in embed
2844
2845 ### Bug fixes
2846
2847 * Fix player on Android
2848 * Fix player when Firefox has cookies disabled
2849 * Reload "my videos" after a delete
2850 * Fix missing key configuration when upgrading with Docker
2851 * Fix CC audience in Activity Pub objects/activities
2852
2853
2854 ## v1.0.0-beta.6
2855
2856 ### Features
2857
2858 * Handle concurrent requests in cache middleware
2859 * Add ability to enable registration by IP
2860
2861 ### Bug fixes
2862
2863 * Fix insane SQL request when loading all video attributes
2864
2865
2866 ## v1.0.0-beta.5
2867
2868 ### BREAKING CHANGES
2869
2870 * Update Docker Compose (https://github.com/Chocobozzz/PeerTube/commit/fd5e57bbe2accbdb16b6aa65337c5ef44b5bd8fb)
2871 * Rename client routes:
2872 * `/admin/users/add` to `/admin/users/create`
2873 * `/videos/edit/:uuid` to `/videos/update/:uuid`
2874 * `/admin/users/:id/update` to `/admin/users/update/:id`
2875
2876
2877 ### Features
2878
2879 * Adding basic helpers to guide users for comments/subscribe to accounts
2880 * Add ability to move a video in another channel
2881 * Improve web browser RAM consumption when watching (long) videos
2882 * Support robots.txt in configuration
2883 * Add ability to select the Redis database in configuration
2884
2885
2886 ### Bug fixes
2887
2888 * Fix error message on token expiration
2889 * Increase menu icon size
2890 * Add timeout and TTL to request jobs to fix stuck job
2891 * Fix responsive account about page
2892 * Fix updating description account
2893 * Account/video channel descriptions are not required anymore
2894 * Fix video channel description and support max length (500 characters now)
2895 * Fix "..." for buttons (delete/edit) in admin tables
2896 * Fix overflow in markdown textarea preview
2897 * Add ability to embed videos in a Twitter card
2898 * Use `publishedAt` attribute when sorting videos
2899 * Fix concurrent requests in videos list
2900 * Fix player on iOS
2901
2902
2903 ## v1.0.0-beta.4
2904
2905 ### BREAKING CHANGES
2906
2907 * Hide by default NSFW videos. Update the `instance.default_nsfw_policy` configuration to `blur` to keep the old behaviour
2908 * Move video channels routes:
2909 * `/videos/channels` routes to `/video-channels`
2910 * `/videos/accounts/{accountId}/channels` route to `/accounts/{accountId}/video-channels`
2911 * PeerTube now listen on 127.0.0.1 by default
2912 * Use ISO 639 for language (*en*, *es*, *fr*...)
2913 * Tools (`import-videos`...) need the language ISO639 code instead of a number
2914 * API (`upload`, `update`, `list`...) need/return the language ISO639 code instead of a number
2915
2916 ### Features
2917
2918 * Add `publishedAt` attribute to videos
2919 * Improve player:
2920 * Smooth progress bar
2921 * Settings menu
2922 * Automatic resolution (depending on the user bandwidth)
2923 * Some animations/effects
2924 * More reactive when clicking on play
2925 * Handle autoplay blocking by some web browsers
2926 * Better responsive
2927 * Add ability to link a specific timestamp. Example: https://peertube2.cpy.re/videos/watch/f78a97f8-a142-4ce1-a5bd-154bf9386504?start=58
2928 * Add an id to the body to override current CSS (for custom CSS)
2929 * Add privacy argument to `upload.ts` script
2930 * RSS/Atom/JSON-feed for videos recently-added/trending/account
2931 * Support hostname binding in the configuration
2932 * Add ability to click on an account in the video watch page (link to a search)
2933 * Better responsive on many comment replies
2934 * Move follows in the job queue
2935 * Add ability to choose the NSFW videos policy: hide, blur or display. Could be overrode by the user
2936 * Add video privacy information in *my videos page*
2937 * Use the video name for the torrent file name instead of the UUID
2938 * Handle errors in embed (video not found, server error...)
2939 * Account view (videos uploaded by this account + video channel owned by this account + about pages)
2940 * Video channel view (videos uploaded in this channel + about pages)
2941 * Video channel management (avatar update is still missing)
2942
2943 ### Bug fixes
2944
2945 * Fix "show more" description on video change
2946 * Accept unlisted comments
2947 * Don't start application until all components were initialized
2948 * Fix word-break in video description and video comments
2949 * Don't add a `.` after the URL in the "forgot password" email
2950
2951
2952
2953 ## v1.0.0-beta.3
2954
2955 ### Features
2956
2957 * Add hover background color in menu
2958 * Add info about the initial user quota in the registration form
2959 * Add link to register in the login form
2960 * Prevent brute force login attack
2961
2962 ### Bug fixes
2963
2964 * Fix bad federation with videos with special utf characters in description (again)
2965 * Fix views system behind a reverse proxy
2966
2967
2968 ## v1.0.0-beta.2
2969
2970 ### Features
2971
2972 * More logging in SMTP module
2973 * Add option to disable starttls in SMTP module
2974 * Update STUN servers (using framasoft.org and stunprotocol.org now)
2975 * Min comment length is 1 now (useful for emoji...)
2976 * Better embed video player in small screens
2977 * Reduce display time of title/description/control bar in embed on inactivity
2978 * Add sign languages for videos attribute
2979 * Add autoplay parameter for embed
2980 * Videos search on account username and host too
2981 * Redirect to homepage on empty search
2982
2983 ### Bug fixes
2984
2985 * Fix mentions in comment replies
2986 * Logo/Title redirects to the default route
2987 * Fix bad federation with videos with special utf characters in description
2988 * Fix pagination on mobile
2989 * Use instance name for page titles
2990 * Fix bad id for Create activities (ActivityPub)
2991 * Handle inner actors instead of just handling actor ids (ActivityPub)
2992 * Fallback to torrent file if infohash is incorrect
2993 * Fix admin config errors display/validation
2994 * Add public to Announces (ActivityPub)
2995 * Fix inability to run client when cookies are disabled
2996 * Fix words breaking in videos description
2997 * Graceful exit when import videos script fails
2998 * Fix import videos with long names
2999 * Fix login with a password containing special characters
3000 * Fix player error flickering with an unsupported video format
3001 * Fix comment delete federation
3002 * Fix communication of a PeerTube instance and Mastodon
3003 * Fix custom configuration with number values
3004
3005
3006 ## v1.0.0-beta.1
3007
3008 Nothing new here, but PeerTube is stable enough for being in beta now.
3009
3010
3011 ## v1.0.0-alpha.9
3012
3013 ### BREAKING CHANGES
3014
3015 * Update videos list/search/get API response:
3016 * Removed `resolution` field
3017 * Removed `resolutionLabel` field
3018 * Removed `category` field
3019 * Removed `categoryLabel` field
3020 * Removed `licence` field
3021 * Removed `licenceLabel` field
3022 * Removed `language` field
3023 * Removed `languageLabel` field
3024 * Removed `privacy` field
3025 * Removed `privacyLabel` field
3026 * Added `resolution.id` field
3027 * Added `resolution.label` field
3028 * Added `category.id` field
3029 * Added `category.label` field
3030 * Added `licence.id` field
3031 * Added `licence.label` field
3032 * Added `language.id` field
3033 * Added `language.label` field
3034 * Added `privacy.id` field
3035 * Added `privacy.label` field
3036
3037 ### Bug fixes
3038
3039 * Fix video_share_url duplicate key on failed transcoding job
3040
3041
3042 ## v1.0.0-alpha.8
3043
3044 ### Features
3045
3046 * Add ability to set a short instance description
3047
3048
3049 ## v1.0.0-alpha.7
3050
3051 ### BREAKING CHANGES
3052
3053 * Update videos list/search API response:
3054 * Removed `accountName` field
3055 * Removed `serverHost` field
3056 * Added `account.name` field
3057 * Added `account.displayName` field
3058 * Added `account.host` field
3059 * Added `account.url` field
3060 * Added `account.avatar` field
3061 * Update video abuses API response:
3062 * Removed `reporterUsername` field
3063 * Removed `reporterServerHost` field
3064 * Removed `videoId` field
3065 * Removed `videoUUID` field
3066 * Removed `videoName` field
3067 * Added `reporterAccount` field
3068 * Added `video.id` field
3069 * Added `video.name` field
3070 * Added `video.uuid` field
3071 * Added `video.url` field
3072
3073 ### Features
3074
3075 * Add "Local" in menu that lists only local videos
3076
3077
3078 ## v1.0.0-alpha.4
3079
3080 ### Features
3081
3082 * Add iOS support
3083
3084
3085 ## v1.0.0-alpha.1
3086
3087 ### Features
3088
3089 * Add messages about privacy and P2P
3090 * Add stats route
3091 * Add playback setting
3092
3093
3094 ## v0.0.29-alpha
3095
3096 ### BREAKING CHANGES
3097
3098 * Use only 1 thread for transcoding by default
3099
3100 ### Features
3101
3102 * Add help to JS/CSS custom configuration inputs
3103 * Keep ratio in video thumbnail generation
3104 * Handle video in portrait mode
3105
3106 ### Bug fixes
3107
3108 * Fix complete description on some videos
3109 * Fix job sorting in administration
3110
3111
3112 ## v0.0.28-alpha
3113
3114 ### BREAKING CHANGES
3115
3116 * Enable original file transcoding by default in configuration
3117 * Disable transcoding in other definitions in configuration
3118
3119 ### Features
3120
3121 * Fallback to HTTP if video cannot be loaded
3122 * Limit to 30 FPS in transcoding
3123
3124
3125 ## v0.0.27-alpha
3126
3127 ### Features
3128
3129 * Add ability for admin to inject custom JavaScript/CSS
3130 * Add help tooltip on some fields
3131
3132 ### Bug fixes
3133
3134 * Fix comment reply highlighting
3135
3136
3137 ## v0.0.26-alpha
3138
3139 ### BREAKING CHANGES
3140
3141 * Renamed script `import-youtube.js` to `import-videos.js`
3142 * Renamed `import-video.js` argument `youtube-url` to `target-url`
3143
3144 ### Features
3145
3146 * Add "Support" attribute/button on videos
3147 * Add ability to import from all [supported sites](https://rg3.github.io/youtube-dl/supportedsites.html) of youtube-dl
3148
3149 ### Bug fixes
3150
3151 * Fix custom instance name overflow
3152
3153
3154 ## v0.0.25-alpha
3155
3156 ### Features
3157
3158 * Add ability to link a specific comment
3159
3160 ### Bug fixes
3161
3162 * Fix avatars on video watch page
3163
3164
3165 ## v0.0.24-alpha
3166
3167 ### Features
3168
3169 * Publish comments with *ctrl + enter*
3170
3171 ### Bug fixes
3172
3173 * Don't stuck on active jobs
3174 * Fix deleting a video with comments
3175 * Fix infinite scroll (videos list)