Commit Graph

8651 Commits (6b5f72beda96d8b7e4d6329c4001827334de27dd)

Author SHA1 Message Date
Chocobozzz 6b5f72beda
Move typescript utils in its own directory 2021-12-16 18:04:16 +01:00
Chocobozzz 077f344891
Cleanup types dist before compilation 2021-12-16 18:03:52 +01:00
Chocobozzz 9d1b826b8a
Only expose client types dir for peertube-types 2021-12-16 18:03:24 +01:00
Chocobozzz 41e5b788d9
Fix generate types package script 2021-12-16 17:19:42 +01:00
Chocobozzz b8a4afa4c2
Optimize server eslint 2021-12-16 17:06:52 +01:00
Chocobozzz 754c52b9b9
Add ffprobe helper 2021-12-16 17:00:46 +01:00
Chocobozzz 2e9c7877eb
Add videos.getFiles plugin helper 2021-12-16 16:49:43 +01:00
Chocobozzz 2b6af10e9f
Fix player with audio only resolution 2021-12-16 14:57:00 +01:00
Chocobozzz c501f44119
https://builds.joinpeertube.org/release 2021-12-16 14:35:41 +01:00
Chocobozzz 51872b82a1 Fix tests 2021-12-16 10:17:39 +01:00
lutangar ced38c0ffe fix plugin storage return value when storing a Json array 2021-12-16 10:17:39 +01:00
Chocobozzz 8530211822
Add ability to disable p2p in embed with URL 2021-12-16 10:08:55 +01:00
Chocobozzz b65de1be4d
Use different p2p policy for embeds and webapp 2021-12-16 10:08:55 +01:00
Chocobozzz 9576506763
Add P2P enabled/disabled in player card 2021-12-16 10:08:55 +01:00
Chocobozzz bf1c3c78b0
Hide P2P in player if disabled 2021-12-16 10:08:55 +01:00
Chocobozzz a9bfa85d2c
Add ability for admins to set default p2p policy 2021-12-16 10:08:55 +01:00
Chocobozzz c77fdc605b Fix videos language tests 2021-12-16 10:08:43 +01:00
Chocobozzz 9b3294a849 Fix some build scripts and lint 2021-12-16 10:08:43 +01:00
Chocobozzz 75278e2890 Support sourceMaps 2021-12-16 10:08:43 +01:00
lutangar b8fa3e8c73 refactor(types): create dedicated folder for types package src
fix guide examples and add types package readme

refactor(tsconfig): move back base tsconfig to base directory
2021-12-16 10:08:43 +01:00
lutangar 8b03e2ce1a feat(types): create peertube-types package
Create dedicated Typescript "types" configuration file for each "projects".
Create a types folder which includes every useful ts definition:
- client
- server
- shared
Add tooling to create a proper package, extract dependencies, etc...
Add CI Github task.

refactor(types): publish types package in release script
2021-12-16 10:08:43 +01:00
lutangar 06aad80165 chore(refactor): remove shared folder dependencies to the server
Many files from the `shared` folder were importing files from the `server` folder.
When attempting to use Typescript project references to describe dependencies,
it highlighted a circular dependency beetween `shared` <-> `server`.

The Typescript project forbid such usages.
Using project references greatly improve performance by rebuilding only
the updated project and not all source files.
> see https://www.typescriptlang.org/docs/handbook/project-references.html
2021-12-16 10:08:43 +01:00
Chocobozzz 854f533c12
Fix lint 2021-12-14 17:38:59 +01:00
Chocobozzz 3cf68b869d
Ability for admins to set default upload values 2021-12-14 17:17:01 +01:00
Chocobozzz a6f919e455
Increase timeout 2021-12-14 14:21:29 +01:00
Chocobozzz 14857212f1
Move b frame strategy in transcoding profile
We may use a too high value for some encoders and it allows to specify
custom values/strategy
2021-12-14 10:46:31 +01:00
John Livingston 9234110650 Fix typo. 2021-12-14 09:00:08 +01:00
Chocobozzz ab18fadfd1
Fix AP audience 2021-12-13 17:33:59 +01:00
Chocobozzz 97f026c7f0
Fix nn/nb locales 2021-12-13 17:23:08 +01:00
Chocobozzz 56cdd9973b
Update translations 2021-12-13 17:08:13 +01:00
Chocobozzz 9f54cf97ec
Merge remote-tracking branch 'weblate/develop' into develop 2021-12-13 17:07:05 +01:00
Jiri Podhorecky d0358f44dc Translated using Weblate (Czech)
Currently translated at 98.3% (1853 of 1884 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 17:06:45 +01:00
Chocobozzz 66175ae8b4
Support nn and nb locales 2021-12-13 17:06:44 +01:00
Chocobozzz e2a1ccd174
Add meaning to date short names 2021-12-13 16:44:34 +01:00
Chocobozzz 42fea41a48
Update translations 2021-12-13 16:36:56 +01:00
Berto Te 4abfb1cd17 Translated using Weblate (Spanish)
Currently translated at 100.0% (119 of 119 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/es/
2021-12-13 16:25:27 +01:00
Berto Te bf4dd11973 Translated using Weblate (Spanish)
Currently translated at 100.0% (119 of 119 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/es/
2021-12-13 16:25:27 +01:00
Tony Simoes dad81843c2 Translated using Weblate (Spanish)
Currently translated at 100.0% (119 of 119 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/es/
2021-12-13 16:25:27 +01:00
Berto Te 280ca53eeb Translated using Weblate (Spanish)
Currently translated at 100.0% (119 of 119 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/es/
2021-12-13 16:25:27 +01:00
Tony Simoes f10933c43e Translated using Weblate (Spanish)
Currently translated at 100.0% (119 of 119 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/es/
2021-12-13 16:25:27 +01:00
Berto Te 6c292e3fb3 Translated using Weblate (Spanish)
Currently translated at 100.0% (119 of 119 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/es/
2021-12-13 16:25:27 +01:00
Tony Simoes 46cb03547b Translated using Weblate (Spanish)
Currently translated at 100.0% (119 of 119 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/es/
2021-12-13 16:25:27 +01:00
Tony Simoes 40bf5c5724 Translated using Weblate (Spanish)
Currently translated at 100.0% (249 of 249 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/es/
2021-12-13 16:25:27 +01:00
Tony Simoes 45adc71f71 Translated using Weblate (Spanish)
Currently translated at 100.0% (1878 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/
2021-12-13 16:25:27 +01:00
Ihor Hordiichuk 4ce76651cf Translated using Weblate (Ukrainian)
Currently translated at 62.6% (1177 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/uk/
2021-12-13 16:25:27 +01:00
Asier Iturralde Sarasola 5b4788f60a Translated using Weblate (Basque)
Currently translated at 100.0% (119 of 119 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/eu/
2021-12-13 16:25:27 +01:00
Ihor Hordiichuk d01972475e Translated using Weblate (Ukrainian)
Currently translated at 57.3% (1077 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/uk/
2021-12-13 16:25:27 +01:00
Asier Iturralde Sarasola b0887f5ef7 Translated using Weblate (Basque)
Currently translated at 41.4% (778 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eu/
2021-12-13 16:25:27 +01:00
DignifiedSilence e4dc4d059c Translated using Weblate (Japanese)
Currently translated at 84.3% (1584 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2021-12-13 16:25:27 +01:00
DignifiedSilence f5966a2fdf Translated using Weblate (Japanese)
Currently translated at 82.4% (1548 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2021-12-13 16:25:27 +01:00