Repository navigation
Invalidate shared users' caches on every folder change - #21
Merged
Merged
Conversation
Only file creation, uploads, writes and permanent deletes sent invalidation callbacks. mkdir, moving to trash and restoring from trash changed a folder without telling anyone viewing it, so users the folder is shared with kept a stale listing. - CreateFile notifies for directories too (mkdir, folder uploads), and no longer notifies the user who made the change. - TrashFile notifies the item's original folder. - RestoreFile notifies the folder the item is restored into. - A failed upload that scraps its partial file now announces the removal, since CreateFile had already announced the file. - Client notification text covers both files and folders. Adds end-to-end tests: mkdir/trash/restore and file/folder upload by the owner are seen by the shared user's cache.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Only file creation, uploads, writes and permanent deletes sent invalidation callbacks. mkdir, moving to trash and restoring from trash changed a folder without telling anyone viewing it, so users the folder is shared with kept a stale listing.
Adds end-to-end tests: mkdir/trash/restore and file/folder upload by the owner are seen by the shared user's cache.