Skip to content

[stable8] Only use quota stream wrapper on "files" - #16630

Merged
MorrisJobke merged 3 commits into
stable8from
stable8-quota-onlyforfiles
Jun 9, 2015
Merged

MorrisJobke merged 3 commits into
stable8from
stable8-quota-onlyforfiles

Conversation

@PVince81

Copy link
Copy Markdown
Contributor

Backport of #16613 to stable8 (approved here #16613 (comment))

Please review @icewind1991 @MorrisJobke @schiesbn @th3fallen

Prevent using the quota stream wrapper on trashbin folders and other
metadata folders
@PVince81 PVince81 added this to the 8.0.5-next-maintenance milestone May 29, 2015
@PVince81

Copy link
Copy Markdown
Contributor Author

Had a quick retest with 0 quota, still works

@PVince81

Copy link
Copy Markdown
Contributor Author

💣 ? Really ?

@PVince81

PVince81 commented Jun 1, 2015

Copy link
Copy Markdown
Contributor Author

Ah yes, of course. We use the quota to simulate a copy fail. But now quota isn't applied on the folder because it doesn't start with "files/".

I'll have a look.

icewind1991 and others added 2 commits June 1, 2015 12:23
Partial backport, only took the unit tests from
31e9470 to simulate failure using mocks
instead of the quota storage wrapper.
@PVince81

PVince81 commented Jun 1, 2015

Copy link
Copy Markdown
Contributor Author

Backported the unit tests only from 31e9470 which makes the tests not rely on the quota to simulate fail but on mocks.
Also backported c4ec8fb to make that backport work.

@PVince81

PVince81 commented Jun 1, 2015

Copy link
Copy Markdown
Contributor Author

@DeepDiver1975 wrong ticket

@DeepDiver1975

Copy link
Copy Markdown
Contributor

@DeepDiver1975 wrong ticket

thx

@ghost

ghost commented Jun 1, 2015

Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/12617/
🚀 Test PASSed.🚀
chuck

@icewind1991

Copy link
Copy Markdown
Contributor

👍 looks good

@MorrisJobke

Copy link
Copy Markdown
Contributor

Tested and works 👍

MorrisJobke added a commit that referenced this pull request Jun 9, 2015
[stable8] Only use quota stream wrapper on "files"
@MorrisJobke
MorrisJobke merged commit 952e774 into stable8 Jun 9, 2015
@MorrisJobke
MorrisJobke deleted the stable8-quota-onlyforfiles branch June 9, 2015 15:11
@lock lock Bot locked as resolved and limited conversation to collaborators Aug 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants