status-go/protocol/communities
Eric Mastro 4d8d3fb0e8
feat: Add edit communities (#2229)
* feat: Add edit communities

Allow Communities to be edited, including display name, description, color, membership, and permissions.

* Added EditCommunity request type

* Fix lint errors

* Allow editing community without changing image

Previously, retaining an existing community image was not possible because the existing community image path had to be provided in the `editCommunity` RPC call to retain the image. However, once the image is processed by status-go, it is encoded as a base64 string and therefore it is not possible to get the original file path back from this string.

This commit allows for the original to be retained by passing an empty string for the image field in the RPC call.

* Don't change permissions. Fixed clock updating

Co-authored-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2021-05-18 15:32:15 -04:00
..
migrations Handle organisation membership requests 2020-12-23 17:20:55 +01:00
community.go feat: Add edit communities (#2229) 2021-05-18 15:32:15 -04:00
community_test.go Request/Decline access to communities 2021-02-26 15:35:43 +01:00
errors.go Request/Decline access to communities 2021-02-26 15:35:43 +01:00
manager.go feat: Add edit communities (#2229) 2021-05-18 15:32:15 -04:00
manager_test.go feat: Add edit communities (#2229) 2021-05-18 15:32:15 -04:00
persistence.go Request/Decline access to communities 2021-02-26 15:35:43 +01:00
request_to_join.go Request/Decline access to communities 2021-02-26 15:35:43 +01:00
validator.go Handle organisation membership requests 2020-12-23 17:20:55 +01:00