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

[stable22] Fix removing remote shares when the remote server is unreachable #29565

Merged
merged 6 commits into from
Mar 10, 2022

Commits on Nov 5, 2021

  1. Add integration tests for deleting federated shares

    Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
    danxuliu authored and backportbot[bot] committed Nov 5, 2021
    Configuration menu
    Copy the full SHA
    92e1072 View commit details
    Browse the repository at this point in the history
  2. Add integration tests for listing federated shares

    Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
    danxuliu authored and backportbot[bot] committed Nov 5, 2021
    Configuration menu
    Copy the full SHA
    60b8116 View commit details
    Browse the repository at this point in the history
  3. Add integration tests for federated shares from unavailable servers

    The federated server needs to be stopped during the tests, so it is now
    stopped in the FederationContext for each scenario instead of just once
    in the run.sh script.
    
    Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
    danxuliu authored and backportbot[bot] committed Nov 5, 2021
    Configuration menu
    Copy the full SHA
    6e45663 View commit details
    Browse the repository at this point in the history
  4. Return false in hasUpdated when storage is not available

    Technically, saying that a storage has no updates when it's not
    available is correct.
    
    This makes it possible to retrieve the cache entry for the mount point
    and also to list and remove unavailable federated shares.
    
    Signed-off-by: Vincent Petry <vincent@nextcloud.com>
    PVince81 authored and backportbot[bot] committed Nov 5, 2021
    Configuration menu
    Copy the full SHA
    2421282 View commit details
    Browse the repository at this point in the history
  5. Update psalm baseline

    Signed-off-by: Vincent Petry <vincent@nextcloud.com>
    PVince81 authored and backportbot[bot] committed Nov 5, 2021
    Configuration menu
    Copy the full SHA
    3f08a6d View commit details
    Browse the repository at this point in the history
  6. Update lib/private/Files/Storage/Wrapper/Availability.php add void

    Signed-off-by: Vincent Petry <vincent@nextcloud.com>
    
    Co-authored-by: Carl Schwan <carl@carlschwan.eu>
    2 people authored and backportbot[bot] committed Nov 5, 2021
    Configuration menu
    Copy the full SHA
    8206b38 View commit details
    Browse the repository at this point in the history