3416 Commits

Author SHA1 Message Date
Wolfgang Huß
82ad94f5da Release v2.2.0 2022-10-28 16:03:01 +02:00
Moriz Wahl
5efb530d42
Merge pull request #5599 from Ocelot-Social-Community/comments-on-posts-in-groups
feat: Restrict Comments on Posts in Groups
2022-10-27 20:43:55 +02:00
Moriz Wahl
831cb20952
Merge pull request #5583 from Ocelot-Social-Community/update-group-avatar-on-upload
fix: 🍰 Update Group Avatar After Upload
2022-10-27 14:51:33 +02:00
Moriz Wahl
5f4bf58dc6 feat: Restrict Comments on Posts in Groups 2022-10-27 14:06:42 +02:00
Moriz Wahl
f8c4b74be1 when avatar is uploaded, the description is not present. Therefore no descriptionExcerpt should be created in middleware 2022-10-27 13:02:05 +02:00
Wolfgang Huß
c42c1b2ef6 Fix group slug tests 2022-10-27 12:28:37 +02:00
Wolfgang Huß
932572049b Fix not correct working change of slug in group settings 2022-10-27 12:27:51 +02:00
Moriz Wahl
bbf625d525 remove comments 2022-10-26 15:15:08 +02:00
Moriz Wahl
6ec8f05904 add pagination to Group query 2022-10-26 14:27:08 +02:00
Moriz Wahl
5b66edb387 add group count query 2022-10-26 13:49:25 +02:00
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