-
Notifications
You must be signed in to change notification settings - Fork 352
Implement the redecryption logic in the event cache #5746
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
Merged
Merged
Changes from 14 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
d3c839a
feat(event cache): Add a method to access the linked chunk mutably
poljar 8103b9c
feat(event cache): Create the redecryptor
poljar f2cc6c6
test(redecryptor): Add a test to show that the redecryptor works
poljar e934235
feat(redecryptor): Rejigger things so we can relisten to the room key…
poljar 5c3bca8
doc(event cache): Document the redecryptor
poljar 4ed2393
feat(event cache): Enable the redecryptor in the event cache
poljar a2f89e8
feat: Redecryptor start to send out redecryptor reports
poljar 621d936
feat(redecryptor): Let the redecryptor listen to room key withheld up…
poljar 3a0a5b9
feat(redecryptor): Use the room to redecrypt events
poljar 7e98858
feat(redecryptor): More precise logs for the redecryption attempts
poljar 4109fdd
feat(redecryptor): Post-process the events once they are replaced
poljar 4a519bd
test(redecryptor): More tests for the redecryptor
poljar 4c4cd41
test(timeline): Workarounds to get the timeline tests passing
poljar d7d4730
docs(redecryptor): Document the redecryptor a bit more
poljar d2eab60
fix(event-cache): Limit the visibility of room_linked_chunk_mut a bit…
poljar 84a21a4
fix(event-cache): Don't hold on to the event cache locks as long when…
poljar 3ad7062
chore(redecryptor): Use relative imports more often
poljar 717f016
docs(redecryptor): Add some docs to the Redecryptor struct itself
poljar 952c5af
chore(redecryptor): Time how long it takes to replace UTDs
poljar f9c23b3
refactor(redecryptor): Use an abort handle to manage the redecryption…
poljar 38df621
chore(event-cache): Limit the visibility of post_process_new_events
poljar 2e9e9ae
chore(redecryptor): Ensure the upgrade_event_cache method is inlined
poljar 913ebe9
docs(redecryptor): Clarify that we're talking about the UI timeline i…
poljar 0d08ed0
refactor(redecryptor): Add some type aliases for the event ID/event t…
poljar 9508675
fix(redecryptor): Early return if we don't have any events to process
poljar 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
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.