-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Check quota of subdirectories when uploading to them #24102
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
Conversation
skjnldsv
left a comment
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.
Code make sense! Minimal legacy code changes too! 👍
Signed-off-by: Julius Härtl <[email protected]>
ChristophWurst
left a comment
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.
Tested and works. I can upload a file to an external sub directory while the user's root directory is full 👍
2f0de61 to
0c19826
Compare
Signed-off-by: Julius Härtl <[email protected]> Signed-off-by: Christoph Wurst <[email protected]>
0c19826 to
f9536b0
Compare
| mtime: parseInt($el.attr('data-mtime'), 10), | ||
| type: $el.attr('data-type'), | ||
| etag: $el.attr('data-etag'), | ||
| quotaAvailableBytes: $el.attr('data-quota'), |
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 will also be set for files, but I guess it's fine
ChristophWurst
left a comment
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.
Still works after minor modifications :)
|
/backport to stable20 |
|
/backport to stable19 |
Different attempt to #23294 to check the available space on a subdirectory when uploading a file by dragging it to the browser.