aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/job-queue
Commit message (Collapse)AuthorAgeFilesLines
* esModuleInterop to trueChocobozzz2021-08-2715-50/+50
|
* Better logs for transcodingChocobozzz2021-08-261-13/+28
|
* Optimize torrent URL updateChocobozzz2021-08-181-2/+2
|
* Add support for saving video files to object storage (#4290)Jelle Besseling2021-08-176-82/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Improve target bitrate calculationChocobozzz2021-08-064-12/+12
|
* Remove deprecated transcoding job namesChocobozzz2021-08-051-12/+1
|
* Refactor notifierChocobozzz2021-08-021-2/+2
|
* Use random names for VOD HLS playlistsChocobozzz2021-07-263-9/+12
|
* Generate random uuid for video filesChocobozzz2021-07-262-4/+4
|
* Refactor requestsChocobozzz2021-07-201-1/+1
|
* Add ability to search playlistsChocobozzz2021-06-251-6/+2
|
* Refactor live managerChocobozzz2021-06-171-14/+5
|
* Fix lintChocobozzz2021-06-151-1/+0
|
* Fix missing transactionsChocobozzz2021-06-151-27/+23
|
* Use a global request timeoutChocobozzz2021-06-152-4/+1
|
* Cache refresh actor promiseChocobozzz2021-06-091-1/+1
|
* Fix lintChocobozzz2021-06-082-2/+0
|
* Fix video upload with a capitalized extChocobozzz2021-06-082-2/+4
|
* fetch -> loadChocobozzz2021-06-031-2/+2
| | | | avoid confusion with AP fetch functions
* Move middleware utils in middlewaresChocobozzz2021-06-032-3/+2
| | | | helpers modules should not import models
* Refactor AP actorsChocobozzz2021-06-033-4/+4
|
* Refactor AP playlistsChocobozzz2021-06-032-2/+2
|
* Refactor AP video updateChocobozzz2021-06-021-1/+1
|
* Instance homepage support (#4007)Chocobozzz2021-05-271-3/+3
| | | | | | | | | | | | | | | | | * Prepare homepage parsers * Add ability to update instance hompage * Add ability to set homepage as landing page * Add homepage preview in admin * Dynamically update left menu for homepage * Inject home content in homepage * Add videos list and channel miniature custom markup * Remove unused elements in markup service
* Stricter models typingChocobozzz2021-05-121-2/+2
|
* Cleanup models directory organizationChocobozzz2021-05-116-21/+21
|
* Move transcoding files in their own directoryChocobozzz2021-05-112-2/+2
|
* Use a class for youtube-dlChocobozzz2021-05-111-2/+5
|
* Fix lintChocobozzz2021-05-051-1/+0
|
* Fix transcoding job priorityChocobozzz2021-05-051-3/+3
| | | | | New resolution jobs are also important if waiting for transcoding is enabled since we publish the video after the first resolution generation
* Fix AP security testsChocobozzz2021-03-241-3/+3
|
* Fix 404 AP status codesChocobozzz2021-03-241-22/+27
|
* Use got instead of requestChocobozzz2021-03-244-17/+13
|
* Refactor a little bit AP validatorsChocobozzz2021-03-241-3/+6
|
* Rename request timeoutChocobozzz2021-03-032-9/+9
|
* Add ability to cleanup remote AP interactionsChocobozzz2021-03-033-1/+205
|
* Fix broken local actorsChocobozzz2021-02-262-0/+25
| | | | | Some channels can't federate because they don't have public/private keys, maybe because the generation failed for various reasons
* Correctly wait transcoding before federatingChocobozzz2021-02-221-16/+22
|
* CleanupChocobozzz2021-02-182-2/+2
|
* Add video files migrationChocobozzz2021-02-181-21/+16
|
* Dissociate video file names and video uuidChocobozzz2021-02-184-11/+15
|
* Remove previous thumbnail if neededChocobozzz2021-02-162-4/+20
|
* Guess if we need to generate the thumbnail for importsChocobozzz2021-02-121-15/+6
|
* Painfully debug concurrent import jobsChocobozzz2021-02-091-22/+41
|
* Allow to specify transcoding and import jobs concurrencyChocobozzz2021-02-082-21/+35
|
* Fix HLS generation after import scriptChocobozzz2021-02-022-2/+13
|
* Transcode audio uploads to lower resolutionsChocobozzz2021-02-021-0/+2
| | | | Better consistency
* Correctly remove torrents with HLS onlyChocobozzz2021-02-011-0/+1
|
* Safely remove webtorrent filesChocobozzz2021-01-251-4/+6
| | | | Only remove them on max quality HLS playlist generation
* Add priority to transcoding jobsChocobozzz2021-01-254-37/+65
| | | | | | | | | | (1 = highest priority) 100 for new resolutions 10 for original file optimization Add a malus for transcoding jobs depending on how many uploads the user did in the last 7 days