Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add video upload types, add doc middleware to more routes | Rigel Kent | 2021-06-06 | 1 | -8/+35 |
| | |||||
* | add invalid_token error to openapi spec | Rigel Kent | 2021-06-04 | 1 | -0/+6 |
| | |||||
* | refactor error code values for URI compatibility | Rigel Kent | 2021-06-02 | 1 | -7/+31 |
| | |||||
* | refactor deprecated body-parser usage | Rigel Kent | 2021-06-02 | 1 | -0/+2 |
| | |||||
* | refactor API errors to standard error format | Rigel Kent | 2021-06-02 | 1 | -14/+21 |
| | |||||
* | Bumped to version v3.2.1 | Chocobozzz | 2021-06-01 | 1 | -1/+1 |
| | |||||
* | Fix openapi doc for resumable upload | Chocobozzz | 2021-05-27 | 1 | -2/+2 |
| | |||||
* | Instance homepage support (#4007) | Chocobozzz | 2021-05-27 | 1 | -0/+51 |
| | | | | | | | | | | | | | | | | | * Prepare homepage parsers * Add ability to update instance hompage * Add ability to set homepage as landing page * Add homepage preview in admin * Dynamically update left menu for homepage * Inject home content in homepage * Add videos list and channel miniature custom markup * Remove unused elements in markup service | ||||
* | Merge branch 'release/3.2.0' into develop | Chocobozzz | 2021-05-27 | 1 | -1/+1 |
|\ | |||||
| * | Bumped to version v3.2.0v3.2.0 | Chocobozzz | 2021-05-27 | 1 | -1/+1 |
| | | |||||
* | | Fix broken openapi schema | Chocobozzz | 2021-05-27 | 1 | -5/+5 |
| | | |||||
* | | add operationId to common operations | Rigel Kent | 2021-05-26 | 1 | -14/+34 |
| | | |||||
* | | fix typo in operationId in openapi spec | Rigel Kent | 2021-05-24 | 1 | -7/+111 |
| | | |||||
* | | add code examples for login in openapi spec | Rigel Kent | 2021-05-14 | 1 | -6/+31 |
| | | |||||
* | | paginate response for abuse list in openapi spec | Rigel Kent | 2021-05-13 | 1 | -3/+9 |
| | | | | | | | | closes #4094 | ||||
* | | modify response for adding abuse in openapi spec | Rigel Kent | 2021-05-13 | 1 | -1/+11 |
| | | | | | | | | closes #4093 | ||||
* | | modify return code for adding/removing blocked servers in openapi spec | Rigel Kent | 2021-05-13 | 1 | -2/+2 |
| | | | | | | | | closes #4095 | ||||
* | | add accept/reject routes for server followers in openapi spec | Rigel Kent | 2021-05-13 | 1 | -40/+126 |
| | | |||||
* | | fix route prefix for blocklist routes in openapi spec | Rigel Kent | 2021-05-13 | 1 | -4/+8 |
| | | | | | | | | closes #4091 | ||||
* | | fix route prefix for video redundancy routes in openapi spec | Rigel Kent | 2021-05-13 | 1 | -3/+3 |
| | | | | | | | | closes #4090 | ||||
* | | more faithful error description in openapi spec | Rigel Kent | 2021-05-13 | 1 | -8/+26 |
| | | |||||
* | | add login/logout routes in openapi spec | Rigel Kent | 2021-05-12 | 1 | -19/+213 |
| | | |||||
* | | add cors section in openapi spec | Rigel Kent | 2021-05-12 | 1 | -6/+21 |
| | | |||||
* | | fix video playlistId/videoId for video playlists in openapi spec | Rigel Kent | 2021-05-12 | 1 | -21/+42 |
| | | | | | | | | closes #4081 | ||||
* | | add response content for createVideoChannel endpoint in openapi spec | Rigel Kent | 2021-05-12 | 1 | -11/+27 |
| | | | | | | | | closes #4077 | ||||
* | | add rating field for video like endpoint in openapi spec | Rigel Kent | 2021-05-11 | 1 | -0/+11 |
| | | | | | | | | closes #4080 | ||||
* | | add missing user update me fields in openapi spec | Rigel Kent | 2021-05-11 | 1 | -23/+51 |
| | | |||||
* | | add missing video comment fields in openapi spec | Rigel Kent | 2021-05-11 | 1 | -9/+25 |
| | | | | | | | | closes #4079 | ||||
* | | factorized upload and import post fields in openapi spec | Rigel Kent | 2021-05-11 | 1 | -70/+38 |
|/ | | | | closes #4075 | ||||
* | Bumped to version v3.2.0-rc.1v3.2.0-rc.1 | Chocobozzz | 2021-05-11 | 1 | -1/+1 |
| | |||||
* | added descriptions for video files/import fields in openapi spec | Rigel Kent | 2021-05-11 | 1 | -13/+39 |
| | |||||
* | explicit error formatting variant in openapi spec | Rigel Kent | 2021-05-11 | 1 | -3/+16 |
| | |||||
* | provide more schema examples in openapi spec | Rigel Kent | 2021-05-11 | 1 | -172/+205 |
| | |||||
* | refactor subscriptions response from list to totalDataList in openapi spec | Rigel Kent | 2021-05-10 | 1 | -20/+20 |
| | | | | closes #4067 | ||||
* | refactor abuses response list to totalDataList in openapi spec | Rigel Kent | 2021-05-10 | 1 | -7/+21 |
| | | | | closes #4066 | ||||
* | specify operationId in openapi spec and factorize videoconstant ids | Rigel Kent | 2021-05-10 | 1 | -52/+92 |
| | |||||
* | specify getUserId variant in openapi spec | Rigel Kent | 2021-05-10 | 1 | -45/+77 |
| | | | | closes #4062 | ||||
* | secify username patterns for user create/register in openapi spec | Rigel Kent | 2021-05-10 | 1 | -0/+2 |
| | | | | closes #4061 | ||||
* | fix imports list response in openapi spec | Rigel Kent | 2021-05-10 | 1 | -1/+11 |
| | | | | closes #4063 | ||||
* | fix response in openapi spec for quota and video ratings | Rigel Kent | 2021-05-10 | 1 | -6/+20 |
| | | | | | closes #4064 closes #4065 | ||||
* | Resumable video uploads (#3933) | kontrollanten | 2021-05-10 | 1 | -99/+315 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | relax guarantee on openapi rate limit doc accuracy | Rigel Kent | 2021-05-07 | 1 | -2/+4 |
| | |||||
* | add subscriptions feed api to openapi spec | Rigel Kent | 2021-05-07 | 1 | -14/+89 |
| | |||||
* | add rate limit table to openapi spec | Rigel Kent | 2021-05-07 | 1 | -16/+35 |
| | |||||
* | add examples and descriptions to some video fields in openapi spec | Rigel Kent | 2021-05-04 | 1 | -0/+19 |
| | |||||
* | factorize uuid type in openapi spec | Rigel Kent | 2021-05-04 | 1 | -25/+19 |
| | |||||
* | make streaming playlists pivotable objects in openapi spec | Rigel Kent | 2021-05-04 | 1 | -7/+14 |
| | |||||
* | make hls/webtorrent fields closely documented in the openapi spec | Rigel Kent | 2021-05-04 | 1 | -6/+20 |
| | |||||
* | Add ability to filter my videos by live | Chocobozzz | 2021-05-03 | 1 | -0/+12 |
| | |||||
* | add description with operation link to category/licence/language constants | Rigel Kent | 2021-05-03 | 1 | -6/+15 |
| |