aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAgeFilesLines
* Fix E2E testsChocobozzz2021-05-103-3/+7
|
* Optimize videos feed endpointChocobozzz2021-05-101-4/+7
|
* specify getUserId variant in openapi specRigel Kent2021-05-101-45/+77
| | | | closes #4062
* secify username patterns for user create/register in openapi specRigel Kent2021-05-101-0/+2
| | | | closes #4061
* fix imports list response in openapi specRigel Kent2021-05-101-1/+11
| | | | closes #4063
* fix response in openapi spec for quota and video ratingsRigel Kent2021-05-101-6/+20
| | | | | closes #4064 closes #4065
* Resumable video uploads (#3933)kontrollanten2021-05-1046-1163/+2324
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Move engines outside package.jsonChocobozzz2021-05-102-4/+6
| | | | | Because of invalid warnings displayed by yarn that could confuse admins when they install peertube
* Drop NodeJS 10 supportChocobozzz2021-05-101-1/+1
|
* Sort channels by -updatedAtChocobozzz2021-05-1011-49/+61
|
* Update channel updatedAt when uploading a videoChocobozzz2021-05-1012-38/+95
|
* Fix CLI plugins list command: use command parameters.John Livingston2021-05-101-5/+3
|
* Increase test timeoutChocobozzz2021-05-072-2/+2
|
* Reduce pending job waitingChocobozzz2021-05-072-3/+3
|
* Run misc tests in parallelChocobozzz2021-05-071-1/+1
|
* Fix ffmpeg version parsingChocobozzz2021-05-071-1/+1
|
* Refactor video edit cssChocobozzz2021-05-073-76/+47
|
* Refactor a little bit live testsChocobozzz2021-05-075-80/+60
|
* Fix mask-image propertyChocobozzz2021-05-077-43/+50
| | | | Needed by chrome
* relax guarantee on openapi rate limit doc accuracyRigel Kent2021-05-071-2/+4
|
* Add curl as dependency to allow for healthchecksdecentral1se2021-05-071-1/+1
| | | | Closes https://github.com/Chocobozzz/PeerTube/issues/4045.
* Fix remote actor creation dateChocobozzz2021-05-0710-42/+80
|
* add subscriptions feed api to openapi specRigel Kent2021-05-071-14/+89
|
* add rate limit table to openapi specRigel Kent2021-05-071-16/+35
|
* add possible OSX/postgres message to dependencies documentation (#4051)Philo van Kemenade2021-05-061-1/+1
|
* Add note in changelog regarding ffmpeg 4.4Chocobozzz2021-05-061-0/+1
|
* Fix ffmpeg version checkerChocobozzz2021-05-061-2/+8
|
* Prepare changelogChocobozzz2021-05-061-0/+122
|
* server: fix HLS playlist formatkontrollanten2021-05-061-6/+5
| | | | Remove prefixed comma when there's no video codec.
* Plugin user.getAuthUser is now asyncChocobozzz2021-05-056-7/+19
| | | | So we can load the full user
* Add ability to search live videosChocobozzz2021-05-054-22/+62
|
* Update server dependenciesChocobozzz2021-05-052-263/+307
|
* Use bash for scriptsChocobozzz2021-05-051-24/+24
|
* Update translationsChocobozzz2021-05-0541-28498/+25742
|
* Merge remote-tracking branch 'weblate/develop' into developChocobozzz2021-05-051-1/+1
|\
| * Translated using Weblate (Kabyle)Slimane Selyan AMIRI2021-05-051-1/+1
| | | | | | | | | | | | | | Currently translated at 99.9% (1851 of 1852 strings) Translation: PeerTube/angular Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/kab/
* | Merge remote-tracking branch 'weblate/develop' into developChocobozzz2021-05-0511-8821/+8323
|\|
| * Translated using Weblate (Vietnamese)Duy2021-05-041-304/+243
| | | | | | | | | | | | | | Currently translated at 100.0% (1852 of 1852 strings) Translation: PeerTube/angular Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/vi/
| * Translated using Weblate (Russian)Александр2021-05-041-1/+1
| | | | | | | | | | | | | | Currently translated at 99.7% (1848 of 1852 strings) Translation: PeerTube/angular Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ru/
| * Translated using Weblate (French (France) (fr_FR))Laurent Ettouati2021-05-041-856/+842
| | | | | | | | | | | | | | Currently translated at 99.0% (1834 of 1852 strings) Translation: PeerTube/angular Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr_FR/
| * Translated using Weblate (Norwegian Nynorsk)Eivind Ødegård2021-05-011-4/+4
| | | | | | | | | | | | | | Currently translated at 1.1% (21 of 1849 strings) Translation: PeerTube/angular Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/nn/
| * Translated using Weblate (French)Laurent Ettouati2021-05-011-1/+1
| | | | | | | | | | | | | | Currently translated at 100.0% (1765 of 1765 strings) Translation: PeerTube/angular Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/fr/
| * Translated using Weblate (Kabyle)Racida S2021-05-011-856/+842
| | | | | | | | | | | | | | Currently translated at 99.9% (1851 of 1852 strings) Translation: PeerTube/angular Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/kab/
| * Translated using Weblate (Chinese (Traditional))Jeff Huang2021-05-011-851/+837
| | | | | | | | | | | | | | Currently translated at 100.0% (1852 of 1852 strings) Translation: PeerTube/angular Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/zh_Hant/
| * Translated using Weblate (Vietnamese)Duy2021-05-011-1587/+1262
| | | | | | | | | | | | | | Currently translated at 86.8% (1609 of 1852 strings) Translation: PeerTube/angular Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/vi/
| * Translated using Weblate (Swedish)Filip Bengtsson2021-05-011-885/+871
| | | | | | | | | | | | | | Currently translated at 99.7% (1848 of 1852 strings) Translation: PeerTube/angular Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/sv/
| * Translated using Weblate (Russian)Александр2021-05-011-919/+905
| | | | | | | | | | | | | | Currently translated at 99.7% (1848 of 1852 strings) Translation: PeerTube/angular Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/ru/
| * Translated using Weblate (Galician)josé m2021-05-011-852/+838
| | | | | | | | | | | | | | Currently translated at 100.0% (1852 of 1852 strings) Translation: PeerTube/angular Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/gl/
| * Translated using Weblate (Spanish)Berto Te2021-05-011-855/+841
| | | | | | | | | | | | | | Currently translated at 100.0% (1852 of 1852 strings) Translation: PeerTube/angular Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/es/
| * Translated using Weblate (German)Simon Brosdetzko2021-05-011-852/+838
| | | | | | | | | | | | | | Currently translated at 100.0% (1852 of 1852 strings) Translation: PeerTube/angular Translate-URL: https://weblate.framasoft.org/projects/peertube/angular/de/