diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-07 11:44:28 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-07 11:44:28 +0100 |
commit | 8b7bd166738b67afe09b03960352697a48632075 (patch) | |
tree | c3ecdf0783484120f90d91645b3f733652967b49 | |
parent | 04cda1d7a5f27429acde3ecd9c3c6e18a2b44aed (diff) | |
download | PeerTube-8b7bd166738b67afe09b03960352697a48632075.tar.gz PeerTube-8b7bd166738b67afe09b03960352697a48632075.tar.zst PeerTube-8b7bd166738b67afe09b03960352697a48632075.zip |
Update changelog, 2.1.0-rc.1 -> end of January
-rw-r--r-- | CHANGELOG.md | 169 | ||||
-rw-r--r-- | support/doc/tools.md | 6 |
2 files changed, 171 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d6672ad5..89bba1d03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
@@ -1,5 +1,166 @@ | |||
1 | # Changelog | 1 | # Changelog |
2 | 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(*) > 0` | ||
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 | ||
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 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 description ([@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 the 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 playlist library ([@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 .title-page section header style ([@rigelk](https://github.com/rigelk)) | ||
101 | * Enhance jobs list displaying on smaller screens ([@alcalyn](https://github.com/alcalyn)) | ||
102 | * Performances improvements: | ||
103 | * Lazy load categories, licences, languages and video/playlist privacies on client | ||
104 | * Only update remote actor avatar if the filename changed | ||
105 | * Optimize transcoding by using the lowest resolution as input file | ||
106 | * Speedup embed first paint | ||
107 | * Small videos list SQL query optimization | ||
108 | * Optimize local videos list SQL query | ||
109 | * Cache local peertube instance actor SQL result | ||
110 | * Cache HLS/WebTorrent InfoHash SQL result | ||
111 | * Improve search filters: ([@rigelk](https://github.com/rigelk)) | ||
112 | * Add ability to sort results | ||
113 | * Improve tags filter input | ||
114 | * Add a button to reset filters | ||
115 | * Improve autoplay: ([@rigelk](https://github.com/rigelk)) | ||
116 | * Autoplay next video switch for both user and visitors | ||
117 | * Add *up next* screen on autoplay | ||
118 | * Autoplay next video support for playlists | ||
119 | * Add *next* video button to the player | ||
120 | * Add loop setting when watching a playlist | ||
121 | * Add ability to search a video directly by its UUID | ||
122 | * Case insensitive tags search | ||
123 | * Add ability to disable WebTorrent (and only enable HLS) (**experimental and breaks federation with PeerTube instances < 2.1**) | ||
124 | * Don't seed if the client is on a cellular network in the HLS player | ||
125 | * Load HLS player in embed by default if enabled | ||
126 | * Admin panels: | ||
127 | * Add ability to sort by *state*, *score* and *redundancy allowed* columns in following/followers admin table | ||
128 | * Add ability to filter per job type in admin | ||
129 | * Add *Audit logs* section in admin Logs panel | ||
130 | * Improve Media-RSS support ([@rigelk](https://github.com/rigelk)) | ||
131 | * Explicit the tag limit in video form ([@bikepunk](https://github.com/bikepunk)) | ||
132 | * Add a warning when uploading videos using root | ||
133 | * Clearer video quota label in user settings | ||
134 | * Pause the video when the user opens a modal | ||
135 | * Handle basic HTML in account descriptions | ||
136 | * Support `m4v` videos | ||
137 | * Improve 4k resolution bitrate | ||
138 | * Add missing hotkeys documentation in the watch page | ||
139 | * Add a button to copy the channel handle ([@rigelk](https://github.com/rigelk)) | ||
140 | * Add server config to the nodeinfo metadata ([@rigelk](https://github.com/rigelk)) | ||
141 | * Improve notification popup interactivity ([@rigelk](https://github.com/rigelk)) | ||
142 | |||
143 | ### Bug fixes | ||
144 | |||
145 | * Don't notify if the account in on a muted instance | ||
146 | * Don't leak other notified addresses in notification emails | ||
147 | * Allow the embed iframe to open links | ||
148 | * Add missing button roles for the language chooser and keyboard shortcut menu items [@MarcoZehe](https://github.com/MarcoZehe) | ||
149 | * Fix overflow when creating a channel | ||
150 | * Fix "copy magnet URI" in player | ||
151 | * Fix text overflow in menu | ||
152 | * Fix player focus | ||
153 | * Only display accepted followers/followings instances in about page | ||
154 | * Fix brackets truncation in video description | ||
155 | * Fix channel playlist miniatures overflow | ||
156 | * Fix background color on some screens | ||
157 | * Fix captions upload issue depending on the caption name | ||
158 | * Fix file download when the video is private | ||
159 | * Fix dropdown on video miniature for unlogged users | ||
160 | * Fix video support field in update form | ||
161 | * Fix video import having a long thumbnail url (Facebook for example) | ||
162 | |||
163 | |||
3 | ## v2.0.0 | 164 | ## v2.0.0 |
4 | 165 | ||
5 | **Since v1.4.1** | 166 | **Since v1.4.1** |
@@ -20,7 +181,7 @@ | |||
20 | 181 | ||
21 | ### Maintenance | 182 | ### Maintenance |
22 | 183 | ||
23 | * Add `--tmpdir`, `--first`, `--last` and `--verbose [level]` parameters to peertube-import-videos script ([Yetangitu](https://github.com/Yetangitu)) | 184 | * Add `--tmpdir`, `--first`, `--last` and `--verbose [level]` parameters to peertube-import-videos script ([@Yetangitu](https://github.com/Yetangitu)) |
24 | * Improve REST API documentation ([@frankstrater](https://github.com/frankstrater)) | 185 | * Improve REST API documentation ([@frankstrater](https://github.com/frankstrater)) |
25 | * Improve plugin management documentation | 186 | * Improve plugin management documentation |
26 | 187 | ||
@@ -117,7 +278,7 @@ | |||
117 | 278 | ||
118 | ### Maintenance | 279 | ### Maintenance |
119 | 280 | ||
120 | * Add `--tmpdir`, `--first`, `--last` and `--verbose [level]` parameters to peertube-import-videos script ([Yetangitu](https://github.com/Yetangitu)) | 281 | * Add `--tmpdir`, `--first`, `--last` and `--verbose [level]` parameters to peertube-import-videos script ([@Yetangitu](https://github.com/Yetangitu)) |
121 | * Improve REST API documentation ([@frankstrater](https://github.com/frankstrater)) | 282 | * Improve REST API documentation ([@frankstrater](https://github.com/frankstrater)) |
122 | * Improve plugin management documentation | 283 | * Improve plugin management documentation |
123 | 284 | ||
@@ -804,7 +965,7 @@ and update your [.env](https://github.com/Chocobozzz/PeerTube/blob/develop/suppo | |||
804 | * PeerTube is not in alpha anymore :p | 965 | * PeerTube is not in alpha anymore :p |
805 | * Fix optimize old videos script | 966 | * Fix optimize old videos script |
806 | * Check follow constraints when getting a video | 967 | * Check follow constraints when getting a video |
807 | * Fix application-config initialization in CLI tools ([Yetangitu](https://github.com/Yetangitu)) | 968 | * Fix application-config initialization in CLI tools ([@Yetangitu](https://github.com/Yetangitu)) |
808 | * Fix video pixel format compatibility (using yuv420p) ([@rigelk](https://github.com/rigelk)) | 969 | * Fix video pixel format compatibility (using yuv420p) ([@rigelk](https://github.com/rigelk)) |
809 | * Fix video `state` AP context ([tcitworld](https://github.com/tcitworld)) | 970 | * Fix video `state` AP context ([tcitworld](https://github.com/tcitworld)) |
810 | * Fix Linked Signature compatibility | 971 | * Fix Linked Signature compatibility |
@@ -860,7 +1021,7 @@ and update your [.env](https://github.com/Chocobozzz/PeerTube/blob/develop/suppo | |||
860 | ### Bug fixes | 1021 | ### Bug fixes |
861 | 1022 | ||
862 | * Check follow constraints when getting a video | 1023 | * Check follow constraints when getting a video |
863 | * Fix application-config initialization in CLI tools ([Yetangitu](https://github.com/Yetangitu)) | 1024 | * Fix application-config initialization in CLI tools ([@Yetangitu](https://github.com/Yetangitu)) |
864 | * Fix video pixel format compatibility (using yuv420p) ([@rigelk](https://github.com/rigelk)) | 1025 | * Fix video pixel format compatibility (using yuv420p) ([@rigelk](https://github.com/rigelk)) |
865 | * Fix video `state` AP context ([tcitworld](https://github.com/tcitworld)) | 1026 | * Fix video `state` AP context ([tcitworld](https://github.com/tcitworld)) |
866 | * Fix Linked Signature compatibility | 1027 | * Fix Linked Signature compatibility |
diff --git a/support/doc/tools.md b/support/doc/tools.md index ee0de4695..d5427b5b7 100644 --- a/support/doc/tools.md +++ b/support/doc/tools.md | |||
@@ -227,6 +227,12 @@ Or to transcode to a specific resolution: | |||
227 | $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-transcoding-job -- -v [videoUUID] -r [resolution] | 227 | $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-transcoding-job -- -v [videoUUID] -r [resolution] |
228 | ``` | 228 | ``` |
229 | 229 | ||
230 | To generate an HLS playlist for a video: | ||
231 | |||
232 | ``` | ||
233 | $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-transcoding-job -- --generate-hls -v [videoUUID] | ||
234 | ``` | ||
235 | |||
230 | ### create-import-video-file-job.js | 236 | ### create-import-video-file-job.js |
231 | 237 | ||
232 | You can use this script to import a video file to replace an already uploaded file or to add a new resolution to a video. PeerTube needs to be running. | 238 | You can use this script to import a video file to replace an already uploaded file or to add a new resolution to a video. PeerTube needs to be running. |