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