Skip to content

[stable9.1] Proper separation of quota values in APIs - #27896

Merged
PVince81 merged 2 commits into
stable9.1from
stable9.1-fixdefaultquota
May 17, 2017
Merged

PVince81 merged 2 commits into
stable9.1from
stable9.1-fixdefaultquota

Conversation

@PVince81

Copy link
Copy Markdown
Contributor

Backport of #27895 to stable9.1

@jvillafanez please evaluate if LDAP is affected here too.

@DeepDiver1975

@PVince81 PVince81 added this to the 9.1.6 milestone May 16, 2017
@DeepDiver1975
DeepDiver1975 force-pushed the stable9.1-fixdefaultquota branch from c118b06 to db47a87 Compare May 16, 2017 06:51
@PVince81
PVince81 force-pushed the stable9.1-fixdefaultquota branch 3 times, most recently from 6362797 to 0344d7e Compare May 16, 2017 12:24
@PVince81

Copy link
Copy Markdown
Contributor Author

Set default quota to 5 GB

  • TEST: newly created user gets "default" quota, properly applies in personal page, 5 GB
  • TEST: set existing user quota to "default", properly applies in personal page, 5 GB
  • TEST: set existing user quota to "unlimited", properly applies in personal page (unlimited)
  • TEST: set existing user quota to "1 GB", properly applies in personal page, 1 GB

@PVince81 PVince81 mentioned this pull request May 16, 2017
3 of 9 tasks
@jvillafanez

Copy link
Copy Markdown
Member

👍

Vincent Petry added 2 commits May 17, 2017 08:41
User::getQuota() and User::setQuota() are now reading the exact value as
set in the database instead of interpreting it. This is how it used to
behave.

Util::getUserQuota() is the method that interprets the quota for example
by replacing a default value with the default quota value from the app
config.
@PVince81
PVince81 force-pushed the stable9.1-fixdefaultquota branch from 08cbff4 to 71b3395 Compare May 17, 2017 06:41
@PVince81
PVince81 merged commit 6a6ca83 into stable9.1 May 17, 2017
@PVince81
PVince81 deleted the stable9.1-fixdefaultquota branch May 17, 2017 09:45
@PVince81 PVince81 mentioned this pull request Jul 5, 2017
4 tasks done
@lock

lock Bot commented Aug 3, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 3, 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.

2 participants