Commit Graph

1017 Commits (55200431d9ef4bde5f6fd3c799b10b0b9bb2592c)

Author SHA1 Message Date
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 4177ed98ea
Remove obsolete version from docker compose 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 5dd0721bee
Merge branch 'release/6.1.0' into develop 2024-05-16 11:39:53 +02:00
Chocobozzz 21f4ed5c33
Add missing docker env for object storage 2024-05-16 11:06:18 +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
Chocobozzz db69d9491e
Add abuse and registration requests stats 2024-02-21 14:57:20 +01:00
Chocobozzz 35f0bb14be Update nginx template to support user import 2024-02-21 13:49:08 +01:00
Chocobozzz b18127d91b Add user import/export in openapi 2024-02-21 13:49:08 +01:00
Chocobozzz 7ee0efb57a
Add ability to set a banner to the instance 2024-02-20 11:33:10 +01:00
Chocobozzz 64128512b2
Add yarn cleanup info after upgrade 2024-02-15 16:23:09 +01:00
Chocobozzz ef4e7651c1
Getting the video source requires oauth token 2024-02-15 16:15:07 +01:00
Chocobozzz bfdd4d10f3
Clearer yarn dependency version doc 2024-02-15 09:01:01 +01:00
Chocobozzz d7e496d3a3
Update openapi version 2024-01-26 17:20:26 +01:00
Chocobozzz 0d89f639f6
Merge branch 'release/6.0.0' into develop 2024-01-18 09:48:26 +01:00
Chocobozzz 12ea8f0dd1
Fix nginx serving private hls files 2024-01-18 09:09:31 +01:00
Olivier Bouillet 9bcf0ecc48
doc: add default values in iFrame api doc (#6118)
* doc: add default values in iFrame api doc

* doc: handle PR feedbacks

* doc: add missing feedback

* chore: one more fix

* doc: fix last code review feedbacks

---------

Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2024-01-12 16:01:19 +01:00
John Livingston 72e896ea49
Documentation: how to create a systemd service for the Peertube runner. (#6065)
* Documentation: how to create a systemd service for the Peertube runner.

* Styling

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
2024-01-12 15:53:29 +01:00
Chocobozzz fe37e5232b
Add ability to customize views/playback interval 2023-12-20 10:55:47 +01:00