Skip to content

Conversation

@rullzer
Copy link
Member

@rullzer rullzer commented Sep 13, 2017

Fixes: #6354

Should fix the QuotaPlugin for the new dav endpoint

@rullzer rullzer added this to the Nextcloud 13 milestone Sep 13, 2017
@mention-bot
Copy link

@rullzer, thanks for your PR! By analyzing the history of the files in this pull request, we identified @icewind1991, @DeepDiver1975 and @PVince81 to be potential reviewers.

@codecov
Copy link

codecov bot commented Sep 13, 2017

Codecov Report

Merging #6483 into master will decrease coverage by <.01%.
The diff coverage is 56.25%.

@@             Coverage Diff              @@
##             master    #6483      +/-   ##
============================================
- Coverage     53.42%   53.42%   -0.01%     
- Complexity    22522    22529       +7     
============================================
  Files          1407     1407              
  Lines         87141    87160      +19     
  Branches       1328     1328              
============================================
+ Hits          46557    46563       +6     
- Misses        40584    40597      +13
Impacted Files Coverage Δ Complexity Δ
apps/dav/lib/Server.php 47.82% <0%> (ø) 12 <0> (ø) ⬇️
apps/dav/lib/Connector/Sabre/ServerFactory.php 65.21% <100%> (ø) 13 <0> (ø) ⬇️
apps/dav/lib/Connector/Sabre/QuotaPlugin.php 71.42% <56.66%> (-17.21%) 26 <16> (+7)
lib/private/Files/Cache/Propagator.php 94.93% <0%> (-1.27%) 16% <0%> (ø)
apps/files_trashbin/lib/Expiration.php 91.93% <0%> (+1.61%) 29% <0%> (ø) ⬇️

@icewind1991
Copy link
Member

Do we have a way to get the target location of the upload before the client does the move?

Would be nice to be able to check the quote when uploading the chunks instead of having the client upload all the chunks only to fail in the end.

@rullzer
Copy link
Member Author

rullzer commented Sep 13, 2017

No we don't

@icewind1991
Copy link
Member

Maybe adding a "Destination" header to the client would be something to do "some day™"

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzer rullzer force-pushed the fix_quota_new_endpoint branch from ddb9051 to ab63c89 Compare September 13, 2017 17:28
@rullzer rullzer added 3. to review Waiting for reviews backport-request and removed 2. developing Work in progress labels Sep 13, 2017
@rullzer
Copy link
Member Author

rullzer commented Sep 13, 2017

@icewind1991 yeah some day

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Users with a quota of 1 Bytes cannot upload data on a shared folder with the desktop client.

5 participants