aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/schedulers
Commit message (Collapse)AuthorAgeFilesLines
* Refactor getOrCreateAPVideoChocobozzz2021-06-021-2/+2
|
* Merge branch 'release/3.2.0' into developChocobozzz2021-05-261-2/+2
|\
| * Fix redundancy max sizeChocobozzz2021-05-261-2/+2
| |
* | Cleanup models directory organizationChocobozzz2021-05-113-4/+4
| |
* | Use a class for youtube-dlChocobozzz2021-05-111-3/+3
|/
* Resumable video uploads (#3933)kontrollanten2021-05-101-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 new plugin/peertube version notifsChocobozzz2021-03-242-0/+61
|
* Use got instead of requestChocobozzz2021-03-241-4/+4
|
* Don't guess remote tracker URLChocobozzz2021-02-181-2/+3
|
* Dissociate video file names and video uuidChocobozzz2021-02-181-6/+6
|
* Purge entire video from redundancyChocobozzz2021-02-021-1/+9
|
* Fix incorrect IDs in AP federationChocobozzz2020-11-201-18/+19
|
* Split types and typingsChocobozzz2020-06-182-2/+2
|
* Fix video view filenameChocobozzz2020-06-151-1/+1
|
* Fix auto follow index URLChocobozzz2020-05-121-9/+7
|
* Allow to auto follow a specific URLChocobozzz2020-05-111-0/+4
|
* Avoir some circular dependenciesChocobozzz2020-05-043-4/+4
|
* Fix build with typescript 3.8Chocobozzz2020-02-281-1/+1
|
* Move to eslintcontainChocobozzz2020-02-034-8/+5
|
* Add ability to list redundanciesChocobozzz2020-01-282-14/+46
|
* Add internal privacy modeChocobozzz2019-12-121-6/+4
|
* Don't always replace actor avatarChocobozzz2019-11-251-6/+9
|
* Add ability to disable webtorrentChocobozzz2019-11-252-7/+8
| | | | In favour of HLS
* Fix auto index followChocobozzz2019-11-041-1/+3
|
* Merge branch 'release/1.4.0' into developChocobozzz2019-09-051-1/+1
|\
| * Fix bug in redundancy evictionChocobozzz2019-09-041-1/+1
| |
* | Add auto follow instances index supportChocobozzz2019-09-041-0/+72
| |
* | Fix redundancy too heavy with streaming playlistsChocobozzz2019-08-301-2/+1
| |
* | Merge branch 'release/1.4.0' into developChocobozzz2019-08-221-1/+1
|\|
| * Try to fix video duplicationChocobozzz2019-08-221-1/+1
| |
* | Cleanup model typesChocobozzz2019-08-201-1/+3
| |
* | Stronger model typingsChocobozzz2019-08-191-17/+35
|/
* Fix redundancy exceeding the limitChocobozzz2019-08-121-1/+4
|
* Automatically remove bad followingsChocobozzz2019-08-061-3/+10
|
* Correctly notify on auto blacklistChocobozzz2019-07-241-1/+1
|
* Check latest plugins version with config intervalChocobozzz2019-07-241-1/+1
|
* Check latest plugins versionChocobozzz2019-07-241-11/+19
|
* Add ability to search available pluginsChocobozzz2019-07-241-0/+60
|
* WIP plugins: add ability to register pluginsChocobozzz2019-07-241-1/+0
|
* Fix redundancy exceeded quotaChocobozzz2019-06-201-1/+4
|
* Add ability to delete old remote viewsChocobozzz2019-04-121-0/+33
|
* Add ability to limit videos history sizeChocobozzz2019-04-112-1/+34
|
* Don't expose constants directly in initializers/Chocobozzz2019-04-115-5/+6
|
* Move config in its own fileChocobozzz2019-04-111-3/+4
|
* add quarantine videos feature (#1637)Josh Morel2019-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | * add quarantine videos feature * increase Notification settings test timeout to 20000ms. was completing 7000 locally but timing out after 10000 on travis * fix quarantine video test issues -propagate misspelling -remove skip from server/tests/client.ts * WIP use blacklist for moderator video approval instead of video.quarantine boolean * finish auto-blacklist feature
* Limit user tokens cacheChocobozzz2019-03-191-1/+1
|
* Add hls support on serverChocobozzz2019-02-111-59/+130
|
* Add import finished and video published notifsChocobozzz2019-01-091-2/+12
|
* Add user notification base codeChocobozzz2019-01-091-0/+5
|
* Optimize actor follow scores modificationsChocobozzz2018-12-206-29/+44
|