This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add a background database update to purge account data for deactivated users. #11655
Merged
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
68b663d
Remove account data upon user deactivation
reivilibre 13fec0d
Document that account data is removed upon user deactivation
reivilibre c1fed49
Newsfile
reivilibre 4da869e
Remove account data upon user deactivation
reivilibre b132bba
Test the removal of account data upon deactivation
reivilibre 1589d6a
Pull out the account data transaction so it can be reused in other tr…
reivilibre 5344446
Add a background job to retroactively purge account data for deactiva…
reivilibre da884c0
Add a schema delta to trigger the clean-up job
reivilibre 288b0e8
Newsfile
reivilibre 2690bd6
Add tests for the background update job
reivilibre 9413a46
Fix port_db script not being able to run the background job
reivilibre 3b48c9d
Merge branch 'develop' into rei/add_job
reivilibre 2337b28
Reformat after merge
reivilibre 2ee3d8f
Simplify test after merge
reivilibre d362e31
Fix order of args after merge
reivilibre 3ecc6bc
Move schema delta to correct version
reivilibre 9a4ec65
Fix database port script's Method Resolution Order
reivilibre 0543946
Fix abstract method error in synapse_port_db
reivilibre d18e2dd
job → update
reivilibre 99353f3
Remove obsolete manual cache invalidations in tests
reivilibre 2587e51
Merge branch 'develop' into rei/add_job
reivilibre 2f79559
Fix up background update delta number
reivilibre File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add tests for the background update job
- Loading branch information
commit 2690bd684f89e58bcbd97854be46887ecc201cb0
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not having the caches be cleared automatically looks like a footgun. I think this has already been discussed in the previous PR, so I won't block on it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agh good spot — this line shouldn't be needed anymore, but I forgot about that. The curse of having too much stuff going on, but at least the reviewers are competent :-).