Update changelog
[oweals/peertube.git] / CHANGELOG.md
1 # Changelog
2
3 ## v2.2.0-rc.1
4
5 ## IMPORTANT NOTES
6
7  * **/!\ VERY IMPORTANT /!\\** We added a unique index on actors usernames to fix some federation bugs.
8  Please check now if you have conflicts:
9     * 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;`
10     * If you have some results, it seems you have duplicate channels/accounts.
11     For every entry, you'll have to change the preferredUsername of the entry you want (so they are unique).
12     The updated actors could have some federations issues
13  * Changed `auto_follow_index` setting configuration: you now have to use the complete URL in `index_url`.
14  If you used the default one, you now need to use `https://instances.joinpeertube.org/api/v1/instances/hosts`.
15  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.
16  * PeerTube requires NodeJS v10 or v12
17
18 ### CLI tools
19
20  * Add redundancy CLI: https://docs.joinpeertube.org/#/maintain-tools?id=peertube-redundancyjs
21  * Add ability to pass remaining options to youtube-dl binary in peertube-import script ([@drzraf](https://github.com/drzraf))
22
23 ### Docker
24
25  * **Important** Fix HLS storage configuration ([@xcffl](https://github.com/xcffl)): https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/config/production.yaml#L48
26  * Add DKIM support to Docker ([@kimsible](https://github.com/kimsible))
27
28 ### Maintenance
29
30  * 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).
31
32 ### Plugins/Themes/Embed API
33
34  * Add embed API (https://docs.joinpeertube.org/#/api-embed-player):
35    * `playbackState` can be `ended`
36    * `playbackStatusUpdate` has a `duration` field
37    * `setCaption` and `getCaptions` methods
38  * Add client plugin hooks (https://docs.joinpeertube.org/#/api-plugins):
39    * `action:login.init`
40    * `action:video-watch.video-threads.loaded`
41    * `action:video-watch.video-thread-replies.loaded` ([@ipbc-dev](https://github.com/ipbc-dev))
42  * Add server plugin hooks (https://docs.joinpeertube.org/#/api-plugins):
43    * `filter:api.video.pre-import-url.accept.result`
44    * `filter:api.video.pre-import-torrent.accept.result`
45    * `filter:api.video.post-import-url.accept.result`
46    * `filter:api.video.post-import-torrent.accept.result`
47  * Add server helpers:
48    * `database.query` to do SQL queries
49    * `videos.removeVideo`
50    * `config.getWebserverUrl`
51    * `moderation.blockServer`, `moderation.unblockServer`, `moderation.blockAccount`, `moderation.unblockAccount`, `moderation.blacklistVideo`, `moderation.unblacklistVideo`
52  * Add client helpers:
53    * `notifier` to notify users using the toast component ([@kimsible](https://github.com/kimsible))
54    * `showModal` to show a modal ([@kimsible](https://github.com/kimsible))
55    * `markdownRenderer` to render markdown ([@kimsible](https://github.com/kimsible))
56  * Add ability for plugins to define custom routes
57  * Add ability for plugins to remove video/playlist privacies
58  * Add ability for plugins to support additional auth methods
59  * Add `onSettingsChange` support
60
61 ### Official PeerTube plugins
62
63  * [OpenID Connect](https://framagit.org/framasoft/peertube/official-plugins/-/tree/master/peertube-plugin-auth-openid-connect)
64  * [LDAP](https://framagit.org/framasoft/peertube/official-plugins/-/tree/master/peertube-plugin-auth-ldap)
65  * [SAML2](https://framagit.org/framasoft/peertube/official-plugins/-/tree/master/peertube-plugin-auth-saml2)
66  * [Auto mute accounts/instances (alpha)](https://framagit.org/framasoft/peertube/official-plugins/-/tree/master/peertube-plugin-auto-mute)
67
68 ## Features
69
70  * :tada: Add HTML support in PeerTube emails, improve text-only version ([@rigelk](https://github.com/rigelk))
71  * :tada: Add settings panel for anonymous users so they can change NSFW/P2P/autoplay/displayed videos policy ([@rigelk](https://github.com/rigelk))
72  * :tada: Improve redundancy management:
73    * Add quick action on video miniature to mirror a specific video using the web interface
74    * Add admin dashboard to list remote and local redundancies
75    * Add ability for admins to define remote redundancies policy (accept/reject)
76  * :tada: Many responsive & UI improvements:
77    * Add maximized mode to markdown textarea ([@kimsible](https://github.com/kimsible))
78    * Detect and prevent sub menu overflow on small screens using a dropdown or a modal ([@rigelk](https://github.com/rigelk))
79    * Use a typeahead component for the search bar ([@rigelk](https://github.com/rigelk))
80    * Use a modal instead of a dropdown menu in small/mobile views ([@kimsible](https://github.com/kimsible))
81    * Improve display of accounts and channel pages on small and medium screens ([@rigelk](https://github.com/rigelk))
82    * Improve forms layout ([@rigelk](https://github.com/rigelk))
83    * Replace helpers icons with descriptions in admin configuration ([@rigelk](https://github.com/rigelk))
84    * Improve tables on mobile devices to prevent layout breakage ([@kimsible](https://github.com/kimsible))
85    * Fix multiple broken views on small screens ([@kimsible](https://github.com/kimsible))
86    * Make video add tabs scrollable on small devices ([@kimsible](https://github.com/kimsible))
87    * Better use of space and icons in the plugin administration interface ([@rigelk](https://github.com/rigelk))
88    * Restyle toast notifications to tone down colors ([@rigelk](https://github.com/rigelk))
89    * Add/move links at the bottom of the left menu ([@rigelk](https://github.com/rigelk))
90    * Improve avatar upload UI ([@rigelk](https://github.com/rigelk))
91    * Use progress bars for quota used in my account ([@rigelk](https://github.com/rigelk))
92    * Add variable pagination size to all tables ([@rigelk](https://github.com/rigelk))
93    * Add empty states to all tables ([@rigelk](https://github.com/rigelk))
94    * Add generic text filter to all admin tables ([@rigelk](https://github.com/rigelk))
95    * Fix `z-index` for tooltips, modals and their button to prevent overlaps ([@rigelk](https://github.com/rigelk))
96    * And many others!
97  * :tada: Improve video abuses admin table ([@rigelk](https://github.com/rigelk)):
98    * Add in-text specific search filters
99    * Reports can be linked to directly
100    * Rich reporter field
101    * Add video thumbnail with abuse count for the video and position of the abuse in that list
102    * Expand row to see more information about the video, the reporter and the reportee
103    * Add many actions (on the video, on the reporter)
104    * Don't remove a report when a video is deleted
105  * Add information on a video abuse within its notification email ([@rigelk](https://github.com/rigelk))
106  * Add ability for video owners to delete comments
107  * Add filter inputs for blacklisted videos and muted accounts/servers ([@rigelk](https://github.com/rigelk))
108  * Video import improvements:
109    * Support subtitles when importing a video ([@kimsible](https://github.com/kimsible))
110    * Generate thumbnail/preview from URL and inject them in the video edit form ([@kimsible](https://github.com/kimsible))
111    * Support `licence` and `language` fields
112    * Support audio file imports
113  * Support WMA and WAV audio files upload
114  * Support drag and drop for video upload/torrent import ([@rigelk](https://github.com/rigelk))
115  * Add video file metadata to download modal ([@rigelk](https://github.com/rigelk))
116  * Add views stats for channels ([@rigelk](https://github.com/rigelk))
117  * Add more information about the user in the edit form ([@rigelk](https://github.com/rigelk))
118  * Server optimizations:
119    * Add cache for some immutable models
120    * Don't refresh videos when processing a view
121    * Optimize view endpoint
122    * Completely rewritten SQL query to list videos
123    * Optimize SQL request when broadcasting an activity
124  * Support infinite scrolling in the discover page
125  * 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))
126  * Improve embed title background opacity
127  * Add origin instance URL in watch page
128  * Clearer description of advanced search options
129  * Always copy full actor handle in video channels view ([@rigelk](https://github.com/rigelk))
130  * Add `sendmail` support ([@immae](https://github.com/immae)) to `smtp` configuration
131  * Support `rel="me"` links in markdown
132  * Use `originallyPublishedAt` from body on import if it exists
133  * Sort outbox by *DESC createdAt* order
134  * Increase video comment max length limit
135
136 ### Bug fixes
137
138  * Update default user theme to `instance-default` (Jorge Silva)
139  * Fix user dropdown menu with long texts ([@rigelk](https://github.com/rigelk))
140  * Fix load more comments on infinite scroll ([@ipbc-dev](https://github.com/ipbc-dev))
141  * Fix CSP issue on WebFinger service ([@ZanyMonk](https://github.com/ZanyMonk))
142  * Fix federation with Pleroma
143  * Fix Safari and iOS  video play
144  * Fix broken HLS player on old Edge
145  * Fix running HLS transcoding on existing HLS video
146  * Fix user role edition
147  * Fix video duration display
148  * Fix error when adding a video in a playlist that does not have a thumbnail
149  * Fix internal video display in playlists
150  * Fix add comment in threads with deleted comments
151  * Fix video codec in HLS playlist resulting in a broken video
152  * Fix torrent import on Windows
153  * Respect browser autoplay policy: don't autoplay videos in mute mode
154  * Fix playlist videos autoplay/next play ([@rigelk](https://github.com/rigelk))
155  * Fix admin table column invalid sort error
156  * Fix outbox crawling max page/timeout (when an admin follows an instance with many videos)
157  * Add CORS to ActivityPub routes
158  * Fix my video imports table display when a video gets deleted ([@rigelk](https://github.com/rigelk))
159  * Fix peertube/import scripts `comment-enabled`, `wait-transcoding` and `download-enabled` options
160  * Don't leak unlisted videos in comments feed
161  * Do not display deleted comments or muted accounts/instances in RSS feed
162  * Fix HLS audio only transcoding
163  * Fix playlist creation/update with a long description
164  * Fix links of same instance in video description
165  * Fix REPL script
166
167
168 ## v2.1.1
169
170 ### Bug fixes
171
172  * Fix youtube-dl in docker image
173  * Fix playlist creation/update
174  * Fix fetch of instance config in client
175  * Manual approves followers only for the instance (and not accounts/channels)
176  * Fix avatar update
177  * Fix CSP for embeds
178  * Fix scroll of the menu on mobile
179  * Fix CPU usage of PostgreSQL
180  * Fix embed for iOS
181
182
183 ## v2.1.0
184
185 **Since v2.0.0**
186
187 ### IMPORTANT NOTES
188
189  * **/!\ 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:
190    * `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`
191  * **/!\ VERY IMPORTANT /!\\** In the next PeerTube release (v2.2.0), we'll add a unique index on actors usernames to fix some federation bugs.
192  Please check now if you have conflicts using:
193     * 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;`
194     * If you have some results, it seems you have duplicate channels/accounts.
195   For every entry, you'll have to change the preferredUsername of the entry you want (so they are unique).
196   The updated actors could have some federations issues
197  * We now use Buster for the docker image, so the image name changed:
198    * `production-stretch` becomes `production-buster`
199    * `v2.x.x-stretch` becomes `v2.x.x-buster`
200  * Users cannot create more than 20 channels now to avoid UX and actor name squatting issues
201  * We added a warning if the `videos` directory is the same than the `redundancy` one in your configuration file: it can create some bugs
202
203 ### Documentation
204
205 We added some sections in the documentation website:
206
207  * S3 remote storage: https://docs.joinpeertube.org/#/admin-remote-storage
208  * Instances redundancy: https://docs.joinpeertube.org/#/admin-following-instances
209  * Moderate your instance: https://docs.joinpeertube.org/#/admin-moderation
210  * Customize your instance (install plugins & themes): https://docs.joinpeertube.org/#/admin-customize-instance
211  * PeerTube logs (standard log/audit log): https://docs.joinpeertube.org/#/admin-logs
212  * Mute accounts/instances: https://docs.joinpeertube.org/#/use-mute
213  * Controlled player embed API: https://docs.joinpeertube.org/#/api-embed-player
214
215 ### Docker
216
217  * Sticking to one env-var management system ([@Leopere](https://github.com/Leopere)) (See https://github.com/Chocobozzz/PeerTube/pull/2247)
218  * Simplify Dockerfile and slim Docker image ([@Nutomic](https://github.com/nutomic))
219  * Add HLS support in Docker container by using the latest Debian stable (Buster) image
220
221 ### Plugins/Themes API
222
223  * Add checkbox and textarea as possible input types for settings ([@rigelk](https://github.com/rigelk))
224  * Add `isLoggedIn` helper to client plugins ([@rigelk](https://github.com/rigelk))
225  * Add client plugin hooks:
226    * `action:video-watch.player.loaded` with player instance
227    * `action:video-watch.video.loaded` with a videojs instance
228    * `action:signup.register.init` ([@rigelk](https://github.com/rigelk))
229    * `filter:api.signup.registration.create.params` ([@rigelk](https://github.com/rigelk))
230    * `filter:internal.video-watch.player.build-options.params`
231    * `filter:internal.video-watch.player.build-options.result`
232    * `filter:internal.common.svg-icons.get-content.params`
233    * `filter:internal.common.svg-icons.get-content.result`
234  * Add server plugins hooks:
235    * `action:api.user.blocked`
236    * `action:api.user.unblocked`
237    * `action:api.user.registered`
238    * `action:api.user.created`
239    * `action:api.user.deleted`
240    * `action:api.user.updated`
241    * `action:api.user.oauth2-got-token`
242  * Accept `.` `_` and `0-9` characters in plugin names
243
244 ### Maintenance
245
246  * PeerTube moved translations from Zanata to Weblate. Here is the new translations website URL: https://weblate.framasoft.org/projects/peertube/
247  * We now provide a JavaScript library to control a PeerTube embed: https://www.npmjs.com/package/@peertube/embed-api
248  * Add ability to generate HLS videos using `create-transcoding-job` script (see [the documentation](https://docs.joinpeertube.org/#/maintain-tools?id=create-transcoding-jobjs))
249  * Update nginx template: (you need to [update manually](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md#nginx))
250    * Add streaming playlists endpoint
251    * Add `client_body_temp_path` hint
252    * Relax TLS/SSL ciphers hardening to allow Android 4.4.2 to use the PeerTube instance API
253  * Add `maxFileSize`, `maxFiles` and `anonymizeIP` log options in configuration file
254
255 ### Features
256
257  * :tada: Add *internal* video privacy mode. *Internal* videos are only available to other logged in users of your instance, and are not federated
258  * :tada: Add hyperlink video timestamps in comments & video descriptions ([@Lesterpig](https://github.com/lesterpig) & [@rigelk](https://github.com/rigelk))
259  * :tada: Comments improvements:
260    * Support basic markdown
261    * Soft delete video comments instead of destroying them ([@alcalyn](https://github.com/alcalyn))
262    * Add commentator name alongside fid for video comments ([@rigelk](https://github.com/rigelk))
263    * Add a cancel button in comment form ([@rigelk](https://github.com/rigelk))
264    * Show number of comments under a video in watch page ([@rigelk](https://github.com/rigelk))
265    * Add user moderation dropdown ([@rigelk](https://github.com/rigelk))
266    * Add ability to sort comments by *total replies* or *created date* ([@rigelk](https://github.com/rigelk))
267    * Add *total replies from video author* indicator ([@rigelk](https://github.com/rigelk))
268    * Comment name emphasis for video author ([@rigelk](https://github.com/rigelk))
269  * Add "Watch later" button in video miniature overlay ([@rigelk](https://github.com/rigelk))
270  * Add ability to transcode videos in an audio only video container ([@Yetangitu](https://github.com/Yetangitu))
271  * Add playlist search input in *add to playlist* dropdown ([@rigelk](https://github.com/rigelk))
272  * Add search bars for a user's videos and playlists ([@rigelk](https://github.com/rigelk))
273  * Support playlists in share modal
274  * Better UI for a better world:
275    * Add play/pause bezels to the video player ([@rigelk](https://github.com/rigelk))
276    * Use icons instead of buttons in watch page (like/dislike, support...) ([@rigelk](https://github.com/rigelk))
277    * Improve *PeerTube* section in About page and add links to the documentation
278    * Improve comment tree in Watch page
279    * Improve dropdown box shadow ([@rigelk](https://github.com/rigelk))
280    * Add channel avatar to watch view ([@rigelk](https://github.com/rigelk))
281    * Improve likes-dislikes bar usability
282    * Alter titles section header style ([@rigelk](https://github.com/rigelk))
283    * Enhance jobs list display on smaller screens ([@alcalyn](https://github.com/alcalyn))
284    * Add a button in the videos from subscriptions page to manage subscriptions ([@rigelk](https://github.com/rigelk))
285    * Add duration to video attributes in watch view ([@rigelk](https://github.com/rigelk))
286    * Add a message in the login form when signup is disabled for people that are looking for an account ([@rigelk](https://github.com/rigelk))
287    * Add "Manage" button in owned account and channels pages ([@rigelk](https://github.com/rigelk))
288    * Improve password input accessibility ([@rigelk](https://github.com/rigelk))
289    * Add descriptions in moderation dropdown ([@rigelk](https://github.com/rigelk))
290  * Performances improvements:
291    * Lazy load categories, licences, languages and video/playlist privacies in the client
292    * Only update remote actor avatar if the filename changed
293    * Optimize transcoding by using the lowest resolution as input file
294    * Speedup embed first paint
295    * Optimize videos list SQL query
296    * Optimize local videos list SQL query
297    * Cache `peertube` instance actor SQL result
298    * Cache HLS/WebTorrent InfoHash SQL result
299    * Optimize notification endpoint on specific cases
300    * Optimize "list my playlists" SQL query
301  * Improve search filters: ([@rigelk](https://github.com/rigelk))
302    * Add ability to sort results
303    * Improve tags filter inputs
304    * Add a button to reset filters
305  * Improve autoplay: ([@rigelk](https://github.com/rigelk))
306    * Autoplay next video switch for both user and visitors
307    * Add *up next* screen on autoplay
308    * Autoplay next video support for playlists
309    * Add *next* video button to the player
310    * Add loop setting when watching a playlist
311  * Add option to download subtitles in download modal ([@rigelk](https://github.com/rigelk))
312  * Add a button in account page to follow all account channels ([@rigelk](https://github.com/rigelk))
313  * Add ability to search a video directly by its UUID
314  * Case insensitive tags search
315  * Add ability to disable WebTorrent (and only enable HLS) (**experimental and breaks federation with PeerTube instances < 2.1**)
316  * Don't seed if the client is on a cellular network in the HLS player
317  * Load HLS player in embed by default if enabled
318  * Admin panels:
319    * Add ability to sort by *state*, *score* and *redundancy allowed* columns in following/followers admin table
320    * Add ability to filter per job type in admin
321    * Add *Audit logs* section in admin Logs panel
322  * Improve Media-RSS support ([@rigelk](https://github.com/rigelk))
323  * Explicit the tag limit in video form ([@bikepunk](https://github.com/bikepunk))
324  * Add a warning when uploading videos using root
325  * Clearer video quota label in user settings
326  * Pause the video when the user opens a modal
327  * Handle basic HTML in account descriptions
328  * Support `m4v` videos
329  * Improve 4k resolution bitrate
330  * Add missing hotkeys documentation in the watch page
331  * Add a button to copy the channel handle ([@rigelk](https://github.com/rigelk))
332  * Add server config to the nodeinfo metadata ([@rigelk](https://github.com/rigelk))
333  * Improve notification popup interactivity ([@rigelk](https://github.com/rigelk))
334
335 ### Bug fixes
336
337  * Don't notify if the account in on a muted instance
338  * Don't leak other notified addresses in notification emails
339  * Allow the embed iframe to open links
340  * Add missing button roles for the language chooser and keyboard shortcut menu items [@MarcoZehe](https://github.com/MarcoZehe)
341  * Fix overflow when creating a channel
342  * Fix "copy magnet URI" in player
343  * Fix text overflow in menu
344  * Fix player focus
345  * Only display accepted followers/followings instances in about page
346  * Fix brackets truncation in video description
347  * Fix channel playlist miniatures overflow
348  * Fix background color on some screens
349  * Fix captions upload issue depending on the caption name
350  * Fix file download when the video is private
351  * Fix dropdown on video miniature for unlogged users
352  * Fix video support field in update form
353  * Fix video import having a long thumbnail url (Facebook for example)
354  * Add correct HTTP status on not found video
355  * Fix bug on login when username has a special character (`_` for example)
356  * Fix plugin unregistration that did not remove properly its hooks ([@JohnXLivingston](https://github.com/JohnXLivingston))
357  * Fix wrong audio only resolution label for hls
358  * Fix AP icon URL for imported videos
359  * Fix octet stream fallback for video ext
360
361 **since v2.1.0-rc.1**
362
363 ### Bug fixes
364
365  * Fix wrong audio only resolution label for hls
366  * Fix AP icon URL for imported videos
367  * Fix embed on mastodon
368  * Fix octet stream fallback for video ext
369
370
371 ## v2.1.0-rc.1
372
373 ### IMPORTANT NOTES
374
375  * **/!\ VERY IMPORTANT /!\\** You need to execute manually a script (must be executed after the upgrade and a PeerTube restart, while your instance is running) to create HLS video torrents:
376    * `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`
377  * **/!\ VERY IMPORTANT /!\\** In the next PeerTube release (v2.2.0), we'll add a unique index on actors usernames to fix some federation bugs.
378  Please check now if you have conflicts using:
379     * 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;`
380     * If you have some results, it seems you have duplicate channels/accounts.
381   For every entry, you'll have to change the preferredUsername of the entry you want (so they are unique).
382   The updated actors could have some federations issues
383  * We now use Buster for the docker image, so the image name changed:
384    * `production-stretch` becomes `production-buster`
385    * `v2.x.x-stretch` becomes `v2.x.x-buster`
386  * Users cannot create more than 20 channels now to avoid UX and actor name squatting issues
387  * We added a warning if the `videos` directory is the same than the `redundancy` one in your configuration file: it can create some bugs
388
389 ### Documentation
390
391 We added some sections in the documentation website:
392
393  * S3 remote storage: https://docs.joinpeertube.org/#/admin-remote-storage
394  * Instances redundancy: https://docs.joinpeertube.org/#/admin-following-instances
395  * Moderate your instance: https://docs.joinpeertube.org/#/admin-moderation
396  * Customize your instance (install plugins & themes): https://docs.joinpeertube.org/#/admin-customize-instance
397  * PeerTube logs (standard log/audit log): https://docs.joinpeertube.org/#/admin-logs
398  * Mute accounts/instances: https://docs.joinpeertube.org/#/use-mute
399  * Controlled player embed API: https://docs.joinpeertube.org/#/api-embed-player
400
401 ### Docker
402
403  * Sticking to one env-var management system ([@Leopere](https://github.com/Leopere)) (See https://github.com/Chocobozzz/PeerTube/pull/2247)
404  * Simplify Dockerfile and slim Docker image ([@Nutomic](https://github.com/nutomic))
405  * Add HLS support in Docker container by using the latest Debian stable (Buster) image
406
407 ### Plugins/Themes API
408
409  * Add checkbox and textarea as possible input types for settings ([@rigelk](https://github.com/rigelk))
410  * Add `isLoggedIn` helper to client plugins ([@rigelk](https://github.com/rigelk))
411  * Add client plugin hooks:
412    * `action:video-watch.player.loaded` with player instance
413    * `action:video-watch.video.loaded` with a videojs instance
414    * `action:signup.register.init` ([@rigelk](https://github.com/rigelk))
415    * `filter:api.signup.registration.create.params` ([@rigelk](https://github.com/rigelk))
416    * `filter:internal.video-watch.player.build-options.params`
417    * `filter:internal.video-watch.player.build-options.result`
418    * `filter:internal.common.svg-icons.get-content.params`
419    * `filter:internal.common.svg-icons.get-content.result`
420  * Add server plugins hooks:
421    * `action:api.user.blocked`
422    * `action:api.user.unblocked`
423    * `action:api.user.registered`
424    * `action:api.user.created`
425    * `action:api.user.deleted`
426    * `action:api.user.updated`
427    * `action:api.user.oauth2-got-token`
428  * Accept `.` `_` and `0-9` characters in plugin names
429
430 ### Maintenance
431
432  * PeerTube moved translations from Zanata to Weblate. Here is the new translations website URL: https://weblate.framasoft.org/projects/peertube/
433  * We now provide a JavaScript library to control a PeerTube embed: https://www.npmjs.com/package/@peertube/embed-api
434  * Add ability to generate HLS videos using `create-transcoding-job` script (see [the documentation](https://docs.joinpeertube.org/#/maintain-tools?id=create-transcoding-jobjs))
435  * Update nginx template: (you need to [update manually](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md#nginx))
436    * Add streaming playlists endpoint
437    * Add `client_body_temp_path` hint
438    * Relax TLS/SSL ciphers hardening to allow Android 4.4.2 to use the PeerTube instance API
439  * Add `maxFileSize`, `maxFiles` and `anonymizeIP` log options in configuration file
440
441 ### Features
442
443  * :tada: Add *internal* video privacy mode. *Internal* videos are only available to other logged in users of your instance, and are not federated
444  * :tada: Add hyperlink video timestamps in comments & video descriptions ([@Lesterpig](https://github.com/lesterpig) & [@rigelk](https://github.com/rigelk))
445  * :tada: Comments improvements:
446    * Support basic markdown
447    * Soft delete video comments instead of destroying them ([@alcalyn](https://github.com/alcalyn))
448    * Add commentator name alongside fid for video comments ([@rigelk](https://github.com/rigelk))
449    * Add a cancel button in comment form ([@rigelk](https://github.com/rigelk))
450    * Show number of comments under a video in watch page ([@rigelk](https://github.com/rigelk))
451    * Add user moderation dropdown ([@rigelk](https://github.com/rigelk))
452    * Add ability to sort comments by *total replies* or *created date* ([@rigelk](https://github.com/rigelk))
453    * Add *total replies from video author* indicator ([@rigelk](https://github.com/rigelk))
454    * Comment name emphasis for video author ([@rigelk](https://github.com/rigelk))
455  * Add "Watch later" button in video miniature overlay ([@rigelk](https://github.com/rigelk))
456  * Add ability to transcode videos in an audio only video container ([@Yetangitu](https://github.com/Yetangitu))
457  * Add playlist search input in *add to playlist* dropdown ([@rigelk](https://github.com/rigelk))
458  * Add search bars for a user's videos and playlists ([@rigelk](https://github.com/rigelk))
459  * Support playlists in share modal
460  * Better UI for a better world:
461    * Add play/pause bezels to the video player ([@rigelk](https://github.com/rigelk))
462    * Use icons instead of buttons in watch page (like/dislike, support...) ([@rigelk](https://github.com/rigelk))
463    * Improve *PeerTube* section in About page and add links to the documentation
464    * Improve comment tree in Watch page
465    * Improve dropdown box shadow ([@rigelk](https://github.com/rigelk))
466    * Add channel avatar to watch view ([@rigelk](https://github.com/rigelk))
467    * Improve likes-dislikes bar usability
468    * Alter titles section header style ([@rigelk](https://github.com/rigelk))
469    * Enhance jobs list display on smaller screens ([@alcalyn](https://github.com/alcalyn))
470    * Add a button in the videos from subscriptions page to manage subscriptions ([@rigelk](https://github.com/rigelk))
471    * Add duration to video attributes in watch view ([@rigelk](https://github.com/rigelk))
472    * Add a message in the login form when signup is disabled for people that are looking for an account ([@rigelk](https://github.com/rigelk))
473    * Add "Manage" button in owned account and channels pages ([@rigelk](https://github.com/rigelk))
474    * Improve password input accessibility ([@rigelk](https://github.com/rigelk))
475    * Add descriptions in moderation dropdown ([@rigelk](https://github.com/rigelk))
476  * Performances improvements:
477    * Lazy load categories, licences, languages and video/playlist privacies in the client
478    * Only update remote actor avatar if the filename changed
479    * Optimize transcoding by using the lowest resolution as input file
480    * Speedup embed first paint
481    * Optimize videos list SQL query
482    * Optimize local videos list SQL query
483    * Cache `peertube` instance actor SQL result
484    * Cache HLS/WebTorrent InfoHash SQL result
485    * Optimize notification endpoint on specific cases
486    * Optimize "list my playlists" SQL query
487  * Improve search filters: ([@rigelk](https://github.com/rigelk))
488    * Add ability to sort results
489    * Improve tags filter inputs
490    * Add a button to reset filters
491  * Improve autoplay: ([@rigelk](https://github.com/rigelk))
492    * Autoplay next video switch for both user and visitors
493    * Add *up next* screen on autoplay
494    * Autoplay next video support for playlists
495    * Add *next* video button to the player
496    * Add loop setting when watching a playlist
497  * Add option to download subtitles in download modal ([@rigelk](https://github.com/rigelk))
498  * Add a button in account page to follow all account channels ([@rigelk](https://github.com/rigelk))
499  * Add ability to search a video directly by its UUID
500  * Case insensitive tags search
501  * Add ability to disable WebTorrent (and only enable HLS) (**experimental and breaks federation with PeerTube instances < 2.1**)
502  * Don't seed if the client is on a cellular network in the HLS player
503  * Load HLS player in embed by default if enabled
504  * Admin panels:
505    * Add ability to sort by *state*, *score* and *redundancy allowed* columns in following/followers admin table
506    * Add ability to filter per job type in admin
507    * Add *Audit logs* section in admin Logs panel
508  * Improve Media-RSS support ([@rigelk](https://github.com/rigelk))
509  * Explicit the tag limit in video form ([@bikepunk](https://github.com/bikepunk))
510  * Add a warning when uploading videos using root
511  * Clearer video quota label in user settings
512  * Pause the video when the user opens a modal
513  * Handle basic HTML in account descriptions
514  * Support `m4v` videos
515  * Improve 4k resolution bitrate
516  * Add missing hotkeys documentation in the watch page
517  * Add a button to copy the channel handle ([@rigelk](https://github.com/rigelk))
518  * Add server config to the nodeinfo metadata ([@rigelk](https://github.com/rigelk))
519  * Improve notification popup interactivity ([@rigelk](https://github.com/rigelk))
520
521 ### Bug fixes
522
523  * Don't notify if the account in on a muted instance
524  * Don't leak other notified addresses in notification emails
525  * Allow the embed iframe to open links
526  * Add missing button roles for the language chooser and keyboard shortcut menu items [@MarcoZehe](https://github.com/MarcoZehe)
527  * Fix overflow when creating a channel
528  * Fix "copy magnet URI" in player
529  * Fix text overflow in menu
530  * Fix player focus
531  * Only display accepted followers/followings instances in about page
532  * Fix brackets truncation in video description
533  * Fix channel playlist miniatures overflow
534  * Fix background color on some screens
535  * Fix captions upload issue depending on the caption name
536  * Fix file download when the video is private
537  * Fix dropdown on video miniature for unlogged users
538  * Fix video support field in update form
539  * Fix video import having a long thumbnail url (Facebook for example)
540  * Add correct HTTP status on not found video
541  * Fix bug on login when username has a special character (`_` for example)
542  * Fix plugin unregistration that did not remove properly its hooks ([@JohnXLivingston](https://github.com/JohnXLivingston))
543
544
545 ## v2.0.0
546
547 **Since v1.4.1**
548
549 ### IMPORTANT NOTES
550
551  * Removed old JSON LD signature implementation. There will be some **federation incompatibilities** with forwarded activities sent
552   by PeerTube instances < v2.0.0
553  * Replaced configuration key `email.object` with `email.subject`: https://github.com/Chocobozzz/PeerTube/commit/916937d7daf386e4e2d37b2ca22db07b644b02df
554
555 ### Plugins/Themes API
556
557  * Add plugin hook on registration `filter:api.user.signup.allowed.result`
558
559 ### Docker
560
561  * Fix traefik version docker compose (**you need to update your `docker-compose.yml` file**: https://github.com/Chocobozzz/PeerTube/commit/f1b38883922fd59b36f093e44a5091e090d20862)
562
563 ### Maintenance
564
565  * Add `--tmpdir`, `--first`, `--last` and `--verbose [level]` parameters to peertube-import-videos script ([@Yetangitu](https://github.com/Yetangitu))
566  * Improve REST API documentation ([@frankstrater](https://github.com/frankstrater))
567  * Improve plugin management documentation
568
569 ### Features
570
571  * Better instance admin responsibility:
572    * Add ability to set more information about your instance. This will be used in the future on https://joinpeertube.org to help people find
573    the appropriate PeerTube instance on which they can register:
574      * Main **Categories**
575      * **Languages** you/your moderators speak
576      * **Code of Conduct**
577      * **Moderation information** (who moderates your instance, NSFW policy etc)
578      * Who is **behind the instance** (a single person? non-profit?)
579      * Why did the admin **create this instance**
580      * How long the admin plan to **maintain the instance**
581      * How the administrator **will finance** the PeerTube server
582      * **Hardware** information
583    * Add these information in the about page and in the signup page
584    * Add a welcome modal at first admin login with some explanations of PeerTube and some useful links
585    * Add warning modal when administrators enable or enabled signup but did not fill some important instance information
586    (for now the instance **name**, **terms**, **administrator** and **maintenance lifetime** information)
587  * Add ability to automatically follow back other instances
588  * Add ability to automatically follow [the public registry](https://instances.joinpeertube.org/) instances
589  * Add *Most liked videos* page ([@alcalyn](https://github.com/alcalyn))
590  * Add a drag&drop delay on playlist videos to allow user scroll on small screens ([@alcalyn](https://github.com/alcalyn))
591  * Allow to toggle video publication date to display absolute date ([@alcalyn](https://github.com/alcalyn))
592  * Add statistics in about page ([@alcalyn](https://github.com/alcalyn))
593  * Improve the *feature table* in about page
594  * Add contributors in about page
595  * Clearer warning of IP address leaking on embedded videos ([@robinkooli](https://github.com/robinkooli))
596  * Case insensitive search on video tags
597  * Add video name in "video publish notification"
598  * Add ability to autoplay next recommended video (opt in) ([@LoveIsGrief](https://github.com/LoveIsGrief))
599  * Add link behind the subscribe via RSS button ([@frankstrater](https://github.com/frankstrater))
600  * Support text/plain caption files
601  * Speedup theme injection
602  * Add ability to enable HLS in the admin panel
603
604 ### Bug fixes
605
606  * Fix audio upload
607  * Handle video reports from mastodon
608  * Fix videos redundancy exceeding the limit
609  * Fix search when user defined video languages in their preferences
610  * Don't quick transcode with the wrong pixel format
611  * Hide videos abuses of muted accounts
612  * Fix account avatar widths
613  * Fix default `commentsEnabled` and `downloadEnabled` values on video upload/import ([@frankstrater](https://github.com/frankstrater))
614  * Disable auto complete of email field when editing another user information in admin panel ([@Knackie](https://github.com/Knackie))
615  * Fix federation issues with some actors (that have long descriptions, or missing optional AP fields)
616  * Remove down redundancy endpoints in HLS player
617  * Fix user notifications with multiple opened tabs
618  * Replace "overview" by "discover" in webpage titles
619  * Clearer IP debug message in admin panel
620  * Fix checkbox styles when using a theme
621  * Don't redirect on verify account page after login
622  * Fix player captions menu after choosing a subtitle
623  * Fix CLI scripts with URLs ending with a `/`
624  * Fix `--since` and `--until` timezone in `peertube-import-videos` script
625  * Avoid circular error in logger
626  * Fix start/stop of first element when loading a playlist
627
628 ***Since v2.0.0-rc.1***
629
630 ### Features
631
632  * Improve welcome/warning modals
633  * Add ability to enable HLS in the admin panel
634
635 ### Bug fixes
636
637  * Fix auto index follow
638  * Fix CLI scripts with URLs ending with a `/`
639  * Fix `--since` and `--until` timezone in `peertube-import-videos` script ([@fflorent](https://github.com/fflorent))
640  * Avoid circular error in logger
641  * Fix start/stop of first element when loading a playlist
642
643
644 ## v1.4.1
645
646 ### Bug fixes
647
648  * Fix too fast redundancy eviction
649  * Fix broken auto blacklist page
650  * Rename signup steps
651  * Fix menu x overflow
652
653
654 ## v1.4.0
655
656 **Since v1.3.1**
657
658 ### IMPORTANT NOTES
659
660  * **Important** Add `plugins` directory in configuration file. **You should configure it in your production.yaml**
661  * **Important:** Deprecate NodeJS 8 (support ends on [December 2019](https://github.com/nodejs/Release#release-schedule)). Please upgrade to NodeJS 10.
662  * **Important:** Updated nginx template (you need to [update manually](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md#nginx))
663    * Fix long server responses on dual stack servers: https://github.com/Chocobozzz/PeerTube/commit/fd2ddcae8ff4eb10bf7168ac3c8801f06b37627f
664    * Improve images HTTP cache: https://github.com/Chocobozzz/PeerTube/commit/c928e1364fbdff87f27fd982710b95426a250491
665  * **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)
666  from their admin panel, and then users can choose this theme in their settings
667  * Changed the playlist REST API to fix various issues. See https://github.com/Chocobozzz/PeerTube/pull/1998 for more information
668  * Removed magnet URI support in download modal since most of the BitTorrent clients do not understand the `xs` parameter
669  * Renamed `Overview` page to `Discover`
670
671 ### Security
672
673  * Moderators can only create and update regular users (thanks GGC-Project)
674
675 ### Maintenance
676
677  * Create a dedicated `package.json` for CLI tools to reduce server dependencies size
678  * Add ability to set root password by environment at first start ([@darnuria](https://github.com/darnuria))
679  * Removed unused `uuid` actor field (we already have a unique identifier that is the `preferredUsername`)
680  * Add ability to disable PeerTube log rotation ([@NassimBounouas](https://github.com/NassimBounouas))
681  * Speedup font display ([@BO41](https://github.com/BO41))
682  * Improve static files HTTP cache
683  * Add `--since` and `--until` parameters to import videos script to easily sync external channels ([@fflorent](https://github.com/fflorent))
684  * Optimize `/watch/:uuid` endpoint
685  * Optimize Sequelize (SQL ORM) queries generation (consumes less CPU)
686  * Prune script is faster and can prune avatar files
687
688 ### Features
689
690  * :tada: Support Finnish, Greek and Scottish Gaelic languages
691  * :tada: Add basic plugins and themes support (**beta**): https://docs.joinpeertube.org/#/contribute-plugins
692    * Install plugins or themes from the administration panel
693    * Choose a default theme for your instance
694    * Users can choose the theme they want among the list of themes their administrator installed
695  * :tada: Add ability to upload audio files: PeerTube will merge the audio file and the thumbnail to create a video
696  * Multi step registration:
697    * Add ability for new users to create their default channel
698    * Guess the account username/channel username according to their display name
699    * Add explanations about what the purpose of a username/channel name is, and what a channel is
700  * Improve account video channels page:
701    * Set it as the default page for the account page in order to avoid confusion between the account homepage and the video channel homepage
702    * Display channels in rows with some of their videos
703  * Support more URL parameters in embeds: `muted`, `loop`, `peertubeLink`
704  * Redesign share modal and add customizations:
705    * Start/stop at a specific timestamp
706    * Automatically play/mute/loop the video
707    * Set a specific subtitle by default
708  * Group subscriptions and recently added videos in chronological order
709  * Add ability for users to change their email address
710  * Add ability to update the support field of all channel videos when we update the channel support field
711  * Add a language filter in user preferences to display only videos in specific languages
712  * Add instance follows list in a dedicated tab in the "About" page
713  * Add ability to set to private a public/unlisted video or video playlist
714  * Transcode in the `tmp` directory for s3fs compatibility ([@libertysoft3](https://github.com/libertysoft3))
715  * Add a button to copy account username ([@NassimBounouas](https://github.com/NassimBounouas))
716  * Redirect to "Local videos" page when going to the `peertube` account page
717  * Rearrange search filter options ([@realityfabric](https://github.com/realityfabric))
718  * Close modal after clicking on download ([@LeoMouyna](https://github.com/LeoMouyna))
719  * Add ability for admins to customize emails object prefix and body signature ([@yohanboniface](https://github.com/yohanboniface))
720  * Support 4K transcoding
721  * Add link of the follower profile in administration ([@NassimBounouas](https://github.com/NassimBounouas))
722  * Add subject field in contact form ([@NassimBounouas](https://github.com/NassimBounouas))
723  * Add rate limit to registration and API endpoints
724  * Add "video quota used" sortable column in user admin list ([@darnuria](https://github.com/darnuria))
725  * Automatically update the playlist thumbnail according to the video at the first position (if the user did not set a specific thumbnail)
726  * Automatically remove dead followings
727  * Federate comment deletion if the comment was deleted by the video owner
728
729 ### Bug fixes
730
731  * Fix transcoding information in features table ([LiPek](https://github.com/LiPeK))
732  * Fix tools auth with remote instances
733  * Fix various issues in upload/import scripts
734  * Fix redundancy exceeded quota
735  * Fix login with email ([@NassimBounouas](https://github.com/NassimBounouas))
736  * Fix quota display in features table
737  * Fix transcoding help placement
738  * Fix invisible videos in playlists
739  * Fix HLS transcoding in lower resolutions
740  * Fix various federation issues
741  * Fix mute badge labels
742  * Fix broken follow notification when the actor is deleted
743  * Fix overflow and playlist block width in the watch page
744  * Fix search results overflow on mobile
745  * Fix infinite scroll on big screens
746  * Fix start time on some HLS videos
747  * Fix socket notification with multiple user tabs
748  * Fix redundancy if the instance has already the file on disk
749  * Fix image and plugin CSP
750  * Fix video rows overflow
751  * Dismiss modals on pop state
752  * Go back when cancel NSFW modal
753
754
755 ***Since v1.4.0-rc.1***
756
757 ### Features
758
759  * Add Finnish language support
760
761 ### Bug fixes
762
763  * Fix broken front end on Firefox ESR (60)
764  * Fix prune storage script when using a same directory for multiple storage keys
765  * Relax plugin `package.json` validation
766  * Replace "overview" by "discover" in client titles
767  * Change configuration: `email.object` becomes `email.subject`
768  * Fix user creation by moderators
769  * Fix video playlist element removal
770  * Fix plugin card background color with dark theme
771  * Fix lazy static route with unknown avatars (404 instead of 500)
772  * Fix socket notification with multiple user tabs
773  * Fix redundancy if the instance has already the file on disk
774  * Fix image and plugin CSP
775  * Fix video rows overflow
776  * Dismiss modals on pop state
777  * Go back when cancel NSFW modal
778
779
780 ## v1.3.1
781
782 ### Bug fixes
783
784  * Fix Mastodon remote interactions
785  * Fix missing video download button
786  * Fix error in video upload/update form when scheduling publication
787  * Fix black theme on some pages
788  * Fix video import if auto blacklist is enabled
789
790
791 ## v1.3.0
792
793 **Since v1.2.0**
794
795 ### IMPORTANT NOTES
796
797  * **nginx** Remove `text/html` from `gzip_types`: https://github.com/Chocobozzz/PeerTube/commit/7eeb6a0ba4028d0e20847b846332dd0b7747c7f8 [@bnjbvr](https://github.com/bnjbvr)
798  * Add `streaming_playlists` directory in configuration file. **You should configure it in your production.yaml**
799  * CSP configuration changed: it's now in a [dedicated section](https://github.com/Chocobozzz/PeerTube/blob/develop/config/production.yaml.example#L110)
800
801 ### Maintenance
802
803  * 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
804  * Add reminder to restart PeerTube in upgrade script ([@ldidry](https://github.com/ldidry))
805  * Add argument to dockerfile to pass options to npm run build ([@NaPs](https://github.com/NaPs))
806  * Add `NOCLIENT` env support to only install server dependencies. Example: `NOCLIENT=true yarn install --pure-lockfile` ([@rigelk](https://github.com/rigelk))
807
808 ### Docker
809
810  * **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)
811  * **Important**: Add a network section to [docker-compose.yml template](https://github.com/Chocobozzz/PeerTube/blob/develop/support/docker/production/docker-compose.yml)
812 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))
813  * Fix SMTP default configuration ([@Nutomic](https://github.com/nutomic))
814
815 ### Features
816
817  * Add video playlist support
818    * A user has a default `Watch-later` playlist
819    * A user can create private, unlisted or public playlists
820    * An element in this playlist can start or stop at specific timestamps (you can create some kind of zapping for example)
821    * 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.
822    It's useful to organize your videos, or create a playlist of videos you like and share the link on the web etc
823  * Add quarantine videos (auto blacklist videos on upload) feature :tada: ([@joshmorel](https://github.com/joshmorel))
824  * Add Japanese & Nederlands & Português (Portugal) support
825  * Add experimental HLS support
826    * Better playback
827    * Better bandwidth management (for both client & server)
828    * 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)
829    * Requires ffmpeg >= 4
830  * Better instance's followers management:
831    * Add ability to remove an instance's follower
832    * Add ability to forbid all new instance's followers
833    * Add ability to manually approve new instance's followers
834    * Add notification on new instance's follower
835  * Improve UI:
836    * Increase player default height
837    * Reduce big play button border width
838    * Increase thumbnail sizes
839    * Add hover effect on video miniature
840    * Add "my library" section in menu
841    * Add missing icons in some buttons/dropdown
842    * 2 rows per overview section
843    * Increase video thumbnail blur ([@Zig-03](https://github.com/Zig-03))
844    * Improve video miniatures list on mobile
845    * Add animation when opening user notifications
846  * Add ability for admins to disable the tracker (and so the P2P aspect of PeerTube, in order to improve users privacy for example)
847  * Add original publication date attribute to videos, and add ability to filter on it (Andrés Maldonado)
848  * Add video miniature dropdown
849  * Add ability for admins to declare their instance as dedicated to NSFW content
850  * Improve SEO (there is still work to be done)
851  * Login is now case insensitive (if using official web client)
852  * Add NSFW policy & users signup policy & auto blacklist strategy in features table in about page
853  * Improve comment deletion warning
854  * Restore videos list component on history back
855  * Add ability to consult server logs in admin
856  * Allow administrators to change/reset a user's password ([@rigelk](https://github.com/rigelk))
857  * Add a debug page to help admins to fix IP configuration issues
858  * Add ability for admins to limit users videos history size
859  * Add ability for admins to delete old remote videos views (reduce database size)
860  * Optimize video update page load
861  * Less refresh jobs
862  * Cleanup invalid AP rates/comments/shares
863  * Better videos redundancy config error handling
864  * Check emails are enabled if the admin requires email verification ([@joshmorel](https://github.com/joshmorel))
865  * Add `Add /accounts/:username/ratings endpoint` ([@yohanboniface](https://github.com/yohanboniface))
866  * Allow to control API rates limit from configuration ([@yohanboniface](https://github.com/yohanboniface))
867
868 ### Bug fixes
869
870  * Don't notify prior to scheduled update ([@joshmorel](https://github.com/joshmorel))
871  * Fix account description database error
872  * Fix Pleroma follow
873  * Fix greek label
874  * Fix email notification for some users
875  * Fix translation of "Copy magnet URI"
876  * Fix negative seconds by displaying 0 instead [@zacharystenger](https://github.com/zacharystenger)
877  * Fix URL in video import notification
878  * Don't close help popover when clicking on it
879  * Fix `tmp` directory cleanup
880  * Fix custom CSS help
881  * Fix JSONLD context
882  * Fix privacy label display in upload form
883  * Fix my account settings responsiveness
884  * Fix keyboard icon transparency ([@gbip](https://github.com/gbip))
885  * Fix contact admin button overflow
886  * Wait config to be loaded before loading login/signup
887  * Privacy is optional in upload API endpoint
888  * Fix hotkeys help popup overflow
889
890 ***Since v1.3.0-rc.2***
891
892 ### Bug fixes
893
894  * Fix duplicates in playlist add component
895  * Fix crash in files cache
896  * Fix playlist view/update 403
897  * Fix search with bad webfinger handles
898
899
900 ## v1.2.1
901
902 ### Bug fixes
903
904  * **Important** Fix invalid `From` email header in contact form that could lead to the blacklisting of your SMTP server
905  * Fix too long display name overflow in menu
906  * Fix mention notification when a remote account mention a local account that has the same username than yours
907  * Fix access to muted servers table for moderators
908  * Don't crash notification popup on bug
909  * Fix reset password script that leaks password on invalid value
910
911
912 ## v1.2.0
913
914 ### BREAKING CHANGES
915
916  * **Docker:** `PEERTUBE_TRUST_PROXY` env variable is now an array ([LecygneNoir](https://github.com/LecygneNoir))
917  * **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
918  * **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**
919  * **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**
920  * Moderators can manage users now (add/delete/update/block)
921  * Add `tmp` and `redundancy` directories in configuration file. **You should configure them in your production.yaml**
922
923 ### Maintenance
924
925  * Check free storage before upgrading in upgrade script ([@Nutomic](https://github.com/nutomic))
926  * Explain that PeerTube must be stopped in prune storage script
927  * Add some security directives in the systemd unit configuration file ([@rigelk](https://github.com/rigelk) & [@mkoppmann](https://github.com/mkoppmann))
928  * Update FreeBSD startup script ([@gegeweb](https://github.com/gegeweb))
929
930 ### Docker
931
932  * Patch docker entrypoint to speed up the chown at startup ([LecygneNoir](https://github.com/LecygneNoir))
933
934 ### Features
935
936  * Add Russian, Polish and Italian languages
937  * Add user notifications:
938    * Notification types:
939      * Comment on my video
940      * New video from my subscriptions
941      * New video abuses (for moderators)
942      * Blacklist/Unblacklist on my video
943      * Video import finished (error or success)
944      * Pending video published (after transcoding or a scheduled update)
945      * My account or one of my channel has a new follower
946      * Someone (except muted accounts) mentioned me in comments
947      * A user registered on the instance (for moderators)
948    * Notification actions:
949      * Add a web notification
950      * Send an english email
951  * Add contact form in about page (**enabled by default**)
952  * Add ability to unfederate a local video in blacklist modal (**checkbox checked by default**)
953  * Support additional video extensions if transcoding is enabled (**enabled by default**)
954  * Redirect to the last url on login
955  * Add ability to automatically set the video caption in URL. Example: https://peertube2.cpy.re/videos/watch/9c9de5e8-0a1e-484a-b099-e80766180a6d?subtitle=ru
956  * Automatically enable the last selected caption when watching a video
957  * Add ability to disable, clear and list user videos history
958  * Add a button to help to translate peertube
959  * Add text in the report modal to explain to whom the report will be sent
960  * Open my account menu entries on hover
961  * Explain what features are enabled on the instance in the about page
962  * Add an error message in the forgot password modal if the instance email system is not configured
963  * Add sitemap
964  * Add well known url to change password ([@rigelk](https://github.com/rigelk))
965  * 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))
966  * Add CSP ([@rigelk](https://github.com/rigelk) & [@Nutomic](https://github.com/nutomic))
967  * Update title and description HTML tags when rendering video HTML page
968  * Add webfinger support for remote follows ([@acid-chicken](https://github.com/acid-chicken))
969  * Add tooltip to explain how the trending algorithm works ([@auberanger](https://github.com/auberanger))
970  * Warn users when they want to delete a channel because they will not be able to create another channel with the same name
971  * Warn users when they leave the video upload/update (on page refresh/tab close)
972  * Set max user name, user display name, channel name and channel display name lengths to 50 characters ([@McFlat](https://github.com/mcflat))
973  * Increase video abuse length to 3000 characters
974  * Add totalLocalVideoFilesSize in the stats endpoint
975
976 ### Bug fixes
977
978  * Fix the addition of captions to a video
979  * Fix federation of some videos
980  * Fix NSFW blur on search
981  * Add error message when trying to upload .ass subtitles
982  * Fix default homepage in the progressive web application
983  * Don't crash on queue error
984  * Fix EXDEV errors if you have multiple mount points
985  * Fix broken audio in transcoding with some videos
986  * Fix crash on getVideoFileStream issue
987  * Fix followers search
988  * Remove trailing `/` in CLI import script ([@HesioZ](https://github.com/HesioZ/))
989  * Use origin video url in canonical tag
990  * Fix captions in HTTP fallback
991  * Automatically refresh remote actors to fix deleted remote actors that are still displayed on some instances
992  * Add missing translations in video embed page
993  * Fix some styling issues in dark mode
994  * Fix transcoding issues with some videos
995  * Fix Mac OS mkv/avi upload
996  * Fix menu overflow on mobile
997  * Fix ownership button icons ([@joshmorel](https://github.com/joshmorel))
998
999
1000 ## v1.1.0
1001
1002 ***Since v1.0.1***
1003
1004 ### BREAKING CHANGES
1005
1006  * **Docker:** `PEERTUBE_TRUST_PROXY` env variable is now an array ([LecygneNoir](https://github.com/LecygneNoir))
1007
1008 ### Maintenance
1009
1010  * Improve REST API documentation ([@rigelk](https://github.com/rigelk))
1011  * Add basic ActivityPub documentation ([@rigelk](https://github.com/rigelk))
1012  * Add CLI option to run PeerTube without client ([@rigelk](https://github.com/rigelk))
1013  * Add manpage to peertube CLI ([@rigelk](https://github.com/rigelk))
1014  * Make backups of files in optimize-old-videos script ([@Nutomic](https://github.com/nutomic))
1015  * Allow peertube-import-videos.ts CLI script to run concurrently ([@McFlat](https://github.com/mcflat))
1016
1017 ### Scripts
1018
1019  * Use DB information from config/production.yaml in upgrade script ([@ldidry](https://github.com/ldidry))
1020  * Add REPL script ([@McFlat](https://github.com/mcflat))
1021
1022 ### Docker
1023
1024  * Add search and import settings env settings env variables ([@kaiyou](https://github.com/kaiyou))
1025  * Add docker dev image ([@am97](https://github.com/am97))
1026  * Improve docker compose template ([@Nutomic](https://github.com/nutomic))
1027    * Add postfix image
1028    * Redirect HTTP -> HTTPS
1029    * Disable Træfik web UI
1030
1031 ### Features
1032
1033  * Automatically resume videos if the user is logged in
1034  * Hide automatically the menu when the window is resized ([@BO41](https://github.com/BO41))
1035  * Remove confirm modal for JavaScript/CSS injection ([@scanlime](https://github.com/scanlime))
1036  * Set bitrate limits for transcoding ([@Nutomic](https://github.com/nutomic))
1037  * Add moderation tools in the account page
1038  * Add bulk actions in users table (Delete/Ban for now)
1039  * Add search filter in admin users table
1040  * Add search filter in admin following
1041  * Add search filter in admin followers
1042  * Add ability to list all local videos
1043  * Add ability for users to mute an account or an instance
1044  * Add ability for administrators to mute an account or an instance
1045  * Rename "News" category to "News & Politics" ([@daker](https://github.com/daker))
1046  * Add explicit error message when changing video ownership ([@lucas-dclrcq](https://github.com/lucas-dclrcq))
1047  * Improve description of the HTTP video import feature ([@rigelk](https://github.com/rigelk))
1048  * Set shorter keyframe interval for transcoding (2 seconds) ([@Nutomic](https://github.com/nutomic))
1049  * Add ability to disable webtorrent (as a user) ([@rigelk](https://github.com/rigelk))
1050  * Make abuse-delete clearer ([@barbeque](https://github.com/barbeque))
1051  * Adding minimum signup age conforming to ceiling GPDR age ([@rigelk](https://github.com/rigelk))
1052  * Feature/description support fields length 1000 ([@McFlat](https://github.com/mcflat))
1053  * Add background effect to activated menu entry
1054  * Improve video upload error handling
1055  * Improve message visibility on signup
1056  * Auto login user on signup if email verification is disabled
1057  * Speed up PeerTube startup (in particular the first one)
1058  * Delete invalid or deleted remote videos
1059  * Add ability to admin to set email as verified ([@joshmorel](https://github.com/joshmorel))
1060  * Add separators in user moderation dropdown
1061
1062 ### Bug fixes
1063
1064  * AP mimeType -> mediaType
1065  * PeerTube is not in beta anymore
1066  * PeerTube is not in alpha anymore :p
1067  * Fix optimize old videos script
1068  * Check follow constraints when getting a video
1069  * Fix application-config initialization in CLI tools ([@Yetangitu](https://github.com/Yetangitu))
1070  * Fix video pixel format compatibility (using yuv420p) ([@rigelk](https://github.com/rigelk))
1071  * Fix video `state` AP context  ([tcitworld](https://github.com/tcitworld))
1072  * Fix Linked Signature compatibility
1073  * Fix AP collections pagination
1074  * Fix too big thumbnails (when using URL import)
1075  * Do not host remote AP objects: use redirection instead
1076  * Fix video miniature with a long name
1077  * Fix video views inconsistencies inside the federation
1078  * Fix video embed in Wordpress Gutenberg
1079  * Fix video channel videos url when scrolling
1080  * Fix player progress bar/seeking when changing resolution
1081  * Fix search tab title with no search
1082  * Fix YouTube video import with some videos
1083
1084 ***Since v1.1.0-rc.1***
1085
1086 ### Bug fixes
1087
1088  * Fix AP infinite redirection
1089  * Fix trending page
1090
1091
1092 ## v1.0.1
1093
1094 ### Security/Maintenance/Federation
1095
1096  * Add HTTP Signature in addition to Linked Signature:
1097     * It's faster
1098     * Will allow us to use RSA Signature 2018 in the future without too much incompatibilities in the peertube federation
1099
1100
1101 ## v1.0.0
1102
1103 ### SECURITY
1104
1105  * Add more headers to HTTP signature to avoid actor impersonation by replaying modified signed HTTP requests (thanks Thibaut Girka)
1106
1107 ### Bug fixes
1108
1109  * Check video exists before extending expiration
1110  * Correctly delete redundancy files
1111  * Fix account URI in remote comment modal ([@rigelk](https://github.com/rigelk))
1112  * Fix avatar update
1113  * Avoid old issue regarding duplicated hosts in database
1114
1115
1116 ## v1.0.0-rc.2
1117
1118 ### Bug fixes
1119
1120  * Fix config endpoint
1121
1122
1123 ## v1.0.0-rc.1
1124
1125 ### Features
1126
1127  * Allow specification of channel ID in `peertube-upload.js` ([@anoadragon453](https://github.com/anoadragon453))
1128  * Show last commit hash alongside server version in footer ([@rigelk](https://github.com/rigelk))
1129  * Add comment feeds in watch page
1130
1131 ### Bug fixes
1132
1133  * Fix dnt route (yes again, but now we have unit tests for this route :D)
1134  * Check video channel name is unique when creating a new one
1135  * Fix video fps validator (prevent redundancy/refresh of some old videos)
1136  * Allow empty search on client side ([@rigelk](https://github.com/rigelk))
1137  * Correctly forward comment deletion
1138
1139
1140 ## v1.0.0-beta.16
1141
1142 ### BREAKING CHANGES
1143
1144  * Add prompt to upgrade.sh to install pre-release version ([@Nutomic](https://github.com/nutomic))
1145
1146 ### Features
1147
1148  * Add shortcuts icon in menu
1149  * Improve overview section titles
1150  * Check old password before change ([@BO41](https://github.com/BO41))
1151  * Adding frame-by-frame hotkey support in player ([@rigelk](https://github.com/rigelk))
1152
1153 ### Bug fixes
1154
1155  * Stop seeding torrents after a failed import
1156  * Fix player crashing the web browser
1157  * Fix player performance with small devices
1158  * Fix some untranslated strings
1159  * Fix video files duplicated when fps is null ([@rigelk](https://github.com/rigelk))
1160  * Fix video import of some youtube videos
1161  * Fix (long) video description when importing by url
1162  * Fix Mastodon federation with a comment reply
1163  * Correctly delete directories on import
1164  * Remove duplicated videos on unfollow/delete redundancy
1165  * Fix 404 on manifest
1166  * Hide useless error when destroying fake renderer
1167  * Display other videos on big screens on the right of the watch page
1168  * Fix no other videos displayed on some videos
1169  * Fix hidden advanced options in upload form
1170  * Fix message space on video upload cancel ([@rigelk](https://github.com/rigelk))
1171  * Fix error when updating many video captions
1172  * Fix "my account" subtitles
1173  * Fix error when clicking on the disabled publish button
1174  * Increase timeout on upload endpoint
1175  * Fix redundancy with videos already duplicated by another instance(s)
1176  * Correctly delete files on failed import
1177
1178
1179 ## v1.0.0-beta.15
1180
1181 ### Features
1182
1183  * Improve subscription button ([@rigelk](https://github.com/rigelk))
1184   * Display it for unlogged users
1185   * Add RSS feed
1186   * Allow remote follow
1187  * Allow remote comment ([@rigelk](https://github.com/rigelk))
1188  * Support Simplified Chinese ([@SerCom-KC](https://github.com/SerCom-KC))
1189
1190 ### Bug fixes
1191
1192  * Fix redundancy with old PeerTube torrents
1193  * Fix crash with `/static/dnt-policy/dnt-policy-1.0.txt` route
1194  * Fix redundancy totalVideos stats
1195  * Reduce video import TTL to 1 hour
1196  * Only duplicate public videos
1197
1198
1199 ## v1.0.0-beta.14
1200
1201 ### Features
1202
1203  * Video redundancy system (experimental)
1204  * Add peertube script (see [the doc](/support/doc/tools.md#cli-wrapper)) ([@rigelk](https://github.com/rigelk))
1205  * Improve download modal ([@rigelk](https://github.com/rigelk))
1206  * Add redirect after login ([@BO41](https://github.com/BO41))
1207  * Improve message when removing a user
1208  * Improve responsive on small screens
1209  * Improve performance:
1210    * Overview endpoint
1211    * SQL requests of watch page endpoints
1212    * SQL requests of ActivityPub endpoints
1213    * Cache user token
1214    * Videos infinite scroll in the web browser
1215  * Add warning if one of the storage directory is in the peertube production directory
1216  * Auto focus first field on login ([@rigelk](https://github.com/rigelk))
1217  * Add chevron hotkeys to change playback rate ([@rigelk](https://github.com/rigelk))
1218
1219 ### Bug fixes
1220
1221  * Fix 24 hours delay to process views
1222  * Fix tag search on overview page
1223  * Handle actors search beginning with '@'
1224  * Fix "no results" on overview page
1225  * Fix iOS player playback/subtitles menu
1226  * Fix description/comments that break the video watch page
1227  * Don't get recommended videos twice
1228  * Fix admin access to moderators
1229  * Fix nav tab and tag color in dark theme ([@rigelk](https://github.com/rigelk))
1230  * Fix help popover overflow ([@rigelk](https://github.com/rigelk))
1231  * Fix comment deletion with mastodon (only with new comments)
1232
1233
1234 ## v1.0.0-beta.13
1235
1236 ### Features
1237
1238  * Improve keyboard navigation ([@rigelk](https://github.com/rigelk))
1239  * Remember theme in local storage ([@rigelk](https://github.com/rigelk))
1240
1241 ### Bug fixes
1242
1243   * Fix upgrade/installation on node 8.12 (bcrypt issue)
1244   * Fix video channel deletion
1245   * Fix video channel RSS
1246   * Fix video views increment
1247
1248
1249 ## v1.0.0-beta.12
1250
1251 **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**
1252
1253 ### BREAKING CHANGES
1254
1255  * Users can now use the name they want for their channel.
1256  We will therefore favour the display of video channel handles/names instead of account in the future.
1257
1258 ### Documentation
1259
1260  * Add SECURITY.md document
1261  * Add TCP/IP tuning template to prevent buffer bloat/latency ([@scanlime](https://github.com/scanlime))
1262  * Add `parse-log` admin tool documentation
1263  * Improve README schemas ([@Edznux](https://github.com/edznux))
1264
1265 ### nginx template
1266
1267  * Add gzip support ([@scanlime](https://github.com/scanlime))
1268
1269 ### Docker template
1270
1271  * Add quota to the docker configuration values ([@kaiyou](https://github.com/kaiyou))
1272
1273 ### Features
1274
1275  * Add portuguese and swedish languages
1276  * Support user subscriptions
1277  * Add ability to search videos or channels with their URL/handle (can be opt-out by the admin)
1278  * Add "videos overview" page (pick randomly some categories/tags/channels and display their videos)
1279  * Add ability to set a name (left part of the handle) to a channel instead of UUID
1280  * Users can "give" their videos to other local users (WIP, feedback welcome) ([@grizio](https://github.com/grizio))
1281  * Add keyboard shortcuts (press `?` to see them) ([@rigelk](https://github.com/rigelk))
1282  * Add ability to set daily video upload quota to users ([@Nutomic](https://github.com/nutomic))
1283  * Add user email verification (can be opt-in by the admin) ([@joshmorel](https://github.com/joshmorel))
1284  * Improve video watch page style ([@rigelk](https://github.com/rigelk))
1285  * Trending page takes into account views from the last x days (defined by the admin in the configuration file)
1286  * Add "start at" checkbox in the video share modal
1287  * Add instance capabilities table in the signup page ([@rigelk](https://github.com/rigelk))
1288  * Improve video abuses display in admin ([@Nutomic](https://github.com/nutomic))
1289  * Add "my videos" shortcut in menu ([@LeoMouyna](https://github.com/LeoMouyna))
1290  * Support 0.75 and 1.25 playback speeds ([@Glandos](https://github.com/Glandos))
1291  * Improve error message on actor name conflict
1292  * Improve videos list/search SQL query (split it into 2 queries)
1293  * Make left menu show the scrollbar only on hover/focus ([@rigelk](https://github.com/rigelk))
1294  * Other videos column in watch page show related tagged videos if possible ([@jorropo](https://github.com/jorropo))
1295  * Password change errors more friendly ([@jorropo](https://github.com/jorropo))
1296  * Improve labels for video privacies (video upload/update)
1297  * Add theming via CSS custom properties ([@rigelk](https://github.com/rigelk))
1298  * Add dark theme ([@rigelk](https://github.com/rigelk))
1299  * Add input color to cope with browser themes ([@rigelk](https://github.com/rigelk))
1300
1301 ### Bug fixes
1302
1303  * Fix player video playback (videos never ends or infinite load after seeking)
1304  * Fix video URL import with videos having a small title
1305  * Make HSTS opt-in and leave it to the reverse-proxy ([@rigelk](https://github.com/rigelk))
1306  * Fix search results on mobile
1307  * Do not import live streaming
1308  * Fix NSFW filter when the instance decides to hide them and the user decides to list them
1309  * Delete highlighted comment too if needed
1310  * Fix ffmpeg auto thread admin configuration ([@jorropo](https://github.com/jorropo))
1311  * ActivityPub: use height instead of width to represent the video resolution
1312  * Fix thumbnail/preview in upload.js script
1313  * Fix import-videos.js duplicate detection
1314  * Fix occitan language label
1315
1316
1317 ## v1.0.0-beta.11
1318
1319 **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**
1320
1321 ### Features
1322
1323  * Add ability to import videos from a URL (YouTube, Dailymotion, Vimeo, raw file etc) or torrent file/magnet.
1324  Should be explicitly enabled by the administrator in the configuration file
1325  * Add german, spanish, taiwan (traditional chinese) and occitan languages
1326  * Add ability to delete our account
1327  * Add ability to ban a user
1328  * Add ability to set a moderation comment to an abuse
1329  * Add state (pending, accepted, rejected) attribute to an abuse
1330  * Add ability to set a reason when blacklisting a video
1331  * Add ability to blacklist local videos
1332  * Improve abuse and blacklist tables
1333  * Add user quota used in users list
1334  * Tracker only accept known infohash (avoid people to use your tracker for files unrelated to PeerTube)
1335  * Add database pool configuration ([@rigelk](https://github.com/rigelk))
1336  * Add audit log ([@Nautigsam](https://github.com/Nautigsam))
1337  * Add ffmpeg nice and auto thread ([@jorropo](https://github.com/jorropo))
1338  * Upgrade to bootstrap 4
1339  * DNT support
1340
1341 ### Bug fixes
1342
1343  * Fix videos FPS federation
1344  * Cleanup request files on bad request
1345  * Handle truncated markdown links
1346  * Fix dropdown position in menu
1347  * Translate subtitle languages in player
1348  * Translate player according the language of the interface
1349  * Fix reset my password button ([@joshmorel](https://github.com/joshmorel))
1350
1351
1352 ## v1.0.0-beta.10
1353
1354 **See the v1.0.0-beta.10.pre.1 changelog, in particular how to upgrade**
1355
1356 ### Bug fixes (from beta.10.pre.3)
1357
1358  * Fix caption upload on Mac OS
1359
1360
1361 ## v1.0.0-beta.10.pre.3
1362
1363 **See the v1.0.0-beta.10.pre.1 changelog, in particular how to upgrade**
1364
1365 ### Bug fixes (from beta.10.pre.2)
1366
1367  * Try to fix the infinite creation of Delete actor jobs by deleting kue migration
1368  * Cleanup SQL indexes
1369  * Try to optimize SQL search query
1370  * Try to optimize videos list SQL query
1371  * Add more logs and fix logger when having an error
1372  * Move subscription helper in the account line in video watch page
1373  * Fix responsive on videos search
1374  * Refresh orphan actors
1375  * Don't send a follow request if the follow was already accepted
1376
1377
1378 ## v1.0.0-beta.10.pre.2
1379
1380 **See the v1.0.0-beta.10.pre.1 changelog, in particular how to upgrade**
1381
1382 ### Bug fixes (from beta.10.pre.1)
1383
1384  * Fix captions/subtitles freeze in player
1385  * Fix attribute label width in video watch page
1386  * Fix player playback in Chrome
1387  * Revert SQL optimization when listing videos: it breaks the connection pool of some instances
1388
1389
1390 ## v1.0.0-beta.10.pre.1
1391
1392 This version is a pre release because it contains many important changes, and requires manual steps before upgrading.
1393
1394 **Important:** Before upgrading run the following commands (no need to stop PeerTube) on your PeerTube database (in this example it's *peertube_prod*):
1395
1396 ```
1397 $ sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS unaccent;'
1398 $ sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS pg_trgm;'
1399 ```
1400
1401 You will need [PostgreSQL Contrib](https://www.postgresql.org/docs/9.6/static/contrib.html).
1402
1403 ### BREAKING CHANGES
1404
1405  * Require `unaccent` and `pg_trgm` PostgreSQL extension for the PeerTube database
1406  * `category` filter param is replaced by `categoryOneOf`
1407  * Switch job queue to [Bull](https://github.com/OptimalBits/bull). **PeerTube will not migrate your old pending jobs in this new queue manager**
1408  * Update nginx template (you need to [update manually](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md#nginx))
1409  * Update default cache size configurations
1410  * Update search API route: `/videos/search` becomes `/search/videos`
1411  * Needs Redis >= 2.8.18
1412
1413 ### Features
1414
1415  * Add ability to change the language of the interface (currently available: english, french, basque, catalan, czech and esperanto)
1416  * Subtitles/captions support (.srt and .vtt)
1417  * Add advanced search
1418  * Add ability to click on category/language/licence/tags in watch page
1419  * Improve explanations of P2P & Privacy section in about page
1420  * Avoid design latency when the admin set custom CSS
1421  * Add ability to update video channel avatar
1422  * Limit video resolution depending on the video element size (Nitesh Sawant)
1423  * Show "Other videos" on a <1300px viewport ([@Simounet](https://github.com/simounet))
1424  * Add QR code to share videos URL ([@DeeJayBro](https://github.com/DeeJayBro))
1425  * Add "agree to the terms" checkbox in registration form
1426  * Add tracker rate limiter
1427  * Add author URL in OEmbed response
1428  * Display username instead of email in menu
1429  * Clarifying what extensions are accepted for upload ([@rigelk](https://github.com/rigelk))
1430  * Thumbnail support for RSS feeds ([@rigelk](https://github.com/rigelk))
1431  * Open CORS on API and static resources ([@rezonant](https://github.com/rezonant)
1432  * 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
1433  * Support Redis socket ([@rigelk](https://github.com/rigelk))
1434  * Improve video `start` param to support string times (for example: 2m42s))
1435  * Display table next/prev/first/last icons in admin tables
1436  * NodeInfo support ([@rigelk](https://github.com/rigelk))
1437  * Improve HTTP headers security ([@rigelk](https://github.com/rigelk))
1438  * Improve client accessibility (for screen reader users etc)
1439  * Optimize SQL requests (in particular the one to list videos)
1440  * Optimize images ([@jorropo](https://github.com/jorropo))
1441  * Add esperanto, lojban, klingon and kotava (audio/subtitle) languages
1442  * Allow uploads of videos <8GB (*experimental*)
1443  * Handle FPS > 30 (*experimental*)
1444
1445 ### Bug fixes
1446
1447  * Fix avatars/thumbnails update (cache issue)
1448  * Fix pagination on admin job table when changing the job state
1449  * Fix SQL transaction retryer log
1450  * Correctly handle error when remote instance is down
1451  * Fix account videos URL when scrolling
1452  * Avoid commenting twice by disabling comment submit button when sending the comment
1453  * Reset confirm component input when closing it
1454  * Fix video speed when video resolutions changes ([@grizio](https://github.com/grizio))
1455  * Disable hotkeys modifiers for numbers ([@rigelk](https://github.com/rigelk))
1456  * Reset published date on video publish (scheduled or after a transcoding)
1457  * Avoid 404 title on the first page load
1458  * Fix forgot password message regarding email
1459  * Remove scroll to top when closing the menu ([@ebrehault](https://github.com/ebrehault))
1460  * Use UUID for channel link in watch page
1461
1462 ### Docker
1463
1464  * Add PEERTUBE_SMTP_DISABLE_STARTTLS config env
1465
1466
1467 ## v1.0.0-beta.9
1468
1469 ### Features
1470
1471  * Theater/Cinema mode in player
1472  * Add ability to wait transcoding before publishing it
1473  * Add ability for uploaders to schedule video update
1474  * Add time display to see where we seek the video
1475  * Add title in player peers info to show total downloaded/uploaded data
1476  * Provide magnet URI in player and download modal ([@rigelk](https://github.com/rigelk))
1477  * Add warning if the domain name is different from the one of the first start of Peertube
1478  * Add resolution to create-transcoding-job script ([@fflorent](https://github.com/fflorent))
1479
1480 ### Bug fixes
1481
1482  * Fix dislikes number in video watch page
1483  * Fix import when the imported file has the same extension than an already existing file
1484  * Fix bad RSS descriptions when filtering videos by account or channel
1485  * Fix RSS results limit
1486  * Fix glitch when updating player volume
1487  * Use local object URLs for feeds
1488  * Automatically jump to the highlighted thread
1489  * Fix account link width on video view ([@sesn](https://github.com/sesn))
1490  * Prevent commenting twice
1491  * Blue links color in comments
1492  * Fix quota precision in users list
1493  * Handle markdown in account/video channel pages
1494  * Fix avatar image in channel page
1495  * Fix slow HTTP fallback on Firefox
1496  * Do not create a user with the same username than another actor name
1497  * Reset search on page change
1498  * Fix images size limit
1499  * Log torrent errors/warnings in the console, instead of disturbing users
1500
1501
1502 ## v1.0.0-beta.8
1503
1504 ### Features
1505
1506  * Docker:
1507    * Add disable_starttls and transcoding configuration variables
1508    * `.env` file to define env variables (instead of defining them in `docker-compose.yml`)
1509    * Some improvements that should make the upgrades less painful
1510  * Add ability to manually run transcoding jobs (admin with CLI)
1511  * Add ability to import a video file (admin with CLI)
1512  * Add context menu to the player
1513  * Add number of videos published by an account/video channel
1514  * Improve player progress bar
1515  * Improve Twitter configuration help tooltips
1516  * Pick average video file instead of max quality in "Auto" resolution mode
1517  * Increase access token lifetime to 1 day
1518  * Add video comments RSS
1519
1520 ### Bug fixes
1521
1522  * Clicking on "Download" correctly opens a popup to download the video
1523  (instead of opening the video in a new tab)
1524  * Fix frequent logout
1525  * Fix `publishedAt` video attribute when following a new instance
1526  * Correctly resumes the video on "PeerTube" link click in embed
1527  * Fix markdown links truncation
1528  * Fix account/channel pages not updated if we only change the account/channel
1529  * Fix player resolution change that plays even if the video was paused
1530  * Fix posting view in embed that contains search params
1531  * Fix video watch tooltips regarding subscriptions by using the account name
1532  instead of the display name
1533  * Rename "my settings" to "my account" in menu
1534
1535
1536 ## v1.0.0-beta.7
1537
1538 ### BREAKING CHANGES
1539
1540  * Account client URLs are now `/accounts/{username}/` (and not `/accounts/{id}/`)
1541
1542 ### Documentation
1543
1544  * Better documentation on how to deploy with Docker: https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/docker.md
1545
1546 ### Features
1547
1548  * Add short description in about page
1549  * Add owner account name in video channel page
1550  * Improve performance in ActivityPub controllers
1551  * Video **support** field inherits video channel **support** field when uploading/updating a video
1552  * Resume video when clicking on "PeerTube" link in embed
1553
1554 ### Bug fixes
1555
1556  * Fix player on Android
1557  * Fix player when Firefox has cookies disabled
1558  * Reload "my videos" after a delete
1559  * Fix missing key configuration when upgrading with Docker
1560  * Fix CC audience in Activity Pub objects/activities
1561
1562
1563 ## v1.0.0-beta.6
1564
1565 ### Features
1566
1567  * Handle concurrent requests in cache middleware
1568  * Add ability to enable registration by IP
1569
1570 ### Bug fixes
1571
1572  * Fix insane SQL request when loading all video attributes
1573
1574
1575 ## v1.0.0-beta.5
1576
1577 ### BREAKING CHANGES
1578
1579  * Update Docker Compose (https://github.com/Chocobozzz/PeerTube/commit/fd5e57bbe2accbdb16b6aa65337c5ef44b5bd8fb)
1580  * Rename client routes:
1581    * `/admin/users/add` to `/admin/users/create`
1582    * `/videos/edit/:uuid` to `/videos/update/:uuid`
1583    * `/admin/users/:id/update` to `/admin/users/update/:id`
1584
1585
1586 ### Features
1587
1588  * Adding basic helpers to guide users for comments/subscribe to accounts
1589  * Add ability to move a video in another channel
1590  * Improve web browser RAM consumption when watching (long) videos
1591  * Support robots.txt in configuration
1592  * Add ability to select the Redis database in configuration
1593
1594
1595 ### Bug fixes
1596
1597  * Fix error message on token expiration
1598  * Increase menu icon size
1599  * Add timeout and TTL to request jobs to fix stuck job
1600  * Fix responsive account about page
1601  * Fix updating description account
1602  * Account/video channel descriptions are not required anymore
1603  * Fix video channel description and support max length (500 characters now)
1604  * Fix "..." for buttons (delete/edit) in admin tables
1605  * Fix overflow in markdown textarea preview
1606  * Add ability to embed videos in a Twitter card
1607  * Use `publishedAt` attribute when sorting videos
1608  * Fix concurrent requests in videos list
1609  * Fix player on iOS
1610
1611
1612 ## v1.0.0-beta.4
1613
1614 ### BREAKING CHANGES
1615
1616  * Hide by default NSFW videos. Update the `instance.default_nsfw_policy` configuration to `blur` to keep the old behaviour
1617  * Move video channels routes:
1618    * `/videos/channels` routes to `/video-channels`
1619    * `/videos/accounts/{accountId}/channels` route to `/accounts/{accountId}/video-channels`
1620  * PeerTube now listen on 127.0.0.1 by default
1621  * Use ISO 639 for language (*en*, *es*, *fr*...)
1622    * Tools (`import-videos`...) need the language ISO639 code instead of a number
1623    * API (`upload`, `update`, `list`...) need/return the language ISO639 code instead of a number
1624
1625 ### Features
1626
1627  * Add `publishedAt` attribute to videos
1628  * Improve player:
1629    * Smooth progress bar
1630    * Settings menu
1631    * Automatic resolution (depending on the user bandwidth)
1632    * Some animations/effects
1633    * More reactive when clicking on play
1634    * Handle autoplay blocking by some web browsers
1635    * Better responsive
1636    * Add ability to link a specific timestamp. Example: https://peertube2.cpy.re/videos/watch/f78a97f8-a142-4ce1-a5bd-154bf9386504?start=58
1637  * Add an id to the body to override current CSS (for custom CSS)
1638  * Add privacy argument to `upload.ts` script
1639  * RSS/Atom/JSON-feed for videos recently-added/trending/account
1640  * Support hostname binding in the configuration
1641  * Add ability to click on an account in the video watch page (link to a search)
1642  * Better responsive on many comment replies
1643  * Move follows in the job queue
1644  * Add ability to choose the NSFW videos policy: hide, blur or display. Could be overrode by the user
1645  * Add video privacy information in *my videos page*
1646  * Use the video name for the torrent file name instead of the UUID
1647  * Handle errors in embed (video not found, server error...)
1648  * Account view (videos uploaded by this account + video channel owned by this account + about pages)
1649  * Video channel view (videos uploaded in this channel + about pages)
1650  * Video channel management (avatar update is still missing)
1651
1652 ### Bug fixes
1653
1654  * Fix "show more" description on video change
1655  * Accept unlisted comments
1656  * Don't start application until all components were initialized
1657  * Fix word-break in video description and video comments
1658  * Don't add a `.` after the URL in the "forgot password" email
1659
1660
1661
1662 ## v1.0.0-beta.3
1663
1664 ### Features
1665
1666  * Add hover background color in menu
1667  * Add info about the initial user quota in the registration form
1668  * Add link to register in the login form
1669  * Prevent brute force login attack
1670
1671 ### Bug fixes
1672
1673  * Fix bad federation with videos with special utf characters in description (again)
1674  * Fix views system behind a reverse proxy
1675
1676
1677 ## v1.0.0-beta.2
1678
1679 ### Features
1680
1681  * More logging in SMTP module
1682  * Add option to disable starttls in SMTP module
1683  * Update STUN servers (using framasoft.org and stunprotocol.org now)
1684  * Min comment length is 1 now (useful for emoji...)
1685  * Better embed video player in small screens
1686  * Reduce display time of title/description/control bar in embed on inactivity
1687  * Add sign languages for videos attribute
1688  * Add autoplay parameter for embed
1689  * Videos search on account username and host too
1690  * Redirect to homepage on empty search
1691
1692 ### Bug fixes
1693
1694  * Fix mentions in comment replies
1695  * Logo/Title redirects to the default route
1696  * Fix bad federation with videos with special utf characters in description
1697  * Fix pagination on mobile
1698  * Use instance name for page titles
1699  * Fix bad id for Create activities (ActivityPub)
1700  * Handle inner actors instead of just handling actor ids (ActivityPub)
1701  * Fallback to torrent file if infohash is incorrect
1702  * Fix admin config errors display/validation
1703  * Add public to Announces (ActivityPub)
1704  * Fix inability to run client when cookies are disabled
1705  * Fix words breaking in videos description
1706  * Graceful exit when import videos script fails
1707  * Fix import videos with long names
1708  * Fix login with a password containing special characters
1709  * Fix player error flickering with an unsupported video format
1710  * Fix comment delete federation
1711  * Fix communication of a PeerTube instance and Mastodon
1712  * Fix custom configuration with number values
1713
1714
1715 ## v1.0.0-beta.1
1716
1717 Nothing new here, but PeerTube is stable enough for being in beta now.
1718
1719
1720 ## v1.0.0-alpha.9
1721
1722 ### BREAKING CHANGES
1723
1724  * Update videos list/search/get API response:
1725    * Removed `resolution` field
1726    * Removed `resolutionLabel` field
1727    * Removed `category` field
1728    * Removed `categoryLabel` field
1729    * Removed `licence` field
1730    * Removed `licenceLabel` field
1731    * Removed `language` field
1732    * Removed `languageLabel` field
1733    * Removed `privacy` field
1734    * Removed `privacyLabel` field
1735    * Added `resolution.id` field
1736    * Added `resolution.label` field
1737    * Added `category.id` field
1738    * Added `category.label` field
1739    * Added `licence.id` field
1740    * Added `licence.label` field
1741    * Added `language.id` field
1742    * Added `language.label` field
1743    * Added `privacy.id` field
1744    * Added `privacy.label` field
1745
1746 ### Bug fixes
1747
1748  * Fix video_share_url duplicate key on failed transcoding job
1749
1750
1751 ## v1.0.0-alpha.8
1752
1753 ### Features
1754
1755  * Add ability to set a short instance description
1756
1757
1758 ## v1.0.0-alpha.7
1759
1760 ### BREAKING CHANGES
1761
1762  * Update videos list/search API response:
1763    * Removed `accountName` field
1764    * Removed `serverHost` field
1765    * Added `account.name` field
1766    * Added `account.displayName` field
1767    * Added `account.host` field
1768    * Added `account.url` field
1769    * Added `account.avatar` field
1770  * Update video abuses API response:
1771    * Removed `reporterUsername` field
1772    * Removed `reporterServerHost` field
1773    * Removed `videoId` field
1774    * Removed `videoUUID` field
1775    * Removed `videoName` field
1776    * Added `reporterAccount` field
1777    * Added `video.id` field
1778    * Added `video.name` field
1779    * Added `video.uuid` field
1780    * Added `video.url` field
1781
1782 ### Features
1783
1784  * Add "Local" in menu that lists only local videos
1785
1786
1787 ## v1.0.0-alpha.4
1788
1789 ### Features
1790
1791  * Add iOS support
1792
1793
1794 ## v1.0.0-alpha.1
1795
1796 ### Features
1797
1798  * Add messages about privacy and P2P
1799  * Add stats route
1800  * Add playback setting
1801
1802
1803 ## v0.0.29-alpha
1804
1805 ### BREAKING CHANGES
1806
1807  * Use only 1 thread for transcoding by default
1808
1809 ### Features
1810
1811  * Add help to JS/CSS custom configuration inputs
1812  * Keep ratio in video thumbnail generation
1813  * Handle video in portrait mode
1814
1815 ### Bug fixes
1816
1817  * Fix complete description on some videos
1818  * Fix job sorting in administration
1819
1820
1821 ## v0.0.28-alpha
1822
1823 ### BREAKING CHANGES
1824
1825  * Enable original file transcoding by default in configuration
1826  * Disable transcoding in other definitions in configuration
1827
1828 ### Features
1829
1830  * Fallback to HTTP if video cannot be loaded
1831  * Limit to 30 FPS in transcoding
1832
1833
1834 ## v0.0.27-alpha
1835
1836 ### Features
1837
1838  * Add ability for admin to inject custom JavaScript/CSS
1839  * Add help tooltip on some fields
1840
1841 ### Bug fixes
1842
1843  * Fix comment reply highlighting
1844
1845
1846 ## v0.0.26-alpha
1847
1848 ### BREAKING CHANGES
1849
1850  * Renamed script `import-youtube.js` to `import-videos.js`
1851  * Renamed `import-video.js` argument `youtube-url` to `target-url`
1852
1853 ### Features
1854
1855  * Add "Support" attribute/button on videos
1856  * Add ability to import from all [supported sites](https://rg3.github.io/youtube-dl/supportedsites.html) of youtube-dl
1857
1858 ### Bug fixes
1859
1860  * Fix custom instance name overflow
1861
1862
1863 ## v0.0.25-alpha
1864
1865 ### Features
1866
1867  * Add ability to link a specific comment
1868
1869 ### Bug fixes
1870
1871  * Fix avatars on video watch page
1872
1873
1874 ## v0.0.24-alpha
1875
1876 ### Features
1877
1878 * Publish comments with *ctrl + enter*
1879
1880 ### Bug fixes
1881
1882 * Don't stuck on active jobs
1883 * Fix deleting a video with comments
1884 * Fix infinite scroll (videos list)