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

[stable30] fix(settings): Correctly parse and display default quota #50218

Merged
merged 2 commits into from
Jan 16, 2025

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Jan 16, 2025

Backport of #50187

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Remove all the empty commits

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

In the account management settings (default settings) the quota was
parsed not consistently with how we do it everywhere else.
Meaning `1 KB` should be 1024 bytes not 1000 bytes.

Also this fixes an issue where searching "1KB" does not yield any output
because of the space in the parsed value "1 KB".

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux force-pushed the backport/50187/stable30 branch from 79f9d4b to 205d646 Compare January 16, 2025 21:17
@susnux susnux marked this pull request as ready for review January 16, 2025 21:17
@Pytal
Copy link
Member

Pytal commented Jan 16, 2025

/compile

@Pytal Pytal enabled auto-merge January 16, 2025 22:19
Signed-off-by: nextcloud-command <[email protected]>
@Pytal Pytal merged commit 92aff8e into stable30 Jan 16, 2025
113 checks passed
@Pytal Pytal deleted the backport/50187/stable30 branch January 16, 2025 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants