status-go/protocol/communities
Pascal Precht bf8e71cfa9 Introduce `CommunitySettings` to store community related settings
These are used to store settings for individual communities a
user is part of, either as member or as owner.
This included whether or not the community history archive protocol
is enabled.

This adds a new `CommunitySettings` type and adds
a migration script that introduces a new `communities_settings`
table.

It also extends the `MessengerResponse` type to include
`CommunitySettings` which are honored when communities are being
added, edited, joined or left.

Lastly, this adds a new RPC API to retreive the settings.

Closes #2564
2022-03-22 12:33:40 +01:00
..
migrations Handle organisation membership requests 2020-12-23 17:20:55 +01:00
adaptors.go Sync Communities (#2253) 2021-08-06 16:40:23 +01:00
community.go Introduce `CommunitySettings` to store community related settings 2022-03-22 12:33:40 +01:00
community_categories.go fix: error reordering chats when destination category position is the same as original chatId position (#2448) 2021-11-30 10:26:17 -04:00
community_categories_test.go Validate no duplicated community chat names 2021-06-03 13:27:49 +02:00
community_test.go Storing emoji values for Custom Emoji Thumbnails for Community Channels (#2366) 2021-10-04 18:32:25 +05:30
errors.go fix: allow empty category id when sorting chats and fix error messages (#2301) 2021-08-25 12:52:28 -04:00
manager.go Introduce `CommunitySettings` to store community related settings 2022-03-22 12:33:40 +01:00
manager_test.go feat: Add edit communities (#2229) 2021-05-18 15:32:15 -04:00
persistence.go Introduce `CommunitySettings` to store community related settings 2022-03-22 12:33:40 +01:00
persistence_test.go Introduce `CommunitySettings` to store community related settings 2022-03-22 12:33:40 +01:00
persistence_test_helpers.go Sync Communities (#2253) 2021-08-06 16:40:23 +01:00
request_to_join.go Sync Communities (#2253) 2021-08-06 16:40:23 +01:00
request_to_join_test.go Sync Communities (#2253) 2021-08-06 16:40:23 +01:00
validator.go Validate no duplicated community chat names 2021-06-03 13:27:49 +02:00