Repository navigation
Fixes for "max upload size" value showed in the UI - #5711
Merged
Merged
Conversation
added 2 commits
November 6, 2013 10:15
After uploading, the quota value wasn't refreshed. This fix refreshes the quota value after files have been scanned or uploaded.
Previously, the storage statistics were always for the root dir. This means that the upload button would always show the limit for the root dir, even when uploading to a shared dir or external storage. This fix adds a "dir" argument to getstoragestats.php.
Contributor
|
Great 👍 |
|
Test passed. |
Contributor
|
Please, also add update of max upload size when deleting, as it is not being updated properly right now. |
Contributor
Author
|
When deleting, the file goes to the trashbin and still counts as used space... I'm not 100% clear about the logic (CC @schiesbn). |
Contributor
Author
|
@frisco82 the fix is already in, in FileList.do_delete. You'll only see an update when the trashbin app is disable, as per the reasons mentionned above. |
Contributor
|
Works great 👍 |
MorrisJobke
added a commit
that referenced
this pull request
Nov 6, 2013
…roperations Fixes for "max upload size" value showed in the UI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fix brings the following:
Note that for the "shared storage" case I need to look into why it's not using the quota stream wrapper, which I'll address in a separate PR.
Please review @karlitschek @icewind1991 @DeepDiver1975