aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/custom-validators/videos.ts
Commit message (Collapse)AuthorAgeFilesLines
* Update server dependenciesChocobozzz2023-05-221-2/+2
|
* Federate entire descriptionChocobozzz2022-11-141-5/+0
| | | | | | Introduce an explicit field truncatedDescription description in video list is deprecated description in video get will contain the entire description
* Prefer using Object.valuesChocobozzz2022-08-171-2/+2
|
* Add basic video editor supportChocobozzz2022-02-281-8/+19
|
* Fix shared importsChocobozzz2021-12-241-2/+1
|
* Deprecate filter video queryChocobozzz2021-10-291-0/+6
| | | | Introduce include and isLocal instead
* esModuleInterop to trueChocobozzz2021-08-271-1/+1
|
* Resumable video uploads (#3933)kontrollanten2021-05-101-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* emit more specific status codes on video upload (#3423)Rigel Kent2020-12-081-4/+4
| | | | | - reduce http status codes list to potentially useful codes - convert more codes to typed ones - factorize html generator for error responses
* Add ability to display all channel/account videosChocobozzz2020-11-181-1/+1
|
* Live streaming implementation first stepChocobozzz2020-11-091-2/+3
|
* Refactor video extensions logic in serverChocobozzz2020-08-111-5/+1
|
* Update dependenciesChocobozzz2020-02-281-1/+1
|
* Move to eslintcontainChocobozzz2020-02-031-4/+4
|
* Update validator dependencyChocobozzz2020-01-071-1/+1
|
* Add internal privacy modeChocobozzz2019-12-121-1/+1
|
* Fix scheduled privacy and verify email validationsChocobozzz2019-07-251-6/+2
|
* Fix express validatorChocobozzz2019-07-251-6/+1
|
* Refactor middleware helpersChocobozzz2019-07-241-73/+0
|
* Add ability to limit videos history sizeChocobozzz2019-04-111-1/+2
|
* Don't expose constants directly in initializers/Chocobozzz2019-04-111-1/+1
|
* Does existChocobozzz2019-03-191-4/+4
|
* Playlist server APIChocobozzz2019-03-181-1/+1
|
* Merge branch 'develop' into pr/1285Chocobozzz2019-02-111-2/+2
|\
| * Try to fix Mac video uploadChocobozzz2019-01-241-2/+2
| |
* | Enable video upload and editclementbrizard2019-01-121-1/+6
|/
* Support additional video extensionsChocobozzz2018-12-111-4/+9
|
* Add ability to list all local videosChocobozzz2018-10-101-2/+7
| | | | Including private/unlisted for moderators/admins
* Add user history and resume videosChocobozzz2018-10-051-1/+3
|
* Refractor videos AP functionsChocobozzz2018-09-191-10/+2
|
* Optimize SQL requests of videos AP endpointsChocobozzz2018-09-191-1/+2
|
* Optimize SQL requests of watch page API endpointsChocobozzz2018-09-191-6/+8
|
* use focus-visible polyfill to improve keyboard navigationRigel Kent2018-09-111-2/+2
| | | | | Only the homepage is concerned, but it should have decent keyboard navigation support now.
* Refractor user quota SQL queriesChocobozzz2018-08-281-3/+0
|
* Add state and moderationComment for abuses on server sideChocobozzz2018-08-101-5/+2
|
* Import magnets with webtorrentChocobozzz2018-08-081-0/+9
|
* Fix last commitChocobozzz2018-07-261-4/+4
|
* expliciting type checks and predicates (server only)Rigel Kent2018-07-251-4/+4
|
* Implement captions/subtitlesChocobozzz2018-07-161-0/+24
|
* Handle higher FPS for high resolution (test)Chocobozzz2018-06-291-0/+5
|
* Fix images size limitChocobozzz2018-06-221-2/+2
|
* Add ability for uploaders to schedule video updateChocobozzz2018-06-141-2/+11
|
* Add concept of video state, and add ability to wait transcoding beforeChocobozzz2018-06-121-8/+16
| | | | publishing a video
* Improve create import file jobChocobozzz2018-06-071-2/+2
| | | | Fix federation of .ogv videos
* Fix video channel update with an admin accountChocobozzz2018-05-171-3/+18
|
* Fix updating video tags to empty fieldChocobozzz2018-05-161-3/+5
|
* Add ability to update a video channelChocobozzz2018-05-111-0/+16
|
* Use ISO 639 for languagesChocobozzz2018-04-231-4/+5
|
* Update the api documentationChocobozzz2018-03-191-6/+1
|
* Update videos response apiChocobozzz2018-03-191-1/+6
|