aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/videos/index.ts
Commit message (Collapse)AuthorAgeFilesLines
* Refactor live managerChocobozzz2021-06-171-1/+1
|
* Fetch directly all video attributes for get APIChocobozzz2021-06-111-9/+2
|
* Use separate queries for video filesChocobozzz2021-06-111-1/+1
|
* add video upload types, add doc middleware to more routesRigel Kent2021-06-061-4/+19
|
* refactor docMiddleware to support operationId-only formRigel Kent2021-06-041-3/+3
|
* Refactor server errors handlerChocobozzz2021-06-021-0/+3
|
* Refactor getOrCreateAPVideoChocobozzz2021-06-021-2/+15
|
* refactor API errors to standard error formatRigel Kent2021-06-021-2/+2
|
* Refactor a little bit controllersChocobozzz2021-05-121-391/+15
|
* Stricter models typingChocobozzz2021-05-121-2/+2
|
* Resumable video uploads (#3933)kontrollanten2021-05-101-20/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-0/+3
|
* Add ability to filter my videos by liveChocobozzz2021-05-031-12/+13
|
* Introduce tags to the loggerChocobozzz2021-03-241-5/+6
| | | | | That could help to filter unneeded logs and/or select particular components
* Fix emptying video tagsChocobozzz2021-03-031-6/+7
|
* Async torrent creationChocobozzz2021-02-251-7/+31
|
* CleanupChocobozzz2021-02-181-1/+1
|
* Dissociate video file names and video uuidChocobozzz2021-02-181-2/+5
|
* Remove previous thumbnail if neededChocobozzz2021-02-161-1/+1
|
* Add priority to transcoding jobsChocobozzz2021-01-251-4/+3
| | | | | | | | | | (1 = highest priority) 100 for new resolutions 10 for original file optimization Add a malus for transcoding jobs depending on how many uploads the user did in the last 7 days
* replace numbers with typed http status codes (#3409)Rigel Kent2020-12-071-5/+10
|
* Add permanent live supportChocobozzz2020-12-031-1/+1
|
* more explicit error messages for file uploadsRigel Kent2020-12-031-2/+2
|
* Split ffmpeg utils with ffprobe utilsChocobozzz2020-11-251-2/+2
|
* Fix incorrect IDs in AP federationChocobozzz2020-11-201-2/+2
|
* Remove deprecated abuse apiChocobozzz2020-11-101-3/+1
|
* Handle views for live videosChocobozzz2020-11-091-12/+33
|
* Regenerate miniature on live saveChocobozzz2020-11-091-1/+1
|
* Begin live testsChocobozzz2020-11-091-1/+1
|
* Handle live federationChocobozzz2020-11-091-1/+0
|
* Refactor video creationChocobozzz2020-11-091-54/+24
|
* Live streaming implementation first stepChocobozzz2020-11-091-1/+3
|
* Add ability to set custom field to video formChocobozzz2020-08-211-1/+1
|
* Optimize default sort when listing videosChocobozzz2020-08-201-27/+27
| | | | createdAt does not have the appropriate index
* Upgrade to angular 10Chocobozzz2020-08-071-0/+1
|
* Split types and typingsChocobozzz2020-06-181-1/+1
|
* Update server dependenciesChocobozzz2020-06-171-2/+2
|
* Avoir some circular dependenciesChocobozzz2020-05-041-8/+6
|
* Support audio files importChocobozzz2020-04-031-23/+5
|
* Add video file metadata to download modal, via ffprobe (#2411)Rigel Kent2020-03-101-3/+15
| | | | | | | | | | | | | | | | | | | * Add video file metadata via ffprobe * Federate video file metadata * Add tests for file metadata generation * Complete tests for videoFile metadata federation * Lint migration and video-file for metadata * Objectify metadata from getter in ffmpeg-utils * Add metadataUrl to all videoFiles * Simplify metadata API middleware * Load playlist in videoFile when requesting metadata
* Optimize view endpointChocobozzz2020-02-041-2/+2
|
* Move to eslintcontainChocobozzz2020-02-031-4/+2
|
* Downsample to the closest divisor standard framerateRigel Kent2020-01-291-1/+2
|
* Add ability to skip count queryChocobozzz2020-01-081-2/+5
|
* Add internal privacy modeChocobozzz2019-12-121-14/+10
|
* Don't move the caption if it has the right nameChocobozzz2019-12-031-2/+2
|
* Add ability to disable webtorrentChocobozzz2019-11-251-5/+7
| | | | In favour of HLS
* Update default value for commentsEnabledFrank Sträter2019-09-181-2/+2
|
* Fix default true values when uploding videosChocobozzz2019-08-281-1/+1
|
* Fix testsChocobozzz2019-08-201-2/+2
|