aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
Commit message (Collapse)AuthorAgeFilesLines
* Set ACL when uploading objectsChocobozzz2021-08-181-2/+4
|
* Optimize torrent URL updateChocobozzz2021-08-181-2/+2
|
* Remove optimize old videos scriptChocobozzz2021-08-171-1/+1
| | | | It is not compatible with HLS and I don't have time to maintain it
* Add support for saving video files to object storage (#4290)Jelle Besseling2021-08-1727-341/+1141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for saving video files to object storage * Add support for custom url generation on s3 stored files Uses two config keys to support url generation that doesn't directly go to (compatible s3). Can be used to generate urls to any cache server or CDN. * Upload files to s3 concurrently and delete originals afterwards * Only publish after move to object storage is complete * Use base url instead of url template * Fix mistyped config field * Add rudenmentary way to download before transcode * Implement Chocobozzz suggestions https://github.com/Chocobozzz/PeerTube/pull/4290#issuecomment-891670478 The remarks in question: Try to use objectStorage prefix instead of s3 prefix for your function/variables/config names Prefer to use a tree for the config: s3.streaming_playlists_bucket -> object_storage.streaming_playlists.bucket Use uppercase for config: S3.STREAMING_PLAYLISTS_BUCKETINFO.bucket -> OBJECT_STORAGE.STREAMING_PLAYLISTS.BUCKET (maybe BUCKET_NAME instead of BUCKET) I suggest to rename moveJobsRunning to pendingMovingJobs (or better, create a dedicated videoJobInfo table with a pendingMove & videoId columns so we could also use this table to track pending transcoding jobs) https://github.com/Chocobozzz/PeerTube/pull/4290/files#diff-3e26d41ca4bda1de8e1747af70ca2af642abcc1e9e0bfb94239ff2165acfbde5R19 uses a string instead of an integer I think we should store the origin object storage URL in fileUrl, without base_url injection. Instead, inject the base_url at "runtime" so admins can easily change this configuration without running a script to update DB URLs * Import correct function * Support multipart upload * Remove import of node 15.0 module stream/promises * Extend maximum upload job length Using the same value as for redundancy downloading seems logical * Use dynamic part size for really large uploads Also adds very small part size for local testing * Fix decreasePendingMove query * Resolve various PR comments * Move to object storage after optimize * Make upload size configurable and increase default * Prune webtorrent files that are stored in object storage * Move files after transcoding jobs * Fix federation * Add video path manager * Support move to external storage job in client * Fix live object storage tests Co-authored-by: Chocobozzz <me@florianbigard.com>
* Correctly handle large HLS files for redundancyChocobozzz2021-08-062-12/+16
|
* Improve target bitrate calculationChocobozzz2021-08-067-36/+42
|
* Limit live bitrateChocobozzz2021-08-063-27/+39
|
* Remove deprecated transcoding job namesChocobozzz2021-08-051-12/+1
|
* Do not index remote actorsChocobozzz2021-08-051-2/+9
|
* Refactor notifierChocobozzz2021-08-0237-1231/+1627
|
* Fix oembed for playlistsChocobozzz2021-07-271-1/+1
|
* Fix buildChocobozzz2021-07-261-1/+1
|
* Refactor video links buildersChocobozzz2021-07-261-5/+5
|
* Use random names for VOD HLS playlistsChocobozzz2021-07-2612-94/+131
|
* Generate random uuid for video filesChocobozzz2021-07-265-36/+25
|
* Upgrade server dependenciesChocobozzz2021-07-221-3/+3
|
* Merge branch 'next' into developChocobozzz2021-07-218-8/+24
|\
| * Add ability for instances to follow any actorChocobozzz2021-07-212-2/+18
| |
| * Refactor requestsChocobozzz2021-07-205-5/+5
| |
| * Introduce comments commandChocobozzz2021-07-201-1/+1
| |
* | Introduce generic video constant manager for pluginslutangar2021-07-162-179/+182
|/ | | | | Allow a plugin developer to get back constants values, and reset constants deletions or additions.
* Fix webfinger tls onlyChocobozzz2021-07-011-2/+2
|
* Fix hooks definitionChocobozzz2021-07-011-1/+3
|
* Handle broken plugin installChocobozzz2021-06-301-11/+16
|
* Support short uuid for GET video/playlistChocobozzz2021-06-294-8/+13
|
* Add ability to search playlistsChocobozzz2021-06-2511-32/+128
|
* It's not the week-end yetChocobozzz2021-06-171-2/+0
|
* Fix muxing cleanupChocobozzz2021-06-172-3/+1
|
* Fix prune storage testsChocobozzz2021-06-171-8/+12
|
* Fix memory leakChocobozzz2021-06-172-3/+19
|
* Don't retry UpdateVideosScheduler transactionsChocobozzz2021-06-171-7/+6
|
* Refactor live managerChocobozzz2021-06-1712-655/+906
|
* Resolve object id from actors tooChocobozzz2021-06-162-0/+4
|
* Add ability to delete previously added constantsChocobozzz2021-06-151-9/+19
|
* Fix lintChocobozzz2021-06-151-1/+0
|
* Fix missing transactionsChocobozzz2021-06-158-58/+46
|
* Remove unnecessary awaitChocobozzz2021-06-151-1/+1
|
* Use a global request timeoutChocobozzz2021-06-154-11/+5
|
* Handle short video linksChocobozzz2021-06-141-0/+2
|
* Improve captions AP updaterChocobozzz2021-06-141-3/+0
|
* Refactor schedule updateChocobozzz2021-06-111-11/+10
|
* Refactor include checksChocobozzz2021-06-111-2/+1
|
* Use raw SQL for most of video queriesChocobozzz2021-06-111-8/+5
|
* Fetch directly all video attributes for get APIChocobozzz2021-06-111-1/+13
|
* Refactor video query builderChocobozzz2021-06-101-1/+1
|
* Optimize AP video captions updateChocobozzz2021-06-091-4/+21
|
* Cache refresh actor promiseChocobozzz2021-06-093-12/+26
|
* Fix actor image updateChocobozzz2021-06-081-4/+4
|
* Try to speed up AP update transactionChocobozzz2021-06-086-35/+37
|
* Add logs for refresh functionsChocobozzz2021-06-083-3/+11
|