aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
Commit message (Collapse)AuthorAgeFilesLines
* Fix E2E testsChocobozzz2021-05-101-1/+6
|
* Resumable video uploads (#3933)kontrollanten2021-05-1010-148/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Sort channels by -updatedAtChocobozzz2021-05-1011-49/+61
|
* Increase test timeoutChocobozzz2021-05-071-1/+1
|
* Refactor video edit cssChocobozzz2021-05-073-76/+47
|
* Fix mask-image propertyChocobozzz2021-05-077-43/+50
| | | | Needed by chrome
* Add ability to search live videosChocobozzz2021-05-053-22/+61
|
* 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/
* | Fix player settings disposeChocobozzz2021-05-051-5/+8
| |
* | Fix non logged add comment avatarChocobozzz2021-05-051-4/+3
| |
* | Fix miniature avatar sizeChocobozzz2021-05-056-8/+17
| |
* | Fix E2E testsChocobozzz2021-05-051-1/+1
| |
* | round volume in stats cardRigel Kent2021-05-041-1/+1
| |
* | More efficient advanced input filterChocobozzz2021-05-031-10/+38
| |
* | Refactor parseQueryStringFilter boolean handlerChocobozzz2021-05-034-24/+12
| |
* | Display a message on no channelChocobozzz2021-05-031-0/+2
| |
* | Refactor search filtersChocobozzz2021-05-0347-494/+280
| |
* | Reduce advanced search input debounce timeChocobozzz2021-05-031-1/+1
| |
* | Fix avatar in report pageChocobozzz2021-05-031-2/+2
| |
* | Add ability to filter my videos by liveChocobozzz2021-05-0327-241/+284
| |
* | Cleanup plugins admin CSSChocobozzz2021-04-2911-49/+60
| |
* | Fix avatar size in moderation tablesChocobozzz2021-04-291-4/+3
| |
* | Fix my library/account/admin sub titles alignmentChocobozzz2021-04-293-52/+55
| |
* | Fix actor avatar backgroundChocobozzz2021-04-292-4/+4
| |
* | Move to stylelintChocobozzz2021-04-28117-1051/+1388
| |
* | Remove avatarUrl from modelsChocobozzz2021-04-2810-79/+38
| |
* | Refactor actor avatar displayChocobozzz2021-04-2862-278/+346
| |
* | Rename actor image edit moduleChocobozzz2021-04-2813-10/+10
| |
* | Better video languages filter UXChocobozzz2021-04-281-29/+40
| | | | | | | | | | Don't throw if the user did not select any language, automatically select "all languages" instead
* | Fix overview page with new thumbnail sizeChocobozzz2021-04-281-3/+3
| |
* | Add player mode to player statsChocobozzz2021-04-281-0/+2
| |
* | Clearer nsfw "do not list" labelChocobozzz2021-04-283-5/+5
| |
* | Cleanup stats for nerdsChocobozzz2021-04-285-119/+233
| |
* | add stats videojs pluginRigel Kent2021-04-289-2/+280
| |