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