status-go/protocol/communities
Shinnok 3805662a18
fix(messenger_communities): block messages and reactions to token gated or spectated communities (#4064)
Which specifies that if a user is not a community member & a
chat member, he can't post, react or pin messages in that chat.

Notes:
- also fix&cleanup associated failing tests.
- refactor Community.CanPost() to reflect the new requirement.
- grant code is not fully implemented and is to be removed later.

Fixes https://github.com/status-im/status-desktop/issues/11915
2023-10-25 10:26:18 -04:00
..
migrations Handle organisation membership requests 2020-12-23 17:20:55 +01:00
token feat: share requests to join and revealed addresses with privileged roles (#3951) 2023-09-20 10:37:46 +02:00
adaptors.go feat: ensure unique control node across devices 2023-10-22 21:50:41 +02:00
community.go fix(messenger_communities): block messages and reactions to token gated or spectated communities (#4064) 2023-10-25 10:26:18 -04:00
community_categories.go refactor: simplify events creation logic 2023-08-17 08:24:51 +02:00
community_categories_test.go refactor: simplify events creation logic 2023-08-17 08:24:51 +02:00
community_changes.go feat: rekey community on control node change 2023-10-18 22:32:29 +02:00
community_encryption_key_action.go feat: rekey community on control node change 2023-10-18 22:32:29 +02:00
community_encryption_key_action_test.go feat: ensure unique control node across devices 2023-10-22 21:50:41 +02:00
community_event.go feat: Introduce KickedPending and BannedPending states (#3948) 2023-10-04 23:47:22 +03:00
community_event_message.go Always use protobufs by reference & generate handlers 2023-08-22 12:08:54 +01:00
community_test.go fix(messenger_communities): block messages and reactions to token gated or spectated communities (#4064) 2023-10-25 10:26:18 -04:00
community_token_permission.go feat: add pending state for token permissions 2023-08-23 10:34:59 +02:00
communnity_privileged_member_sync_msg.go feat: share requests to join and revealed addresses with privileged roles (#3951) 2023-09-20 10:37:46 +02:00
errors.go refactor: rename and simplify `UpdatePrivateKeyAndControlNode` 2023-10-18 22:32:29 +02:00
manager.go Fix encryption id && rekey with a single message 2023-10-24 20:48:54 +01:00
manager_test.go Fix encryption id && rekey with a single message 2023-10-24 20:48:54 +01:00
permission_checker.go Fix encryption id && rekey with a single message 2023-10-24 20:48:54 +01:00
persistence.go feat: ensure unique control node across devices 2023-10-22 21:50:41 +02:00
persistence_test.go feat: ensure unique control node across devices 2023-10-22 21:50:41 +02:00
persistence_test_helpers.go waku2: static shards (#3944) 2023-10-12 15:21:49 -04:00
request_to_join.go refactor: simplify community requests logic 2023-10-18 17:11:20 +02:00
request_to_join_test.go Sync Communities (#2253) 2021-08-06 16:40:23 +01:00
request_to_leave.go feat: introduce and distribute RequestToLeave community 2022-08-26 11:25:33 +02:00
roles_authorization.go feat: Introduce KickedPending and BannedPending states (#3948) 2023-10-04 23:47:22 +03:00
utils.go feat: add pending state for token permissions 2023-08-23 10:34:59 +02:00
validator.go feat: community tags (#2708) 2022-06-24 09:40:12 -04:00