-
Notifications
You must be signed in to change notification settings - Fork 96
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
feat: vordr on posts #2108
Merged
Merged
feat: vordr on posts #2108
Changes from 15 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
ac2c872
refactor: `checkWithVordr` accepts posts too
omBratteng 8f2f709
feat: vordr check freeform posts
omBratteng c92c45e
feat: hide posts that vordr prevented
omBratteng 3d43c39
feat: don't send notification if vordr prevented post
omBratteng 7f6ebed
feat: add vordr check to share post
omBratteng fd61d23
fix: use transaction connection and pass ctx for checkWithVordr
omBratteng e130498
test: fix vordr test
omBratteng 0ef5432
feat: set vordr flag on submissions
omBratteng e83770a
fix: return false if there is no content to validate
omBratteng 10f2d71
feat: vordr on comment edit and add tests
omBratteng 6e2d3ff
test: fix submission test
omBratteng ed4bef9
test: don't send notification if vordr prevented post
omBratteng fa9be9c
test: set vordr flag on submissions
omBratteng 9a64646
test: add vordr check to share post
omBratteng 44a3ee5
test: hide posts that vordr prevented
omBratteng 58c8f70
fix: remove commented out code
omBratteng e7c39e2
fix: also set flags
omBratteng 5302d79
test: add specific posts for vordr tests in feed
omBratteng fe7501c
test: rename some tests
omBratteng 2d96512
test: rename some more tests
omBratteng c2faa3f
test: rename some more tests 2
omBratteng ee7a0f6
test: rename some more tests 3
omBratteng e72e61c
fix: use spread on flags
omBratteng 1be8aca
fix: use vordr flag on community picks feed to
omBratteng 3f18fe7
refactor: pass id, type and content to `checkWithVordr` instead of en…
omBratteng 629216b
Revert "fix: use vordr flag on community picks feed to"
omBratteng c94f146
Merge branch 'main' into AS-463-vordr-posts
omBratteng 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 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 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 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.
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.
Maybe name them explicit for post/comment jest doesn't like same names so much and I actually thought for a second it was duplicated 😅
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.
Renamed tests