Commit Graph

12576 Commits (d7e496d3a39c4b48c56ede0f4ffe82e333d41477)

Author SHA1 Message Date
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
Wicklow ea6c2b064f
Allow to change the default channel name (#6000)
* Allow to change the default channel name

* Fix tests

* Fix tests

* Fix tests
2023-10-19 15:22:00 +02:00
Chocobozzz ae468445b2
Increase other test timeouts 2023-10-18 15:57:11 +02:00
Chocobozzz 0397b31efe
Reduce views tests load 2023-10-18 15:53:17 +02:00
Chocobozzz 830907ec93
Increase test timeouts 2023-10-18 15:53:08 +02:00
Chocobozzz 3546128f95
Workaround to bullmq undefined jobs 2023-10-18 15:46:18 +02:00
Chocobozzz ea01bf0167
Increase tests timeout 2023-10-13 09:59:59 +02:00
Chocobozzz 75d5a23dbc
Prevent error when removing a streaming playlist 2023-10-13 09:59:18 +02:00
Chocobozzz 81a51d4bb1
Fix chapters markers in progress bar
Fix when we update the video source
Fix when we don't have the video duration yet when creating markers
2023-10-12 16:03:20 +02:00