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