aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/core-utils
Commit message (Collapse)AuthorAgeFilesLines
* Added 144p encoding (#4492)Florian CUNY2021-11-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added 144p encoding Implements https://github.com/Chocobozzz/PeerTube/issues/4428 * Fixed typo in core-utils * Increased BitPerPixel for 144p * Disabled 144p by default in test.yaml * Another try at fixing tests * Fixed test in video-transcoder (api-3) * Fixed test in video-imports (api-4) * Fixed test in live-constraints (api-2) * Tried to fix tests in api-3 again * Revert "Tried to fix tests in api-3 again" This reverts commit 266e1143fa37f333d149c2c2791c7bd33621ac14. * Fixed test in config.ts (api-2) * Try to fix test in video-hls.ts (api-3) * Fixed test in video-transcoder.ts (api-3) * Fix tests Co-authored-by: Chocobozzz <me@florianbigard.com>
* Improve advanced input filterChocobozzz2021-11-032-0/+14
|
* Merge branch 'release/3.4.0' into developChocobozzz2021-10-121-1/+1
|\
| * Fix bitrate testsChocobozzz2021-10-121-1/+1
| |
* | Safer iframe creationChocobozzz2021-10-111-11/+2
|/
* Improve target bitrate calculationChocobozzz2021-08-063-0/+88
|
* Refactor search query optionsChocobozzz2021-07-291-2/+2
|
* Search channels against handles and not namesChocobozzz2021-07-293-0/+17
|
* Refactor video links buildersChocobozzz2021-07-269-40/+191
|
* Refactor video links buildingChocobozzz2021-07-267-2/+3
|
* Use random names for VOD HLS playlistsChocobozzz2021-07-261-0/+4
|
* Generate random uuid for video filesChocobozzz2021-07-262-0/+2
|
* Refactor requestsChocobozzz2021-07-203-387/+0
|
* Fix image injection for custom markupChocobozzz2021-06-251-1/+3
|
* Instance homepage support (#4007)Chocobozzz2021-05-272-17/+52
| | | | | | | | | | | | | | | | | * 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
* Stricter models typingChocobozzz2021-05-121-0/+4
|
* Resumable video uploads (#3933)kontrollanten2021-05-102-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Allow plugins to set short translation localeChocobozzz2021-04-201-3/+3
|
* fix missing title attribute on <iframe> tag suggested for embedding (#3901)Thavarasa Prasanth2021-03-311-0/+18
| | | | | | | | | | | | | * title attribute is missing on <iframe> tag suggested for embedding #3861 * fix #3901 * fix: escapeHTML #3901 * fix: playlist title instead of video title #3901 * fix #3901 * assign title directly #3901
* Support sqChocobozzz2021-03-091-1/+2
|
* stricter youtubedl format selectors (#3516)Rigel Kent2021-01-151-0/+8
| | | | | | | | | | | | | | * stricter youtubedl format selectors make sure selectors avoid av1, and otherwise match as closely to the maximum resolution enabled for transcoding * add support for merge formats in youtubedl * avoid vp9.2 in youtubedl to avoid any HDR * move getEnabledResolutions, safer replace of imported extension * add test for youtube-dl selectors
* Add gl supportChocobozzz2020-12-161-0/+2
|
* Add joblog at the end of ciChocobozzz2020-12-141-0/+1
|
* emit more specific status codes on video upload (#3423)Rigel Kent2020-12-081-87/+24
| | | | | - reduce http status codes list to potentially useful codes - convert more codes to typed ones - factorize html generator for error responses
* refactor 404 pageRigel Kent2020-12-031-1/+1
|
* Fix lintChocobozzz2020-12-031-1/+1
|
* more explicit error messages for file uploadsRigel Kent2020-12-032-0/+420
|
* Fix client buildChocobozzz2020-11-171-1/+1
|
* Refactor markdown/sanitize html codeChocobozzz2020-11-174-0/+50
|
* Implement video comment list in adminChocobozzz2020-11-131-1/+2
|
* Reorganize shared modelsChocobozzz2020-08-076-0/+157
|
* Reorganize client shared modulesChocobozzz2020-06-235-0/+49
|
* Move to eslintcontainChocobozzz2020-02-031-1/+1
|
* Add client hooksChocobozzz2019-07-241-1/+1
|
* Add plugin table migration tableChocobozzz2019-07-241-1/+1
|
* Add hook filters testsChocobozzz2019-07-241-15/+20
|
* Add server hooksChocobozzz2019-07-242-1/+52
|
* Add ability to search available pluginsChocobozzz2019-07-241-1/+19
|
* Prefer using last week/last monthChocobozzz2019-06-061-1/+19
|
* Group videos on chronological orderChocobozzz2019-05-311-0/+49
|
* Use test wrapper exit functionChocobozzz2019-04-241-0/+7
|
* Add ability to delete old remote viewsChocobozzz2019-04-121-0/+25