aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub
Commit message (Collapse)AuthorAgeFilesLines
* esModuleInterop to trueChocobozzz2021-08-277-14/+14
|
* Add support for saving video files to object storage (#4290)Jelle Besseling2021-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Refactor notifierChocobozzz2021-08-021-1/+11
|
* Use random names for VOD HLS playlistsChocobozzz2021-07-262-12/+13
|
* Add ability for instances to follow any actorChocobozzz2021-07-212-2/+18
|
* Refactor requestsChocobozzz2021-07-203-3/+3
|
* Fix webfinger tls onlyChocobozzz2021-07-011-2/+2
|
* Fix hooks definitionChocobozzz2021-07-011-1/+3
|
* Support short uuid for GET video/playlistChocobozzz2021-06-291-2/+2
|
* Add ability to search playlistsChocobozzz2021-06-259-26/+76
|
* Fix prune storage testsChocobozzz2021-06-171-8/+12
|
* Refactor live managerChocobozzz2021-06-171-1/+1
|
* Resolve object id from actors tooChocobozzz2021-06-162-0/+4
|
* Fix missing transactionsChocobozzz2021-06-154-16/+15
|
* Remove unnecessary awaitChocobozzz2021-06-151-1/+1
|
* Use a global request timeoutChocobozzz2021-06-152-7/+4
|
* Handle short video linksChocobozzz2021-06-141-0/+2
|
* Improve captions AP updaterChocobozzz2021-06-141-3/+0
|
* Optimize AP video captions updateChocobozzz2021-06-091-4/+21
|
* Cache refresh actor promiseChocobozzz2021-06-092-11/+25
|
* 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
|
* Log rate AP fetch error as infoChocobozzz2021-06-081-1/+1
| | | | | It's not really a warning, we could have many invalid rates in the federation
* Fix video upload with a capitalized extChocobozzz2021-06-081-2/+2
|
* Fix process delete promise returnChocobozzz2021-06-071-1/+1
|
* createThumbnail -> updateThumbnailChocobozzz2021-06-042-5/+5
|
* fetch -> loadChocobozzz2021-06-034-12/+12
| | | | avoid confusion with AP fetch functions
* Move middleware utils in middlewaresChocobozzz2021-06-037-6/+74
| | | | helpers modules should not import models
* Add tags to AP rate loggerChocobozzz2021-06-031-2/+4
|
* Refactor AP video logger tagsChocobozzz2021-06-035-18/+22
|
* Refactor AP actorsChocobozzz2021-06-0321-666/+714
|
* Refactor AP playlistsChocobozzz2021-06-0313-310/+399
|
* Add tags to logs in AP videosChocobozzz2021-06-026-24/+42
|
* Refactor sync attributesChocobozzz2021-06-021-37/+50
|
* Refactor getOrCreateAPVideoChocobozzz2021-06-0215-203/+220
|
* Move AP video channel creationChocobozzz2021-06-025-83/+47
|
* Refactor AP video create/updateChocobozzz2021-06-029-490/+455
|
* Refactor AP video updateChocobozzz2021-06-0211-936/+1061
|
* Process redundancy stats in seriesChocobozzz2021-06-011-1/+1
|
* Stricter models typingChocobozzz2021-05-121-2/+1
|
* Cleanup models directory organizationChocobozzz2021-05-1111-34/+34
|
* Update channel updatedAt when uploading a videoChocobozzz2021-05-102-2/+3
|
* Fix remote actor creation dateChocobozzz2021-05-071-0/+4
|
* Don't save other attributes when set as refreshedChocobozzz2021-04-121-2/+11
|
* Don't retry failed transaction for refreshChocobozzz2021-04-091-1/+1
| | | | | | It's just a refresh and could lead to some issues in our tests. If there is a transaction conflict, it means that the same video is already beeing updated so aborting should be fine
* Add size info in db for actor imagesChocobozzz2021-04-082-32/+41
|
* Update data in DB when regenerate thumbnailsChocobozzz2021-04-081-1/+2
|
* Add banner testsChocobozzz2021-04-082-46/+35
|
* Add banners supportChocobozzz2021-04-083-36/+90
|