-
Notifications
You must be signed in to change notification settings - Fork 41
feat: 🍰 Post In Groups #5380
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
feat: 🍰 Post In Groups #5380
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
90e1696
add group to post in schema
Mogge f331813
create post in group
Mogge 0c32fd8
add post access filter for all post queries
Mogge 5e30bfe
add direction of Post in Group
Mogge 4d480d3
add post query
Mogge e748fcc
add is member of group check to permission of create post
Mogge a9cd661
add tets for posts in groups
Mogge b259295
Merge branch '5059-epic-groups' into post-in-group
Mogge 1870efc
add CANNOT_SEE relation to posts in groups
Mogge 5f4d7c2
add notVisibleFor statement
Mogge abcfe25
query and mutations are functions
Mogge 4a63e14
calls to query and mutate are functions
Mogge 4a12cdf
remove unused memberIds statement
Mogge 069eefd
add helper function to filter invisible posts
Mogge 833bd5f
use invisible post filter
Mogge 16a24bf
remove not working filters from schema
Mogge 32d3c5e
insure that user context is present as posts can be queried without a…
Mogge 4331c73
test post invisibility for unauthenticated users
Mogge 77125e4
createPostMutation as function
Mogge 068d622
createPostMutation as function
Mogge 275d196
further testting for post visibility
Mogge 0343407
fix cypher to have signup verification to block posts of groups for n…
Mogge 67cba10
remove findPosts and findUsers as they are never used.
Mogge 570d6c0
test filter posts
Mogge ab5d308
test profile page posts
Mogge aa870b5
searches need authorization as they are not working without user id i…
Mogge 76bfe48
implement and test post visibilty when leaving or changing the role i…
Mogge a924357
fix cypher when posts do not exist
Mogge 74505a1
filter posts for group visibility on search posts
Mogge a4cd7a8
test search posts with groups
Mogge 4fdaa0d
Update backend/src/schema/resolvers/helpers/filterInvisiblePosts.js
Mogge 4556276
fix: leaving public group keeps the posts in public group visible. Te…
Mogge 631f34a
improved code and tests as suggested by @tirokk, thanks for the great…
Mogge 7cb1663
change from role eq pending to usual, admin, owner includes role
Mogge 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.
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.