98 Commits

Author SHA1 Message Date
Chocobozzz
327360c6b1 Prefer short uuid for embeds too 2025-02-13 15:51:13 +01:00
Chocobozzz
eaf6fccbbb Add playlistUrl metadata in json to hls files 2025-02-13 10:45:48 +01:00
Chocobozzz
e002b6fcd6 Add channelUpdatedAt list subscriptions sort 2025-02-12 14:37:24 +01:00
Chocobozzz
27d14308e5 Fix comment replies count on replies 2025-02-11 16:18:14 +01:00
Chocobozzz
50b067f9cd Separate player in dedicated build
* Separate player in a dedicated build, that we can control using vite.
   We had too many issues with Angular build system and we can now
   have the same build between the embed and the client. We can also
   embed SVG directly in the CSS
 * Upgrade p2p-media-loader to v2
 * Update internal infohashes to reflect this p2p-media-loader protocol
   change (they are updated at PeerTube startup)
 * Minimum required iOS version is now v14
2025-02-10 15:38:20 +01:00
Chocobozzz
260447942a Add ability to put captions in object storage
Deprecate:
 * `path` and `url` of `ActorImage` (used to represent account/channel
   avatars/banners) in favour of `fileUrl`
 * `path` of `AvatarInfo` (used in notifications) in favour of `fileUrl`
 * `captionPath` of `VideoCaption` in favour of `fileUrl`
 * `storyboardPath` of `Storyboard` in favour of `fileUrl`
