-
Notifications
You must be signed in to change notification settings - Fork 118
Prevent collab improperly clearing text blocks on save #311
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 all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
ae3ee4b
feat: re-enable failing test for inserting / updating text blocks rapβ¦
nathggns 0660c37
refactor: don't assume the shape of componentNodeAttrs when checking β¦
nathggns 5ce5fdf
refactor: ComponentView get entity id from entity store instead of prβ¦
nathggns a16d554
refactor: share types for getComponentNodeAttrs and isComponentNode
nathggns c00f681
refactor: BlockView get entity id from entity store instead of prosemβ¦
nathggns 97618f4
feat: use entity nodes when working out blocks that have been removed
nathggns 73aa01d
refactor: use entity nodes when calculating moved blocks
nathggns 48c002e
refactor: use entity nodes when calculating inserted blocks
nathggns 2257325
refactor: use entity nodes when calculating updated blocks
nathggns 6c653b5
fix: remove blockEntityId from componentNodes, fixing bug clearing coβ¦
nathggns f0d254a
refactor: remove unused save mapping
nathggns 214c858
Remove unused transform
nathggns 8198af7
Merge branch 'main' into nh/prevent-collab-save-clearing-block
nathggns 9939978
Merge branch 'main' into nh/prevent-collab-save-clearing-block
kachkaev bb0e0e8
Delete collecting and saveMapping
kachkaev 6043e81
Merge branch 'main' into nh/prevent-collab-save-clearing-block
nathggns e56a0c6
Merge branch 'main' into nh/prevent-collab-save-clearing-block
nathggns 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
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.
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.
Detected user input used in bracket notation accessor. This could lead to object injection through blockEntityNode.attrs.draftId, which could grant access to every property available in the object and therefore sensitive information. Instead, avoid the use of user input in property name fields or create a whitelist of allowed input.
Click here if this comment is not useful
This comment is advisory. You do not need to address it before merging this pull request.
(javascript.lang.security.audit.detect-bracket-object-injection.detect-bracket-object-injection in Security Policy)