Skip to content
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

fix getting quota for public links with quota_include_external_storage #848

Merged
merged 1 commit into from
Aug 17, 2016

Conversation

icewind1991
Copy link
Member

With public links \OCP\User::getUser() doesn't give us what we want.

@riegercloud can you check if this fixes the problem for you

@mention-bot
Copy link

@icewind1991, thanks for your PR! By analyzing the annotation information on this pull request, we identified @PVince81, @DeepDiver1975 and @blizzz to be potential reviewers

@ghost
Copy link

ghost commented Aug 12, 2016

sure - thank you. will test it and come back with my results.

@ghost
Copy link

ghost commented Aug 12, 2016

i do not have a file "lib/private/legacy/helper.php"
where to make the changes?

@icewind1991
Copy link
Member Author

older versions have the file at lib/private/helper.php iirc

@ghost
Copy link

ghost commented Aug 16, 2016

regarding to #848

  • i changed /var/www/nextcloud/lib/private/helper.php
  • i set the quota to 1.5TB
  • config.php:
    'filesystem_check_changes' => 1,
    'quota_include_external_storage' => true,

The public upload still failed with a spinning wheel.
failed

@nickvergessen nickvergessen added this to the Nextcloud 11.0 milestone Aug 17, 2016
@nickvergessen
Copy link
Member

@icewind1991 ready to review or still WIP? There is no status label

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Aug 17, 2016
@icewind1991
Copy link
Member Author

review

@rullzer
Copy link
Member

rullzer commented Aug 17, 2016

👍

@LukasReschke
Copy link
Member

LGTM

@LukasReschke LukasReschke merged commit 5aaa065 into master Aug 17, 2016
@LukasReschke LukasReschke deleted the public-link-quota branch August 17, 2016 18:13
@nickvergessen
Copy link
Member

Backport necessary @icewind1991 ?

GitHubUser4234 pushed a commit to GitHubUser4234/server that referenced this pull request Aug 30, 2016
fix getting quota for public links with quota_include_external_storage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants