1. 22 Jul, 2021 1 commit
  2. 20 Jul, 2021 1 commit
  3. 05 Jul, 2021 1 commit
  4. 29 Jun, 2021 1 commit
  5. 25 Jun, 2021 1 commit
  6. 15 Jun, 2021 1 commit
  7. 02 Jun, 2021 2 commits
  8. 01 Jun, 2021 2 commits
  9. 27 May, 2021 1 commit
  10. 11 May, 2021 1 commit
  11. 10 May, 2021 3 commits
    • kontrollanten's avatar
      Resumable video uploads (#3933) · f6d6e7f8
      kontrollanten authored
      
      
      * 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's avatarRigel Kent <par@rigelk.eu>
      
      * Update server/middlewares/validators/videos/videos.ts
      Co-authored-by: Rigel Kent's avatarRigel Kent <par@rigelk.eu>
      
      * Update server/controllers/api/videos/index.ts
      Co-authored-by: Rigel Kent's avatarRigel 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's avatarRigel Kent <par@rigelk.eu>
      Co-authored-by: Rigel Kent's avatarRigel Kent <sendmemail@rigelk.eu>
      Co-authored-by: Chocobozzz's avatarChocobozzz <me@florianbigard.com>
      f6d6e7f8
    • Chocobozzz's avatar
      Move engines outside package.json · d29ced1a
      Chocobozzz authored
      Because of invalid warnings displayed by yarn that could confuse admins
      when they install peertube
      d29ced1a
    • Chocobozzz's avatar
      Drop NodeJS 10 support · 6b6e1d5d
      Chocobozzz authored
      6b6e1d5d
  12. 05 May, 2021 3 commits
  13. 28 Apr, 2021 1 commit
  14. 12 Apr, 2021 1 commit
  15. 09 Apr, 2021 1 commit
  16. 06 Apr, 2021 1 commit
  17. 25 Mar, 2021 1 commit
  18. 24 Mar, 2021 6 commits
  19. 04 Mar, 2021 1 commit
  20. 03 Mar, 2021 1 commit
  21. 22 Feb, 2021 1 commit
  22. 11 Feb, 2021 1 commit
  23. 04 Feb, 2021 1 commit
  24. 03 Feb, 2021 1 commit
  25. 25 Jan, 2021 1 commit
  26. 14 Jan, 2021 1 commit
  27. 13 Jan, 2021 1 commit
  28. 12 Jan, 2021 1 commit
  29. 07 Jan, 2021 1 commit