Commit Graph

991 Commits

Author SHA1 Message Date
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
Alejandro cf843c3f12 Text corrections 2023-12-06 08:45:06 +01:00
Chocobozzz ee6844d718
Fix web videos directory important notes 2023-11-29 08:10:26 +01:00
Chocobozzz db61334cc3
Fix replace file nginx configuration 2023-11-28 14:11:07 +01:00
Chocobozzz b13460a10a
Add ability to set password from embed API 2023-11-23 08:14:54 +01:00
fuomag9 1e3fd73cdf Inform the user to remove assets:/app/client/dist if not using the webserver container 2023-11-17 14:23:31 +01:00
Chocobozzz ae16f5f115
Improve tools doc using code blocks
See the result on https://docs.joinpeertube.org/maintain/tools
2023-11-08 15:25:17 +01:00
Chocobozzz dbb54df6bd
Add doc to move videos to filesystem 2023-11-08 15:05:32 +01:00
Chocobozzz cc747fd67d
Uncomment doc regarding storyboard generation 2023-11-08 15:03:07 +01:00
Chocobozzz b1fc5a9cb4
Add log level example in docker .env 2023-11-06 08:59:38 +01:00
Chocobozzz 757ffb2a69
Add peertube version info in openapi doc 2023-10-20 16:09:08 +02:00
Chocobozzz 678ae8abbd
Breaking: only support node 18
Node 16 is not supported anymore

See https://nodejs.org/fr/blog/announcements/nodejs16-eol
2023-10-11 13:59:24 +02:00
Chocobozzz 5a3d0650c9
server/server -> server/core 2023-10-04 15:13:25 +02:00
Chocobozzz d38a49463f
Fix disabling object storage ACL in docker 2023-09-01 11:41:38 +02:00
Chocobozzz 77b70702d2
Add video chapters support 2023-08-28 16:17:31 +02:00
Chocobozzz 869c5c7b5c
Update openapi version 2023-08-17 15:18:27 +02:00
Chocobozzz 5ab73a4570
Improve plugin guide 2023-08-17 15:18:27 +02:00
Yehuda Deutsch f7882ca3eb Switch from debian bullseye to bookworm 2023-08-17 15:18:21 +02:00
John Livingston e6c12444aa Enhance registerClientRoute documentation:
Adding the path on which routes created with registerClientRoute are
available.
2023-08-17 13:38:26 +02:00
Chocobozzz cb78deba47
Fix broken links 2023-08-17 09:46:24 +02:00
Chocobozzz 3a4992633e
Migrate server to ESM
Sorry for the very big commit that may lead to git log issues and merge
conflicts, but it's a major step forward:

 * Server can be faster at startup because imports() are async and we can
   easily lazy import big modules
 * Angular doesn't seem to support ES import (with .js extension), so we
   had to correctly organize peertube into a monorepo:
    * Use yarn workspace feature
    * Use typescript reference projects for dependencies
    * Shared projects have been moved into "packages", each one is now a
      node module (with a dedicated package.json/tsconfig.json)
    * server/tools have been moved into apps/ and is now a dedicated app
      bundled and published on NPM so users don't have to build peertube
      cli tools manually
    * server/tests have been moved into packages/ so we don't compile
      them every time we want to run the server
 * Use isolatedModule option:
   * Had to move from const enum to const
     (https://www.typescriptlang.org/docs/handbook/enums.html#objects-vs-enums)
   * Had to explictely specify "type" imports when used in decorators
 * Prefer tsx (that uses esbuild under the hood) instead of ts-node to
   load typescript files (tests with mocha or scripts):
     * To reduce test complexity as esbuild doesn't support decorator
       metadata, we only test server files that do not import server
       models
     * We still build tests files into js files for a faster CI
 * Remove unmaintained peertube CLI import script
 * Removed some barrels to speed up execution (less imports)
2023-08-11 15:02:33 +02:00
Chocobozzz 89aa333110
Add ability to force transcoding 2023-07-28 11:09:03 +02:00
mira.bat f862be2749
Add an option to sign federated fetches for mastodon compatibility (#5898)
* Fix player error modal

Not hidden when we change the video

* Correctly dispose player components

* Sign cross-server fetch requests for mastodon AUTHORIZED_FETCH compatibilty

* Add a remote fetch sign configuration knob

* Federated fetches refactoring

---------

Co-authored-by: Chocobozzz <me@florianbigard.com>
Co-authored-by: ira <ira@foxgirl.space>
2023-07-27 17:01:15 +02:00
Chocobozzz f18003d0ac
Improve runner management
* Add ability to remove runner jobs
 * Add runner job state quick filter
 * Merge registration tokens and runners tables in the same page
 * Add copy button to copy registration token
2023-07-27 14:17:12 +02:00
Chocobozzz f5af5feb5a
Use built in toc doc
As we mainly use this file on https://docs.joinpeertube.org/contribute/plugins
2023-07-26 11:47:00 +02:00
Chocobozzz 12dc3a942a
Implement replace file in server side 2023-07-21 17:38:13 +02:00
Chocobozzz c6867725fb
Add p2p info to metrics 2023-07-21 11:42:52 +02:00