2025-02-07 09:35:39 +01:00
Chocobozzz
94a7879d7d Add host to common video filters 2025-01-31 16:08:09 +01:00
Chocobozzz
05f105d03f Remove web video redundancy support
It's not used anymore in the player since several major versions now, so
there's no point in continuing to store these video files
2025-01-31 11:13:13 +01:00
kontrollanten
a51fb3f35e feat(API): permissive email check in login, reset & verification (#6648)
* feat(API): permissive email check in reset & verification

In order to not force users to be case sensitive when asking for
password reset or resend email verification. When there's multiple
emails where the only difference in the local is the capitalized
letters, in those cases the users has to be case sensitive.

closes #6570

* feat(API/login): permissive email handling

Allow case insensitive email when there's no other candidate.

closes #6570

* code review changes

* Fix tests

* Add more duplicate email checks

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2025-01-28 14:16:43 +01:00
Chocobozzz
200e9dbd3c Fix import notification 2025-01-17 15:08:35 +01:00
Chocobozzz
f3607593a3 Fix notification video state 2025-01-17 14:12:31 +01:00
Chocobozzz
6ef092f0da Fix transcoding of audio only videos 2025-01-17 10:30:14 +01:00
Chocobozzz
82246a0c8d Better live notification label 2025-01-16 10:53:18 +01:00
Chocobozzz
a1dd455634 Fix studio edition on audio only file 2024-12-16 08:42:13 +01:00
Chocobozzz
ae3b487c42 Fix user export expiration 2024-12-16 07:11:30 +01:00
Chocobozzz
af7ffcf813 Fix auto blacklisting unlisted videos 2024-11-12 10:29:36 +01:00
Chocobozzz
3842a527f6 Remove deprecated server code 2024-11-04 10:23:01 +01:00
Chocobozzz
a91bd80087 Add ability to filter requested runner jobs 2024-10-31 10:22:35 +01:00
kontrollanten
41c70a6b35 Sitemap: Hide empty accounts/channels and add video tags (#6633)
* feat(sitemap): remove empty accounts/channels

closes #6607

* feat(sitemap): add more video tags

https://developers.google.com/search/docs/crawling-indexing/sitemaps/video-sitemaps

closes #6606

* Chunk videos SQL query

* Optimize SQL query

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2024-10-23 07:17:02 +02:00
Chocobozzz
54adc6f038 Add instance avatar to default open graph tags 2024-10-22 13:12:17 +02:00
Chocobozzz
47a7007f74 Merge branch 'release/6.3.0' into develop 2024-10-08 08:42:56 +02:00
Chocobozzz
bf11895507 Don't crash on non preview/thumbnail 2024-10-07 08:15:00 +02:00
Chocobozzz
499d660723 Faster get a user 2024-09-25 16:06:38 +02:00
Chocobozzz
5ae90e0757 Delete remote actor too 2024-09-17 08:33:54 +02:00
Chocobozzz
e18ac0a468 Improve local search relevancy 2024-09-12 10:19:01 +02:00
Chocobozzz
f27f392721 Improve word similarity search 2024-09-12 09:24:28 +02:00
Chocobozzz
1870626af5 Fix video file storage attribute 2024-08-20 09:05:53 +02:00
Chocobozzz
27bf92235f Fix video file object storage detection 2024-08-19 17:02:44 +02:00
Chocobozzz
21215122a8 Better resolution label for custom video aspect 2024-08-06 16:01:38 +02:00
Chocobozzz
486183fe62 Speed up built-in db migration 2024-08-05 16:23:39 +02:00
Chocobozzz
816f346a60 Separate HLS audio and video streams
Allows:
  * The HLS player to propose an "Audio only" resolution
  * The live to output an "Audio only" resolution
  * The live to ingest and output an "Audio only" stream

 This feature is under a config for VOD videos and is enabled by default for lives

 In the future we can imagine:
  * To propose multiple audio streams for a specific video
  * To ingest an audio only VOD and just output an audio only "video"
    (the player would play the audio file and PeerTube would not
    generate additional resolutions)

This commit introduce a new way to download videos:
 * Add "/download/videos/generate/:videoId" endpoint where PeerTube can
   mux an audio only and a video only file to a mp4 container
 * The download client modal introduces a new default panel where the
   user can choose resolutions it wants to download
2024-08-05 08:31:59 +02:00
Chocobozzz
71857cc04b More robust doesVideoExistForVideoFile 2024-07-31 08:55:56 +02:00
Chocobozzz
fd4831e502 Metadata to know if the caption is auto generated 2024-06-28 08:44:59 +02:00
Chocobozzz
1bfb791e05 Integrate transcription in PeerTube 2024-06-28 08:44:58 +02:00
Chocobozzz
05d84f659d Fix loading actor involved in video 2024-06-21 16:05:40 +02:00
Chocobozzz
985e79f61e Fix lint and tests 2024-06-21 15:28:09 +02:00
Chocobozzz
585050821a Also prune storyboards and actor images 2024-06-05 15:47:37 +02:00
Chocobozzz
2b189131fa Add house-keeping script 2024-06-05 15:35:58 +02:00
Chocobozzz
3427330611 Support update object storage urls 2024-06-05 09:01:40 +02:00
Chocobozzz
54c140c800 Support object storage in prune script
Also prune original files and user exports
2024-06-03 16:37:44 +02:00
Chocobozzz
7c9f07e140 Improve Video AP compatibility
Compat with text/html descriptions
Compat with SPDX for licences
Compat with missing sensitive attribute
Compat with missing tag attribute
Compat with missing video file magnet URI
Compat with missing streaming playlist segmentsSha256Url
Compat with optional comments/likes/dislikes/shares URI in video object

Add more debug logs when the object is not valid
2024-06-03 09:36:29 +02:00
Chocobozzz
29329d6c45 Implement auto tag on comments and videos
* Comments and videos can be automatically tagged using core rules or
   watched word lists
 * These tags can be used to automatically filter videos and comments
 * Introduce a new video comment policy where comments must be approved
   first
 * Comments may have to be approved if the user auto block them using
   core rules or watched word lists
 * Implement FEP-5624 to federate reply control policies
2024-05-29 15:03:14 +02:00
Chocobozzz
b65d639695 Don't include banners in account API 2024-05-29 09:00:43 +02:00
Chocobozzz
74b62dcb85 Remove invalid db value checker
fileUrl can use localhost in some specific cases for example
2024-05-17 11:18:43 +02:00
Chocobozzz
cb88f25ffa Don't count deleted comments for stats 2024-05-17 11:15:37 +02:00
Chocobozzz
9ee1f7b57c Don't mark as ready already read notifications 2024-05-17 11:07:30 +02:00
Chocobozzz
e7ebcb16ac Fix big user export file size 2024-05-16 11:18:50 +02:00
Chocobozzz
81d4d557f7 Remove internal log 2024-05-16 11:15:43 +02:00
Chocobozzz
1642c5b9e7 Protect all video related AP endpoints 2024-04-26 15:29:52 +02:00
Chocobozzz
afb28272f5 Check video rights before providing AP information 2024-04-26 10:09:38 +02:00