ILIAS icon indicating copy to clipboard operation
ILIAS copied to clipboard

NPM: add `@uppy/tus`

Open thibsy opened this issue 1 year ago • 1 comments

This PR adds @uppy/tus as npm package.

Usage:

  • ilObjFile and more to come

Wrapped By:

  • ILIAS\UI\Component\Input\Field\UploadHandler (abstract implementation to come)

Reasoning:

  • This package implements the TUS protocol which tries to standardise resumable and hereby chunked uploads. This is similar to the reasoning behind the open-graph metadata, which follows a "pseudo" protocol as well.
  • Having a protocol will be beneficial for future implementations of the UploadHandler interface and makes our codebase less error-prone and more consistent.

Maintenance:

Links:

  • Package manager: https://www.npmjs.com/package/@uppy/tus
  • GitHub: https://github.com/tus/tus-js-client
  • Documentation: https://uppy.io/docs/tus/

thibsy avatar Jan 21 '24 15:01 thibsy

Jour Fixe, 22 JAN 2024: Dependency is accepted for ILIAS 10.

matthiaskunkel avatar Jan 22 '24 13:01 matthiaskunkel

This should have become part of ILIAS 10 via this PR. As always, something might have gone wrong. If you are still missing that package, please ping me.

Kind regards!

klees avatar Jul 09 '24 11:07 klees