Commit Graph

8556 Commits (44abdaff0067054c3871e641801776355eba12eb)

Author SHA1 Message Date
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
Chocobozzz b5e1cd9a30
Handle channel owner update of remote server 2021-12-13 16:03:16 +01:00
Chocobozzz e81193b04b
Use bullseye for production docker image 2021-12-13 15:46:12 +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 11e520b50d
Fix tests doc 2021-12-13 11:17:49 +01:00
Chocobozzz fa66c9a601
Merge branch 'release/4.0.0' into develop 2021-12-13 10:22:05 +01:00
Chocobozzz 82c082d9ed
Fix homepage 2021-12-13 10:06:46 +01:00
Chocobozzz 37a5d6318b
Bumped to version v4.0.0 2021-12-13 09:22:25 +01:00
Chocobozzz 41ec03fcaf
Update changelog 2021-12-13 09:16:41 +01:00
Chocobozzz d63e6d4604
Add ability for plugins to register client routes 2021-12-10 15:01:12 +01:00
Chocobozzz 03a65456f4
Add 'input-checkbox' value warning in doc 2021-12-10 14:13:33 +01:00
Chocobozzz d17d743051
Add upload/import/go live video attributes hooks 2021-12-10 13:51:44 +01:00
Chocobozzz 8cf43a6524
Add filter on search results 2021-12-10 11:02:42 +01:00
Chocobozzz 90701ec1d8
Add hls to prune storage script 2021-12-10 10:28:46 +01:00
Chocobozzz 0fbc0dec59
Fix tests 2021-12-09 15:44:54 +01:00
Chocobozzz 9e847c17f9
No notification on moderator abuse 2021-12-09 14:27:32 +01:00
Chocobozzz 650580504c
Add filter:api.server.stats.get.result hook 2021-12-09 14:09:24 +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 6ba93fa639
Fix torrent metadata update for hls 2021-12-09 11:23:02 +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 9b293cd6a2
Update torrent metadata on video update 2021-12-08 11:07:19 +01:00
Chocobozzz a23f6c94ed
Improve production guide
Add syntax highlighting
Add emoji on section titles to better differenciate each section
2021-12-08 09:44:14 +01:00
Chocobozzz 2d4822e3af
Upgrade multer 2021-12-08 08:58:52 +01:00
kontrollanten 875c402bab scripts/test: make MacOS compatible
man xargs:
     -r      Compatibility with GNU xargs.  The GNU version of xargs runs the utility argument at least once, even if xargs input is empty, and it supports a -r option to inhibit this
             behavior.  The FreeBSD version of xargs does not run the utility argument on empty input, but it supports the -r option for command-line compatibility with GNU xargs, but the
             -r option does nothing in the FreeBSD version of xargs.
2021-12-08 08:38:22 +01:00
Chocobozzz f307255e69
Display server logs when server run fails 2021-12-07 15:20:03 +01:00
Chocobozzz 636d73c588
Merge branch 'release/4.0.0' into develop 2021-12-07 13:47:34 +01:00
Chocobozzz 7e44bd4a6f
Fix services tests 2021-12-07 13:47:26 +01:00
Chocobozzz 4c6757f2fd
Fix live log tags 2021-12-07 13:45:01 +01:00
Chocobozzz 51d811751f
Fix live duration in player 2021-12-07 11:32:19 +01:00
Chocobozzz bdf70330e4
Add account block status in openapi 2021-12-07 11:30:53 +01:00
Chocobozzz d9f9804d86
Merge branch 'release/4.0.0' into develop 2021-12-07 11:06:57 +01:00
Chocobozzz 6e14e40053
Fix iframe allow-popups for oembed 2021-12-07 11:06:35 +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 33675a4775
Increase timeout 2021-12-06 10:05:05 +01:00
Chocobozzz 14a07e0176
Increase yarn timeout
It can be slow when building docker using qemu
2021-12-06 08:57:10 +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