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