Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Alert user for low quota and video auto-block on upload page (#4336) | Ms Kimsible | 2021-08-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | * Replace wording of instance contact * Add contact-us button to no-quota alert on upload page * Add alert for accounts with auto-blocked videos on upload page * Add alert for accounts without enough quota + refacto on upload page * Using ng-container and ng-template * Add alert for daily quota * Add hook filter for upload page alert messages * Add instance name as subtitle in contact modal * Fix eslint max-len on string * Fix missing word in quota left daily message - upload page Co-authored-by: Kimsible <kimsible@users.noreply.github.com> | ||||
* | 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 | 10 | -29/+107 |
| | | |||||
* | | Add ability to search by host in server | Chocobozzz | 2021-07-27 | 4 | -3/+27 |
| | | |||||
* | | Refactor video links builders | Chocobozzz | 2021-07-26 | 2 | -7/+8 |
| | | |||||
* | | Use random names for VOD HLS playlists | Chocobozzz | 2021-07-26 | 7 | -62/+105 |
| | | |||||
* | | Add ability for instances to follow any actor | Chocobozzz | 2021-07-21 | 2 | -17/+15 |
|/ | |||||
* | 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 | 3 | -5/+4 |
| | |||||
* | 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 | 4 | -9/+17 |
| | |||||
* | More robust actor image lazy load | Chocobozzz | 2021-06-14 | 1 | -0/+4 |
| | |||||
* | 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 |
| | |||||
* | Fix video upload with a capitalized ext | Chocobozzz | 2021-06-08 | 1 | -3/+3 |
| | |||||
* | Refactor AP playlists | Chocobozzz | 2021-06-03 | 1 | -3/+2 |
| | |||||
* | Refactor getOrCreateAPVideo | Chocobozzz | 2021-06-02 | 1 | -0/+4 |
| | |||||
* | Add expiresOn index | Chocobozzz | 2021-06-01 | 1 | -0/+3 |
| | |||||
* | 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 |