aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings
Commit message (Collapse)AuthorAgeFilesLines
* Stop using tsconfig registerChocobozzz2022-01-061-189/+0
| | | | Prefer to replace paths at compile time
* Update server dependenciesChocobozzz2021-10-121-8/+0
|
* Fix ws importChocobozzz2021-08-301-0/+8
|
* Move apicache in peertubeChocobozzz2021-07-221-0/+11
| | | | Allow us to upgrade to node 16
* Refactor requestsChocobozzz2021-07-201-2/+1
|
* Refactor include checksChocobozzz2021-06-111-3/+1
|
* Use raw SQL for most of video queriesChocobozzz2021-06-111-2/+2
|
* Fetch directly all video attributes for get APIChocobozzz2021-06-111-0/+2
|
* Refactor server errors handlerChocobozzz2021-06-021-6/+13
|
* refactor API errors to standard error formatRigel Kent2021-06-021-1/+9
|
* Resumable video uploads (#3933)kontrollanten2021-05-101-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 testsChocobozzz2021-04-081-1/+0
|
* Add banners supportChocobozzz2021-04-081-3/+4
|
* Refactor auth flowChocobozzz2021-03-241-17/+0
| | | | | Reimplement some node-oauth2-server methods to remove hacky code needed by our external login workflow
* Upgrade server dependenciesChocobozzz2021-03-031-63/+63
|
* Live streaming implementation first stepChocobozzz2020-11-091-1/+4
|
* Add openapi docChocobozzz2020-07-311-3/+2
|
* Add abuse messages management in my accountChocobozzz2020-07-311-2/+3
|
* Add server API to abuse messagesChocobozzz2020-07-311-0/+2
|
* Add new abuses testsChocobozzz2020-07-101-1/+0
|
* Implement abuses check paramsChocobozzz2020-07-101-0/+1
|
* Use 3 tables to represent abusesChocobozzz2020-07-101-2/+2
|
* Reorganize client shared modulesChocobozzz2020-06-234-102/+17
|
* Fix testsChocobozzz2020-06-181-5/+5
|
* Split types and typingsChocobozzz2020-06-1843-1651/+12
|
* Update server dependenciesChocobozzz2020-06-171-0/+4
|
* Add moderation helpers to pluginsChocobozzz2020-05-071-9/+29
|
* Add ability to unregister plugin authsChocobozzz2020-05-041-0/+2
|
* Add config helper for pluginsChocobozzz2020-05-041-0/+4
|
* Begin support for external authsChocobozzz2020-05-041-0/+3
|
* Add ability for auth plugins to hook tokens validityChocobozzz2020-05-041-0/+2
|
* Support logout and add id and pass testsChocobozzz2020-05-042-1/+8
|
* Begin auth plugin supportChocobozzz2020-05-042-1/+16
|
* Add links from user-editRigel Kent2020-05-011-2/+2
|
* Add video channel and video thumbnail, rework video appearance in rowRigel Kent2020-05-011-4/+5
|
* Make sure a report doesn't get deleted upon the deletion of its videoRigel Kent2020-05-011-1/+1
|
* Add ability to remove privacies using pluginsChocobozzz2020-04-201-0/+5
|
* Add ability for plugins to add custom routesChocobozzz2020-04-101-0/+7
|
* Add ability to remove a video from a pluginChocobozzz2020-04-091-0/+4
|
* Add SQL query support in pluginsChocobozzz2020-04-091-0/+4
|
* Refactor plugin helpers factoryChocobozzz2020-04-091-4/+6
|
* Don't refresh videos when processing viewsChocobozzz2020-02-041-1/+1
| | | | It allows us to use a cache
* Add model cache for videoChocobozzz2020-02-042-1/+3
| | | | When fetching only immutable attributes
* Move to eslintcontainChocobozzz2020-02-0328-181/+364
|
* Add url field in caption and use it for thumbnailsChocobozzz2020-01-302-2/+3
|
* Cleanup server fixmeChocobozzz2020-01-281-1/+2
|
* Add ability to list redundanciesChocobozzz2020-01-283-4/+20
|
* Improve SQL query for my special playlistsChocobozzz2020-01-031-1/+9
|
* Add ability to disable webtorrentChocobozzz2019-11-2523-29/+73
| | | | In favour of HLS
* Fix federation with some actorsChocobozzz2019-10-231-1/+1
| | | | That don't have a shared inbox, or a URL