aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/multiple-servers.ts
Commit message (Collapse)AuthorAgeFilesLines
* Support video views/viewers stats in serverChocobozzz2022-04-151-19/+21
| | | | | | | | | | * Add "currentTime" and "event" body params to view endpoint * Merge watching and view endpoints * Introduce WatchAction AP activity * Add tables to store viewer information of local videos * Add endpoints to fetch video views/viewers stats of local videos * Refactor views/viewers handlers * Support "views" and "viewers" counters for both VOD and live videos
* Don't store remote rates of remote videosChocobozzz2022-03-181-2/+2
| | | | | In the future we'll stop to expose all available rates to improve users privacy
* Fix lintChocobozzz2022-03-011-1/+0
|
* Fix getting avatars in videos listChocobozzz2022-03-011-0/+18
|
* Implement avatar miniatures (#4639)kontrollanten2022-02-281-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Try to fix docker buildChocobozzz2022-01-031-10/+10
|
* Move test functions outside extra-utilsChocobozzz2021-12-171-7/+8
|
* shared/ typescript types dir server-commandsChocobozzz2021-12-171-1/+1
|
* 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
* Force video updatedAt update on updateChocobozzz2021-11-101-0/+20
|
* Fix testsChocobozzz2021-11-101-4/+9
|
* Deprecate filter video queryChocobozzz2021-10-291-3/+3
| | | | Introduce include and isLocal instead
* esModuleInterop to trueChocobozzz2021-08-271-1/+1
|
* Generate random uuid for video filesChocobozzz2021-07-261-10/+11
|
* Reorganize importsChocobozzz2021-07-201-3/+2
|
* Refactor requestsChocobozzz2021-07-201-1/+1
|
* Use an object to represent a serverChocobozzz2021-07-201-4/+4
|
* Shorter server command namesChocobozzz2021-07-201-84/+84
|
* Introduce videos commandChocobozzz2021-07-201-176/+158
|
* Introduce user commandChocobozzz2021-07-201-2/+1
|
* Introduce login commandChocobozzz2021-07-201-2/+1
|
* Introduce server commandsChocobozzz2021-07-201-2/+2
|
* Fix NSFW testsChocobozzz2021-07-201-0/+1
|
* Introduce comments commandChocobozzz2021-07-201-55/+44
|
* Introduce channels commandChocobozzz2021-07-201-5/+3
|
* 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
|