4261 Commits

Author SHA1 Message Date
Wolfgang Huß
dc085e9e69 Release v2.1.0 2022-10-25 14:24:10 +02:00
Wolfgang Huß
ab6a4f46e3 Release v2.0.0 2022-10-23 14:37:14 +02:00
Moriz Wahl
fc605a6d66 remove blank line 2022-10-23 01:17:33 +02:00
Moriz Wahl
6f4bde93f6
Update backend/src/schema/resolvers/searches.js
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2022-10-23 00:52:48 +02:00
Moriz Wahl
57bbe4c6e8 allow search groups in permission middleware, add user id to search groups query 2022-10-21 18:34:48 +02:00
Moriz Wahl
61c2250c03 respect & symbol in searches 2022-10-21 17:54:25 +02:00
Moriz Wahl
37babb5c7c Merge branch '5059-epic-groups' into search-groups 2022-10-21 16:59:13 +02:00
Moriz Wahl
e5e6dbc440 change user to post in public group 2022-10-17 21:55:45 +02:00
Moriz Wahl
391c8d434b feat: Seed some simple posts into groups 2022-10-17 21:48:20 +02:00
Moriz Wahl
8a410cf6f5 add search groups to resolvers 2022-10-17 19:21:03 +02:00
Moriz Wahl
4f8ebebac3 add search groups to schema 2022-10-17 19:20:41 +02:00
Moriz Wahl
7cb1663be7 change from role eq pending to usual, admin, owner includes role 2022-10-11 14:35:27 +02:00
Moriz Wahl
631f34a2e5 improved code and tests as suggested by @tirokk, thanks for the great review! 2022-10-10 21:21:45 +02:00
Moriz Wahl
4556276351 fix: leaving public group keeps the posts in public group visible. Test leaving public group and visibility of posts in public group 2022-10-10 20:57:42 +02:00
Moriz Wahl
4fdaa0da4e
Update backend/src/schema/resolvers/helpers/filterInvisiblePosts.js
Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2022-10-06 13:13:23 +02:00
Moriz Wahl
a4cd7a8698 test search posts with groups 2022-10-05 21:54:52 +02:00
Moriz Wahl
74505a11c5 filter posts for group visibility on search posts 2022-10-05 17:57:01 +02:00
Moriz Wahl
a924357a13 fix cypher when posts do not exist 2022-10-05 13:10:18 +02:00
Moriz Wahl
76bfe48476 implement and test post visibilty when leaving or changing the role in a group 2022-10-05 11:20:27 +02:00
Moriz Wahl
aa870b5020 searches need authorization as they are not working without user id in context 2022-10-05 08:57:13 +02:00
Moriz Wahl
ab5d308caa test profile page posts 2022-10-05 08:38:05 +02:00
Moriz Wahl
570d6c099d test filter posts 2022-10-05 08:27:35 +02:00
Moriz Wahl
67cba104b8 remove findPosts and findUsers as they are never used. 2022-10-05 08:09:21 +02:00
Moriz Wahl
03434071b4 fix cypher to have signup verification to block posts of groups for new users 2022-10-04 05:44:11 +02:00
Moriz Wahl
275d196cb6 further testting for post visibility 2022-10-04 05:04:42 +02:00
Moriz Wahl
068d622c44 createPostMutation as function 2022-10-04 05:03:39 +02:00
Moriz Wahl
77125e404f createPostMutation as function 2022-10-04 05:03:02 +02:00
Moriz Wahl
4331c73414 test post invisibility for unauthenticated users 2022-10-04 02:28:42 +02:00
Moriz Wahl
32d3c5e904 insure that user context is present as posts can be queried without authentication 2022-10-04 02:27:45 +02:00
Moriz Wahl
16a24bfddf remove not working filters from schema 2022-10-04 02:02:59 +02:00
Moriz Wahl
833bd5ff77 use invisible post filter 2022-10-04 02:01:59 +02:00
Moriz Wahl
069eefde17 add helper function to filter invisible posts 2022-10-04 01:59:32 +02:00
Moriz Wahl
4a12cdf9e2 remove unused memberIds statement 2022-10-03 22:43:46 +02:00
Moriz Wahl
4a63e1449e calls to query and mutate are functions 2022-10-03 22:42:08 +02:00
Moriz Wahl
abcfe259a0 query and mutations are functions 2022-10-03 22:41:25 +02:00
Moriz Wahl
5f4d7c2bf3 add notVisibleFor statement 2022-10-03 22:40:54 +02:00
Moriz Wahl
1870efc3d0 add CANNOT_SEE relation to posts in groups 2022-10-03 22:36:46 +02:00
Moriz Wahl
b259295094 Merge branch '5059-epic-groups' into post-in-group 2022-10-03 13:16:20 +02:00
Wolfgang Huß
5392da0983 Merge branch 'master' of github.com:Ocelot-Social-Community/Ocelot-Social into 5059-epic-groups 2022-09-24 18:18:20 +02:00
Wolfgang Huß
a618366619 Release v1.1.1 - refactor rebranding 2022-09-22 20:02:34 +02:00
ogerly
858739eaa0 fix review 2022-09-22 18:42:58 +02:00
Moriz Wahl
a9cd661e63 add tets for posts in groups 2022-09-22 08:17:09 +02:00
Moriz Wahl
e748fcc623 add is member of group check to permission of create post 2022-09-22 08:16:44 +02:00
Moriz Wahl
4d480d3130 add post query 2022-09-22 08:16:06 +02:00
Moriz Wahl
5e30bfe2ed add direction of Post in Group 2022-09-20 20:30:00 +02:00
Moriz Wahl
0c32fd8023 add post access filter for all post queries 2022-09-20 20:20:55 +02:00
Moriz Wahl
f331813572 create post in group 2022-09-20 19:08:54 +02:00
Moriz Wahl
90e1696f86 add group to post in schema 2022-09-20 18:53:00 +02:00
Wolfgang Huß
25c26ce158 test group profile page, a start 2022-09-20 13:03:00 +02:00
Wolfgang Huß
98b9e3d092 Rename 'isAllowedSeeingMembersOfGroup' to 'isAllowedSeeingGroupMembers' in 'permissionsMiddleware.js' 2022-09-18 20:42:17 +02:00