Commit Graph

1283 Commits (e854d57bed56bcbba4d191af54125ae6dd569a88)

Author SHA1 Message Date
Chocobozzz 60d3601371
Fix list overflow 2022-06-10 13:51:12 +02:00
Chocobozzz db66f3914b
Refactor button components 2022-06-10 13:51:12 +02:00
Chocobozzz 0164fc112a
Merge branch 'release/4.2.0' into develop 2022-06-10 10:20:55 +02:00
Chocobozzz bffee1d538
Fix classic select and ng select css inconsistency 2022-06-10 10:18:44 +02:00
Chocobozzz db129781ca
Fix button icon margin 2022-06-10 10:04:23 +02:00
Chocobozzz 9a872b03dd
Fix upload banner icon margin 2022-06-10 09:44:20 +02:00
Chocobozzz 55269c0460
Fix search filters count 2022-06-10 09:40:20 +02:00
Chocobozzz 4c8749cb9e
Migrate to bootstrap 5 2022-06-10 09:21:00 +02:00
Chocobozzz eaa529528c
Support ICU in TS components 2022-06-08 13:40:40 +02:00
luz paz 7a4fd56ccd Fix various typos
Found via `codespell -q 3 -S ./CREDITS.md,./CHANGELOG.md,./client/src/locale,./yarn.lock,./client/yarn.lock -L doubleclick,followings,nd,ot,ro,serie,splitted,tread,truthy`
2022-06-07 16:41:21 +02:00
Chocobozzz 8a2166c9bf
Fix typo 2022-06-01 08:25:41 +02:00
Florian CUNY c6f8ca4d65
Added "total views" in the my channels list (#5007)
* Added "total views" in the my channels list

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

* Fix lint

* applied suggested change

* updated openAPI spec for the use "withStats" when getting video channels

* applied code change

* removed GROUP BY in query

* Fixed test
2022-05-31 16:01:11 +02:00
Chocobozzz ab623c0e0b
Merge branch 'release/4.2.0' into develop 2022-05-25 15:22:28 +02:00
Chocobozzz a220b84b0e
Fix avatars in notifications 2022-05-25 09:37:30 +02:00
Chocobozzz 424aeb12bd
Fix upload avatar button 2022-05-25 08:55:21 +02:00
Jlll1 bf28e1daf1
(#4959) Add 'Originally Published At' sort option in videos pages (#4977)
* Add Original Publication Date sort dropdown option in video filters

* Make the minimal sort dropdown width 250px to acomodate for 'Originally Published At' option

* Improve label

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-05-24 11:42:50 +02:00
Chocobozzz 2139365262
Fix avatar default size 2022-05-23 17:51:48 +02:00
Chocobozzz 60f013e103
Add control bar option for peertube player 2022-05-20 09:59:53 +02:00
Chocobozzz a871d2a273
Add "only display embed URL" in share modal 2022-05-20 09:07:00 +02:00
Chocobozzz 644014cc55
Fix help popover width 2022-05-09 10:54:47 +02:00
Chocobozzz f40712abbb
Add ability to filter overall video stats by date 2022-05-06 14:23:02 +02:00
Chocobozzz 26da644eab
Fix help component z-index 2022-05-04 09:02:59 +02:00
Chocobozzz 39e68a3254
Add session informations in live modal 2022-05-03 15:21:42 +02:00
Chocobozzz 26e3e98ff0
Support live session in server 2022-05-03 14:49:15 +02:00
Chocobozzz dd29842306
Fix subscribe button dropdown position 2022-05-02 13:57:05 +02:00
Chocobozzz 4428ad543e
Fix avatar responsive 2022-05-02 13:46:09 +02:00
Chocobozzz 252e16e158
Remove confusing P2P info in instance features
It's confusing because it depends on user and admin settings
We already display messages in player and watch page if P2P is enabled
2022-05-02 11:31:22 +02:00
Chocobozzz db19581fb2
Add ability to sort by global views 2022-04-15 15:14:32 +02:00
Chocobozzz 2b0d17ccf4
Reduce videos sort complexity
Automatically use best sort if user is logged in and chose hot algorithm
2022-04-15 15:07:20 +02:00
Chocobozzz 384ba8b77a Support videos stats in client 2022-04-15 09:49:35 +02:00
Chocobozzz 851e808dc9
Fix angular build 2022-03-22 18:27:29 +01:00
Chocobozzz a2c5cd4a03
Add reset button for file inputs in studio page 2022-03-22 17:41:39 +01:00
Chocobozzz 92e66e04f7
Rename studio to editor 2022-03-22 17:24:32 +01:00
Chocobozzz 1808a1f8e4
Add video edition finished notification 2022-03-22 16:25:14 +01:00
Chocobozzz 439b6b7bfb
Lazy load charts when listing my channels 2022-03-21 11:40:25 +01:00
Chocobozzz 9ca5728be1
Fix channel edition page 2022-03-21 09:11:11 +01:00
Chocobozzz 22e909224c
Don't allow video edition if not enabled 2022-03-18 16:31:12 +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
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
Robert Riemann 8b8bd0228d open privacy info in user settings dialogue in new window 2022-03-02 08:32:30 +01:00
Chocobozzz f41efa52a4
Fix avatar with username starting with numbers 2022-02-28 16:44:11 +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 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 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
kontrollanten 692a231026 video-playlist: show date and views count
closes #4396
2022-02-03 10:38:47 +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 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 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
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 cc4bf76c13
Handle async validators 2022-01-03 14:20:52 +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 9744bb2ae8
Fix ngx loading bar deprecation 2021-12-29 11:46:26 +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 e6492b2de6
Remove unnecessary onPage event on admin tables 2021-12-24 15:42:55 +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 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 a9bfa85d2c
Add ability for admins to set default p2p policy 2021-12-16 10:08:55 +01:00
Chocobozzz 82c082d9ed
Fix homepage 2021-12-13 10:06:46 +01:00
Chocobozzz 8cf43a6524
Add filter on search results 2021-12-10 11:02:42 +01:00
Chocobozzz 0882c8e650
Merge branch 'release/4.0.0' into develop 2021-12-09 13:41:24 +01:00
Chocobozzz 4b57ebdfe6
Fix theme update when logged in 2021-12-09 13:38:53 +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 247bbe2914
Fix playlist miniature size with big description 2021-11-29 14:20:18 +01:00
Chocobozzz 8afade2607
Introduce plugin id selectors 2021-11-26 17:36:55 +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 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 a7dbc60871
Improve user delete confirmation modal 2021-11-12 09:09:09 +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 df1db951c5
Support RTMPS 2021-11-05 11:38:17 +01:00
Chocobozzz dd6d2a7ce5
Improve advanced input filter 2021-11-03 14:23:55 +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 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 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
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
Poslovitch 9f3bf1432d Added Markdown formatting in playlist descriptions
Implements https://github.com/Chocobozzz/PeerTube/issues/3627
2021-10-26 08:48:17 +02:00
Poslovitch 3c4d6c1d9c Changed label of "sort by views" to "sort by recent views"
Fixes https://github.com/Chocobozzz/PeerTube/issues/4421
2021-10-26 08:37:40 +02:00
Chocobozzz 60dd77c692
Cleanup video playlist element miniature code 2021-10-22 16:05:57 +02:00
Nataly Rocha 382258676c
Add warning and update privacy on share playlist (#4469)
* add warning and update privacy on share

* update playlist display name on toast

* change privacy update to link

* remove conditional

* Improve share private warning styling

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-10-22 15:11:45 +02:00
Chocobozzz ab4001aade
Provide origin URL to client and fix remote share 2021-10-22 14:11:58 +02:00
Chocobozzz fe228901ce
Hide live transcoding features if disabled 2021-10-21 11:00:53 +02:00
Chocobozzz a2c3564a31
Improve moderation dropdown UX 2021-10-21 10:19:42 +02:00
Chocobozzz ebe9b6b3f3
Fix ng select tags height 2021-10-20 14:50:46 +02:00
Chocobozzz 64553e8809
Add ability to filter logs by tags 2021-10-20 14:33:38 +02:00
Chocobozzz d94b8ecf7d
Improve admin tables responsive 2021-10-20 11:35:09 +02:00
Chocobozzz 05c114f5b4
Fix max pagination in find in bulk 2021-10-20 09:25:44 +02:00
Chocobozzz 978c87e7f5
Add channel filters for my videos/followers 2021-10-20 09:25:44 +02:00
Chocobozzz 7e76cc3800
Add quick filter for followers 2021-10-20 09:25:44 +02:00
Chocobozzz 4beda9e12a
Add ability to view my followers 2021-10-20 09:25:44 +02:00
Chocobozzz e960932517
Optimize channel with video in homepage 2021-10-18 15:41:20 +02:00
Chocobozzz 2cc276f92f
Fix find in bulk 2021-10-18 11:44:54 +02:00
Chocobozzz 1e2fe802d1
Force live type specification in first step 2021-10-15 11:45:03 +02:00
Chocobozzz afb7d2d5c6
Remove protractor workaround
We don't use it anymore
2021-10-14 11:50:22 +02:00
Chocobozzz cf0c8ee588
Fix admin edition disabling feature 2021-10-14 11:35:43 +02:00
Chocobozzz 80dea8f4d6
Rename config key 2021-10-12 14:25:30 +02:00
kontrollanten 7399a79f73
add option to always show channel display name (#4422)
* add option to always show channel display name

closes #4040

* show avatar in video miniatures

closes #4040

* Revert "show avatar in video miniatures"

This reverts commit 79b1a84140.

* channel display name: fix review comments
2021-10-12 14:23:44 +02:00
kontrollanten c80e458afb
extend client-overrides with default images (#4392)
* extend client-overrides with default images

Add:
* default-playlist.png
* default-avatar-account.png
* default-avatar-videochannel.png

solves #4108

* Rename to default-avatar-video-channel.png

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-10-12 13:50:40 +02:00
kontrollanten c3bb04413e
add ...playlist.elements.loaded hook (#4387)
* client: add ...playlist.elements.loaded hook

closes #4385

* fix linting error

* client: add playlist metadata to video-watch hooks

* Prefer using a filter for playlist elements hook

Co-authored-by: Chocobozzz <me@florianbigard.com>
2021-10-12 13:45:55 +02:00
Jelle Besseling 8d8a037e3f
Allow configuration to be static/readonly (#4315)
* Allow configuration to be static/readonly

* Make all components disableable

* Improve disabled component styling

* Rename edits allowed field in configuration

* Fix CI
2021-10-12 13:33:44 +02:00
Chocobozzz 9fb2ed5f83
Remove useless assignment 2021-10-11 14:40:00 +02:00
Chocobozzz 0af2a8c5d6
Correctly disable infinite scroll for reuse 2021-10-11 09:37:27 +02:00
Chocobozzz 8a7abfef88
Fix video filters for non english UI 2021-09-08 15:13:12 +02:00
Chocobozzz 9e8a7e0837
Ensure we return a boolean 2021-09-08 10:19:03 +02:00
Chocobozzz 0ea2f79d45
Safer image preview 2021-09-08 10:16:39 +02:00
Ms Kimsible 4546d92e40 Fix undefined this.user.videoChannels on production build 2021-09-08 10:16:33 +02:00
Ms Kimsible b16e0cf248
Fix broken delete buttons of admin federation lists (#4378)
* Add ellipsis on my-delete button of federation admin

* Add ellipsis on button label to define (max-)width on host component

Co-authored-by: Ms Kimsible <kimsible@users.noreply.github.com>
2021-09-08 10:12:38 +02:00
Chocobozzz 02b286f890
More robust webtorrent redundancy download
Avoid issues with inconsistencies between magnet infohash and torrent
infohash, blocking webtorrent upload that will timeout
2021-09-06 16:19:49 +02:00
Chocobozzz 6d210220be
Fix NSFW filter and add tests 2021-09-03 16:35:18 +02:00
Chocobozzz 1199515781
Fix video update redirection id 2021-08-30 09:39:09 +02:00
Chocobozzz 1b20624552
Don't display scope fitler on account/channel pages 2021-08-30 09:37:18 +02:00
Chocobozzz 0dce48c1e2
Custom markup container default to space between 2021-08-26 13:44:54 +02:00
Chocobozzz 98ab5dc810
Remove useless async 2021-08-26 10:01:42 +02:00