-
Notifications
You must be signed in to change notification settings - Fork 334
IndexedDB: add functionality for cleaning up MediaStore
#5749
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
bnjbvr
merged 23 commits into
matrix-org:main
from
mgoldenberg:indexeddb-media-store-clean
Oct 10, 2025
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
e55dd8a
refactor(indexeddb): add conversions and operations for UnixTime
mgoldenberg 27f0ee9
refactor(indexeddb): add type for representing media cleanup time
mgoldenberg 2057242
refactor(indexeddb): add indexed type and traits for media cleanup time
mgoldenberg 09c8b58
refactor(indexeddb): add fns to get and put media cleanup time
mgoldenberg bb69600
feat(indexeddb): add IndexedDB-backed impl for MediaStoreInner::last_…
mgoldenberg 69881b3
refactor(indexeddb): add transaction fns for getting and operating on…
mgoldenberg 7d48c67
refactor(indexeddb): import cursor direction enum from indexed_db_fut…
mgoldenberg b564905
refactor(indexeddb): add media-specific transaction fns for getting a…
mgoldenberg 217ca9d
refactor(indexeddb): add transaction fn for getting the size of the m…
mgoldenberg a88e000
refactor(indexeddb): add transaction fns for deleting media by conten…
mgoldenberg a220ceb
fix(indexeddb): add associated index to IndexedKey<Media> where missing
mgoldenberg b865135
refactor(indexeddb): add fns to get field components of indexed media…
mgoldenberg a2e042c
refactor(indexeddb): make getters for media content size key consiste…
mgoldenberg 9bcfc62
feat(indexeddb): add IndexedDB-backed impl for MediaStoreInner::clean…
mgoldenberg 90ba464
refactor(indexeddb): remove base64 encoding of unencrypted media content
mgoldenberg 18925d3
refactor(indexeddb): add transaction fn for putting media into IndexedDB
mgoldenberg 24f5bb2
feat(indexeddb): add IndexedDB-backed impl for MediaStoreInner::set_i…
mgoldenberg 6556834
fix(indexeddb): ensure tx is committed in MediaStore::set_media_reten…
mgoldenberg 0d4e5e0
fix(indexeddb): ensure media that ignore retention policy is always p…
mgoldenberg 0114329
test(indexeddb): add integration tests for MediaStoreInner
mgoldenberg 07a18b0
refactor(indexeddb): remove nested memory store from MediaStore impl
mgoldenberg f96338c
refactor(indexeddb): import transaction mode from indexed_db_futures …
mgoldenberg abe244e
refactor(indexeddb): remove extraneous log message
mgoldenberg 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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.