Commit Graph

2624 Commits (9bc3622320dc43474ce4b60c222ec25e6e657b97)

Author SHA1 Message Date
kontrollanten 60233e90d2
add client.videos.upload.maxChunkSize config (#4857)
* add client.videos.upload.maxChunkSize config

* updates after review

* remove maxChunkSize from custom-config
2022-03-16 10:57:36 +01:00
Chocobozzz ff6a266e3f
Clearer theme select labels 2022-03-15 15:19:41 +01:00
Chocobozzz b788e69131
Some fixes for themes 2022-03-15 14:12:37 +01:00
Chocobozzz 57d6503286
Reorganize player files 2022-03-14 14:36:35 +01:00
Chocobozzz 4495806f2f
Merge remote-tracking branch 'weblate/develop' into develop 2022-03-11 11:11:00 +01:00
Chocobozzz 052bdb7c12
Typo 2022-03-11 11:06:45 +01:00
Chocobozzz f443a74649 Add latency setting support 2022-03-09 09:23:10 +01:00
kontrollanten 2c102aac13
Display avatar in video miniatures (#4823)
* show avatar in video miniatures

closes #4040

* fix: videos for api, include avatars

* add config for display video miniature avatar

* Revert "fix: videos for api, include avatars"

This reverts commit 5520a3eda6.

* video-min: set display avatar to false as default

* remove empty line

* rename display_avatar > display_author_avatar

* fix renaming displayAvatar > displayAuthorAvatar
2022-03-08 13:39:27 +01:00
Chocobozzz 77f811ced1
Fix channel avatar in select component 2022-03-02 15:47:04 +01:00
Robert Riemann 8b8bd0228d open privacy info in user settings dialogue in new window 2022-03-02 08:32:30 +01:00
Chocobozzz 19e7a90045
Fix playlist element scrolling 2022-03-01 13:37:40 +01:00
Chocobozzz f41efa52a4
Fix avatar with username starting with numbers 2022-02-28 16:44:11 +01:00
Chocobozzz fbd573e59c
Add refresh button to comments list 2022-02-28 16:37:31 +01:00
Chocobozzz 5a51ecc217
Move admin comments list in overviews menu 2022-02-28 16:27:25 +01:00
Chocobozzz 5273f40afc
Improve stat labels 2022-02-28 15:34:07 +01:00
Chocobozzz 70a8e50a5d Cleanup subtitle edition PR 2022-02-28 14:29:01 +01:00
lutangar 57d74ec83d Add simple subtitle edition from video captions tab
Introduce a new __Edit__ button on a subtitle.
It opens a modal with simple textarea allowing the user to do quick corrections on a subtitle.
2022-02-28 14:29:01 +01:00
Chocobozzz e66d0892b1
Fix listUserChannelsForSelect 2022-02-28 13:45:09 +01:00
Chocobozzz a282e4d8a0 Continue user mute in ban modal PR 2022-02-28 11:36:31 +01:00
Poslovitch 5a8de57d57 Add ability to mute user when banning them
Implements https://github.com/Chocobozzz/PeerTube/issues/1803
2022-02-28 11:36:31 +01:00
Chocobozzz c729caf6cc Add basic video editor support 2022-02-28 10:42:19 +01:00
kontrollanten d0800f7661
Implement avatar miniatures (#4639)
* client: remove unused file

* refactor(client/my-actor-avatar): size from input

Read size from component input instead of scss, to make it possible to
use smaller avatar images when implemented.

* implement avatar miniatures

close #4560

* fix(test): max file size

* fix(search-index): normalize res acc to avatarMini

* refactor avatars to an array

* client/search: resize channel avatar to 120

* refactor(client/videos): remove unused function

* client(actor-avatar): set default size

* fix tests and avatars full result

When findOne is used only an array containting one avatar is returned.

* update migration version and version notations

* server/search: harmonize normalizing

* Cleanup avatar miniature PR

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-02-28 08:34:43 +01:00
Chocobozzz 1d54b2052c
Hide remote subscribe if logged in 2022-02-22 14:38:57 +01:00
Chocobozzz 89e3de8dc6
Reduce latency when adding a video to playlist 2022-02-22 11:41:44 +01:00
Chocobozzz 4edee628a0
Improve account removal message for users 2022-02-22 11:25:03 +01:00
Chocobozzz 0ffa7a0ef3
Don't manage remote channels 2022-02-10 10:41:22 +01:00
Chocobozzz 474542d7ac
Add additional checks when importing a video 2022-02-09 11:54:18 +01:00
Chocobozzz ba8a8367e7
Better display redundancy pies 2022-02-09 11:54:18 +01:00
Chocobozzz c356907b71
Don't display no results if still loading 2022-02-09 11:54:18 +01:00
Chocobozzz 612dd3c3f5
Fix embed margin in share modal 2022-02-09 11:54:18 +01:00
kontrollanten af6b45e5d9 client: show private badge in playlists
closes #2601
2022-02-07 11:24:35 +01:00
Chocobozzz f33e515991
Correctly check import target URL IP 2022-02-07 11:21:25 +01:00
Chocobozzz 4afec73571
Fix scheduled publication on upload 2022-02-07 10:27:08 +01:00
Chocobozzz 21f2df5d3b
Put white background to peertube icons 2022-02-04 13:48:21 +01:00
Chocobozzz c68e2b2d22
Fix plaintext markdown converter 2022-02-04 10:38:32 +01:00
kontrollanten 692a231026 video-playlist: show date and views count
closes #4396
2022-02-03 10:38:47 +01:00
Chocobozzz c4207f978e
Fast forward on HLS decode error 2022-02-02 11:26:18 +01:00
kontrollanten 038e1f3de5
Add refresh button to admin > video list (#4753)
* feat(client/video-list): add refresh btn

* CSS styling

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-02-01 14:47:36 +01:00
Chocobozzz a2caee9f51
Fix HLS re transcoding with object storage enabled 2022-02-01 14:19:44 +01:00
Chocobozzz 8d9c10bc51
Limit scope to local when finding in bulk 2022-01-31 11:15:44 +01:00
Chocobozzz d92d070c91
Split user service 2022-01-21 11:03:25 +01:00
Chocobozzz 82b9a1005c
Fix abuse crash on deleted reporter account 2022-01-20 10:52:50 +01:00
Chocobozzz efd4ff5fbc
Open and close settings modal using query params 2022-01-20 10:11:49 +01:00
Chocobozzz 071f3e519c
Plugins can add custom instance infobox 2022-01-20 09:35:06 +01:00
Chocobozzz 419b520ca4
Add ability to cancel & delete video imports 2022-01-19 14:31:05 +01:00
Chocobozzz 077a413ff8
Automatically restart live on server/live restart 2022-01-19 10:44:12 +01:00
Chocobozzz e8bffe9690
Remove unnecessary function 2022-01-18 11:37:29 +01:00
Chocobozzz c1f7a737cf
Reduce history method names 2022-01-18 11:25:52 +01:00
Chocobozzz 7177b46ca1
Add ability to delete history element 2022-01-18 11:23:41 +01:00
kontrollanten c333ec098d menu: hide undefined icons
Hide my-global-icon when custom menu items are added without icon property.
2022-01-15 09:34:58 +01:00
The Cashew Trader 884b17773d
Fix user ban modal grammar to account for multiple users (#4722)
* Fix user ban modal grammar to account for multiple users

* Address variable sugggestion

* Address property syntax suggestion

* Address localization suggestion

* More concise `isSingleUser` declaration
2022-01-14 15:10:27 +01:00
Chocobozzz edb12cc9a5
Upgrade client dependencies 2022-01-14 14:28:20 +01:00
Chocobozzz 696b45deb6
Fix timestamp click 2022-01-13 13:48:02 +01:00
Chocobozzz fc3412fd4e
Cleanup player hotkeys 2022-01-13 11:16:35 +01:00
Chocobozzz a5a79d1542
Increase player control bar size 2022-01-10 10:08:14 +01:00
Chocobozzz a8454bb26c
Fix button group 2022-01-03 15:17:17 +01:00
Chocobozzz cc4bf76c13
Handle async validators 2022-01-03 14:20:52 +01:00
Chocobozzz e2aeb8ad0f
Replace url when redirecting plugin admin url 2021-12-29 15:05:12 +01:00
Chocobozzz 0628157fe9
Move uuid stuff in extra utils
Since it requires an external dependency
2021-12-29 14:44:58 +01:00
Chocobozzz fb3c9e2bf5
Translate plugin settings 2021-12-29 14:08:07 +01:00
Chocobozzz 2accfdd8ec
Refactor admin plugins 2021-12-29 12:17:11 +01:00
Chocobozzz 9744bb2ae8
Fix ngx loading bar deprecation 2021-12-29 11:46:26 +01:00
Chocobozzz 29aedac8dc
Refactor plugin card 2021-12-29 10:41:48 +01:00
Chocobozzz 087fc5dade
Refactor video edition 2021-12-29 10:20:33 +01:00
Chocobozzz 3c065fe3b3
Enhance plugin video fields
Add video form tab selection
Add ability to display an error
2021-12-29 10:10:01 +01:00
Chocobozzz 61cc1c03bf
Support official plugins 2021-12-28 16:43:03 +01:00
Chocobozzz e6492b2de6
Remove unnecessary onPage event on admin tables 2021-12-24 15:42:55 +01:00
Chocobozzz 807a228071
Fix table all page selection 2021-12-24 15:17:58 +01:00
Florian CUNY 1e9c1b1b44
Move zxx to its own group in select-languages component (#4664)
* Move zxx to its own group in select-languages component

* Fix lint

* Fix lint, again

* Apply requested changes
2021-12-24 09:27:27 +01:00
Chocobozzz dbd9fb44dd
Don't stuck state when move transcoding job failed 2021-12-23 11:13:06 +01:00
Chocobozzz 9d9a37330c
Ensure plugins are loaded for client route 2021-12-17 14:48:38 +01:00
Chocobozzz 3576225156
Fix search result type auto filter 2021-12-17 14:41:52 +01:00
Chocobozzz f304a1580b
Fix build 2021-12-17 13:58:07 +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 a9bfa85d2c
Add ability for admins to set default p2p policy 2021-12-16 10:08:55 +01:00
Chocobozzz 3cf68b869d
Ability for admins to set default upload values 2021-12-14 17:17:01 +01:00
Chocobozzz e2a1ccd174
Add meaning to date short names 2021-12-13 16:44:34 +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 38d69d6501
Update torrents info name on video update 2021-12-08 16:12:49 +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
kontrollanten 28c6556789
add plugin selector to about/menu elements (#4597)
* add plugin selector to about/menu elements

closes #4586

* Update plugin selector names

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-12-03 10:47:47 +01:00
Chocobozzz 8406a9e8ee
Fix forgot password button role 2021-12-03 10:14:17 +01:00
Chocobozzz decbd0b63b
Fix audio upload if not enabled by instance 2021-12-01 13:59:05 +01:00
Chocobozzz 247bbe2914
Fix playlist miniature size with big description 2021-11-29 14:20:18 +01:00
Chocobozzz 71ab0c07cc
Fix player placeholder width 2021-11-29 14:00:15 +01:00
Chocobozzz 8afade2607
Introduce plugin id selectors 2021-11-26 17:36:55 +01:00
Chocobozzz dc4e0ddb74
Improve notification settings UI 2021-11-26 15:29:55 +01:00
Chocobozzz 50a66a69a0
Optimize HLS/WebTorrent videos only 2021-11-25 16:24:15 +01:00
Chocobozzz 7aeb82ea7e
Don't manage remote video files 2021-11-19 08:33:18 +01:00
Chocobozzz 98846837eb
Stop killing peertube in ci script 2021-11-18 15:32:06 +01:00
Chocobozzz ad5db1044c
Add ability to run transcoding jobs 2021-11-18 15:20:57 +01:00
Chocobozzz b46cf4b920
Add ability to remove hls/webtorrent files 2021-11-18 09:04:30 +01:00
Chocobozzz 3cfa817672
Add ability to bulk block videos 2021-11-17 11:18:49 +01:00
Chocobozzz 4bdff96d77
Add local/remote badges 2021-11-17 10:18:57 +01:00
Chocobozzz ac03618098
Don't display log tag filter for audit logs 2021-11-16 10:49:03 +01:00
Chocobozzz e5830ac64b
Fix progress display 2021-11-16 09:13:20 +01:00
Chocobozzz 50fe0eac38
Fix account switch in channels page 2021-11-15 09:19:54 +01:00
Chocobozzz bc84433893
Add more when deleting a video 2021-11-15 09:12:15 +01:00
Chocobozzz 527a52ac42
Add ability to filter out public videos from admin 2021-11-12 14:23:22 +01:00
Chocobozzz 8db19c959e
Remove contributors list from /about/peertube
Some contributors don't want to be associated to a particular peertube
instance
2021-11-12 11:00:51 +01:00
Chocobozzz a7dbc60871
Improve user delete confirmation modal 2021-11-12 09:09:09 +01:00
Chocobozzz cd2fad008a
Update angular 2021-11-10 16:33:55 +01:00
Chocobozzz 1868ff3db9
Fix lint 2021-11-09 16:07:40 +01:00
Chocobozzz 7337a75bf0
Add available themes and plugins in feature table 2021-11-09 15:26:10 +01:00
Chocobozzz 51353d9a03 Refactor video views
Introduce viewers attribute for live videos
Count views for live videos
Reduce delay to see the viewer update for lives
Add ability to configure video views buffer interval and view ip
expiration
2021-11-09 15:00:31 +01:00
Chocobozzz 221ee1adc9 Add transcoding fail message in client 2021-11-09 15:00:21 +01:00
Chocobozzz fe6c962666
Prefer "hide" since filters are not a modal 2021-11-08 11:18:37 +01:00
Chocobozzz 6fd4f8975c
Fix english 2021-11-08 11:17:12 +01:00
Chocobozzz d91b23b11c
Fix jobs state selection badge style 2021-11-05 14:14:31 +01:00
Chocobozzz 3233acdadf
Fix modal button inconsistency 2021-11-05 11:52:25 +01:00
Chocobozzz df1db951c5
Support RTMPS 2021-11-05 11:38:17 +01:00
Florian CUNY 8dd754c767
Added 144p encoding (#4492)
* Added 144p encoding

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

* Fixed typo in core-utils

* Increased BitPerPixel for 144p

* Disabled 144p by default in test.yaml

* Another try at fixing tests

* Fixed test in video-transcoder (api-3)

* Fixed test in video-imports (api-4)

* Fixed test in live-constraints (api-2)

* Tried to fix tests in api-3 again

* Revert "Tried to fix tests in api-3 again"

This reverts commit 266e1143fa37f333d149c2c2791c7bd33621ac14.

* Fixed test in config.ts (api-2)

* Try to fix test in video-hls.ts (api-3)

* Fixed test in video-transcoder.ts (api-3)

* Fix tests

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-11-05 10:23:02 +01:00
Chocobozzz dd6d2a7ce5
Improve advanced input filter 2021-11-03 14:23:55 +01:00
Chocobozzz d324756edb
Add ability to filter by file type 2021-11-03 11:32:41 +01:00
Chocobozzz d5d9c5b79e
Add ability to filter live videos 2021-11-03 09:59:53 +01:00
Chocobozzz 9814ea9f04
Fix lint 2021-11-03 09:40:50 +01:00
Chocobozzz 05ac4ac7ed
Move admin stuff in +admin 2021-11-02 14:14:26 +01:00
Chocobozzz 047f9585dd
Fix select in share modal 2021-11-02 11:52:55 +01:00
Chocobozzz 256fb92e67
Better moderation label 2021-11-02 11:51:23 +01:00
Chocobozzz 231ff4af3b
Add ability to exclude muted accounts 2021-11-02 11:50:03 +01:00
Chocobozzz 61f85385bb
Add admin videos loading animation 2021-11-02 11:17:17 +01:00
Chocobozzz 7e7d8e4853
Some fixes for admin videos list 2021-11-02 11:13:13 +01:00
Chocobozzz f1c861727c
Add ability to preview embed in share modal 2021-11-02 10:01:28 +01:00
Chocobozzz eeae81428e
Remove useless components 2021-10-29 11:52:58 +02:00
Chocobozzz 3c10840fa9 Add video file size info in admin videos list 2021-10-29 11:48:21 +02:00
Chocobozzz 2760b454a7 Deprecate filter video query
Introduce include and isLocal instead
2021-10-29 11:48:21 +02:00
Chocobozzz e4611b5491 Always use my-table-expander-icon 2021-10-29 11:48:21 +02:00
Chocobozzz 33f6dce136 Add videos list admin component 2021-10-29 11:48:21 +02:00
Chocobozzz 00004f7f6b Put admin users in overview tab 2021-10-29 11:48:21 +02:00
Chocobozzz bd898dd76b
Add message if registration is disabled 2021-10-29 11:16:36 +02:00
Florian CUNY db581cf7b9
Added label on the next autoplayed video and hide the hr line if unnecessary (#4497)
* Added label on the next autoplayed video

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

Also hid the hr line if autoplay is disabled

* Applied code suggestion

* Applied code suggestion

* Applied the last remaining code suggestion
2021-10-26 17:15:12 +02:00
Florian CUNY 754b6f5f41
Made the video channels limit (per user) server-wide configurable (#4491)
* Made the video channels limit (per user) server-wide configurable

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

Also added a "quota bar" in the account's settings page

* Fixed lint errors

* Another pass at fixing lint errors

* Applied code suggestions

* Removed 'video channels quota'
2021-10-26 16:42:10 +02:00