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