aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/redundancy
Commit message (Collapse)AuthorAgeFilesLines
* Move test functions outside extra-utilsChocobozzz2021-12-172-14/+18
|
* shared/ typescript types dir server-commandsChocobozzz2021-12-173-3/+3
|
* Fix testsChocobozzz2021-12-091-8/+8
|
* esModuleInterop to trueChocobozzz2021-08-271-1/+1
|
* Fix redundancy remove on host redundancy updateChocobozzz2021-08-261-9/+22
|
* Add support for saving video files to object storage (#4290)Jelle Besseling2021-08-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Generate random uuid for video filesChocobozzz2021-07-261-60/+85
|
* Add ability for instances to follow any actorChocobozzz2021-07-211-2/+2
|
* Reorganize importsChocobozzz2021-07-203-14/+6
|
* Refactor requestsChocobozzz2021-07-202-4/+4
|
* Use an object to represent a serverChocobozzz2021-07-203-31/+29
|
* Shorter server command namesChocobozzz2021-07-203-50/+50
|
* Introduce videos commandChocobozzz2021-07-203-49/+31
|
* Introduce server commandsChocobozzz2021-07-203-28/+26
|
* Introduce sql commandChocobozzz2021-07-202-4/+4
|
* Introduce channels commandChocobozzz2021-07-201-2/+1
|
* Introduce streaming playlists commandChocobozzz2021-07-201-1/+1
|
* Introduce stats commandChocobozzz2021-07-201-13/+2
|
* Introduce redundancy commandChocobozzz2021-07-203-158/+84
|
* Introduce follows commandChocobozzz2021-07-202-15/+14
|
* Fix lintChocobozzz2021-02-011-4/+11
|
* Fix testsChocobozzz2021-02-012-38/+47
|
* Fix redundancy with HLS only filesChocobozzz2021-02-011-13/+77
|
* replace numbers with typed http status codes (#3409)Rigel Kent2020-12-071-2/+3
|
* Add ability to accept or not remote redundanciesChocobozzz2020-04-072-0/+201
|
* Move to eslintcontainChocobozzz2020-02-032-44/+44
|
* Add ability to list redundanciesChocobozzz2020-01-283-23/+489
|
* Remove HLS torrentsChocobozzz2020-01-241-4/+4
|
* Filter on follows actor types in about pageChocobozzz2019-11-291-2/+2
|
* Fix redundancy testsChocobozzz2019-08-131-4/+4
|
* Redundancy and search tests in parallel tooChocobozzz2019-05-141-12/+22
|
* Use test wrapper exit functionChocobozzz2019-04-241-21/+17
|
* Shared utils -> extra-utilsChocobozzz2019-04-241-4/+4
| | | | Because they need dev dependencies
* Add videos playlist exist testsChocobozzz2019-03-181-2/+2
|
* Add playlist check param testsChocobozzz2019-03-181-4/+10
|
* Use a single file instead of segments for HLSChocobozzz2019-02-111-9/+13
|
* Add hls support on serverChocobozzz2019-02-111-65/+147
|
* Merge branch 'move-utils-to-shared' of ↵Chocobozzz2018-12-071-4/+5
|\ | | | | | | https://github.com/buoyantair/PeerTube into buoyantair-move-utils-to-shared
| * Merge branch 'develop' of https://github.com/Chocobozzz/PeerTube into ↵buoyantair2018-11-181-2/+4
| |\ | | | | | | | | | move-utils-to-shared
| * \ Merge from upstreambuoyantair2018-11-161-20/+16
| |\ \
| * | | Move utils to /sharedbuoyantair2018-10-291-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Move utils used by /server/tools/* & /server/tests/**/* into /shared folder. Issue: #1336
* | | | Create redundancy endpointChocobozzz2018-12-041-12/+15
| |_|/ |/| |
* | | Fix images size when downloading themChocobozzz2018-11-161-2/+3
| |/ |/|
* | Remove wrong redundancy testChocobozzz2018-11-151-20/+16
|/
* Move redundancy in its own travis containerChocobozzz2018-10-162-0/+484