Commit Graph

7466 Commits

Author SHA1 Message Date
Chocobozzz 863ef63805
Fix typo 2023-08-18 13:43:55 +02:00
Chocobozzz 7ace48819e
Add ability to reset originallyPublishedAt 2023-08-18 11:40:54 +02:00
Chocobozzz ca589b42f1
Fix button router link
Using the default one assigns the directive to the host, where we just
want to put it inside the `my-button` component
2023-08-18 11:09:34 +02:00
Chocobozzz 5f79f37d10
Remove useless information 2023-08-18 10:39:49 +02:00
Chocobozzz 8e4fba97b2
Automatically adapt player ratio 2023-08-18 09:48:45 +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 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 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 e390107e5a
Fix add to playlist button width 2023-07-28 15:55:49 +02:00
Chocobozzz f9ac050a35
Remove unnecessary workarounds
Has been fixed upstream
2023-07-28 15:46:14 +02:00
Chocobozzz 3193ac2c3b
Refactor a little bit nsfwPolicyToParam 2023-07-28 15:37:22 +02:00
Chocobozzz 65bb29c6d3
Remove unnecesary fixme/todo 2023-07-28 15:20:49 +02:00
Chocobozzz 2bfc8ce3d0
Remove unnecessary cast 2023-07-28 11:41:17 +02:00
Chocobozzz f932957b2e
Remove banner/avatar fields from channel/account
Deprecated since 4.2
2023-07-28 11:41:14 +02:00
Chocobozzz 89aa333110
Add ability to force transcoding 2023-07-28 11:09:03 +02:00
Chocobozzz ac8f81e373
Reduce hls.js not supported log
Happens often on iOS
2023-07-28 09:18:12 +02:00
Chocobozzz 809fecf2b4
Correctly dispose player components 2023-07-27 14:49:58 +02:00