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