Commit Graph

12284 Commits

Author SHA1 Message Date
Chocobozzz 09ab8e577c
Increase timeouts 2023-10-26 16:41:19 +02:00
Chocobozzz a2d5c2d44f
Add worker thread queue metrics 2023-10-26 16:34:54 +02:00
Chocobozzz bbd7de5c9d
CI can be very slow 2023-10-26 15:23:07 +02:00
Chocobozzz 606c044dc8
Fix uploading empty master playlist on s3 2023-10-26 15:14:14 +02:00
Chocobozzz 3bd4637014
Also skip count for recommendation fallback 2023-10-26 14:50:20 +02:00
Chocobozzz f9bbcd4ba2
Fix stats X axis with old videos 2023-10-26 14:43:50 +02:00
Chocobozzz 40a6dcb632
Optimize video views redis calls
Try to avoid them if we can
2023-10-26 14:08:19 +02:00
Chocobozzz 0f21769205
Don't log http request to benchmark views api 2023-10-26 12:30:34 +02:00
Chocobozzz de862fd0e7
Optimize video viewer stats
Many Redis (and so network) calls can be expensive
Avoid them if we can by using in memory cache
2023-10-26 11:35:55 +02:00
Chocobozzz 8ecf95471d
Also remove video session on muxing error 2023-10-26 09:07:26 +02:00
Chocobozzz dd7de7e32d
Don't add a LIMIT 1 to prevent seq scan 2023-10-26 08:36:53 +02:00
Chocobozzz d3dd952cc5
Try to optimize tagsOneOf/tagsAllOf SQL queries
Using a CTE because the query will probably return a few results
I tried a IN clause but PG doesn't seem to be more efficient with it
The CTE seems to be the only choice
2023-10-25 16:15:41 +02:00
Chocobozzz a290fbf821
Add isLive DB index 2023-10-25 15:07:36 +02:00
Chocobozzz 82813e9739
Optimize infohash SQL query
We need to use the array operator to use GIN index
2023-10-25 15:04:00 +02:00
Chocobozzz 360439088d
Skip counting for recommended videos 2023-10-25 14:55:06 +02:00
Chocobozzz cb38deb288
Process unicast job in a worker too
Signing the request can take a long time
2023-10-25 09:43:57 +02:00
Chocobozzz 90db2b3aed
Add ability to disable HTTP logs 2023-10-24 10:57:41 +02:00
Chocobozzz edc3ff6085
Sign JSON objects in worker threads 2023-10-24 10:45:17 +02:00
Chocobozzz 9e2166a16f
Prepare changelog 2023-10-23 14:16:15 +02:00
Chocobozzz 004c9779d2
Update translations 2023-10-23 09:07:08 +02:00
Chocobozzz 40723fb79d
Merge remote-tracking branch 'weblate/develop' into develop 2023-10-23 08:57:59 +02:00
Chocobozzz 18dd8fd541
Upgrade ng-select to fix cross icon accessibility 2023-10-23 08:57:24 +02:00
Aitor Salaberria decc4f7945 Translated using Weblate (Basque)
Currently translated at 66.3% (1486 of 2239 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eu/
2023-10-22 21:32:17 +02:00
Free coss 583340a6ce Translated using Weblate (Arabic)
Currently translated at 85.1% (1907 of 2239 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ar/
2023-10-22 16:51:05 +02:00
Free coss 1839e9a987 Translated using Weblate (Arabic)
Currently translated at 80.3% (1798 of 2239 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ar/
2023-10-22 14:15:51 +02:00
Aitor Salaberria 4dbb9575fc Translated using Weblate (Basque)
Currently translated at 64.8% (1451 of 2239 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eu/
2023-10-22 14:15:45 +02:00
Aitor Salaberria b0c8bb3bd9 Translated using Weblate (Basque)
Currently translated at 63.2% (1416 of 2239 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eu/
2023-10-22 13:20:39 +02:00
Aitor Salaberria fb5d877dc2 Translated using Weblate (Basque)
Currently translated at 58.3% (1306 of 2239 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eu/
2023-10-22 01:23:57 +02:00
Aitor Salaberria 3cf52ac344 Translated using Weblate (Basque)
Currently translated at 56.4% (1265 of 2239 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eu/
2023-10-21 20:14:11 +02:00
Aitor Salaberria 17f5bdea01 Translated using Weblate (Basque)
Currently translated at 55.9% (1252 of 2239 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eu/
2023-10-21 18:33:06 +02:00
Aitor Salaberria e914cf7353 Translated using Weblate (Basque)
Currently translated at 55.2% (1236 of 2239 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eu/
2023-10-21 14:00:44 +02:00
Hồ Nhất Duy 0687f186ed Translated using Weblate (Vietnamese)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/vi/
2023-10-21 06:26:12 +02:00
Filip Hanes d178c11e08 Translated using Weblate (Slovak)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sk/
2023-10-20 17:31:00 +02:00
Александр 6ed7db797a Translated using Weblate (Russian)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ru/
2023-10-20 17:31:00 +02:00
DignifiedSilence a0d290deb9 Translated using Weblate (Japanese)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2023-10-20 17:31:00 +02:00
Free coss 3c5bb11db6 Translated using Weblate (Arabic)
Currently translated at 80.1% (1794 of 2239 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ar/
2023-10-20 17:31:00 +02:00
Jeff Huang 385c55eac8 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2239 of 2239 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
2023-10-20 17:31:00 +02:00
Ihor Hordiichuk d3c41554e6 Translated using Weblate (Ukrainian)
Currently translated at 98.5% (2207 of 2239 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/uk/
2023-10-20 17:31:00 +02:00
Александр 5a3cc6fac5 Translated using Weblate (Russian)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ru/
2023-10-20 17:31:00 +02:00
josé m 85e16cf2d5 Translated using Weblate (Galician)
Currently translated at 100.0% (2239 of 2239 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gl/
2023-10-20 17:31:00 +02:00
Chocobozzz b7f1bc0c33
Fix misc endpoints tests 2023-10-20 17:30:46 +02:00
Chocobozzz 521face89e
Add embed info jsonld in embeds too 2023-10-20 16:15:45 +02:00
Chocobozzz 757ffb2a69
Add peertube version info in openapi doc 2023-10-20 16:09:08 +02:00
Chocobozzz 53fdb2e83e
Fix server build 2023-10-20 16:05:38 +02:00
Chocobozzz a74fe0b69a
Remove unused polyfill
Only needed by ios versions we don't support anymore
2023-10-20 16:00:53 +02:00
Chocobozzz 8e15a31e98
Fix overflow on videos list pages 2023-10-20 16:00:36 +02:00
Chocobozzz f90db24233
Fix SEO and refactor HTML pages generation
* Split methods in multiple classes
 * Add JSONLD tags in embed too
 * Index embeds but use a canonical URL tag (targeting the watch page)
 * Remote objects don't include a canonical URL tag anymore. Instead we
   forbid indexation
 * Canonical URLs now use the official short URL (/w/, /w/p, /a, /c
   etc.)
2023-10-20 16:00:36 +02:00
Chocobozzz e731f4b724
Fix sitemap URL for accounts and channels 2023-10-20 16:00:36 +02:00
Chocobozzz 58daa2d97b
More flexible way to forbid indexation 2023-10-20 16:00:36 +02:00
Chocobozzz 272a902b2a
Optimize video thumbnail generation
Process images in worker threads
Reduce ffmpeg calls
2023-10-20 16:00:36 +02:00