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