Add beta 12 changelog
[oweals/peertube.git] / CHANGELOG.md
1 # Changelog
2
3 ## v1.0.0-beta.12
4
5 **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**
6
7 ### BREAKING CHANGES
8
9  * Users can now use the name they want for their channel. 
10  We will therefore favour the display of video channel handles/names instead of account in the future.
11
12 ### Documentation
13
14  * Add SECURITY.md document
15  * Add TCP/IP tuning template to prevent buffer bloat/latency ([@scanlime](https://github.com/scanlime))
16  * Add `parse-log` admin tool documentation
17  * Improve README schemas ([@Edznux](https://github.com/edznux))
18
19 ### nginx template
20
21  * Add gzip support ([@scanlime](https://github.com/scanlime))
22  
23 ### Docker template
24  
25  * Add quota to the docker configuration values ([@kaiyou](https://github.com/kaiyou))
26
27 ### Features
28
29  * Add portuguese and swedish languages
30  * Support user subscriptions
31  * Add ability to search videos or channels with their URL/handle (can be opt-out by the admin)
32  * Add "videos overview" page (pick randomly some categories/tags/channels and display their videos)
33  * Add ability to set a name (left part of the handle) to a channel instead of UUID
34  * Users can "give" their videos to other local users (WIP, feedback welcome) ([@grizio](https://github.com/grizio))
35  * Add keyboard shortcuts (press `?` to see them) ([@rigelk](https://github.com/rigelk))
36  * Add ability to set daily video upload quota to users ([@Nutomic](https://github.com/nutomic))
37  * Add user email verification (can be opt-in by the admin) ([@joshmorel](https://github.com/joshmorel))
38  * Improve video watch page style ([@rigelk](https://github.com/rigelk))
39  * Trending page takes into account views from the last x days (defined by the admin in the configuration file)
40  * Add "start at" checkbox in the video share modal
41  * Add instance capabilities table in the signup page ([@rigelk](https://github.com/rigelk))
42  * Improve video abuses display in admin ([@Nutomic](https://github.com/nutomic))
43  * Add "my videos" shortcut in menu ([@LeoMouyna](https://github.com/LeoMouyna))
44  * Support 0.75 and 1.25 playback speeds ([@Glandos](https://github.com/Glandos))
45  * Improve error message on actor name conflict
46  * Improve videos list/search SQL query (split it into 2 queries)
47  * Make left menu show the scrollbar only on hover/focus ([@rigelk](https://github.com/rigelk))
48  * Other videos column in watch page show related tagged videos if possible ([@jorropo](https://github.com/jorropo))
49  * Password change errors more friendly ([@jorropo](https://github.com/jorropo))
50  * Improve labels for video privacies (video upload/update)
51  * Add theming via CSS custom properties ([@rigelk](https://github.com/rigelk))
52  * Add dark theme ([@rigelk](https://github.com/rigelk))
53  * Add input color to cope with browser themes ([@rigelk](https://github.com/rigelk))
54
55 ### Bug fixes
56
57  * Fix player video playback (videos never ends or infinite load after seeking)
58  * Fix video URL import with videos having a small title
59  * Make HSTS opt-in and leave it to the reverse-proxy ([@rigelk](https://github.com/rigelk))
60  * Fix search results on mobile
61  * Do not import live streaming
62  * Fix NSFW filter when the instance decides to hide them and the user decides to list them
63  * Delete highlighted comment too if needed
64  * Fix ffmpeg auto thread admin configuration ([@jorropo](https://github.com/jorropo))
65  * ActivityPub: use height instead of width to represent the video resolution
66  * Fix thumbnail/preview in upload.js script
67  * Fix import-videos.js duplicate detection
68  * Fix occitan language label
69  
70
71 ## v1.0.0-beta.11
72
73 **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**
74
75 ### Features
76
77  * Add ability to import videos from a URL (YouTube, Dailymotion, Vimeo, raw file etc) or torrent file/magnet.
78  Should be explicitly enabled by the administrator in the configuration file
79  * Add german, spanish, taiwan (traditional chinese) and occitan languages
80  * Add ability to delete our account
81  * Add ability to ban a user
82  * Add ability to set a moderation comment to an abuse
83  * Add state (pending, accepted, rejected) attribute to an abuse
84  * Add ability to set a reason when blacklisting a video
85  * Add ability to blacklist local videos
86  * Improve abuse and blacklist tables
87  * Add user quota used in users list
88  * Tracker only accept known infohash (avoid people to use your tracker for files unrelated to PeerTube)
89  * Add database pool configuration ([@rigelk](https://github.com/rigelk))
90  * Add audit log ([@Nautigsam](https://github.com/Nautigsam))
91  * Add ffmpeg nice and auto thread ([@jorropo](https://github.com/jorropo))
92  * Upgrade to bootstrap 4
93  * DNT support
94
95 ### Bug fixes
96
97  * Fix videos FPS federation
98  * Cleanup request files on bad request
99  * Handle truncated markdown links
100  * Fix dropdown position in menu
101  * Translate subtitle languages in player
102  * Translate player according the language of the interface
103  * Fix reset my password button ([@joshmorel](https://github.com/joshmorel))
104
105
106 ## v1.0.0-beta.10
107
108 **See the v1.0.0-beta.10.pre.1 changelog, in particular how to upgrade**
109
110 ### Bug fixes (from beta.10.pre.3)
111
112  * Fix caption upload on Mac OS
113
114
115 ## v1.0.0-beta.10.pre.3
116
117 **See the v1.0.0-beta.10.pre.1 changelog, in particular how to upgrade**
118
119 ### Bug fixes (from beta.10.pre.2)
120
121  * Try to fix the infinite creation of Delete actor jobs by deleting kue migration
122  * Cleanup SQL indexes
123  * Try to optimize SQL search query
124  * Try to optimize videos list SQL query
125  * Add more logs and fix logger when having an error
126  * Move subscription helper in the account line in video watch page
127  * Fix responsive on videos search
128  * Refresh orphan actors
129  * Don't send a follow request if the follow was already accepted
130
131
132 ## v1.0.0-beta.10.pre.2
133
134 **See the v1.0.0-beta.10.pre.1 changelog, in particular how to upgrade**
135
136 ### Bug fixes (from beta.10.pre.1)
137
138  * Fix captions/subtitles freeze in player
139  * Fix attribute label width in video watch page
140  * Fix player playback in Chrome
141  * Revert SQL optimization when listing videos: it breaks the connection pool of some instances
142
143
144 ## v1.0.0-beta.10.pre.1
145
146 This version is a pre release because it contains many important changes, and requires manual steps before upgrading.
147
148 **Important:** Before upgrading run the following commands (no need to stop PeerTube) on your PeerTube database (in this example it's *peertube_prod*):
149
150 ```
151 $ sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS unaccent;'
152 $ sudo -u postgres psql peertube_prod -c 'CREATE EXTENSION IF NOT EXISTS pg_trgm;'
153 ```
154
155 You will need [PostgreSQL Contrib](https://www.postgresql.org/docs/9.6/static/contrib.html).
156
157 ### BREAKING CHANGES
158
159  * Require `unaccent` and `pg_trgm` PostgreSQL extension for the PeerTube database
160  * `category` filter param is replaced by `categoryOneOf`
161  * Switch job queue to [Bull](https://github.com/OptimalBits/bull). **PeerTube will not migrate your old pending jobs in this new queue manager**
162  * Update nginx template (you need to [update manually](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md#nginx))
163  * Update default cache size configurations
164  * Update search API route: `/videos/search` becomes `/search/videos`
165  * Needs Redis >= 2.8.18
166
167 ### Features
168
169  * Add ability to change the language of the interface (currently available: english, french, basque, catalan, czech and esperanto)
170  * Subtitles/captions support (.srt and .vtt)
171  * Add advanced search
172  * Add ability to click on category/language/licence/tags in watch page
173  * Improve explanations of P2P & Privacy section in about page
174  * Avoid design latency when the admin set custom CSS
175  * Add ability to update video channel avatar
176  * Limit video resolution depending on the video element size (Nitesh Sawant)
177  * Show "Other videos" on a <1300px viewport ([@Simounet](https://github.com/simounet))
178  * Add QR code to share videos URL ([@DeeJayBro](https://github.com/DeeJayBro))
179  * Add "agree to the terms" checkbox in registration form
180  * Add tracker rate limiter
181  * Add author URL in OEmbed response
182  * Display username instead of email in menu
183  * Clarifying what extensions are accepted for upload ([@rigelk](https://github.com/rigelk))
184  * Thumbnail support for RSS feeds ([@rigelk](https://github.com/rigelk))
185  * Open CORS on API and static resources ([@rezonant](https://github.com/rezonant)
186  * 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
187  * Support Redis socket ([@rigelk](https://github.com/rigelk))
188  * Improve video `start` param to support string times (for example: 2m42s))
189  * Display table next/prev/first/last icons in admin tables
190  * NodeInfo support ([@rigelk](https://github.com/rigelk))
191  * Improve HTTP headers security ([@rigelk](https://github.com/rigelk))
192  * Improve client accessibility (for screen reader users etc)
193  * Optimize SQL requests (in particular the one to list videos)
194  * Optimize images ([@jorropo](https://github.com/jorropo))
195  * Add esperanto, lojban, klingon and kotava (audio/subtitle) languages
196  * Allow uploads of videos <8GB (*experimental*)
197  * Handle FPS > 30 (*experimental*)
198
199 ### Bug fixes
200
201  * Fix avatars/thumbnails update (cache issue)
202  * Fix pagination on admin job table when changing the job state
203  * Fix SQL transaction retryer log
204  * Correctly handle error when remote instance is down
205  * Fix account videos URL when scrolling
206  * Avoid commenting twice by disabling comment submit button when sending the comment
207  * Reset confirm component input when closing it
208  * Fix video speed when video resolutions changes ([@grizio](https://github.com/grizio))
209  * Disable hotkeys modifiers for numbers ([@rigelk](https://github.com/rigelk))
210  * Reset published date on video publish (scheduled or after a transcoding)
211  * Avoid 404 title on the first page load
212  * Fix forgot password message regarding email
213  * Remove scroll to top when closing the menu ([@ebrehault](https://github.com/ebrehault))
214  * Use UUID for channel link in watch page
215
216 ### Docker
217
218  * Add PEERTUBE_SMTP_DISABLE_STARTTLS config env
219
220
221 ## v1.0.0-beta.9
222
223 ### Features
224
225  * Theater/Cinema mode in player
226  * Add ability to wait transcoding before publishing it
227  * Add ability for uploaders to schedule video update
228  * Add time display to see where we seek the video
229  * Add title in player peers info to show total downloaded/uploaded data
230  * Provide magnet URI in player and download modal ([@rigelk](https://github.com/rigelk))
231  * Add warning if the domain name is different from the one of the first start of Peertube
232  * Add resolution to create-transcoding-job script ([@fflorent](https://github.com/fflorent))
233
234 ### Bug fixes
235
236  * Fix dislikes number in video watch page
237  * Fix import when the imported file has the same extension than an already existing file
238  * Fix bad RSS descriptions when filtering videos by account or channel
239  * Fix RSS results limit
240  * Fix glitch when updating player volume
241  * Use local object URLs for feeds
242  * Automatically jump to the highlighted thread
243  * Fix account link width on video view ([@sesn](https://github.com/sesn))
244  * Prevent commenting twice
245  * Blue links color in comments
246  * Fix quota precision in users list
247  * Handle markdown in account/video channel pages
248  * Fix avatar image in channel page
249  * Fix slow HTTP fallback on Firefox
250  * Do not create a user with the same username than another actor name
251  * Reset search on page change
252  * Fix images size limit
253  * Log torrent errors/warnings in the console, instead of disturbing users
254
255
256 ## v1.0.0-beta.8
257
258 ### Features
259
260  * Docker:
261    * Add disable_starttls and transcoding configuration variables
262    * `.env` file to define env variables (instead of defining them in `docker-compose.yml`)
263    * Some improvements that should make the upgrades less painful
264  * Add ability to manually run transcoding jobs (admin with CLI)
265  * Add ability to import a video file (admin with CLI)
266  * Add context menu to the player
267  * Add number of videos published by an account/video channel
268  * Improve player progress bar
269  * Improve Twitter configuration help tooltips
270  * Pick average video file instead of max quality in "Auto" resolution mode
271  * Increase access token lifetime to 1 day
272  * Add video comments RSS
273
274 ### Bug fixes
275
276  * Clicking on "Download" correctly opens a popup to download the video
277  (instead of opening the video in a new tab)
278  * Fix frequent logout
279  * Fix `publishedAt` video attribute when following a new instance
280  * Correctly resumes the video on "PeerTube" link click in embed
281  * Fix markdown links truncation
282  * Fix account/channel pages not updated if we only change the account/channel
283  * Fix player resolution change that plays even if the video was paused
284  * Fix posting view in embed that contains search params
285  * Fix video watch tooltips regarding subscriptions by using the account name
286  instead of the display name
287  * Rename "my settings" to "my account" in menu
288
289
290 ## v1.0.0-beta.7
291
292 ### BREAKING CHANGES
293
294  * Account client URLs are now `/accounts/{username}/` (and not `/accounts/{id}/`)
295
296 ### Documentation
297
298  * Better documentation on how to deploy with Docker: https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/docker.md
299
300 ### Features
301
302  * Add short description in about page
303  * Add owner account name in video channel page
304  * Improve performance in ActivityPub controllers
305  * Video **support** field inherits video channel **support** field when uploading/updating a video
306  * Resume video when clicking on "PeerTube" link in embed
307
308 ### Bug fixes
309
310  * Fix player on Android
311  * Fix player when Firefox has cookies disabled
312  * Reload "my videos" after a delete
313  * Fix missing key configuration when upgrading with Docker
314  * Fix CC audience in Activity Pub objects/activities
315
316
317 ## v1.0.0-beta.6
318
319 ### Features
320
321  * Handle concurrent requests in cache middleware
322  * Add ability to enable registration by IP
323
324 ### Bug fixes
325
326  * Fix insane SQL request when loading all video attributes
327
328
329 ## v1.0.0-beta.5
330
331 ### BREAKING CHANGES
332
333  * Update Docker Compose (https://github.com/Chocobozzz/PeerTube/commit/fd5e57bbe2accbdb16b6aa65337c5ef44b5bd8fb)
334  * Rename client routes:
335    * `/admin/users/add` to `/admin/users/create`
336    * `/videos/edit/:uuid` to `/videos/update/:uuid`
337    * `/admin/users/:id/update` to `/admin/users/update/:id`
338
339
340 ### Features
341
342  * Adding basic helpers to guide users for comments/subscribe to accounts
343  * Add ability to move a video in another channel
344  * Improve web browser RAM consumption when watching (long) videos
345  * Support robots.txt in configuration
346  * Add ability to select the Redis database in configuration
347
348
349 ### Bug fixes
350
351  * Fix error message on token expiration
352  * Increase menu icon size
353  * Add timeout and TTL to request jobs to fix stuck job
354  * Fix responsive account about page
355  * Fix updating description account
356  * Account/video channel descriptions are not required anymore
357  * Fix video channel description and support max length (500 characters now)
358  * Fix "..." for buttons (delete/edit) in admin tables
359  * Fix overflow in markdown textarea preview
360  * Add ability to embed videos in a Twitter card
361  * Use `publishedAt` attribute when sorting videos
362  * Fix concurrent requests in videos list
363  * Fix player on iOS
364
365
366 ## v1.0.0-beta.4
367
368 ### BREAKING CHANGES
369
370  * Hide by default NSFW videos. Update the `instance.default_nsfw_policy` configuration to `blur` to keep the old behaviour
371  * Move video channels routes:
372    * `/videos/channels` routes to `/video-channels`
373    * `/videos/accounts/{accountId}/channels` route to `/accounts/{accountId}/video-channels`
374  * PeerTube now listen on 127.0.0.1 by default
375  * Use ISO 639 for language (*en*, *es*, *fr*...)
376    * Tools (`import-videos`...) need the language ISO639 code instead of a number
377    * API (`upload`, `update`, `list`...) need/return the language ISO639 code instead of a number
378
379 ### Features
380
381  * Add `publishedAt` attribute to videos
382  * Improve player:
383    * Smooth progress bar
384    * Settings menu
385    * Automatic resolution (depending on the user bandwidth)
386    * Some animations/effects
387    * More reactive when clicking on play
388    * Handle autoplay blocking by some web browsers
389    * Better responsive
390    * Add ability to link a specific timestamp. Example: https://peertube2.cpy.re/videos/watch/f78a97f8-a142-4ce1-a5bd-154bf9386504?start=58
391  * Add an id to the body to override current CSS (for custom CSS)
392  * Add privacy argument to `upload.ts` script
393  * RSS/Atom/JSON-feed for videos recently-added/trending/account
394  * Support hostname binding in the configuration
395  * Add ability to click on an account in the video watch page (link to a search)
396  * Better responsive on many comment replies
397  * Move follows in the job queue
398  * Add ability to choose the NSFW videos policy: hide, blur or display. Could be overrode by the user
399  * Add video privacy information in *my videos page*
400  * Use the video name for the torrent file name instead of the UUID
401  * Handle errors in embed (video not found, server error...)
402  * Account view (videos uploaded by this account + video channel owned by this account + about pages)
403  * Video channel view (videos uploaded in this channel + about pages)
404  * Video channel management (avatar update is still missing)
405
406 ### Bug fixes
407
408  * Fix "show more" description on video change
409  * Accept unlisted comments
410  * Don't start application until all components were initialized
411  * Fix word-break in video description and video comments
412  * Don't add a `.` after the URL in the "forgot password" email
413
414
415
416 ## v1.0.0-beta.3
417
418 ### Features
419
420  * Add hover background color in menu
421  * Add info about the initial user quota in the registration form
422  * Add link to register in the login form
423  * Prevent brute force login attack
424
425 ### Bug fixes
426
427  * Fix bad federation with videos with special utf characters in description (again)
428  * Fix views system behind a reverse proxy
429
430
431 ## v1.0.0-beta.2
432
433 ### Features
434
435  * More logging in SMTP module
436  * Add option to disable starttls in SMTP module
437  * Update STUN servers (using framasoft.org and stunprotocol.org now)
438  * Min comment length is 1 now (useful for emoji...)
439  * Better embed video player in small screens
440  * Reduce display time of title/description/control bar in embed on inactivity
441  * Add sign languages for videos attribute
442  * Add autoplay parameter for embed
443  * Videos search on account username and host too
444  * Redirect to homepage on empty search
445
446 ### Bug fixes
447
448  * Fix mentions in comment replies
449  * Logo/Title redirects to the default route
450  * Fix bad federation with videos with special utf characters in description
451  * Fix pagination on mobile
452  * Use instance name for page titles
453  * Fix bad id for Create activities (ActivityPub)
454  * Handle inner actors instead of just handling actor ids (ActivityPub)
455  * Fallback to torrent file if infohash is incorrect
456  * Fix admin config errors display/validation
457  * Add public to Announces (ActivityPub)
458  * Fix inability to run client when cookies are disabled
459  * Fix words breaking in videos description
460  * Graceful exit when import videos script fails
461  * Fix import videos with long names
462  * Fix login with a password containing special characters
463  * Fix player error flickering with an unsupported video format
464  * Fix comment delete federation
465  * Fix communication of a PeerTube instance and Mastodon
466  * Fix custom configuration with number values
467
468
469 ## v1.0.0-beta.1
470
471 Nothing new here, but PeerTube is stable enough for being in beta now.
472
473
474 ## v1.0.0-alpha.9
475
476 ### BREAKING CHANGES
477
478  * Update videos list/search/get API response:
479    * Removed `resolution` field
480    * Removed `resolutionLabel` field
481    * Removed `category` field
482    * Removed `categoryLabel` field
483    * Removed `licence` field
484    * Removed `licenceLabel` field
485    * Removed `language` field
486    * Removed `languageLabel` field
487    * Removed `privacy` field
488    * Removed `privacyLabel` field
489    * Added `resolution.id` field
490    * Added `resolution.label` field
491    * Added `category.id` field
492    * Added `category.label` field
493    * Added `licence.id` field
494    * Added `licence.label` field
495    * Added `language.id` field
496    * Added `language.label` field
497    * Added `privacy.id` field
498    * Added `privacy.label` field
499
500 ### Bug fixes
501
502  * Fix video_share_url duplicate key on failed transcoding job
503
504
505 ## v1.0.0-alpha.8
506
507 ### Features
508
509  * Add ability to set a short instance description
510
511
512 ## v1.0.0-alpha.7
513
514 ### BREAKING CHANGES
515
516  * Update videos list/search API response:
517    * Removed `accountName` field
518    * Removed `serverHost` field
519    * Added `account.name` field
520    * Added `account.displayName` field
521    * Added `account.host` field
522    * Added `account.url` field
523    * Added `account.avatar` field
524  * Update video abuses API response:
525    * Removed `reporterUsername` field
526    * Removed `reporterServerHost` field
527    * Removed `videoId` field
528    * Removed `videoUUID` field
529    * Removed `videoName` field
530    * Added `reporterAccount` field
531    * Added `video.id` field
532    * Added `video.name` field
533    * Added `video.uuid` field
534    * Added `video.url` field
535
536 ### Features
537
538  * Add "Local" in menu that lists only local videos
539
540
541 ## v1.0.0-alpha.4
542
543 ### Features
544
545  * Add iOS support
546
547
548 ## v1.0.0-alpha.1
549
550 ### Features
551
552  * Add messages about privacy and P2P
553  * Add stats route
554  * Add playback setting
555
556
557 ## v0.0.29-alpha
558
559 ### BREAKING CHANGES
560
561  * Use only 1 thread for transcoding by default
562
563 ### Features
564
565  * Add help to JS/CSS custom configuration inputs
566  * Keep ratio in video thumbnail generation
567  * Handle video in portrait mode
568
569 ### Bug fixes
570
571  * Fix complete description on some videos
572  * Fix job sorting in administration
573
574
575 ## v0.0.28-alpha
576
577 ### BREAKING CHANGES
578
579  * Enable original file transcoding by default in configuration
580  * Disable transcoding in other definitions in configuration
581
582 ### Features
583
584  * Fallback to HTTP if video cannot be loaded
585  * Limit to 30 FPS in transcoding
586
587
588 ## v0.0.27-alpha
589
590 ### Features
591
592  * Add ability for admin to inject custom JavaScript/CSS
593  * Add help tooltip on some fields
594
595 ### Bug fixes
596
597  * Fix comment reply highlighting
598
599
600 ## v0.0.26-alpha
601
602 ### BREAKING CHANGES
603
604  * Renamed script `import-youtube.js` to `import-videos.js`
605  * Renamed `import-video.js` argument `youtube-url` to `target-url`
606
607 ### Features
608
609  * Add "Support" attribute/button on videos
610  * Add ability to import from all [supported sites](https://rg3.github.io/youtube-dl/supportedsites.html) of youtube-dl
611
612 ### Bug fixes
613
614  * Fix custom instance name overflow
615
616
617 ## v0.0.25-alpha
618
619 ### Features
620
621  * Add ability to link a specific comment
622
623 ### Bug fixes
624
625  * Fix avatars on video watch page
626
627
628 ## v0.0.24-alpha
629
630 ### Features
631
632 * Publish comments with *ctrl + enter*
633
634 ### Bug fixes
635
636 * Don't stuck on active jobs
637 * Fix deleting a video with comments
638 * Fix infinite scroll (videos list)