aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos
Commit message (Collapse)AuthorAgeFilesLines
* Fix lintChocobozzz2022-03-011-1/+0
|
* Fix getting avatars in videos listChocobozzz2022-03-011-0/+18
|
* Create another test suite for transcoding jobsChocobozzz2022-02-286-1749/+0
|
* Add basic video editor supportChocobozzz2022-02-286-23/+404
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-286-19/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Update changelogChocobozzz2022-02-041-0/+2
|
* Fix HLS re transcoding with object storage enabledChocobozzz2022-02-011-5/+80
|
* Prevent HLS transcoding after webtorrent transcodingChocobozzz2022-02-011-1/+24
|
* Add ability to filter my imports by target URLChocobozzz2022-01-191-0/+12
|
* Add ability to cancel & delete video importsChocobozzz2022-01-191-1/+80
|
* Add ability to delete history elementChocobozzz2022-01-181-7/+29
|
* Try to fix docker buildChocobozzz2022-01-031-10/+10
|
* Move test functions outside extra-utilsChocobozzz2021-12-1720-102/+86
|
* shared/ typescript types dir server-commandsChocobozzz2021-12-1723-23/+23
|
* chore(refactor): remove shared folder dependencies to the serverlutangar2021-12-162-2/+2
| | | | | | | | | | | 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
* Give moderators access to edit channels (#4608)kontrollanten2021-12-131-3/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * give admins access to edit all channels closes #4598 * test(channels): +admin update another users channel * Fix tests * fix(server): delete another users channel Since the channel owner isn't necessary the auth user we need to check the right account whether it's the last video or not. * REMOVE_ANY_VIDEO_CHANNEL > MANAGE_ANY_VIDEO_CHANNEL Merge REMOVE_ANY_VIDEO_CHANNEL and MANY_VIDEO_CHANNELS to MANAGE_ANY_VIDEO_CHANNEL. * user-right: moderator can't manage admins channel * client: MyVideoChannelCreateComponent > VideoChannelCreateComponent * client: MyVideoChannelEdit > VideoChannelEdit * Revert "user-right: moderator can't manage admins channel" This reverts commit 2c627c154e2bfe6af2e0f45efb27faf4117572f3. * server: clean dupl validator functionality * fix ensureUserCanManageChannel usage It's not async anymore. * server: merge channel validator middleares ensureAuthUserOwnsChannelValidator & ensureUserCanManageChannel gets merged into one middleware. * client(VideoChannelEdit): redirect to prev route * fix(VideoChannels): handle anon users * client: new routes for create/update channel * Refactor channel validators Co-authored-by: Chocobozzz <me@florianbigard.com>
* Fix testsChocobozzz2021-12-091-2/+11
|
* Ensure we don't run transcoding after import fileChocobozzz2021-11-231-5/+1
|
* Fetch publishedAt after wait jobsChocobozzz2021-11-181-2/+2
| | | | To make sure it's published
* Add ability to run transcoding jobsChocobozzz2021-11-182-0/+157
|
* Add ability to remove hls/webtorrent filesChocobozzz2021-11-182-0/+71
|
* Add more logs for video import testsChocobozzz2021-11-161-2/+6
|
* Fix tests cleanupChocobozzz2021-11-151-0/+4
|
* Add ability to filter out public videos from adminChocobozzz2021-11-121-3/+5
|
* Force video updatedAt update on updateChocobozzz2021-11-101-0/+20
|
* Fix testsChocobozzz2021-11-102-7/+18
|
* Remove resumable cache after upload successChocobozzz2021-11-101-8/+71
|
* Added 144p encoding (#4492)Florian CUNY2021-11-054-12/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Add ability to filter by file typeChocobozzz2021-11-031-3/+77
|
* Add video file size info in admin videos listChocobozzz2021-10-291-1/+27
|
* Deprecate filter video queryChocobozzz2021-10-295-139/+407
| | | | Introduce include and isLocal instead
* prevent multiple post-process triggering of upload-resumable (#4175)Rigel Kent2021-10-251-0/+15
| | | | | | | | | * prevent multiple post-process triggering of upload-resumable * switch from 409 to 503 for upload being processed * Improve resumable upload check Co-authored-by: Chocobozzz <me@florianbigard.com>
* Add peertube short link import testChocobozzz2021-10-221-2/+7
|
* Rewrite youtube-dl importChocobozzz2021-10-221-278/+354
| | | | | | | | Use python3 binary Allows to use a custom youtube-dl release URL Allows to use yt-dlp (youtube-dl fork) Remove proxy config from configuration to use HTTP_PROXY and HTTPS_PROXY env variables
* Increase some timeoutsChocobozzz2021-10-181-1/+1
|
* Fix import testsChocobozzz2021-10-141-3/+3
|
* Increase HDR timeout importChocobozzz2021-10-131-1/+1
|
* Fix bitrate testsChocobozzz2021-10-121-3/+2
|
* Fix silent 500 after resumable uploadChocobozzz2021-09-091-0/+1
|
* Fix infohash with object storageChocobozzz2021-09-071-0/+7
|
* Add peertube import testChocobozzz2021-08-271-0/+26
|
* esModuleInterop to trueChocobozzz2021-08-271-1/+1
|
* Rename jobs list commandChocobozzz2021-08-261-1/+1
|
* Fix hls testsChocobozzz2021-08-181-3/+3
|
* Add support for saving video files to object storage (#4290)Jelle Besseling2021-08-171-14/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-061-22/+8
|
* Use random names for VOD HLS playlistsChocobozzz2021-07-262-6/+12
|
* Generate random uuid for video filesChocobozzz2021-07-268-52/+90
|
* Fix tests with node 16Chocobozzz2021-07-221-8/+13
|
* Rename captions commandsChocobozzz2021-07-212-13/+13
|