Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fetch directly all video attributes for get API | Chocobozzz | 2021-06-11 | 1 | -0/+2 |
| | |||||
* | Refactor server errors handler | Chocobozzz | 2021-06-02 | 1 | -6/+13 |
| | |||||
* | refactor API errors to standard error format | Rigel Kent | 2021-06-02 | 1 | -1/+9 |
| | |||||
* | Resumable video uploads (#3933) | kontrollanten | 2021-05-10 | 1 | -49/+91 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | Add banner tests | Chocobozzz | 2021-04-08 | 1 | -1/+0 |
| | |||||
* | Add banners support | Chocobozzz | 2021-04-08 | 1 | -3/+4 |
| | |||||
* | Refactor auth flow | Chocobozzz | 2021-03-24 | 1 | -17/+0 |
| | | | | | Reimplement some node-oauth2-server methods to remove hacky code needed by our external login workflow | ||||
* | Upgrade server dependencies | Chocobozzz | 2021-03-03 | 1 | -63/+63 |
| | |||||
* | Live streaming implementation first step | Chocobozzz | 2020-11-09 | 1 | -1/+4 |
| | |||||
* | Add openapi doc | Chocobozzz | 2020-07-31 | 1 | -3/+2 |
| | |||||
* | Add abuse messages management in my account | Chocobozzz | 2020-07-31 | 1 | -2/+3 |
| | |||||
* | Add server API to abuse messages | Chocobozzz | 2020-07-31 | 1 | -0/+2 |
| | |||||
* | Add new abuses tests | Chocobozzz | 2020-07-10 | 1 | -1/+0 |
| | |||||
* | Implement abuses check params | Chocobozzz | 2020-07-10 | 1 | -0/+1 |
| | |||||
* | Use 3 tables to represent abuses | Chocobozzz | 2020-07-10 | 1 | -2/+2 |
| | |||||
* | Reorganize client shared modules | Chocobozzz | 2020-06-23 | 4 | -102/+17 |
| | |||||
* | Fix tests | Chocobozzz | 2020-06-18 | 1 | -5/+5 |
| | |||||
* | Split types and typings | Chocobozzz | 2020-06-18 | 43 | -1651/+12 |
| | |||||
* | Update server dependencies | Chocobozzz | 2020-06-17 | 1 | -0/+4 |
| | |||||
* | Add moderation helpers to plugins | Chocobozzz | 2020-05-07 | 1 | -9/+29 |
| | |||||
* | Add ability to unregister plugin auths | Chocobozzz | 2020-05-04 | 1 | -0/+2 |
| | |||||
* | Add config helper for plugins | Chocobozzz | 2020-05-04 | 1 | -0/+4 |
| | |||||
* | Begin support for external auths | Chocobozzz | 2020-05-04 | 1 | -0/+3 |
| | |||||
* | Add ability for auth plugins to hook tokens validity | Chocobozzz | 2020-05-04 | 1 | -0/+2 |
| | |||||
* | Support logout and add id and pass tests | Chocobozzz | 2020-05-04 | 2 | -1/+8 |
| | |||||
* | Begin auth plugin support | Chocobozzz | 2020-05-04 | 2 | -1/+16 |
| | |||||
* | Add links from user-edit | Rigel Kent | 2020-05-01 | 1 | -2/+2 |
| | |||||
* | Add video channel and video thumbnail, rework video appearance in row | Rigel Kent | 2020-05-01 | 1 | -4/+5 |
| | |||||
* | Make sure a report doesn't get deleted upon the deletion of its video | Rigel Kent | 2020-05-01 | 1 | -1/+1 |
| | |||||
* | Add ability to remove privacies using plugins | Chocobozzz | 2020-04-20 | 1 | -0/+5 |
| | |||||
* | Add ability for plugins to add custom routes | Chocobozzz | 2020-04-10 | 1 | -0/+7 |
| | |||||
* | Add ability to remove a video from a plugin | Chocobozzz | 2020-04-09 | 1 | -0/+4 |
| | |||||
* | Add SQL query support in plugins | Chocobozzz | 2020-04-09 | 1 | -0/+4 |
| | |||||
* | Refactor plugin helpers factory | Chocobozzz | 2020-04-09 | 1 | -4/+6 |
| | |||||
* | Don't refresh videos when processing views | Chocobozzz | 2020-02-04 | 1 | -1/+1 |
| | | | | It allows us to use a cache | ||||
* | Add model cache for video | Chocobozzz | 2020-02-04 | 2 | -1/+3 |
| | | | | When fetching only immutable attributes | ||||
* | Move to eslintcontain | Chocobozzz | 2020-02-03 | 28 | -181/+364 |
| | |||||
* | Add url field in caption and use it for thumbnails | Chocobozzz | 2020-01-30 | 2 | -2/+3 |
| | |||||
* | Cleanup server fixme | Chocobozzz | 2020-01-28 | 1 | -1/+2 |
| | |||||
* | Add ability to list redundancies | Chocobozzz | 2020-01-28 | 3 | -4/+20 |
| | |||||
* | Improve SQL query for my special playlists | Chocobozzz | 2020-01-03 | 1 | -1/+9 |
| | |||||
* | Add ability to disable webtorrent | Chocobozzz | 2019-11-25 | 23 | -29/+73 |
| | | | | In favour of HLS | ||||
* | Fix federation with some actors | Chocobozzz | 2019-10-23 | 1 | -1/+1 |
| | | | | That don't have a shared inbox, or a URL | ||||
* | Add notification on auto follow index | Chocobozzz | 2019-09-04 | 1 | -1/+1 |
| | |||||
* | Add auto follow back support for instances | Chocobozzz | 2019-09-04 | 5 | -13/+22 |
| | |||||
* | Fix html tag with blacklisted video | Chocobozzz | 2019-08-22 | 1 | -0/+4 |
| | |||||
* | Type toActivityPubObject functions | Chocobozzz | 2019-08-21 | 10 | -20/+60 |
| | |||||
* | Fix ownership change | Chocobozzz | 2019-08-21 | 1 | -4/+3 |
| | |||||
* | Type toFormattedJSON | Chocobozzz | 2019-08-20 | 23 | -37/+260 |
| | |||||
* | Cleanup model types | Chocobozzz | 2019-08-20 | 29 | -245/+573 |
| |