Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Optimize torrent URL update | Chocobozzz | 2021-08-18 | 1 | -2/+2 |
| | |||||
* | Remove optimize old videos script | Chocobozzz | 2021-08-17 | 1 | -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 Besseling | 2021-08-17 | 27 | -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 redundancy | Chocobozzz | 2021-08-06 | 2 | -12/+16 |
| | |||||
* | Improve target bitrate calculation | Chocobozzz | 2021-08-06 | 7 | -36/+42 |
| | |||||
* | Limit live bitrate | Chocobozzz | 2021-08-06 | 3 | -27/+39 |
| | |||||
* | Remove deprecated transcoding job names | Chocobozzz | 2021-08-05 | 1 | -12/+1 |
| | |||||
* | Do not index remote actors | Chocobozzz | 2021-08-05 | 1 | -2/+9 |
| | |||||
* | Refactor notifier | Chocobozzz | 2021-08-02 | 37 | -1231/+1627 |
| | |||||
* | Fix oembed for playlists | Chocobozzz | 2021-07-27 | 1 | -1/+1 |
| | |||||
* | Fix build | Chocobozzz | 2021-07-26 | 1 | -1/+1 |
| | |||||
* | Refactor video links builders | Chocobozzz | 2021-07-26 | 1 | -5/+5 |
| | |||||
* | Use random names for VOD HLS playlists | Chocobozzz | 2021-07-26 | 12 | -94/+131 |
| | |||||
* | Generate random uuid for video files | Chocobozzz | 2021-07-26 | 5 | -36/+25 |
| | |||||
* | Upgrade server dependencies | Chocobozzz | 2021-07-22 | 1 | -3/+3 |
| | |||||
* | Merge branch 'next' into develop | Chocobozzz | 2021-07-21 | 8 | -8/+24 |
|\ | |||||
| * | Add ability for instances to follow any actor | Chocobozzz | 2021-07-21 | 2 | -2/+18 |
| | | |||||
| * | Refactor requests | Chocobozzz | 2021-07-20 | 5 | -5/+5 |
| | | |||||
| * | Introduce comments command | Chocobozzz | 2021-07-20 | 1 | -1/+1 |
| | | |||||
* | | Introduce generic video constant manager for plugins | lutangar | 2021-07-16 | 2 | -179/+182 |
|/ | | | | | Allow a plugin developer to get back constants values, and reset constants deletions or additions. | ||||
* | Fix webfinger tls only | Chocobozzz | 2021-07-01 | 1 | -2/+2 |
| | |||||
* | Fix hooks definition | Chocobozzz | 2021-07-01 | 1 | -1/+3 |
| | |||||
* | Handle broken plugin install | Chocobozzz | 2021-06-30 | 1 | -11/+16 |
| | |||||
* | Support short uuid for GET video/playlist | Chocobozzz | 2021-06-29 | 4 | -8/+13 |
| | |||||
* | Add ability to search playlists | Chocobozzz | 2021-06-25 | 11 | -32/+128 |
| | |||||
* | It's not the week-end yet | Chocobozzz | 2021-06-17 | 1 | -2/+0 |
| | |||||
* | Fix muxing cleanup | Chocobozzz | 2021-06-17 | 2 | -3/+1 |
| | |||||
* | Fix prune storage tests | Chocobozzz | 2021-06-17 | 1 | -8/+12 |
| | |||||
* | Fix memory leak | Chocobozzz | 2021-06-17 | 2 | -3/+19 |
| | |||||
* | Don't retry UpdateVideosScheduler transactions | Chocobozzz | 2021-06-17 | 1 | -7/+6 |
| | |||||
* | Refactor live manager | Chocobozzz | 2021-06-17 | 12 | -655/+906 |
| | |||||
* | Resolve object id from actors too | Chocobozzz | 2021-06-16 | 2 | -0/+4 |
| | |||||
* | Add ability to delete previously added constants | Chocobozzz | 2021-06-15 | 1 | -9/+19 |
| | |||||
* | Fix lint | Chocobozzz | 2021-06-15 | 1 | -1/+0 |
| | |||||
* | Fix missing transactions | Chocobozzz | 2021-06-15 | 8 | -58/+46 |
| | |||||
* | Remove unnecessary await | Chocobozzz | 2021-06-15 | 1 | -1/+1 |
| | |||||
* | Use a global request timeout | Chocobozzz | 2021-06-15 | 4 | -11/+5 |
| | |||||
* | Handle short video links | Chocobozzz | 2021-06-14 | 1 | -0/+2 |
| | |||||
* | Improve captions AP updater | Chocobozzz | 2021-06-14 | 1 | -3/+0 |
| | |||||
* | Refactor schedule update | Chocobozzz | 2021-06-11 | 1 | -11/+10 |
| | |||||
* | Refactor include checks | Chocobozzz | 2021-06-11 | 1 | -2/+1 |
| | |||||
* | Use raw SQL for most of video queries | Chocobozzz | 2021-06-11 | 1 | -8/+5 |
| | |||||
* | Fetch directly all video attributes for get API | Chocobozzz | 2021-06-11 | 1 | -1/+13 |
| | |||||
* | Refactor video query builder | Chocobozzz | 2021-06-10 | 1 | -1/+1 |
| | |||||
* | Optimize AP video captions update | Chocobozzz | 2021-06-09 | 1 | -4/+21 |
| | |||||
* | Cache refresh actor promise | Chocobozzz | 2021-06-09 | 3 | -12/+26 |
| | |||||
* | Fix actor image update | Chocobozzz | 2021-06-08 | 1 | -4/+4 |
| | |||||
* | Try to speed up AP update transaction | Chocobozzz | 2021-06-08 | 6 | -35/+37 |
| | |||||
* | Add logs for refresh functions | Chocobozzz | 2021-06-08 | 3 | -3/+11 |
| | |||||
* | Log rate AP fetch error as info | Chocobozzz | 2021-06-08 | 1 | -1/+1 |
| | | | | | It's not really a warning, we could have many invalid rates in the federation |