Commit Graph

3112 Commits

Author SHA1 Message Date
Chocobozzz ed22eaabfa
Fix terms/code of conduct link toggle 2023-07-12 10:22:43 +02:00
Chocobozzz c57ad141a9
Rename webtorrent config to web_videos 2023-07-11 09:52:14 +02:00
Chocobozzz 784e2ad5c3
Prefer web videos in favour of webtorrent 2023-07-11 09:21:13 +02:00
Chocobozzz a1bd2b77d9
Remove webtorrent support from client 2023-07-10 16:08:28 +02:00
Chocobozzz 8ef866071f
Fix fetching storyboard of password protected video 2023-06-29 14:22:13 +02:00
Chocobozzz 19aeb64b25
Better channel deletion message 2023-06-29 10:19:55 +02:00
Chocobozzz 180d8f297e
More robust wait transcoding checkbox display 2023-06-29 10:19:55 +02:00
Chocobozzz d8f39b126d
Add storyboard support 2023-06-29 10:16:55 +02:00
Chocobozzz 866c5f667d
Simplify ICU in components 2023-06-29 09:49:06 +02:00
Wicklow 40346ead2b
Feature/password protected videos (#5836)
* Add server endpoints

* Refactoring test suites

* Update server and add openapi documentation

* fix compliation and tests

* upload/import password protected video on client

* add server error code

* Add video password to update resolver

* add custom message when sharing pw protected video

* improve confirm component

* Add new alert in component

* Add ability to watch protected video on client

* Cannot have password protected replay privacy

* Add migration

* Add tests

* update after review

* Update check params tests

* Add live videos test

* Add more filter test

* Update static file privacy test

* Update object storage tests

* Add test on feeds

* Add missing word

* Fix tests

* Fix tests on live videos

* add embed support on password protected videos

* fix style

* Correcting data leaks

* Unable to add password protected privacy on replay

* Updated code based on review comments

* fix validator and command

* Updated code based on review comments
2023-06-29 09:48:55 +02:00
Chocobozzz 7d758898dc
Alphabetical order for channels filter 2023-06-19 11:18:56 +02:00
Chocobozzz 7c77ace9a7
Fix languages alphabetical sort 2023-06-19 10:11:23 +02:00
Chocobozzz 58af76dc4e
Fix REST API menu link 2023-06-07 08:26:10 +02:00
Chocobozzz 25d7cc3cb6
Fix custom default route link 2023-06-05 10:33:35 +02:00
Chocobozzz ae51278920
Fix video channels quick filter overflow 2023-06-05 10:19:23 +02:00
Chocobozzz a45e2971f7
Don't display unknown information 2023-06-05 08:50:54 +02:00
Chocobozzz 4b70c278a9
Automatic colspan for tables 2023-05-26 10:27:02 +02:00
Chocobozzz 4958e9e56e
Fix video edit page overflow 2023-05-25 16:09:47 +02:00
Chocobozzz ffc424259e
Fix scss lint 2023-05-25 14:36:17 +02:00
Chocobozzz 38358661e0
Add tooltip to plugin auth
In case the cell is truncated
2023-05-25 13:43:15 +02:00
Chocobozzz 98eacc80d3
Remove invalid console logs 2023-05-25 08:45:37 +02:00
Chocobozzz f9fc41cb88
Broadcast message level should be translated 2023-05-24 17:37:45 +02:00
Chocobozzz b99ee1b150
Better label for default transcoding profile 2023-05-24 17:35:39 +02:00
Chocobozzz b14e3c3de9
Add contained in playlists badges gap 2023-05-24 17:25:09 +02:00
Chocobozzz f9735a9e88
Fix notification settings 2023-05-24 17:22:40 +02:00
Chocobozzz 431ebbd5e4
Migrate deprecated accordion component 2023-05-24 17:13:57 +02:00
Chocobozzz 5490930428
Remove suppressImplicitAnyIndexErrors
It's deprecated by TS
2023-05-24 16:56:05 +02:00
Chocobozzz d0fbc9fd0a
Fix lint 2023-05-24 15:27:15 +02:00
Chocobozzz 52798aa5f2
Update angular 2023-05-23 11:27:09 +02:00
Chocobozzz 41cde76bbf
Update common client packages 2023-05-23 09:42:10 +02:00
Alecks Gates cb0eda5602
Add Podcast RSS feeds (#5487)
* Initial test implementation of Podcast RSS

This is a pretty simple implementation to add support for The Podcast Namespace in RSS -- instead of affecting the existing RSS implementation, this adds a new UI option.

I attempted to retain compatibility with the rest of the RSS feed implementation as much as possible and have created a temporary fork of the "pfeed" library to support this effort.

* Update to pfeed-podcast 1.2.2

* Initial test implementation of Podcast RSS

This is a pretty simple implementation to add support for The Podcast Namespace in RSS -- instead of affecting the existing RSS implementation, this adds a new UI option.

I attempted to retain compatibility with the rest of the RSS feed implementation as much as possible and have created a temporary fork of the "pfeed" library to support this effort.

* Update to pfeed-podcast 1.2.2

* Initial test implementation of Podcast RSS

This is a pretty simple implementation to add support for The Podcast Namespace in RSS -- instead of affecting the existing RSS implementation, this adds a new UI option.

I attempted to retain compatibility with the rest of the RSS feed implementation as much as possible and have created a temporary fork of the "pfeed" library to support this effort.

* Update to pfeed-podcast 1.2.2

* Add correct feed image to RSS channel

* Prefer HLS videos for podcast RSS

Remove video/stream titles, add optional height attribute to podcast RSS

* Prefix podcast RSS images with root server URL

* Add optional video query support to include captions

* Add transcripts & person images to podcast RSS feed

* Prefer webseed/webtorrent files over HLS fragmented mp4s

* Experimentally adding podcast fields to basic config page

* Add validation for new basic config fields

* Don't include "content" in podcast feed, use full description for "description"

* Initial test implementation of Podcast RSS

This is a pretty simple implementation to add support for The Podcast Namespace in RSS -- instead of affecting the existing RSS implementation, this adds a new UI option.

I attempted to retain compatibility with the rest of the RSS feed implementation as much as possible and have created a temporary fork of the "pfeed" library to support this effort.

* Update to pfeed-podcast 1.2.2

* Add correct feed image to RSS channel

* Prefer HLS videos for podcast RSS

Remove video/stream titles, add optional height attribute to podcast RSS

* Prefix podcast RSS images with root server URL

* Add optional video query support to include captions

* Add transcripts & person images to podcast RSS feed

* Prefer webseed/webtorrent files over HLS fragmented mp4s

* Experimentally adding podcast fields to basic config page

* Add validation for new basic config fields

* Don't include "content" in podcast feed, use full description for "description"

* Add medium/socialInteract to podcast RSS feeds. Use HTML for description

* Change base production image to bullseye, install prosody in image

* Add liveItem and trackers to Podcast RSS feeds

Remove height from alternateEnclosure, replaced with title.

* Clear Podcast RSS feed cache when live streams start/end

* Upgrade to Node 16

* Refactor clearCacheRoute to use ApiCache

* Remove unnecessary type hint

* Update dockerfile to node 16, install python-is-python2

* Use new file paths for captions/playlists

* Fix legacy videos in RSS after migration to object storage

* Improve method of identifying non-fragmented mp4s in podcast RSS feeds

* Don't include fragmented MP4s in podcast RSS feeds

* Add experimental support for podcast:categories on the podcast RSS item

* Fix undefined category when no videos exist

Allows for empty feeds to exist (important for feeds that might only go live)

* Add support for podcast:locked -- user has to opt in to show their email

* Use comma for podcast:categories delimiter

* Make cache clearing async

* Fix merge, temporarily test with pfeed-podcast

* Syntax changes

* Add EXT_MIMETYPE constants for captions

* Update & fix tests, fix enclosure mimetypes, remove admin email

* Add test for podacst:socialInteract

* Add filters hooks for podcast customTags

* Remove showdown, updated to pfeed-podcast 6.1.2

* Add 'action:api.live-video.state.updated' hook

* Avoid assigning undefined category to podcast feeds

* Remove nvmrc

* Remove comment

* Remove unused podcast config

* Remove more unused podcast config

* Fix MChannelAccountDefault type hint missed in merge

* Remove extra line

* Re-add newline in config

* Fix lint errors for isEmailPublic

* Fix thumbnails in podcast feeds

* Requested changes based on review

* Provide podcast rss 2.0 only on video channels

* Misc cleanup for a less messy PR

* Lint fixes

* Remove pfeed-podcast

* Add peertube version to new hooks

* Don't use query include, remove TODO

* Remove film medium hack

* Clear podcast rss cache before video/channel update hooks

* Clear podcast rss cache before video uploaded/deleted hooks

* Refactor podcast feed cache clearing

* Set correct person name from video channel

* Styling

* Fix tests

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2023-05-22 16:00:05 +02:00
Chocobozzz f3bc1b5416
Help button must not send the parent form 2023-05-22 11:13:01 +02:00
Chocobozzz 8527f4b163
Fix menu dropdowns
Better responsive
Avoid menu scrollbar displayed in notification popove
2023-05-22 08:22:57 +02:00
Chocobozzz 476ce1d7f4
Add bulk actions on runner jobs 2023-05-19 14:27:27 +02:00
Chocobozzz 01283e2066
Improve remote runner config UX 2023-05-19 14:11:22 +02:00
Chocobozzz 2617295569
Add % to runner job percentage 2023-05-19 10:10:19 +02:00
Chocobozzz d3ab2f63b6
Remove uneeded date pipe 2023-05-17 14:56:35 +02:00
Chocobozzz c17a55fbca
Support handles starting with @ 2023-05-10 14:55:37 +02:00
Chocobozzz 7815dc450e
Prevent invalid end watch section warnings 2023-05-10 14:23:59 +02:00
Chocobozzz 2f63f629ad
Fix subscribe button responsive 2023-05-09 13:53:33 +02:00
Chocobozzz 5e47f6ab98 Support studio transcoding in peertube runner 2023-05-09 08:57:34 +02:00
Chocobozzz 3a0c2a77b1 Enable external plugins to test the PR 2023-05-09 08:57:34 +02:00
Chocobozzz 118626c875 Implement runner in client side 2023-05-09 08:57:34 +02:00
Wicklow a8d42c560a
I18n missing parameter (#5782)
* fix syntax

* Missing i18n parameter
2023-05-02 10:31:00 +02:00
Wicklow 73ef4b54aa Don't send replay settings on not replayed lives 2023-04-19 15:59:36 +02:00
Chocobozzz f8c62d3414
Fix lint 2023-04-17 10:06:21 +02:00
Chocobozzz 208c97e111
Always translate user role 2023-04-17 09:21:02 +02:00
Chocobozzz df0bd13210
Add missing strings to translate 2023-04-17 08:51:51 +02:00
Chocobozzz e7c89cc3f3
Allow to update a live with untouched privacy 2023-04-14 10:14:40 +02:00
Chocobozzz d15531fb35
Fix follow links 2023-04-14 09:42:50 +02:00
Wicklow 2a4c0d8bbe
Feature/filter already watched videos (#5739)
* filter already watched videos

* Updated code based on review comments
2023-04-12 09:32:20 +02:00
Wicklow b302c80dc0
feature/ability to disable video history by default (#5728)
* draft: ability to disable video history by default

* Update configuration and add tests

* Updated code based on review comments

* Add tests on registration and video quota

* Remove required video quotas in query

* Fix tests
2023-04-07 10:09:54 +02:00
Joël Galeran 9258e9a4a3
feat(about): render images in markdown (#5732)
* feat(about): render images in markdown

Closes https://github.com/Chocobozzz/PeerTube/issues/5710

* Update edit-instance-information.component.html

* use `markdownType="enhanced"`
2023-04-05 11:12:00 +02:00
Wicklow 05a60d8599
Feature/Add replay privacy (#5692)
* Add replay settings feature

* Fix replay settings behaviour

* Fix tests

* Fix tests

* Fix tests

* Update openapi doc and fix tests

* Add tests and fix code

* Models correction

* Add migration and update controller and middleware

* Add check params tests

* Fix video live middleware

* Updated code based on review comments
2023-03-31 09:12:21 +02:00
Chocobozzz 47d883de2e
Merge branch 'release/5.1.0' into develop 2023-03-16 14:24:50 +01:00
Chocobozzz 30f939c4b7
Fix button/input/select heights 2023-03-16 10:05:55 +01:00
Chocobozzz a31aed9c1c
Fix notification tick size 2023-03-16 08:18:48 +01:00
Chocobozzz 2346a6dc80
Fix small action dropdown 2023-03-16 08:14:33 +01:00
Chocobozzz dc9c9500bf
Improve accessibility 2023-03-15 14:28:27 +01:00
Chocobozzz fbe415609c
Fix button width 2023-03-14 14:20:08 +01:00
Chocobozzz 230af3e7db
Add ability for plugins to alter video jsonld 2023-03-14 14:19:42 +01:00
Chocobozzz f386bab02e
Add ability for plugins to add metadata 2023-03-14 14:17:58 +01:00
Chocobozzz 2296dfd4db
Fix button width 2023-03-14 11:33:10 +01:00
Wicklow cadc1a1b0b
Add an option to provide responsive embed (#5690)
* Add option to provide responsive embed

* Fix typo

* More understandable parameter
2023-03-14 09:32:16 +01:00
Chocobozzz 3cda7efaaa
Don't send undefined with HTML input 2023-03-10 15:45:52 +01:00
Chocobozzz 58e735dd77
Add test on AP hooks 2023-03-10 15:45:52 +01:00
Chocobozzz 3b504f6ed4
Add ability for plugins to alter video jsonld 2023-03-10 15:45:52 +01:00
Chocobozzz 4899138ec5
Add ability for plugins to add metadata 2023-03-10 15:45:52 +01:00
Chocobozzz 085aba61c3
Add action:video-edit.form.updated hook 2023-03-10 15:45:52 +01:00
Chocobozzz 04852e14b4
Don't send undefined with HTML input 2023-03-10 15:23:32 +01:00
Chocobozzz 96d00a997b
Add test on AP hooks 2023-03-10 15:19:33 +01:00
Chocobozzz 866b5d3f52
Add ability for plugins to alter video jsonld 2023-03-10 14:42:18 +01:00
Chocobozzz 4265d90b00
Add ability for plugins to add metadata 2023-03-10 11:10:16 +01:00
Chocobozzz c1b3f2e05d
Add action:video-edit.form.updated hook 2023-03-10 10:34:25 +01:00
Chocobozzz ef19c8ae4c
Add timestamp auto link doc 2023-03-07 11:59:31 +01:00
Chocobozzz 145d7da2de
Don't display alt for actor images
We don't need it since it's just a "cosmetic" image
2023-03-07 10:18:32 +01:00
Chocobozzz 16b7ad790b
Fix update user password confirm message 2023-03-07 10:18:32 +01:00
Chocobozzz 9e401fde36
Refactor my actor avatar edit 2023-03-07 10:18:32 +01:00
Wicklow 68773f79fa
Hotfix/channel avatars overview (#5667)
* Fix channel avatar display

* Improve video overview component style

* Better alignment of avatar and title

* Convert in rem video overview  component
2023-03-07 10:18:08 +01:00
Chocobozzz e2d8587bd3
Fix displaying remote actor avatars 2023-03-02 10:16:21 +01:00
Chocobozzz 2c8380a46f
Fix confirm modal containing 2 inputs 2023-03-01 14:00:05 +01:00
Chocobozzz 439f5dfc7f
List my channels using pagination 2023-03-01 13:56:15 +01:00
Chocobozzz 1279c05eeb
Fix action dropdown height 2023-03-01 10:22:53 +01:00
Chocobozzz a9816e189a
Fix hotkeys close button 2023-02-28 14:15:53 +01:00
Chocobozzz 2729af6ddd
Fix action button height 2023-02-28 09:30:22 +01:00
Chocobozzz 2987c34e45
Fix instance accordion line height 2023-02-27 15:59:16 +01:00
Chocobozzz 20c21606ac
Fix hotkeys page theming 2023-02-27 15:51:07 +01:00
Chocobozzz 357308ce22
Always list nsfw videos in admin 2023-02-25 16:22:33 +01:00
Chocobozzz 6de076222a
Avoid always resuming the end of the video 2023-02-25 16:18:28 +01:00
Chocobozzz 09a7ce0c60
Fix infinite scroll on search page 2023-02-24 15:05:59 +01:00
Chocobozzz f44cd95c01
Update doc anchor links 2023-02-23 09:46:43 +01:00
Chocobozzz c5c95361e6
Move to new documentation links 2023-02-22 16:15:14 +01:00
Chocobozzz b849adf9d8
Fix channel buttons height 2023-02-22 09:03:41 +01:00
Chocobozzz 035db86dd8
Fix angular build, again
Maybe a bug in the sass loader
2023-02-20 14:51:29 +01:00
Chocobozzz 44f01f032f Fix angular build 2023-02-20 13:52:22 +01:00
Wicklow 4158e67c8d Refactoring margin and padding mixins 2023-02-20 13:52:22 +01:00
Wicklow 6c3589fc51 Fix basic linter issues 2023-02-20 13:52:22 +01:00
Wicklow 5995a28f2b Remove empty sass files 2023-02-20 13:52:22 +01:00
Wicklow 4e082e78d0 Refactoring login component style 2023-02-20 13:52:22 +01:00
Wicklow 75034888a6 Refactoring manage video channel component style 2023-02-20 13:52:22 +01:00
Wicklow f9b8e5c457 Refactoring accounts component style 2023-02-20 13:52:22 +01:00
Wicklow 178af31cb8 Change bootstrap helpers and variables 2023-02-20 13:52:22 +01:00
Wicklow 422a11e2a4 Refactoring error page component style 2023-02-20 13:52:22 +01:00
Wicklow 389eb13129 Refactoring home component 2023-02-20 13:52:22 +01:00
Wicklow 35fe58c2f8 Refactoring style for about component 2023-02-20 13:52:22 +01:00
Chocobozzz a6f214d462
Fix reset zoom button 2023-02-20 12:14:57 +01:00
Chocobozzz 3ebb2987c2
Fix buttons accessibility using keyboard 2023-02-20 12:09:54 +01:00
Chocobozzz d681188b73
Fix my library responsive 2023-02-20 11:48:36 +01:00
Chocobozzz 420a6043cc
Fix buttons CSS 2023-02-20 11:23:45 +01:00
Chocobozzz 15825ef18d
Fix default trending algorithm in admin config 2023-02-20 10:18:05 +01:00
Chocobozzz dec437aa46
Increase theme compatibility
Try to use CSS variable as much as possible
2023-02-17 13:32:11 +01:00
Chocobozzz 03902b0099
Correctly handle 502 errors 2023-02-17 10:11:15 +01:00
Chocobozzz 27aba6e9ea
Add description to "remove" registration request 2023-02-17 09:27:38 +01:00
Chocobozzz 3290f30c5b
Fix chevron in menu for touch screens 2023-02-16 16:18:11 +01:00
Chocobozzz 6e060713b4
Correctly unsubscribe on menu destroy 2023-02-16 16:13:19 +01:00
Chocobozzz e65ef81cf5
Update server dependencies 2023-02-16 11:56:58 +01:00
Chocobozzz 366d5aea5d
Prevent edition with 0 task 2023-02-15 16:10:31 +01:00
Chocobozzz f6cf8e8d8e
Fix stats anchor link 2023-02-15 16:08:32 +01:00
Chocobozzz 343d1395df
Prefer displaying channel for playlist element 2023-02-15 13:50:40 +01:00
Chocobozzz 72c98d189e
Correctly fix table column widths 2023-02-15 12:05:45 +01:00
Chocobozzz 0e76f30abb
Try to prevent layout shift with redundancy stats 2023-02-15 11:54:17 +01:00
Chocobozzz 6a7cea1527
Fix live update of autoplay next video 2023-02-15 11:32:08 +01:00
Chocobozzz e81d45b4cb
Fix mention detection 2023-02-15 11:12:23 +01:00
Chocobozzz 98bd5e2256
Refactor login redirection/button links
Correctly handle external auth redirection in all cases
2023-02-14 11:51:44 +01:00
Chocobozzz 4de99f22df
Fix notification number 2023-02-14 10:03:18 +01:00
Boo c5b28f6336 Use displayName as label in channelFilters
Fixes #5038
2023-02-13 14:51:26 +01:00
Chocobozzz cb38c9b9ea
Fix broadcast message inconsistency with preview 2023-02-13 14:37:13 +01:00
Chocobozzz 57d64f30e3
Improve channel's avatar display performance 2023-02-13 14:27:48 +01:00
Chocobozzz 587aa74ac3
Use + when having more than 99 notifications 2023-02-13 14:25:16 +01:00
Chocobozzz 376d8f134b
Update copyright to 2023 2023-02-13 10:03:47 +01:00
Booteille b4e556144d Use pvar() instead of SCSS variables 2023-02-08 14:28:00 +00:00
Chocobozzz 06a9fdf433
Better auto block bypass label 2023-01-27 09:03:27 +01:00
Chocobozzz 647c2b7d04
Fix custom markup 2023-01-25 08:59:42 +01:00
Chocobozzz d5ae943da9
Support short UUID for custom markup videos 2023-01-25 08:51:59 +01:00
Chocobozzz 389eb034ef
Prevent layout shift in videos list 2023-01-24 11:57:44 +01:00
Chocobozzz 8ca52bcc2c
Merge branch 'release/5.0.0' into develop 2023-01-23 15:25:21 +01:00
Chocobozzz b1d8261c45
Fix auto play setting for anonymous users 2023-01-23 15:24:58 +01:00
Chocobozzz ff71e06ad1
Add user registration policy info 2023-01-23 14:49:29 +01:00
Chocobozzz 4115f20084
Add ability to not send an email for registration 2023-01-20 15:34:01 +01:00
Chocobozzz e854d57bed
Refactor row selection reset 2023-01-20 15:06:08 +01:00
Chocobozzz cd940f40cb
Support bulk registration request removal 2023-01-20 14:58:20 +01:00
Chocobozzz 789ba34931
Support mailto links for custom markup 2023-01-19 14:52:27 +01:00
Chocobozzz a4927884b2
Support mailto for custom markup 2023-01-19 14:27:59 +01:00
Chocobozzz f008e9f3f3
Add missing url unique index in local video viewer 2023-01-19 13:54:52 +01:00
Chocobozzz 9589907c89 Implement signup approval in client 2023-01-19 13:53:40 +01:00
Chocobozzz bc48e33b80
Optimize custom markup angular tags
We can use the on push strategy with these components
2023-01-13 09:39:35 +01:00
Chocobozzz 6a056bbe4d
Increase textarea debounce time for custom markup 2023-01-13 09:30:47 +01:00
Chocobozzz 3f3530c3db
Merge branch 'release/5.0.0' into develop 2023-01-12 08:54:13 +01:00
Chocobozzz 7a0bcd6773
Fix support field when updating the video 2023-01-12 08:50:27 +01:00
Chocobozzz 2570fd9c1c
Redirect to default login url on 401
Can be an external URL
2023-01-04 11:41:29 +01:00
Chocobozzz 66b73484c7
Prevent hotkeys playback rate/seek with lives 2022-12-30 15:54:08 +01:00
Chocobozzz 75ec258048
Process requests in correct order 2022-12-29 11:27:46 +01:00
Chocobozzz 15beb86660
Reorder playlists when adding an element 2022-12-29 10:38:53 +01:00
kontrollanten 0e08a5e749 feat(player/playbackRate): set rate with url param 2022-12-29 08:38:18 +01:00
Chocobozzz d522369bed
Prevent sending log error to server on 404 2022-12-28 15:15:44 +01:00
Chocobozzz 41027acb0a
Merge branch 'release/5.0.0' into develop 2022-12-21 10:56:57 +01:00
Chocobozzz 77f0c0e5dc
Display video actions in homepage 2022-12-21 10:52:33 +01:00
paulienm c6820dc4a5 feat(config): add missing videos sort options in admin 2022-12-19 15:45:50 +01:00
Chocobozzz 04509c4325
Remove country limit of 10 items 2022-12-01 09:09:20 +01:00
Chocobozzz 41e59dbe9b
Fix cancel upload button style 2022-11-24 09:14:35 +01:00
Chocobozzz 7dcd7d8140
Fix client lint 2022-11-15 15:16:41 +01:00
Chocobozzz 59a643aa5c
Force autoplay when live starts
Using the mute
2022-11-15 11:57:49 +01:00
Chocobozzz 2f061e065a
Merge branch 'release/4.3.0' into develop 2022-11-14 14:22:33 +01:00
Chocobozzz 2198bb5a19
Prevent XSS with ng-select
When using ng-option

See https://github.com/ng-select/ng-select/issues/1363
2022-11-14 14:21:40 +01:00
Chocobozzz f713f36bdf
Federate entire description
Introduce an explicit field truncatedDescription
description in video list is deprecated
description in video get will contain the entire description
2022-11-14 13:03:54 +01:00
Chocobozzz 0e45e336f6
Fix HTML in account/channel description 2022-11-14 10:47:39 +01:00
Chocobozzz 1a6304ceb9
Improve instance follow display 2022-11-07 11:25:31 +01:00
Chocobozzz 8fac9adc13
Fix lodash import 2022-10-31 16:07:37 +01:00
Chocobozzz 9e5cf66be7
Breaking API: Consistency with role id/label 2022-10-28 16:34:08 +02:00
Chocobozzz 672e185bf3
Fix upload error handling 2022-10-28 11:19:45 +02:00
treac1e b67580aa65 Update privacy-concerns.component.html
When translated, the white space after "Reminder:" is cut off, so in other languages there is no white space between the "Reminder:" and the following text, which looks ugly (e.g. in the German translation). A solution is to move the space behind the translated phrase (using the html-entity for space &#32).
2022-10-27 08:54:13 +02:00
Chocobozzz 1c048f04a5
Fix bad date display for jobs 2022-10-25 16:08:11 +02:00
Chocobozzz 52ebda26f6
Fix playlist overflow in account channels page 2022-10-25 16:00:34 +02:00
Chocobozzz 4eb1259e6b
Don't display live sessions block without sessions 2022-10-25 15:05:26 +02:00
Chocobozzz 9397517a26
Deleting an abuse is only for admins 2022-10-25 15:02:14 +02:00
Chocobozzz 3fc43fa0b0
Reload data when deleting a blocked video 2022-10-25 14:50:54 +02:00
Chocobozzz 34ba86a8b4
Use onpush strategy for dropdown 2022-10-25 14:42:18 +02:00
Chocobozzz 2e3b0825bb
Fix player 2022-10-25 10:22:33 +02:00
Chocobozzz 716c57d444
Don't import all lodash 2022-10-25 08:20:20 +02:00
Chocobozzz 3545e72c68 Put private videos under a specific subdirectory 2022-10-24 14:48:24 +02:00
kontrollanten 38a3ccc7f8
feat: show contained playlists under My videos (#5125)
* feat: show contained playlists under My videos

closes #4769

* refactor(server): remove unused types

* fixes after code review

* fix(client/video-miniature): add to playlist

* fix(server/user/me): shortUUID response

* Revert "fix(client/video-miniature): add to playlist"

This reverts commit f1a0412391.

* fix(client/PlaylistService): caching

* Revert "fix(server/user/me): shortUUID response"

This reverts commit e3f1ee4e33.

* Fix fetching playlists

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-10-24 14:48:03 +02:00
Poslovitch 01a3c07a79 Added filter to sort videos by name (alphabetical order)
Implements https://github.com/Chocobozzz/PeerTube/issues/5134
2022-10-24 14:28:41 +02:00
Chocobozzz d50e8d1aee
Fix action dropdown with query params 2022-10-12 14:37:27 +02:00
Chocobozzz 02cb75c7e8
Fix responsive in account channels list 2022-10-12 09:46:24 +02:00
Chocobozzz 8bd4a1edcc
Fix import link 2022-10-12 09:10:07 +02:00
Florent 3d5d2deef5 Sync channel: move the list imports button #5337 2022-10-12 08:56:59 +02:00
Chocobozzz 080f14025e
Hide wait transcoding for lives
Replays are always transcoded
2022-10-11 14:17:27 +02:00
Chocobozzz 9d4c60dccc
Add ability for plugins to register ws routes 2022-10-11 11:11:04 +02:00
Chocobozzz 8347f8a429
Add auto complete to user edit password 2022-10-10 15:39:27 +02:00
Chocobozzz 213bb3bb58
Fix user channels list with increased max counter 2022-10-10 15:04:27 +02:00
Chocobozzz 1a3b53de6f
Use video links for files 2022-10-10 14:46:04 +02:00
Chocobozzz 4624283054
Add object storage info badge 2022-10-10 14:42:51 +02:00
Chocobozzz a0da6f90d1
Prevent sass deprecated warning 2022-10-10 08:16:19 +02:00
Chocobozzz 5c5bcea2e6
Refactor form reactive 2022-10-07 15:26:53 +02:00
Chocobozzz 2166c058f3
Allow admins to disable two factor auth 2022-10-07 14:28:35 +02:00
Chocobozzz d12b40fb96
Implement two factor in client 2022-10-07 11:06:28 +02:00
Chocobozzz 9c0cdc5047
Fix subscription button radius 2022-09-28 16:18:08 +02:00
Chocobozzz 1f545e80b4
Hide all email block if we can't change it 2022-09-28 16:00:30 +02:00
Chocobozzz 77662dae24
Add channels link in menu 2022-09-28 15:43:59 +02:00
Chocobozzz 251ce26db3
Fix error display in bulk service 2022-09-28 15:15:41 +02:00
Chocobozzz 49602b3a26
Fix lint 2022-09-28 14:55:58 +02:00
Chocobozzz 3fca30a7ef
Force channel in my videos 2022-09-28 14:20:11 +02:00
Chocobozzz f67ac646a2 Put video quota info in its own component 2022-09-28 14:04:06 +02:00
The Cashew Trader b0d6a800f8 Add transcoding quota message to admin config page 2022-09-28 14:04:06 +02:00
Chocobozzz b105ea6042
Correctly unsubscribe upload events on destroy 2022-09-28 13:36:59 +02:00
kukhariev 9d84ac5ec1 fix: keep partially uploaded files
Do not delete a partially uploaded file when closing the upload page

fixes #5078, #4432
2022-09-28 11:56:14 +02:00
Chocobozzz 49aa917509
Merge branch 'release/4.3.0' into develop 2022-09-28 10:03:32 +02:00
Chocobozzz 718fc07953
Reword instance following title 2022-09-28 09:54:57 +02:00
Chocobozzz ca68986083
Merge branch 'release/4.3.0' into develop 2022-09-27 16:23:04 +02:00
Chocobozzz 52444ea13c
Fix moderation dropdown overflow on mobile 2022-09-27 10:35:51 +02:00
Chocobozzz 85edcb5626
Fix number with text input overflow 2022-09-27 10:05:29 +02:00
Chocobozzz 255c00305c
Fix error messages 2022-09-23 14:41:14 +02:00
Chocobozzz f64a58296e
Fix missing i18n on signup label 2022-09-20 14:20:04 +02:00
Chocobozzz 3afe0ec3b3
Fix broken dates with localized pages 2022-09-16 10:33:55 +02:00
Chocobozzz e1eada8bae
Disable uninstall button on plugin uninstallation 2022-09-16 10:02:46 +02:00
Chocobozzz 81ed2de85c
Don't break install plugin on failure 2022-09-16 09:53:27 +02:00
Chocobozzz c95fbe6553
Fix missing pagination when listing channel syncs 2022-09-14 15:18:05 +02:00
Chocobozzz fc3784583c
Fix user creation date on localized page 2022-09-14 09:48:43 +02:00
Chocobozzz 7c9a251912
Simplify transcoding sentence 2022-09-13 12:01:05 +02:00
Chocobozzz 367a9dc699
Don't display remove file icon in some cases 2022-09-13 12:00:13 +02:00
Chocobozzz ec8c188b14
Update client dep 2022-09-09 14:59:09 +02:00
Chocobozzz 8b69f9f028
Check admin config when loading the page
Avoid issues when an invalid config was set in the configuration file
2022-09-08 08:41:48 +02:00
Chocobozzz c5fe343411
Fix short description validator 2022-09-08 08:41:48 +02:00
lutangar 2873a53efd Set scroll position at top of the textarea when opening the subtitle editor.
## Description

This set the position of the scrollbar at the top of the textarea when opening the __subtitle editor__.
Previously the textarea scroll position was at the bottom of the textarea which doesn't make much sense when you want to edit a subtitle : you most likely want to edit the beginning of the subtitle first.

This also set the caret position on the first character.

## Design decision

I had to use a *component approach* instead of an `<ng-template>` for the edition modal because the `@viewChild` directive doesn't work for elements __inside__ an `<ng-template>`.
I needed the `viewChild` directive to get an `ElementRef` of the `textarea`.

> See the following issue and its workaround :
> - https://github.com/valor-software/ngx-bootstrap/issues/3825
> - https://stackblitz.com/edit/angular-t5dfp7
> - https://medium.com/@izzatnadiri/how-to-pass-data-to-and-receive-from-ng-bootstrap-modals-916f2ad5d66e

## Related issues
Closes [peertube-plugin-transcription/#39](https://gitlab.com/apps_education/peertube/plugin-transcription/-/issues/39)
2022-09-08 08:41:36 +02:00
Chocobozzz 690bb8f9f3
Prefer using Object.values 2022-08-17 15:36:03 +02:00
Chocobozzz 97eba003a9
Add sync link to import page 2022-08-17 13:40:00 +02:00
Chocobozzz fd3c2e8705
Add playback metric endpoint sent to OTEL 2022-08-16 10:33:27 +02:00
Chocobozzz 0e6cd1c00f
Add ability to list comments on local videos 2022-08-16 10:33:27 +02:00
Chocobozzz 2f6e173002
Prevent creating multiple lives 2022-08-12 10:43:50 +02:00
Chocobozzz 9a3f72508c
Move search bar at the middle of the header 2022-08-12 10:37:22 +02:00
Chocobozzz 0582b4f972
Improve wait transcoding help 2022-08-12 10:20:09 +02:00
Chocobozzz 437f277afd
Prefer thumbnail instead of preview 2022-08-12 10:15:45 +02:00
Chocobozzz 418db8ac99
Add years when grouping by stats by month 2022-08-11 15:51:27 +02:00
Chocobozzz de61544582
Add plugin hooks/placeholder to share modal 2022-08-11 15:28:11 +02:00
Chocobozzz 87cd93970d
Add missing openapi 2022-08-10 14:57:26 +02:00
Chocobozzz 40e9937247
Fix angular warning 2022-08-10 14:38:24 +02:00
Chocobozzz a3b472a12e
Add ability to list imports of a channel sync 2022-08-10 14:32:00 +02:00
Chocobozzz 0567049a98
Add missing job types to admin panel 2022-08-10 10:34:39 +02:00
Chocobozzz f228e9f064
More precise date for jobs 2022-08-10 10:26:20 +02:00
Florent 2a491182e4
Channel sync (#5135)
* Add external channel URL for channel update / creation (#754)

* Disallow synchronisation if user has no video quota (#754)

* More constraints serverside (#754)

* Disable sync if server configuration does not allow HTTP import (#754)

* Working version synchronizing videos with a job (#754)

TODO: refactoring, too much code duplication

* More logs and try/catch (#754)

* Fix eslint error (#754)

* WIP: support synchronization time change (#754)

* New frontend #754

* WIP: Create sync front (#754)

* Enhance UI, sync creation form (#754)

* Warning message when HTTP upload is disallowed

* More consistent names (#754)

* Binding Front with API (#754)

* Add a /me API (#754)

* Improve list UI (#754)

* Implement creation and deletion routes (#754)

* Lint (#754)

* Lint again (#754)

* WIP: UI for triggering import existing videos (#754)

* Implement jobs for syncing and importing channels

* Don't sync videos before sync creation + avoid concurrency issue (#754)

* Cleanup (#754)

* Cleanup: OpenAPI + API rework (#754)

* Remove dead code (#754)

* Eslint (#754)

* Revert the mess with whitespaces in constants.ts (#754)

* Some fixes after rebase (#754)

* Several fixes after PR remarks (#754)

* Front + API: Rename video-channels-sync to video-channel-syncs (#754)

* Allow enabling channel sync through UI (#754)

* getChannelInfo (#754)

* Minor fixes: openapi + model + sql (#754)

* Simplified API validators (#754)

* Rename MChannelSync to MChannelSyncChannel (#754)

* Add command for VideoChannelSync (#754)

* Use synchronization.enabled config (#754)

* Check parameters test + some fixes (#754)

* Fix conflict mistake (#754)

* Restrict access to video channel sync list API (#754)

* Start adding unit test for synchronization (#754)

* Continue testing (#754)

* Tests finished + convertion of job to scheduler (#754)

* Add lastSyncAt field (#754)

* Fix externalRemoteUrl sort + creation date not well formatted (#754)

* Small fix (#754)

* Factorize addYoutubeDLImport and buildVideo (#754)

* Check duplicates on channel not on users (#754)

* factorize thumbnail generation (#754)

* Fetch error should return status 400 (#754)

* Separate video-channel-import and video-channel-sync-latest (#754)

* Bump DB migration version after rebase (#754)

* Prettier states in UI table (#754)

* Add DefaultScope in VideoChannelSyncModel (#754)

* Fix audit logs (#754)

* Ensure user can upload when importing channel + minor fixes (#754)

* Mark synchronization as failed on exception + typos (#754)

* Change REST API for importing videos into channel (#754)

* Add option for fully synchronize a chnanel (#754)

* Return a whole sync object on creation to avoid tricks in Front (#754)

* Various remarks (#754)

* Single quotes by default (#754)

* Rename synchronization to video_channel_synchronization

* Add check.latest_videos_count and max_per_user options (#754)

* Better channel rendering in list #754

* Allow sorting with channel name and state (#754)

* Add missing tests for channel imports (#754)

* Prefer using a parent job for channel sync

* Styling

* Client styling

Co-authored-by: Chocobozzz <me@florianbigard.com>
2022-08-10 09:53:39 +02:00
Chocobozzz 84cae54e7a
Add option to not transcode original resolution 2022-08-09 09:18:07 +02:00
Chocobozzz ca0f030787
Add error info on router error 2022-08-03 15:21:00 +02:00
Chocobozzz 9ca0f688e9
Add channel hooks 2022-08-03 10:39:40 +02:00
Chocobozzz e07c55167e
Fix table columns on safari 2022-08-01 15:13:52 +02:00
Chocobozzz 1bb4c9ab2e
Add ability to delete a specific video file 2022-08-01 14:55:10 +02:00
Chocobozzz 5a9a56b78f
Prevent error on highlighted thread 2022-07-29 10:32:56 +02:00
Chocobozzz 37b1d97f22
Prevent fetching playlist status after logout 2022-07-28 16:27:14 +02:00
Chocobozzz 8224e13d3b
Fix disabled inputs in admin 2022-07-28 09:45:15 +02:00
Chocobozzz dbf4952717
Fix broken admin page 2022-07-28 08:45:25 +02:00
Chocobozzz e3d6c6434f
Add bulk action on following/followers 2022-07-27 13:52:13 +02:00