-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEATURE: Add TUS file upload #106
base: main
Are you sure you want to change the base?
FEATURE: Add TUS file upload #106
Conversation
41afe25
to
2ee5eb9
Compare
- Make maximumUploadChunkSize configurable
* source code. | ||
*/ | ||
|
||
use Carbon\Carbon; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This dependency doesn't seem to be included in the composer.json
. Maybe we can get rid of this and replace the one method used?
*/ | ||
public function getTtl(): int | ||
{ | ||
return 60*60*24; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should go right?
uploadFiles(files) | ||
.then(() => { | ||
Notify.ok(translate('uploadDialog.uploadFinished', 'Upload finished')); | ||
refetchAssets(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any replacement for the call to refetch the assets?
This feature adds file upload via TUS (https://tus.io/) protocol. This brings the following advantages:
To discuss:
TUS.Upload.1.mov
Resolves: #61