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

[New arch] Remove account #3730

Closed
20 tasks done
abelgardep opened this issue Aug 18, 2022 · 0 comments · Fixed by #3753
Closed
20 tasks done

[New arch] Remove account #3730

abelgardep opened this issue Aug 18, 2022 · 0 comments · Fixed by #3753

Comments

@abelgardep
Copy link
Contributor

abelgardep commented Aug 18, 2022

Removing an account from the app should:

  • Clean the files database for that account (related to Report 7) [TO DO]
  • Clean the downloaded files for that account [DONE]
  • Clean the uploads database for that account [DONE]
  • Clean the pending uploads in the workmanager [DONE]
  • Clean the pending downloads in the workmanager [DONE]
  • Reset camera uploads (picture or videos) if that account is the attached one [DONE]
  • Clean capabilities for account [TO DO]
  • Clean shares for account [TO DO]
  • Clean quotas for account [TO DO]
  • Clean cached, temporals or any other files in the local storage for that account [TO DO] (Files under com.owncloud.android.debug > files > tmp are not removed)
  • Notify the removal to the documents provider [DONE]

Set same behaviour when removing the account from device settings (out of app).

TASKS

  • Research which of the previous are already done
  • Create branch new_arch/remove_account
  • Development tasks
    • Remove account from device
    • Clean the files database for that account
    • Clean the downloaded files for that account
    • Clean the uploads database for that account
    • Clean the pending uploads in the workmanager
    • Clean the pending downloads in the workmanager
    • Reset camera uploads (picture or videos) if that account is the attached one
    • Clean capabilities for account
    • Clean shares for account
    • Clean quotas for account
    • Clean cached, temporals or any other files in the local storage for that account
    • Notify the removal to the document provider
    • Set same behaviour when removing the account from device settings
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch new_arch/remove_account into new_arch/synchronization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants