aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Reorganize importsChocobozzz2021-07-2018-38/+31
|
* Refactor requestsChocobozzz2021-07-2011-23/+25
|
* Centralize test URLsChocobozzz2021-07-201-9/+9
|
* Use an object to represent a serverChocobozzz2021-07-2021-102/+100
|
* Shorter server command namesChocobozzz2021-07-2021-548/+548
|
* Introduce videos commandChocobozzz2021-07-2021-830/+642
|
* Introduce user commandChocobozzz2021-07-2012-193/+63
|
* Introduce login commandChocobozzz2021-07-209-38/+30
|
* Introduce server commandsChocobozzz2021-07-207-28/+25
|
* Fix NSFW testsChocobozzz2021-07-202-2/+3
|
* Introduce notifications commandChocobozzz2021-07-202-72/+71
|
* Introduce sql commandChocobozzz2021-07-203-17/+12
|
* Introduce comments commandChocobozzz2021-07-202-160/+132
|
* Introduce channels commandChocobozzz2021-07-203-172/+94
|
* Introduce streaming playlists commandChocobozzz2021-07-201-7/+13
|
* Introduce import commandChocobozzz2021-07-201-39/+33
|
* Introduce history commandChocobozzz2021-07-201-30/+29
|
* Introduce playlist commandChocobozzz2021-07-202-400/+287
|
* Introduce change ownership commandChocobozzz2021-07-201-85/+100
|
* Introduce captions commandChocobozzz2021-07-202-62/+48
|
* Introduce blacklist commandChocobozzz2021-07-201-4/+2
|
* Shorter live methodsChocobozzz2021-07-201-1/+1
|
* Introduce live commandChocobozzz2021-07-201-3/+2
|
* Introduce blocklist commandChocobozzz2021-07-202-18/+11
|
* Introduce config commandChocobozzz2021-07-205-88/+84
|
* Introduce jobs commandChocobozzz2021-07-201-6/+2
|
* Introduce follows commandChocobozzz2021-07-202-21/+22
|
* Introduce debug commandChocobozzz2021-07-201-3/+2
|
* Move AP request in requests fileChocobozzz2021-07-201-1/+0
|
* Introduce search commandChocobozzz2021-07-202-16/+13
|
* Introduce overviews commandChocobozzz2021-07-202-58/+48
|
* Fix overviews test timeoutChocobozzz2021-07-121-1/+1
|
* Fix subscribe hotkeyChocobozzz2021-07-121-1/+1
|
* Increase test timeoutChocobozzz2021-07-021-2/+2
|
* Fix hooks definitionChocobozzz2021-07-012-4/+18
|
* Support short uuid for GET video/playlistChocobozzz2021-06-292-186/+236
|
* Fix ownership change with a live videoChocobozzz2021-06-281-22/+86
|
* Faster ci using compiled ts filesChocobozzz2021-06-151-4/+2
|
* Don't count deleted comment for repliesChocobozzz2021-06-082-3/+3
|
* Cleanup shared modelsChocobozzz2021-05-112-9/+7
|
* 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
|