1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00
Commit graph

80 commits

Author SHA1 Message Date
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
Chocobozzz
47ae6e880d
Fix AP actor follows count 2024-04-25 10:53:53 +02:00
Chocobozzz
bce0f2f11b
Fix total video file size 2024-04-22 11:48:05 +02:00
Chocobozzz
9b70c8e7e8
Do not take into account empty view sections 2024-04-03 14:25:21 +02:00
Chocobozzz
5ef0430dfb
Display playlists if allowed to escape federation 2024-03-27 15:48:29 +01:00
Chocobozzz
11521f231f
Generate small versions of banners too 2024-03-27 15:08:09 +01:00
Chocobozzz
a159b8b517
Add ability to list and delete original file
In admin
2024-03-26 14:10:02 +01:00
Chocobozzz
5b8da4e051
Method typo 2024-03-25 15:14:56 +01:00
Chocobozzz
33101bc5b3
Optimize abuse SQL query 2024-03-20 08:34:14 +01:00
Chocobozzz
0301d77254
Don't cancel finished jobs 2024-03-19 08:39:23 +01:00
Chocobozzz
c727a34cb6
Prevent aborting another live session 2024-03-18 16:09:22 +01:00
chagai95
e57c3024f4
Add config option to keep original video file (basic first version) (#6157)
* testing not removing old file and adding columb to db

* implement feature

* remove unnecessary config changes

* use only keptOriginalFileName, change keptOriginalFileName to keptOriginalFilename for consistency with with videoFile table, slight refactor with basename()

* save original video files to dedicated directory original-video-files

* begin implementing object storage (bucket) support

---------

Co-authored-by: chagai.friedlander <chagai.friedlander@fairkom.eu>
Co-authored-by: Ian <ian.kraft@hotmail.com>
Co-authored-by: Chocobozzz <me@florianbigard.com>
2024-03-15 15:47:18 +01:00
Chocobozzz
486b4a329f
Optimize config endpoint 2024-03-12 16:00:51 +01:00
Chocobozzz
4596ec2a9f
Add ability to sort videos by file size 2024-03-08 15:15:03 +01:00
Chocobozzz
98781f353d
Add user history in import/export 2024-02-28 16:48:59 +01:00
Chocobozzz
7be401ac76
Fix playlist elements merge on import 2024-02-28 15:55:37 +01:00
Chocobozzz
f6fb7cd3e9
Ensure server actor AP object has avatars 2024-02-28 14:47:39 +01:00
Chocobozzz
a4b497c2a9
Add postingRestrictedToMods to channels AP objects
See https://github.com/LemmyNet/lemmy/issues/3837
2024-02-27 15:46:38 +01:00
Chocobozzz
2e760485c1
Fix abuse/registration requests stats
With old abuses/registration requests that do not have the processedAt
attribute set
2024-02-27 15:26:37 +01:00