aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/cli
Commit message (Collapse)AuthorAgeFilesLines
* Fix E2E testsChocobozzz2021-11-241-1/+0
|
* Ensure we don't run transcoding after import fileChocobozzz2021-11-231-0/+10
|
* Fix testsChocobozzz2021-11-101-7/+2
|
* Add transcoding fail message in clientChocobozzz2021-11-091-3/+3
|
* Add migrate-to-object-storage script (#4481)kontrollanten2021-11-092-0/+115
| | | | | | | | | | | | | | | | | | * add migrate-to-object-storage-script closes #4467 * add migrate-to-unique-playlist-filenames script * fix(migrate-to-unique-playlist-filenames): update master/segments256 run updateMasterHLSPlaylist and updateSha256VODSegments after file rename. * Improve move to object storage scripts * PR remarks Co-authored-by: Chocobozzz <me@florianbigard.com>
* Added 144p encoding (#4492)Florian CUNY2021-11-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added 144p encoding Implements https://github.com/Chocobozzz/PeerTube/issues/4428 * Fixed typo in core-utils * Increased BitPerPixel for 144p * Disabled 144p by default in test.yaml * Another try at fixing tests * Fixed test in video-transcoder (api-3) * Fixed test in video-imports (api-4) * Fixed test in live-constraints (api-2) * Tried to fix tests in api-3 again * Revert "Tried to fix tests in api-3 again" This reverts commit 266e1143fa37f333d149c2c2791c7bd33621ac14. * Fixed test in config.ts (api-2) * Try to fix test in video-hls.ts (api-3) * Fixed test in video-transcoder.ts (api-3) * Fix tests Co-authored-by: Chocobozzz <me@florianbigard.com>
* Fix bitrate testsChocobozzz2021-10-121-2/+2
|
* Fix notification on create transcoding jobChocobozzz2021-10-081-1/+15
|
* Support short uuid for scriptsChocobozzz2021-08-172-11/+16
|
* Remove optimize old videos scriptChocobozzz2021-08-172-97/+0
| | | | 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 Besseling2021-08-172-38/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Improve target bitrate calculationChocobozzz2021-08-062-18/+12
|
* Use random names for VOD HLS playlistsChocobozzz2021-07-263-11/+44
|
* Reorganize importsChocobozzz2021-07-206-10/+8
|
* Refactor requestsChocobozzz2021-07-202-4/+4
|
* Centralize test URLsChocobozzz2021-07-201-4/+4
|
* Use an object to represent a serverChocobozzz2021-07-209-46/+44
|
* Shorter server command namesChocobozzz2021-07-209-98/+98
|
* Introduce videos commandChocobozzz2021-07-207-167/+116
|
* Introduce user commandChocobozzz2021-07-204-11/+7
|
* Introduce login commandChocobozzz2021-07-202-13/+3
|
* Introduce server commandsChocobozzz2021-07-203-21/+18
|
* Introduce sql commandChocobozzz2021-07-203-4/+4
|
* Fix CLI toolsChocobozzz2021-07-202-2/+10
|
* Introduce comments commandChocobozzz2021-07-201-2/+1
|
* Introduce channels commandChocobozzz2021-07-202-9/+6
|
* Introduce import commandChocobozzz2021-07-201-3/+4
|
* Introduce playlist commandChocobozzz2021-07-201-5/+2
|
* Introduce accounts commandChocobozzz2021-07-202-20/+15
|
* Introduce config commandChocobozzz2021-07-202-9/+4
|
* Introduce plugins commandChocobozzz2021-07-201-2/+2
|
* Introduce CLI commandChocobozzz2021-07-2010-119/+62
|
* Support short uuid for GET video/playlistChocobozzz2021-06-291-15/+15
|
* Fix prune storage testsChocobozzz2021-06-171-0/+4
|
* Fix print transcode command scriptChocobozzz2021-04-091-1/+2
|
* Update data in DB when regenerate thumbnailsChocobozzz2021-04-081-9/+23
|
* Fix static ffmpeg version checkChocobozzz2021-04-081-2/+2
|
* Add regenrate thumbnails scriptsChocobozzz2021-03-242-0/+111
|
* Add video files migrationChocobozzz2021-02-181-1/+1
|
* Dissociate video file names and video uuidChocobozzz2021-02-181-14/+2
|
* add support for 1440p (Quad HD/QHD/WQHD) videosRigel Kent2021-01-131-0/+1
|
* add test for script printing commandRigel Kent2021-01-132-0/+37
|
* (#3520) [cli] Hardened `auth add`: No longer fails with extraneous characters.Theodore R. Smith2020-12-271-0/+12
| | | | | | | | | | | | | | | | **The Solution:** I have hardened `auth add` by stripping out everything from the third '/' to the end of the instance URL. **The Problem:** When adding an authorization for the peertube-cli, before this commit you could not have anything after the domain_name:port. For instance, if there was a trailing / in your instance URL, before this commit it will always fail with expected 200 "OK", got 404 "Not Found". It took me over 20 minutes to figure out that this was the problem. See Issue #3091.
* emit more specific status codes on video upload (#3423)Rigel Kent2020-12-081-1/+2
| | | | | - reduce http status codes list to potentially useful codes - convert more codes to typed ones - factorize html generator for error responses
* replace numbers with typed http status codes (#3409)Rigel Kent2020-12-071-2/+3
|
* Add registered setting CLI plugin install testChocobozzz2020-11-271-0/+5
|
* Add live transcoding bit rate testsChocobozzz2020-11-252-9/+9
|
* Split ffmpeg utils with ffprobe utilsChocobozzz2020-11-251-3/+3
|
* Disable HTTP import in push actionsChocobozzz2020-11-171-1/+8
|
* Update server dependenciesChocobozzz2020-06-171-8/+2
|