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