Commit Graph

12610 Commits (f6af3f701c2e07befeea87021e7a85b030d80434)

Author SHA1 Message Date
Chocobozzz 276f5fa24f
Fix peertube runner build 2023-08-18 07:54:31 +02:00
Chocobozzz 869c5c7b5c
Update openapi version 2023-08-17 15:18:27 +02:00
Chocobozzz 5ab73a4570
Improve plugin guide 2023-08-17 15:18:27 +02:00
Yehuda Deutsch f7882ca3eb Switch from debian bullseye to bookworm 2023-08-17 15:18:21 +02:00
Chocobozzz a5bde7ad60
Fix benchmark script 2023-08-17 15:03:27 +02:00
Chocobozzz 23092139a6
Better abuse style of removed videos 2023-08-17 14:34:49 +02:00
Chocobozzz c5f8dc0533
Correctly truncate HTML
We can because we don't use the video truncated description since v5.0
2023-08-17 14:34:49 +02:00
Chocobozzz e4f82eaa8b
Remove invalid timeout 2023-08-17 14:34:49 +02:00
John Livingston e6c12444aa Enhance registerClientRoute documentation:
Adding the path on which routes created with registerClientRoute are
available.
2023-08-17 13:38:26 +02:00
Chocobozzz cb78deba47
Fix broken links 2023-08-17 09:46:24 +02:00
Chocobozzz 0632cdda04
Fix build 2023-08-17 09:24:45 +02:00
Chocobozzz c380e39285
Merge branch 'feature/esm-and-nx' into develop 2023-08-17 08:59:21 +02:00
Chocobozzz 3a4992633e
Migrate server to ESM
Sorry for the very big commit that may lead to git log issues and merge
conflicts, but it's a major step forward:

 * Server can be faster at startup because imports() are async and we can
   easily lazy import big modules
 * Angular doesn't seem to support ES import (with .js extension), so we
   had to correctly organize peertube into a monorepo:
    * Use yarn workspace feature
    * Use typescript reference projects for dependencies
    * Shared projects have been moved into "packages", each one is now a
      node module (with a dedicated package.json/tsconfig.json)
    * server/tools have been moved into apps/ and is now a dedicated app
      bundled and published on NPM so users don't have to build peertube
      cli tools manually
    * server/tests have been moved into packages/ so we don't compile
      them every time we want to run the server
 * Use isolatedModule option:
   * Had to move from const enum to const
     (https://www.typescriptlang.org/docs/handbook/enums.html#objects-vs-enums)
   * Had to explictely specify "type" imports when used in decorators
 * Prefer tsx (that uses esbuild under the hood) instead of ts-node to
   load typescript files (tests with mocha or scripts):
     * To reduce test complexity as esbuild doesn't support decorator
       metadata, we only test server files that do not import server
       models
     * We still build tests files into js files for a faster CI
 * Remove unmaintained peertube CLI import script
 * Removed some barrels to speed up execution (less imports)
2023-08-11 15:02:33 +02:00
Chocobozzz a8ca6190fb
Fix youtube-dl tests 2023-08-09 11:09:06 +02:00
Chocobozzz 04d1da5621
Update translations 2023-07-31 10:03:03 +02:00
Sveinn í Felli ad0515e962 Translated using Weblate (Icelandic)
Currently translated at 100.0% (2219 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/is/
2023-07-31 09:36:19 +02:00
Shun Sakai f060fb7890 Translated using Weblate (Japanese)
Currently translated at 100.0% (271 of 271 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/ja/
2023-07-31 09:36:19 +02:00
Blood Axe a190f53b07 Translated using Weblate (Norwegian Bokmål)
Currently translated at 83.7% (1858 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nb_NO/
2023-07-31 09:36:19 +02:00
Blood Axe cf4aa3b50d Translated using Weblate (Norwegian Bokmål)
Currently translated at 77.6% (1723 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nb_NO/
2023-07-31 09:36:19 +02:00
Ihor Hordiichuk b77baa8dd7 Translated using Weblate (Ukrainian)
Currently translated at 98.5% (2186 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/uk/
2023-07-31 09:36:19 +02:00
Ihor Hordiichuk 53e765aa43 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (141 of 141 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/uk/
2023-07-31 09:36:19 +02:00
Ihor Hordiichuk caf5fddb63 Translated using Weblate (Ukrainian)
Currently translated at 98.2% (2181 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/uk/
2023-07-31 09:36:19 +02:00
Ihor Hordiichuk c333fcd4c1 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (141 of 141 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/uk/
2023-07-31 09:36:19 +02:00
Ihor Hordiichuk 3264b91797 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (269 of 269 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/uk/
2023-07-31 09:36:19 +02:00
Ihor Hordiichuk 71e3d66ad1 Translated using Weblate (Ukrainian)
Currently translated at 98.2% (2181 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/uk/
2023-07-31 09:36:19 +02:00
T.S 335bf9d159 Translated using Weblate (Japanese)
Currently translated at 100.0% (2219 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2023-07-31 09:36:19 +02:00
DignifiedSilence eab39eeaa2 Translated using Weblate (Japanese)
Currently translated at 100.0% (2219 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2023-07-31 09:36:19 +02:00
DignifiedSilence 43900e44a5 Translated using Weblate (Japanese)
Currently translated at 99.9% (2218 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2023-07-31 09:36:19 +02:00
Sveinn í Felli 8eb672b901 Translated using Weblate (Icelandic)
Currently translated at 100.0% (2219 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/is/
2023-07-31 09:36:19 +02:00
Hannes Ylä-Jääski 87554129c1 Translated using Weblate (Finnish)
Currently translated at 100.0% (141 of 141 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/fi/
2023-07-31 09:36:19 +02:00
Hannes Ylä-Jääski 7c17c6e088 Translated using Weblate (Finnish)
Currently translated at 100.0% (271 of 271 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/fi/
2023-07-31 09:36:19 +02:00
Hannes Ylä-Jääski e5ac2bd89d Translated using Weblate (Finnish)
Currently translated at 93.8% (2082 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fi/
2023-07-31 09:36:19 +02:00
Александр ce551c05ef Translated using Weblate (Russian)
Currently translated at 100.0% (2219 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ru/
2023-07-31 09:36:19 +02:00
Milo Ivir 64c25db21c Translated using Weblate (Croatian)
Currently translated at 100.0% (269 of 269 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/hr/
2023-07-31 09:36:19 +02:00
Александр 44a3c5e60b Translated using Weblate (Russian)
Currently translated at 99.0% (2199 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ru/
2023-07-31 09:36:19 +02:00
Milo Ivir e28d3fd8cf Translated using Weblate (Croatian)
Currently translated at 100.0% (2219 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/hr/
2023-07-31 09:36:19 +02:00
Milo Ivir dfa93a67c4 Translated using Weblate (Croatian)
Currently translated at 100.0% (140 of 140 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/hr/
2023-07-31 09:36:19 +02:00
Jeff Huang 3bde8546cf Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2219 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
2023-07-31 09:36:19 +02:00
Milo Ivir 37371739ab Translated using Weblate (Croatian)
Currently translated at 99.9% (2217 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/hr/
2023-07-31 09:36:19 +02:00
Ihor Hordiichuk 29594b0e7a Translated using Weblate (Ukrainian)
Currently translated at 98.2% (2181 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/uk/
2023-07-31 09:36:19 +02:00
Milo Ivir afdc22fb24 Translated using Weblate (Croatian)
Currently translated at 99.8% (2216 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/hr/
2023-07-31 09:36:19 +02:00
Milo Ivir d8c0ffc2b5 Translated using Weblate (Croatian)
Currently translated at 100.0% (269 of 269 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/hr/
2023-07-31 09:36:19 +02:00
Milo Ivir a902f3afcf Translated using Weblate (Croatian)
Currently translated at 99.7% (2213 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/hr/
2023-07-31 09:36:19 +02:00
Milo Ivir 533a4a61f4 Translated using Weblate (Croatian)
Currently translated at 99.0% (2197 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/hr/
2023-07-31 09:36:19 +02:00
Payman Moghadam 0bfa26f9cf Translated using Weblate (Persian)
Currently translated at 98.9% (2196 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fa/
2023-07-31 09:36:18 +02:00
Ihor Hordiichuk 9b7b784083 Translated using Weblate (Ukrainian)
Currently translated at 97.5% (2165 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/uk/
2023-07-31 09:36:18 +02:00
Payman Moghadam ab84f2802d Translated using Weblate (Persian)
Currently translated at 98.9% (2196 of 2219 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fa/
2023-07-31 09:36:18 +02:00
Chocobozzz 3229fcf704
More robust logs tests 2023-07-31 09:35:48 +02:00
Chocobozzz 5e1ced7067
Fix live tests 2023-07-31 09:31:28 +02:00
Chocobozzz 257df4cb56
Remove deprecated "views" from live video event 2023-07-28 16:35:57 +02:00