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