aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/multiple-servers.ts
Commit message (Collapse)AuthorAgeFilesLines
* Faster ci using compiled ts filesChocobozzz2021-06-151-4/+2
|
* Don't count deleted comment for repliesChocobozzz2021-06-081-2/+2
|
* Cleanup shared modelsChocobozzz2021-05-111-7/+6
|
* Resumable video uploads (#3933)kontrollanten2021-05-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Increase test timeoutChocobozzz2021-04-261-1/+1
|
* Fix testsChocobozzz2021-01-291-4/+4
|
* emit more specific status codes on video upload (#3423)Rigel Kent2020-12-081-2/+3
| | | | | - reduce http status codes list to potentially useful codes - convert more codes to typed ones - factorize html generator for error responses
* Fix audio encoding paramsChocobozzz2020-11-251-4/+4
|
* Try to fix multiple server testsChocobozzz2020-11-181-1/+2
|
* Add admin view to manage commentsChocobozzz2020-11-161-1/+1
|
* Block comments from muted accounts/serversChocobozzz2020-05-291-5/+4
| | | | | | | | | | | | Add better control for users of comments displayed on their videos: * Do not forward comments from muted remote accounts/servers (muted by the current server or by the video owner) * Do not list threads and hide replies (with their children) of accounts/servers muted by the video owner * Hide from RSS comments of muted accounts/servers by video owners Use case: * Try to limit spam propagation in the federation * Add ability for users to automatically hide comments on their videos from undesirable accounts/servers (the comment section belongs to videomakers, so they choose what's posted there)
* Move to eslintcontainChocobozzz2020-02-031-16/+16
|
* Remove HLS torrentsChocobozzz2020-01-241-3/+2
|
* Move deleted comment on new follow testsChocobozzz2019-12-041-42/+4
|
* Fix retrieving of deleted comments when subscribing to a new instanceJulien Maulny2019-12-041-0/+45
|
* Soft delete video comments instead of detroyJulien Maulny2019-12-041-8/+48
|
* Fix testsChocobozzz2019-09-181-1/+1
|
* Fix redundancy exceeding the limitChocobozzz2019-08-121-4/+2
|
* Remove comment federation by video ownerChocobozzz2019-08-071-13/+28
|
* Add retries to travis mochaChocobozzz2019-07-241-2/+2
|
* Update travis ffmpeg patch versionChocobozzz2019-05-171-2/+2
|
* All API tests in parallelChocobozzz2019-05-151-1/+1
|
* Redundancy and search tests in parallel tooChocobozzz2019-05-141-21/+20
|
* Use test wrapper exit functionChocobozzz2019-04-241-3/+3
|
* Cleanup testsChocobozzz2019-04-241-6/+1
|
* Shared utils -> extra-utilsChocobozzz2019-04-241-3/+3
| | | | Because they need dev dependencies
* Add user adminFlagsChocobozzz2019-04-151-1/+1
|
* Cleanup invalid rates/comments/sharesChocobozzz2019-03-191-4/+4
|
* Add originallyPublishedAt unit testsChocobozzz2019-02-111-1/+5
|
* Merge branch 'develop' into pr/1217Chocobozzz2019-02-111-7/+16
|\
| * Add test regarding tmp directoryChocobozzz2018-12-111-0/+9
| |
| * Move utils to /sharedbuoyantair2018-10-291-3/+3
| | | | | | | | | | | | | | Move utils used by /server/tools/* & /server/tests/**/* into /shared folder. Issue: #1336
| * Fix transcodingChocobozzz2018-10-181-4/+4
| |
* | Add federation tests on download enabledChocobozzz2019-02-111-2/+4
| |
* | Rename downloadingEnabled property to downloadEnabledLucas Declercq2018-10-081-6/+6
| |
* | Add downloadingEnabled property to video modelLucas Declercq2018-10-061-0/+6
|/
* Bufferize videos views in redisChocobozzz2018-08-301-2/+8
|
* Add ability to search a video with an URLChocobozzz2018-08-271-6/+12
|
* Add ability to set a name to a channelChocobozzz2018-08-271-6/+6
|
* Don't set a bitrate on unknown audio inputChocobozzz2018-08-141-4/+4
|
* Try to fix travis testsChocobozzz2018-08-101-4/+4
|
* fixing tests to deal with new transcoding parametersRigel Kent2018-08-011-8/+8
|
* Fixing #626 with ffmpeg's low default audio bitrateRigel Kent2018-08-011-8/+8
|
* Improve tests when waiting pending jobsChocobozzz2018-06-131-19/+20
|
* Add concept of video state, and add ability to wait transcoding beforeChocobozzz2018-06-121-5/+3
| | | | publishing a video
* Move fixtures in tests/Chocobozzz2018-06-071-1/+1
|
* Fix publishedAt value after following a new instanceChocobozzz2018-05-281-0/+3
|
* Add video channel managementChocobozzz2018-04-261-1/+1
|
* Implement video channel viewsChocobozzz2018-04-251-7/+1
|
* Update video channel routesChocobozzz2018-04-241-6/+15
|