Commit Graph

12584 Commits

Author SHA1 Message Date
Fontan 030 190f95d405 Added translation using Weblate (Kazakh) 2023-12-20 15:30:27 +01:00
Fontan 030 7e44bdd59f Translated using Weblate (Kazakh)
Currently translated at 44.6% (63 of 141 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/kk/
2023-12-20 15:30:27 +01:00
paring 885b17be1b Translated using Weblate (Korean)
Currently translated at 85.7% (84 of 98 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/ko/
2023-12-20 15:30:27 +01:00
josé m 5aafc1ec4e Translated using Weblate (Galician)
Currently translated at 99.2% (141 of 142 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/gl/
2023-12-20 15:30:27 +01:00
josé m 6e6aba9542 Translated using Weblate (Galician)
Currently translated at 100.0% (272 of 272 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/gl/
2023-12-20 15:30:27 +01:00
josé m d21f5c0137 Translated using Weblate (Galician)
Currently translated at 100.0% (2248 of 2248 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gl/
2023-12-20 15:30:27 +01:00
Fontan 030 94adf5adee Translated using Weblate (Kazakh)
Currently translated at 39.0% (55 of 141 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/kk/
2023-12-20 15:30:27 +01:00
Fontan 030 8157e37000 Translated using Weblate (Kazakh)
Currently translated at 32.6% (46 of 141 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/kk/
2023-12-20 15:30:27 +01:00
Fontan 030 9d401ea8e3 Translated using Weblate (Kazakh)
Currently translated at 30.4% (43 of 141 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/kk/
2023-12-20 15:30:27 +01:00
Balázs Meskó b0295ea938 Translated using Weblate (Hungarian)
Currently translated at 81.4% (1831 of 2248 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/hu/
2023-12-20 15:30:27 +01:00
Txopi 3391bdd66c Translated using Weblate (Basque)
Currently translated at 100.0% (2248 of 2248 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eu/
2023-12-20 15:30:27 +01:00
Fontan 030 9acf470eea Translated using Weblate (Kazakh)
Currently translated at 25.3% (18 of 71 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/kk/
2023-12-20 15:30:27 +01:00
Fontan 030 a6dc865d30 Translated using Weblate (Kazakh)
Currently translated at 26.2% (37 of 141 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/kk/
2023-12-20 15:30:27 +01:00
Fontan 030 a14fcf3e41 Added translation using Weblate (Kazakh) 2023-12-20 15:30:27 +01:00
Fontan 030 74005fb55f Translated using Weblate (Kazakh)
Currently translated at 25.5% (36 of 141 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/kk/
2023-12-20 15:30:27 +01:00
Fontan 030 721f726cd9 Translated using Weblate (Kazakh)
Currently translated at 23.4% (33 of 141 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/kk/
2023-12-20 15:30:27 +01:00
Sveinn í Felli 5f965a34af Translated using Weblate (Icelandic)
Currently translated at 100.0% (2248 of 2248 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/is/
2023-12-20 15:30:27 +01:00
BGR2 e9a7660275 Translated using Weblate (Turkish)
Currently translated at 36.2% (815 of 2248 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/tr/
2023-12-20 15:30:27 +01:00
Fontan 030 d7a7f4f869 Translated using Weblate (Kazakh)
Currently translated at 21.2% (30 of 141 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/kk/
2023-12-20 15:30:27 +01:00
Fontan 030 db364e32cb Added translation using Weblate (Kazakh) 2023-12-20 15:30:27 +01:00
Mario Pepe c78afeeadb Translated using Weblate (Italian)
Currently translated at 71.0% (1598 of 2248 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/it/
2023-12-20 15:30:27 +01:00
Pierre-Jean 0907e7761a Translated using Weblate (French)
Currently translated at 100.0% (1706 of 1706 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr/
2023-12-20 15:30:27 +01:00
Julien Maulny 9d128e35e8 Translated using Weblate (French)
Currently translated at 100.0% (1706 of 1706 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr/
2023-12-20 15:30:27 +01:00
josé m 334744a25c Translated using Weblate (Galician)
Currently translated at 100.0% (2248 of 2248 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gl/
2023-12-20 15:30:27 +01:00
Anatoly abbd309b5c Translated using Weblate (Russian)
Currently translated at 99.9% (2247 of 2248 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ru/
2023-12-20 15:30:27 +01:00
Renne Rocha 60fe81bab3 Translated using Weblate (Portuguese (Brazil))
Currently translated at 62.7% (1411 of 2248 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/pt_BR/
2023-12-20 15:30:27 +01:00
Balázs Meskó 1786c82e7d Translated using Weblate (Hungarian)
Currently translated at 72.9% (1639 of 2248 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/hu/
2023-12-20 15:30:27 +01:00
Balázs Meskó b85c1865e4 Translated using Weblate (Hungarian)
Currently translated at 72.4% (1628 of 2248 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/hu/
2023-12-20 15:30:27 +01:00
Balázs Meskó 070624a422 Translated using Weblate (Hungarian)
Currently translated at 72.2% (1625 of 2248 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/hu/
2023-12-20 15:30:27 +01:00
Jeff Huang 1d934040d7 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2248 of 2248 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
2023-12-20 15:30:26 +01:00
Goudarz Jafari 3b60d8e14b Translated using Weblate (Persian)
Currently translated at 100.0% (142 of 142 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/fa/
2023-12-20 15:30:26 +01:00
Goudarz Jafari 9855f7d7c6 Translated using Weblate (Persian)
Currently translated at 100.0% (272 of 272 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/fa/
2023-12-20 15:30:26 +01:00
josé m bb1a75cfe9 Translated using Weblate (Galician)
Currently translated at 100.0% (2248 of 2248 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gl/
2023-12-20 15:30:26 +01:00
Aitor Salaberria 1c697fa24c Translated using Weblate (Basque)
Currently translated at 100.0% (2248 of 2248 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eu/
2023-12-20 15:30:26 +01:00
Chocobozzz f0b8938a80
Update peertube runner version 2023-12-20 15:30:14 +01:00
Henri BAUDESSON 83f8ea5c14 Runner download videoFileUrl follow redirect
The runner downloads the video file from the url set in the paylaod
of a transcoding job. This url is pointing to our API and the runner
will make POST request  to it with an jobToken and a runnerToken.
Doing this ensure we can verify the tokens and return the video file.
But returning the video file also means that we are using server
resources to serve the file. If the runner is able to follow the
redirect, we can do our usual verification and return a redirect
response to the url of the video file, the runner will download it
using his own resources.
2023-12-20 15:26:43 +01:00
FediThing cbe57fa266 Update video-watch.component.html
Tweaked error message so that users realise that refreshing the page may help the video to load properly.
2023-12-20 15:26:26 +01:00
Chocobozzz 66776b6a25
Merge branch 'release/6.0.0' into develop 2023-12-20 14:07:47 +01:00
Chocobozzz b5ae080f32
Fix tests 2023-12-20 13:51:01 +01:00
Chocobozzz c37b19ffa9
Add no-constant-binary-expression eslint rule
https://eslint.org/blog/2022/07/interesting-bugs-caught-by-no-constant-binary-expression/
2023-12-20 11:04:38 +01:00
Chocobozzz 8d1f0853cc
Relax missing two factor log level 2023-12-20 10:55:47 +01:00
Chocobozzz b6b50bf0b4
Use new plugin index sort and recommended tags 2023-12-20 10:55:47 +01:00
Chocobozzz fe37e5232b
Add ability to customize views/playback interval 2023-12-20 10:55:47 +01:00
Chocobozzz 49a4b8cb7d
Add stats to logger 2023-12-20 10:55:47 +01:00
Chocobozzz bca6d58676
Automatically filter on local videos in admin
We expect admins will mostly want to act on local videos
2023-12-20 10:55:47 +01:00
Chocobozzz b4f4432459
Viewers federation protocol v2
More efficient than the current one where instance is not fast enough to
send all viewers if a video becomes popular

The new protocol can be enabled by setting env
USE_VIEWERS_FEDERATION_V2='true'

Introduce a result field in View activity that contains the number of
viewers. This field is used by the origin instance to send the total
viewers on the video to remote instances. The difference with the
current protocol is that we don't have to send viewers individually to
remote instances.

There are 4 cases:
 * View activity from federation on Remote Video -> instance replaces
   all current viewers by a new viewer that contains the result counter
 * View activity from federation on Local Video -> instance adds the
   viewer without considering the result counter
 * Local view on Remote Video -> instance adds the viewer and send it to
   the origin instance
 * Local view on Local Video -> instance adds the viewer

Periodically PeerTube cleanups expired viewers. On local videos, the
instance sends to remote instances a View activity with the result
counter so they can update their viewers counter for that particular
video
2023-12-20 10:55:47 +01:00
Chocobozzz a73f476c8a
We don't need cookies for REST API 2023-12-20 10:55:47 +01:00
Chocobozzz dbdc20e673
Optimize views endpoint
Lazy write data in redis
2023-12-20 10:55:47 +01:00
Chocobozzz eba9528391
Optimize async middleware
Avoid using bluebird, a simple for/await is enought
2023-12-20 10:55:47 +01:00
Chocobozzz 9e0efe45ff
Improve tests 2023-12-20 10:55:28 +01:00