PeerTube/server/core/middlewares/validators/shared
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
..
abuses.ts
accounts.ts
index.ts
users.ts
utils.ts Fix lint 2024-02-22 10:32:28 +01:00
video-blacklists.ts
video-captions.ts
video-channel-syncs.ts
video-channels.ts
video-comments.ts
video-imports.ts
video-ownerships.ts
video-passwords.ts
video-playlists.ts
videos.ts Add config option to keep original video file (basic first version) (#6157) 2024-03-15 15:47:18 +01:00