Commit Graph

814 Commits (82c15dd48efed01b0fb3702fa612fa27d61005a4)

Author SHA1 Message Date
Chocobozzz 27bf92235f
Fix video file object storage detection 2024-08-19 17:02:44 +02:00
Chocobozzz 38dbafcf63
Support youtube-dl executables
Also disable youtube tests in CI due to youtube blocking
2024-08-13 14:20:08 +02:00
Chocobozzz 5439a591e0
Add ability to set proxies to youtube-dl 2024-08-13 10:49:31 +02:00
Chocobozzz 62bf86c186
Introduce bufferStalled playback metric 2024-08-08 14:41:34 +02:00
Chocobozzz 0edade2226
Add missing playlistPosition query param doc 2024-08-06 11:46:04 +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 e77ba2dfbc
Add runner note about public IP 2024-08-05 08:30:44 +02:00
John Livingston 533897af59 Fix documentation:
The documentation says "reload" instead of "start" or "restart".
2024-08-01 13:57:32 +02:00
Chocobozzz 417ddb3404
Improve runner documentation 2024-07-31 15:38:33 +02:00
Chocobozzz 5084a8fe71
Clearer node dependency version 2024-07-31 15:23:15 +02:00
Chocobozzz 7c83510b83
include can only be used by admins/moderators 2024-07-31 15:14:12 +02:00
Chocobozzz 89e3951587
Correctly save transaction with retries 2024-07-23 16:38:28 +02:00
Chocobozzz fbee171a0b
Update openapi version 2024-07-16 11:14:42 +02:00
Chocobozzz 85678854c2
Add transcription doc for remote runners 2024-07-01 14:32:53 +02:00
Chocobozzz b570d40beb
Prune storage can also prune remote object storage 2024-06-28 15:36:11 +02:00
Chocobozzz 1bfb791e05
Integrate transcription in PeerTube 2024-06-28 08:44:58 +02:00
Chocobozzz 7ce6574989
Prefer using req instead of body
We'll deprecate body in the future
2024-06-12 10:58:07 +02:00
Chocobozzz f65920b2ca
Fix docker guide typo 2024-06-12 10:58:07 +02:00
Chocobozzz b2cf5548cd
Command consistency
A message to stop PeerTube is already displayed when running the script
2024-06-06 11:34:29 +02:00
Chocobozzz 2b189131fa
Add house-keeping script 2024-06-05 15:35:58 +02:00
Chocobozzz 6a5bdaafbf
Update tools doc 2024-06-05 09:09:17 +02:00
Chocobozzz 3427330611
Support update object storage urls 2024-06-05 09:01:40 +02:00
Chocobozzz c5e48b8af0 Add embed `getImageDataUrl` doc 2024-05-30 16:31:16 +02:00
Wicklow 4d6d2f0479 Improve and correct openapi documentation 2024-05-30 13:12:30 +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 b3e39df59e
Add missing two factor doc on 401 HTTP error 2024-05-29 09:08:38 +02:00
Chocobozzz da7ccbb44a
Don't deprecate `code` error field 2024-05-29 09:03:48 +02:00
Olivier Bouillet 67c1f1985f docs: fix typo in getPlaybackRate() : Promise<number> documentation 2024-05-29 06:57:37 +02:00
Chocobozzz b7e07bde8c
Update search REST API doc 2024-05-28 09:05:35 +02:00
Chocobozzz c5de763d3d
Fix array query explode 2024-05-28 09:05:34 +02:00
Doug Luce e5a44a94b6 Make instructions work on more platforms
The `--sort` argument to ls is a linuxism (more precisely a
gnu-coreutilsism). I get this output when attempting these
instructions on FreeBSD (13):

    $ diff -u "$(ls --sort=t | head -2 | tail -1)/config/production.yaml.example" "$(ls --sort=t | head -1)/config/production.yaml.example"
    ls: unrecognized option `--sort=t'
    usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuvwxy1,] [--color=when] [-D format] [file ...]
    ls: unrecognized option `--sort=t'
    usage: ls [-ABCFGHILPRSTUWZabcdfghiklmnopqrstuvwxy1,] [--color=when] [-D format] [file ...]
    diff: /config/production.yaml.example: No such file or directory

Changing `--sort=t` to the POSIX-compliant `-t` makes this work as
expected and operates just fine on Linux (tested on Fedora Linux 39).

Fixes #6412
2024-05-28 08:55:33 +02:00
Chocobozzz 32b0206cd3
Fix typo 2024-05-15 16:14:53 +02:00
Chocobozzz 1208269dcb
Fix nodejs install URLs 2024-04-16 09:39:49 +02:00
Chocobozzz db05e6cebb
Fix schedule update date format 2024-04-15 11:11:16 +02:00
Chocobozzz b0ebb77197
Add view `sessionId` doc 2024-04-05 09:33:57 +02:00
kontrollanten cd42491cf0
feat: add support for sub routes under /my-account (#6218)
* feat: add support for sub routes under /my-account

closes #6217

* feat(plugins/client-routes): page titles

Add support for adding custom page titles in client routes.

* fix(client/PluginPages): reload component upon URL change

* Styling

* docs(plugins): update registerClientRoute

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2024-04-04 08:17:59 +02:00
kontrollanten 1b323f4f65 feat(plugins): add req.rawBody for routes
Stripe webhooks endpoints requires to read the raw request body.
https://docs.stripe.com/webhooks#verify-webhook-signatures-with-official-libraries
2024-04-02 11:06:34 +02:00
Chocobozzz 1d52f1f138
Add ffmpeg static build warning 2024-04-02 11:00:53 +02:00
John Livingston bfa7e364bf Missing video privacy value 2024-03-27 11:03:22 +01:00
Chocobozzz a159b8b517
Add ability to list and delete original file
In admin
2024-03-26 14:10:02 +01:00
Chocobozzz be19d9be34
Move email templates in assets directory 2024-03-20 09:15:07 +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 23aafafd1e
Add docker upgrade steps for nginx config 2024-03-11 11:43:49 +01:00
Chocobozzz 6250e4ab1d
Improve production guide 2024-03-11 11:27:33 +01:00
Chocobozzz 10e78bb778
Remove twitter whitelisted option
It doesn't seem to be required
2024-03-08 10:54:29 +01:00
Chocobozzz 36710e5c24
Update translation guide 2024-03-08 10:07:29 +01:00
Chocobozzz 4af8f5a581
Add "Detect a PeerTube instance" doc 2024-02-29 08:22:26 +01:00
Chocobozzz b6b1aaa56f
Add video aspect ratio in server 2024-02-27 15:24:34 +01:00
Chocobozzz 0165786f65
Add total moderators/admins in stats 2024-02-23 15:04:18 +01:00
Chocobozzz bb7cb0d2fd
Add ability to set avatar to instance 2024-02-23 14:27:11 +01:00