aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos
Commit message (Collapse)AuthorAgeFilesLines
* Resumable video uploads (#3933)kontrollanten2021-05-105-432/+641
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP: resumable video uploads relates to #324 * fix review comments * video upload: error handling * fix audio upload * fixes after self review * Update server/controllers/api/videos/index.ts Co-authored-by: Rigel Kent <par@rigelk.eu> * Update server/middlewares/validators/videos/videos.ts Co-authored-by: Rigel Kent <par@rigelk.eu> * Update server/controllers/api/videos/index.ts Co-authored-by: Rigel Kent <par@rigelk.eu> * update after code review * refactor upload route - restore multipart upload route - move resumable to dedicated upload-resumable route - move checks to middleware - do not leak internal fs structure in response * fix yarn.lock upon rebase * factorize addVideo for reuse in both endpoints * add resumable upload API to openapi spec * add initial test and test helper for resumable upload * typings for videoAddResumable middleware * avoid including aws and google packages via node-uploadx, by only including uploadx/core * rename ex-isAudioBg to more explicit name mentioning it is a preview file for audio * add video-upload-tmp-folder-cleaner job * stronger typing of video upload middleware * reduce dependency to @uploadx/core * add audio upload test * refactor resumable uploads cleanup from job to scheduler * refactor resumable uploads scheduler to compare to last execution time * make resumable upload validator to always cleanup on failure * move legacy upload request building outside of uploadVideo test helper * filter upload-resumable middlewares down to POST, PUT, DELETE also begin to type metadata * merge add duration functions * stronger typings and documentation for uploadx behaviour, move init validator up * refactor(client/video-edit): options > uploadxOptions * refactor(client/video-edit): remove obsolete else * scheduler/remove-dangling-resum: rename tag * refactor(server/video): add UploadVideoFiles type * refactor(mw/validators): restructure eslint disable * refactor(mw/validators/videos): rename import * refactor(client/vid-upload): rename html elem id * refactor(sched/remove-dangl): move fn to method * refactor(mw/async): add method typing * refactor(mw/vali/video): double quote > single * refactor(server/upload-resum): express use > all * proper http methud enum server/middlewares/async.ts * properly type http methods * factorize common video upload validation steps * add check for maximum partially uploaded file size * fix audioBg use * fix extname(filename) in addVideo * document parameters for uploadx's resumable protocol * clear META files in scheduler * last audio refactor before cramming preview in the initial POST form data * refactor as mulitpart/form-data initial post request this allows preview/thumbnail uploads alongside the initial request, and cleans up the upload form * Add more tests for resumable uploads * Refactor remove dangling resumable uploads * Prepare changelog * Add more resumable upload tests * Remove user quota check for resumable uploads * Fix upload error handler * Update nginx template for upload-resumable * Cleanup comment * Remove unused express methods * Prefer to use got instead of raw http * Don't retry on error 500 Co-authored-by: Rigel Kent <par@rigelk.eu> Co-authored-by: Rigel Kent <sendmemail@rigelk.eu> Co-authored-by: Chocobozzz <me@florianbigard.com>
* Update channel updatedAt when uploading a videoChocobozzz2021-05-101-25/+57
|
* Fix transcoding job priorityChocobozzz2021-05-051-6/+1
| | | | | New resolution jobs are also important if waiting for transcoding is enabled since we publish the video after the first resolution generation
* Add ability to filter my videos by liveChocobozzz2021-05-031-2/+2
|
* Increase test timeoutChocobozzz2021-04-261-1/+1
|
* Add size info in db for actor imagesChocobozzz2021-04-081-0/+11
|
* Add ability to update the bannerChocobozzz2021-04-081-1/+3
|
* Add banner testsChocobozzz2021-04-081-16/+70
|
* Fix video comments display with deleted commentsChocobozzz2021-02-191-18/+30
|
* Fix import testsChocobozzz2021-02-181-4/+6
|
* Dissociate video file names and video uuidChocobozzz2021-02-181-1/+1
|
* Generate a name for caption filesChocobozzz2021-02-161-5/+7
|
* add best trending strategy based on Reddit's bestRigel Kent2021-02-041-0/+8
| | | | | | inspired from https://www.reddit.com/r/changelog/comments/7spgg0/best_is_the_new_hotness/ this implementation only adds freshness, and doesn't personalize based on subscribed communities yet.
* Fix hls testsChocobozzz2021-02-021-1/+1
|
* Transcode audio uploads to lower resolutionsChocobozzz2021-02-021-423/+519
| | | | Better consistency
* Fix testsChocobozzz2021-01-291-4/+4
|
* Support transcoding options/encoders by pluginsChocobozzz2021-01-281-1/+3
|
* add test and openapi for hot sort parameterRigel Kent2021-01-281-0/+8
|
* Safely remove webtorrent filesChocobozzz2021-01-251-3/+41
| | | | Only remove them on max quality HLS playlist generation
* stricter youtubedl format selectors (#3516)Rigel Kent2021-01-152-27/+84
| | | | | | | | | | | | | | * stricter youtubedl format selectors make sure selectors avoid av1, and otherwise match as closely to the maximum resolution enabled for transcoding * add support for merge formats in youtubedl * avoid vp9.2 in youtubedl to avoid any HDR * move getEnabledResolutions, safer replace of imported extension * add test for youtube-dl selectors
* Add 4k transcoding testChocobozzz2021-01-131-1/+31
|
* Allow user to search through their watch history (#3576)Rigel Kent2021-01-131-0/+9
| | | | | | | * allow user to search through their watch history * add tests for search in watch history * Update client/src/app/shared/shared-main/users/user-history.service.ts
* add support for 1440p (Quad HD/QHD/WQHD) videosRigel Kent2021-01-132-0/+2
|
* Fix duplicate entry in job list pageChocobozzz2021-01-111-1/+1
|
* Fix tests timeoutChocobozzz2020-12-143-24/+18
|
* emit more specific status codes on video upload (#3423)Rigel Kent2020-12-086-22/+35
| | | | | - 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-072-6/+8
|
* Add logs to fixture generationsChocobozzz2020-12-011-1/+1
|
* Fix audio encoding paramsChocobozzz2020-11-252-4/+6
|
* Add live transcoding bit rate testsChocobozzz2020-11-252-14/+17
|
* Split ffmpeg utils with ffprobe utilsChocobozzz2020-11-252-24/+25
|
* Fix transcoder testChocobozzz2020-11-201-1/+1
|
* Do not transcode to an higher bitrateChocobozzz2020-11-201-0/+37
| | | | Thanks bkil https://github.com/bkil
* Add ability to display all channel/account videosChocobozzz2020-11-181-0/+14
|
* Try to fix multiple server testsChocobozzz2020-11-181-1/+2
|
* Try to fix playlist testsChocobozzz2020-11-181-0/+5
|
* Merge branch 'feature/admin-comments' into developChocobozzz2020-11-163-148/+214
|\
| * Add admin view to manage commentsChocobozzz2020-11-162-146/+210
|/
* Fix muted accounts on overviewsChocobozzz2020-11-101-15/+43
|
* Update ffmpeg static version for testsChocobozzz2020-11-091-2/+2
|
* Add live notification testsChocobozzz2020-11-091-8/+5
|
* Live streaming implementation first stepChocobozzz2020-11-091-1/+1
|
* Fix testsChocobozzz2020-08-261-2/+2
|
* Deprecate old static routesChocobozzz2020-08-262-6/+6
|
* Add fixtures cache to github actionsChocobozzz2020-08-241-1/+1
|
* Reorganize a little bit testsChocobozzz2020-08-244-995/+0
|
* Add ability to a video multiple times in a playlistChocobozzz2020-08-191-5/+30
|
* Add ability to share playlists in modalChocobozzz2020-08-071-1/+2
|
* Handle playlist oembedChocobozzz2020-08-071-10/+65
|
* Add server API to abuse messagesChocobozzz2020-07-311-9/+9
|