Skip to content

fix: Show storage full warning when storage is actually full - #48354

Merged
artonge merged 1 commit into
masterfrom
artonge/fix/storage_full_warning
Sep 26, 2024
Merged

fix: Show storage full warning when storage is actually full#48354
artonge merged 1 commit into
masterfrom
artonge/fix/storage_full_warning

Conversation

@artonge

@artongeartonge commented Sep 25, 2024

Copy link
Copy Markdown
Collaborator

< 0 values for "free" do not mean that the storage is full:

/**
* @const \OCP\Files\FileInfo::SPACE_NOT_COMPUTED Return value for a not computed space value
* @since 8.0.0
*/
publicconstSPACE_NOT_COMPUTED = -1;
/**
* @const \OCP\Files\FileInfo::SPACE_UNKNOWN Return value for unknown space value
* @since 8.0.0
*/
publicconstSPACE_UNKNOWN = -2;
/**
* @const \OCP\Files\FileInfo::SPACE_UNLIMITED Return value for unlimited space
* @since 8.0.0
*/
publicconstSPACE_UNLIMITED = -3;

Signed-off-by: Louis Chemineau louis@chmn.me

  • Resolves: #

Summary

TODO

  • ...

Checklist

@artongeartonge self-assigned this Sep 25, 2024
@artonge
artonge requested a review from susnuxSeptember 25, 2024 11:54
@artongeartonge added this to the Nextcloud 31 milestone Sep 25, 2024
@artonge

Copy link
Copy Markdown
CollaboratorAuthor

/backport to stable28

@artonge

Copy link
Copy Markdown
CollaboratorAuthor

/backport to stable29

@artonge

Copy link
Copy Markdown
CollaboratorAuthor

/backport to stable30

@artonge
artongeforce-pushed the artonge/fix/storage_full_warning branch from cb2bc91 to 1046f8dCompareSeptember 25, 2024 15:48
@artonge

Copy link
Copy Markdown
CollaboratorAuthor

/compile amend /

@nextcloud-command
nextcloud-commandforce-pushed the artonge/fix/storage_full_warning branch from 1046f8d to ee03123CompareSeptember 25, 2024 15:56
@artonge

This comment was marked as duplicate.

@artonge

This comment was marked as duplicate.

@artonge

This comment was marked as duplicate.

< 0 values for "free" do not mean that the storage is full: https://github.com/nextcloud/server/blob/6befdd6dd7cd20fe7f7036e4665bcfbb783d6803/lib/public/Files/FileInfo.php#L31-L42
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Sign up for freeto 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.

3 participants

@artonge@susnux@provokateurin