Commit Graph

4742 Commits

Author SHA1 Message Date
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
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
Chocobozzz 3cf68b869d
Ability for admins to set default upload values 2021-12-14 17:17:01 +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
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 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
DignifiedSilence ebe3547426 Translated using Weblate (Japanese)
Currently translated at 80.7% (1517 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 cee98b7bc7 Translated using Weblate (Japanese)
Currently translated at 80.5% (1513 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2021-12-13 16:25:27 +01:00
Tirifto 81cfd0a261 Translated using Weblate (Esperanto)
Currently translated at 88.8% (1668 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eo/
2021-12-13 16:25:27 +01:00
DignifiedSilence 87e7d31f47 Translated using Weblate (Japanese)
Currently translated at 78.7% (1479 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 98c02477e0 Translated using Weblate (Japanese)
Currently translated at 76.8% (1444 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 f465cfeb66 Translated using Weblate (Japanese)
Currently translated at 71.4% (1342 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2021-12-13 16:25:26 +01:00
Tirifto 693c1513b1 Translated using Weblate (Esperanto)
Currently translated at 86.2% (1620 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eo/
2021-12-13 16:25:26 +01:00
DignifiedSilence dc00c94f15 Translated using Weblate (Japanese)
Currently translated at 70.6% (1327 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky e000dc9def Translated using Weblate (Czech)
Currently translated at 100.0% (1878 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
DignifiedSilence 409bdfd3aa Translated using Weblate (Japanese)
Currently translated at 70.0% (1316 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ja/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky 35b741321e Translated using Weblate (Czech)
Currently translated at 100.0% (1878 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky bfa1e6a2b5 Translated using Weblate (Czech)
Currently translated at 92.1% (1731 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky f1c8cb0c05 Translated using Weblate (Czech)
Currently translated at 91.2% (1714 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky 9ba032b54f Translated using Weblate (Czech)
Currently translated at 91.2% (1713 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky bb2547021d Translated using Weblate (Czech)
Currently translated at 91.1% (1711 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky 7d662412dd Translated using Weblate (Czech)
Currently translated at 91.0% (1709 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky 68e7080938 Translated using Weblate (Czech)
Currently translated at 90.8% (1707 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky 34b172bdec Translated using Weblate (Czech)
Currently translated at 90.7% (1704 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky d716bf7ae8 Translated using Weblate (Czech)
Currently translated at 90.6% (1703 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky a20dc957af Translated using Weblate (Czech)
Currently translated at 90.5% (1701 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky ebaee66fae Translated using Weblate (Czech)
Currently translated at 90.4% (1699 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky 2781cf2f4f Translated using Weblate (Czech)
Currently translated at 90.3% (1697 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky ec25410fa5 Translated using Weblate (Czech)
Currently translated at 90.2% (1695 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Tirifto 8d2806ad92 Translated using Weblate (Esperanto)
Currently translated at 84.5% (1587 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/eo/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky 4abfb6ccdc Translated using Weblate (Czech)
Currently translated at 89.9% (1689 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Simon Brosdetzko 427651b718 Translated using Weblate (German)
Currently translated at 100.0% (1878 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/de/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky 7ba92efbe6 Translated using Weblate (Czech)
Currently translated at 84.6% (1590 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky 256b510704 Translated using Weblate (Czech)
Currently translated at 81.5% (1531 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky 78f6b6cc6a Translated using Weblate (Czech)
Currently translated at 80.1% (1506 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky ed8908d05e Translated using Weblate (Czech)
Currently translated at 80.0% (1504 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky d321dc0992 Translated using Weblate (Czech)
Currently translated at 79.8% (1499 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
josé m b71eb1319f Translated using Weblate (Galician)
Currently translated at 100.0% (1878 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gl/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky 20d5b0b30e Translated using Weblate (Czech)
Currently translated at 79.4% (1493 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky c4fe147682 Translated using Weblate (Czech)
Currently translated at 79.4% (1492 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Hồ Nhất Duy 0058ae56e7 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (119 of 119 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/vi/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky 6e414ba4f1 Translated using Weblate (Czech)
Currently translated at 100.0% (119 of 119 strings)

Translation: PeerTube/player
Translate-URL: https://weblate.framasoft.org/projects/peertube/player/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky fb4d857b4b Translated using Weblate (Czech)
Currently translated at 100.0% (249 of 249 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky c4b0dfe90c Translated using Weblate (Czech)
Currently translated at 79.1% (1486 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Hồ Nhất Duy f0f732be66 Translated using Weblate (Vietnamese)
Currently translated at 100.0% (1878 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/vi/
2021-12-13 16:25:26 +01:00
Zet 66859a3309 Translated using Weblate (Arabic)
Currently translated at 78.7% (1478 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ar/
2021-12-13 16:25:26 +01:00
Filip Bengtsson df03dfc4f6 Translated using Weblate (Swedish)
Currently translated at 100.0% (249 of 249 strings)

Translation: PeerTube/server
Translate-URL: https://weblate.framasoft.org/projects/peertube/server/sv/
2021-12-13 16:25:26 +01:00
Filip Bengtsson 1d0602c227 Translated using Weblate (Swedish)
Currently translated at 99.8% (1876 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sv/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky 07772c9ac3 Translated using Weblate (Czech)
Currently translated at 70.7% (1328 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
kontrollanten ed76c6f0e4 Translated using Weblate (Swedish)
Currently translated at 99.3% (1866 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sv/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky d30edadc69 Translated using Weblate (Czech)
Currently translated at 66.0% (1240 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky 44abdaff00 Translated using Weblate (Czech)
Currently translated at 65.4% (1229 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Benoît Piédallu 2b10edabea Translated using Weblate (French)
Currently translated at 100.0% (1706 of 1706 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr/
2021-12-13 16:25:26 +01:00
Jiri Podhorecky f5cba6e9d3 Translated using Weblate (Czech)
Currently translated at 63.7% (1197 of 1878 strings)

Translation: PeerTube/angular
Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/cs/
2021-12-13 16:25:26 +01:00
Florian CUNY 81547acb25
Added "zxx" (no linguistic content) in available video languages (#4631)
* Added "zxx" (no linguistic content) in available video languages

Implements https://github.com/Chocobozzz/PeerTube/issues/1489

* FIx lint

* Fix lint

* Put other languages below instance languages

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-12-13 15:32:14 +01:00
kontrollanten a37e9e74ff
Give moderators access to edit channels (#4608)
* give admins access to edit all channels

closes #4598

* test(channels): +admin update another users channel

* Fix tests

* fix(server): delete another users channel

Since the channel owner isn't necessary the auth user we need to check
the right account whether it's the last video or not.

* REMOVE_ANY_VIDEO_CHANNEL > MANAGE_ANY_VIDEO_CHANNEL

Merge REMOVE_ANY_VIDEO_CHANNEL and MANY_VIDEO_CHANNELS to
MANAGE_ANY_VIDEO_CHANNEL.

* user-right: moderator can't manage admins channel

* client: MyVideoChannelCreateComponent > VideoChannelCreateComponent

* client: MyVideoChannelEdit > VideoChannelEdit

* Revert "user-right: moderator can't manage admins channel"

This reverts commit 2c627c154e.

* server: clean dupl validator functionality

* fix ensureUserCanManageChannel usage

It's not async anymore.

* server: merge channel validator middleares

ensureAuthUserOwnsChannelValidator & ensureUserCanManageChannel gets
merged into one middleware.

* client(VideoChannelEdit): redirect to prev route

* fix(VideoChannels): handle anon users

* client: new routes for create/update channel

* Refactor channel validators

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-12-13 15:29:13 +01:00
Chocobozzz 82c082d9ed
Fix homepage 2021-12-13 10:06:46 +01:00
Chocobozzz d63e6d4604
Add ability for plugins to register client routes 2021-12-10 15:01:12 +01:00
Chocobozzz 8cf43a6524
Add filter on search results 2021-12-10 11:02:42 +01:00
Chocobozzz a554bc1a26
Merge branch 'release/4.0.0' into develop 2021-12-09 13:54:29 +01:00
Chocobozzz 37f951c80a
Fix lint 2021-12-09 13:54:06 +01:00
Chocobozzz 0882c8e650
Merge branch 'release/4.0.0' into develop 2021-12-09 13:41:24 +01:00
Chocobozzz 2e694a3b98
Fix homepage title 2021-12-09 13:41:16 +01:00
Chocobozzz 4b57ebdfe6
Fix theme update when logged in 2021-12-09 13:38:53 +01:00
Chocobozzz 2acb622cb8
Remove unused code 2021-12-09 10:51:19 +01:00
Chocobozzz dc9ff3128f
Improve control bar inactivity handling
Keep opened when user is in control bar settings
Faster hidding transition for control bar
2021-12-09 10:33:32 +01:00
Chocobozzz 07d6044e21
Focus player after fullscreen 2021-12-09 09:41:26 +01:00
Chocobozzz 38d69d6501
Update torrents info name on video update 2021-12-08 16:12:49 +01:00
Chocobozzz 51d811751f
Fix live duration in player 2021-12-07 11:32:19 +01:00
Chocobozzz d9f9804d86
Merge branch 'release/4.0.0' into develop 2021-12-07 11:06:57 +01:00
Chocobozzz ae9809a7d0
Fix report modal error 2021-12-07 11:05:45 +01:00
Chocobozzz 80badf493a
Add mute status in account and channel pages 2021-12-07 09:46:01 +01:00
Chocobozzz 0bc53e2029
Add ability to redirect users on external auth 2021-12-03 17:04:47 +01:00
Chocobozzz d1a233d8d8
Merge branch 'release/4.0.0' into develop 2021-12-03 16:04:56 +01:00
Chocobozzz 5bd427e01c
Fix search on ios 2021-12-03 16:04:45 +01:00
Chocobozzz 9ea02c48a7
Merge branch 'release/4.0.0' into develop 2021-12-03 14:40:52 +01:00
Chocobozzz 453537426a
Fix too long filename video upload 2021-12-03 14:23:45 +01:00
Chocobozzz e78acf81ff
Fix additional extensions admin config description 2021-12-03 14:12:46 +01:00