aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/cli
Commit message (Collapse)AuthorAgeFilesLines
* Fix s3 mock cleanupChocobozzz2023-05-231-0/+2
|
* Prevent object storage mock conflictsChocobozzz2023-05-232-21/+26
| | | | When running tests in parallel
* Remove low timeoutsChocobozzz2023-05-221-4/+0
| | | | Default timeout is 30s
* Enable external plugins to test the PRChocobozzz2023-05-091-1/+1
|
* Add runner server testsChocobozzz2023-05-094-296/+1
|
* Add test to ensure files are deletedChocobozzz2023-03-071-1/+10
|
* Fix CI using 127.0.0.1 for testsChocobozzz2022-12-123-11/+11
|
* Add ability to install alpha/beta/rc pluginChocobozzz2022-11-141-1/+20
|
* Use private ACL for private videos in s3Chocobozzz2022-10-243-19/+19
|
* Put private videos under a specific subdirectoryChocobozzz2022-10-245-28/+41
|
* Don't display remove file icon in some casesChocobozzz2022-09-131-1/+1
|
* Cleanup tests importsChocobozzz2022-08-174-12/+4
|
* We don't need to import mochaChocobozzz2022-08-1710-10/+0
|
* Fix print transcode command testChocobozzz2022-08-091-2/+2
|
* Add basic video editor supportChocobozzz2022-02-281-1/+2
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-281-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * client: remove unused file * refactor(client/my-actor-avatar): size from input Read size from component input instead of scss, to make it possible to use smaller avatar images when implemented. * implement avatar miniatures close #4560 * fix(test): max file size * fix(search-index): normalize res acc to avatarMini * refactor avatars to an array * client/search: resize channel avatar to 120 * refactor(client/videos): remove unused function * client(actor-avatar): set default size * fix tests and avatars full result When findOne is used only an array containting one avatar is returned. * update migration version and version notations * server/search: harmonize normalizing * Cleanup avatar miniature PR Co-authored-by: Chocobozzz <me@florianbigard.com>
* Fix HLS re transcoding with object storage enabledChocobozzz2022-02-011-3/+10
|
* Add ability to filter my imports by target URLChocobozzz2022-01-191-1/+18
|
* Move uuid stuff in extra utilsChocobozzz2021-12-291-1/+2
| | | | Since it requires an external dependency
* Move test functions outside extra-utilsChocobozzz2021-12-178-21/+18
|
* shared/ typescript types dir server-commandsChocobozzz2021-12-1710-10/+10
|
* chore(refactor): remove shared folder dependencies to the serverlutangar2021-12-161-1/+1
| | | | | | | | | | | Many files from the `shared` folder were importing files from the `server` folder. When attempting to use Typescript project references to describe dependencies, it highlighted a circular dependency beetween `shared` <-> `server`. The Typescript project forbid such usages. Using project references greatly improve performance by rebuilding only the updated project and not all source files. > see https://www.typescriptlang.org/docs/handbook/project-references.html
* Add hls to prune storage scriptChocobozzz2021-12-101-35/+14
|
* CLI: plugins install command accept a --plugin-version parameter. (#4599)John Livingston2021-12-031-0/+19
| | | | | | | | | | | * CLI: plugins install command accept a --plugin-version parameter. * Unit tests for plugins install --plugin-version. * Fix linting. * Styling Co-authored-by: Chocobozzz <me@florianbigard.com>
* 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
|