Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | esModuleInterop to true | Chocobozzz | 2021-08-27 | 5 | -10/+10 |
| | |||||
* | Add support for saving video files to object storage (#4290) | Jelle Besseling | 2021-08-17 | 6 | -22/+196 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | Fix backend channel name validator consistency | Chocobozzz | 2021-08-05 | 1 | -2/+2 |
| | |||||
* | Merge branch 'release/3.3.0' into develop | Chocobozzz | 2021-07-29 | 1 | -2/+2 |
|\ | |||||
| * | Fix video format utils | Chocobozzz | 2021-07-29 | 1 | -2/+2 |
| | | |||||
* | | Refactor options in models | Chocobozzz | 2021-07-29 | 3 | -110/+82 |
| | | |||||
* | | Refactor search query options | Chocobozzz | 2021-07-29 | 1 | -1/+2 |
| | | |||||
* | | Search channels against handles and not names | Chocobozzz | 2021-07-29 | 1 | -9/+27 |
| | | |||||
* | | Add ability to search by uuids/actor names | Chocobozzz | 2021-07-28 | 4 | -30/+75 |
| | | |||||
* | | Filter host for channels and playlists search | Chocobozzz | 2021-07-28 | 5 | -24/+65 |
| | | |||||
* | | Add ability to search by host in server | Chocobozzz | 2021-07-27 | 3 | -3/+24 |
| | | |||||
* | | Refactor video links builders | Chocobozzz | 2021-07-26 | 2 | -7/+8 |
| | | |||||
* | | Use random names for VOD HLS playlists | Chocobozzz | 2021-07-26 | 5 | -52/+101 |
| | | |||||
* | | Add ability for instances to follow any actor | Chocobozzz | 2021-07-21 | 1 | -3/+3 |
|/ | |||||
* | change audio label, 0p > Audio | kontrollanten | 2021-07-12 | 1 | -1/+1 |
| | | | | Changes the audio label in the Download modal. | ||||
* | Fix hooks definition | Chocobozzz | 2021-07-01 | 2 | -3/+1 |
| | |||||
* | Fix missing delete cascade video -> channel | Chocobozzz | 2021-07-01 | 1 | -1/+2 |
| | |||||
* | Don't check enum for video model | Chocobozzz | 2021-06-29 | 1 | -6/+0 |
| | | | | Licence, language and category could be extended by a remote plugin | ||||
* | Support short uuid for GET video/playlist | Chocobozzz | 2021-06-29 | 3 | -4/+9 |
| | |||||
* | Add ability to search playlists | Chocobozzz | 2021-06-25 | 3 | -10/+80 |
| | |||||
* | Refactor live manager | Chocobozzz | 2021-06-17 | 1 | -1/+1 |
| | |||||
* | Fix missing transactions | Chocobozzz | 2021-06-15 | 3 | -7/+13 |
| | |||||
* | Remove unnecessary log | Chocobozzz | 2021-06-11 | 1 | -3/+0 |
| | |||||
* | Fix redundancy row grabbing | Chocobozzz | 2021-06-11 | 1 | -6/+2 |
| | |||||
* | Include transaction in video hooks | Chocobozzz | 2021-06-11 | 1 | -11/+6 |
| | |||||
* | Fix video with all files query | Chocobozzz | 2021-06-11 | 1 | -0/+1 |
| | |||||
* | Fix live files include | Chocobozzz | 2021-06-11 | 4 | -14/+17 |
| | |||||
* | Fix video rights fetching | Chocobozzz | 2021-06-11 | 1 | -0/+1 |
| | |||||
* | Cleanup video model scopes | Chocobozzz | 2021-06-11 | 1 | -55/+7 |
| | |||||
* | Move get* video methods to formatter | Chocobozzz | 2021-06-11 | 2 | -32/+45 |
| | |||||
* | Refactor schedule update | Chocobozzz | 2021-06-11 | 1 | -19/+5 |
| | |||||
* | Refactor include checks | Chocobozzz | 2021-06-11 | 1 | -53/+49 |
| | |||||
* | Use raw SQL for most of video queries | Chocobozzz | 2021-06-11 | 8 | -169/+187 |
| | |||||
* | Optimize join build | Chocobozzz | 2021-06-11 | 4 | -29/+39 |
| | |||||
* | Optimize rows parsing | Chocobozzz | 2021-06-11 | 7 | -131/+164 |
| | |||||
* | Fetch directly all video attributes for get API | Chocobozzz | 2021-06-11 | 1 | -3/+3 |
| | |||||
* | Use separate queries for video files | Chocobozzz | 2021-06-11 | 8 | -56/+231 |
| | |||||
* | Use raw SQL for video get request | Chocobozzz | 2021-06-10 | 10 | -388/+876 |
| | |||||
* | Refactor video query builder | Chocobozzz | 2021-06-10 | 7 | -777/+1049 |
| | |||||
* | Transaction is optional | Chocobozzz | 2021-06-09 | 1 | -1/+1 |
| | |||||
* | Optimize AP video captions update | Chocobozzz | 2021-06-09 | 1 | -5/+14 |
| | |||||
* | Try to speed up AP update transaction | Chocobozzz | 2021-06-08 | 1 | -1/+1 |
| | |||||
* | Don't count deleted comment for replies | Chocobozzz | 2021-06-08 | 1 | -6/+2 |
| | |||||
* | Refactor AP playlists | Chocobozzz | 2021-06-03 | 1 | -3/+2 |
| | |||||
* | Add tags to live logger | Chocobozzz | 2021-05-28 | 1 | -3/+3 |
| | |||||
* | Support '/w/' and '/w/p/' for watch page | Chocobozzz | 2021-05-28 | 2 | -2/+2 |
| | | | | And use them as default in client | ||||
* | Merge branch 'release/3.2.0' into develop | Chocobozzz | 2021-05-26 | 1 | -0/+1 |
|\ | |||||
| * | Fix broken lives handling | Chocobozzz | 2021-05-26 | 1 | -0/+1 |
| | | |||||
| * | Avoid error when file has no torrent file | Chocobozzz | 2021-05-25 | 2 | -14/+20 |
| | | |||||
* | | Avoid error when file has no torrent file | Chocobozzz | 2021-05-25 | 2 | -14/+20 |
| | |