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