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

Feat/add image data deletion in account deletion #237

Merged
merged 4 commits into from
Dec 18, 2024

Conversation

Alex720p
Copy link
Contributor

@Alex720p Alex720p commented Dec 17, 2024

This pr adds the image deletion process to the existing account deletion.

How to test:
Upload pictures, rate other user pictures. Delete account and check that your uploads and ratings have been deleted.
There's a picture uploaded here to to check the rating on:
Screenshot 2024-12-17 164124

…back old implementation of ImageRepositoryFirestore::deleteAllDataFromUser
…itoryFirestoreTest deleteAllDataFromUser to old version
@Alex720p Alex720p linked an issue Dec 17, 2024 that may be closed by this pull request
1 task
@Alex720p Alex720p self-assigned this Dec 17, 2024
@Alex720p Alex720p added the Enhancement ✨ New feature or request label Dec 17, 2024
@Alex720p Alex720p added this to the Milestone M3 milestone Dec 17, 2024
@SaturneV SaturneV self-requested a review December 17, 2024 17:57
Copy link
Contributor

@SaturneV SaturneV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great PR! I tested it on my emulator and it works as expected. I'll let you respond to my comments. Maybe the PR description could have been more descriptive about the function added and the test files that were modified for the next time. I'll wait for your answers and quickly approve the PR. Good job!

@Alex720p
Copy link
Contributor Author

Great PR! I tested it on my emulator and it works as expected. I'll let you respond to my comments. Maybe the PR description could have been more descriptive about the function added and the test files that were modified for the next time. I'll wait for your answers and quickly approve the PR. Good job!

Shoud have specified for the function but it wasn't a new thing. I brought back the function I had already done in pr #227. I changed it after the review but there was an issue with the updated implementation.

Copy link

sonarqubecloud bot commented Dec 18, 2024

Copy link
Contributor

@SaturneV SaturneV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the responses to my comments and the changes. I approve this PR. Don't forget to accept the issue on SonarCloud. Good job!

@Alex720p Alex720p merged commit ac545d5 into main Dec 18, 2024
3 checks passed
@Alex720p Alex720p deleted the feat/add-image-data-deletion-in-account-deletion branch December 18, 2024 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement ✨ New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement the deletion of all user related image in the existing account deletion
2 participants