status-go/protocol/requests
Stefan 63e58ba035 feat: add banner support for communities
Add banner image as a special `IdentityImage` beside "thumbnail" and "large"

Banner input cropped image processing

- Resize to keep in the limits of `BannerDim`
- Encode to match the file size limits define for banner
- Don't scale up. This can be done efficiently in the UI

Changes to `images` module

- Refactor `EncodeToBestSize` as `EncodeToLimits` to accept arbitrary dimensions
  and allow for custom size
- Define `DimensionLimits` for banner not to exceed 450 KB and a rough estimate
  for the ideal size
2022-05-27 14:42:14 +03:00
..
accept_request_to_join_community.go Handle connection state 2021-05-21 07:22:58 +02:00
add_contact.go feat: display name 2022-03-14 13:48:34 -04:00
ban_user_from_community.go Ban user from community 2021-03-24 09:29:21 +01:00
clear_history.go Handle connection state 2021-05-21 07:22:58 +02:00
create_community_category.go Community categories (#2228) 2021-05-23 09:34:17 -04:00
create_community_request.go feat: add banner support for communities 2022-05-27 14:42:14 +03:00
create_one_to_one_chat.go Block contact endpoint 2021-11-15 18:53:35 +00:00
create_profile_chat.go Handle connection state 2021-05-21 07:22:58 +02:00
create_public_chat.go Handle connection state 2021-05-21 07:22:58 +02:00
deactivate_chat.go Handle connection state 2021-05-21 07:22:58 +02:00
decline_request_to_join_community.go Handle connection state 2021-05-21 07:22:58 +02:00
delete_community_category.go fix: allow empty category id when sorting chats and fix error messages (#2301) 2021-08-25 12:52:28 -04:00
edit_community.go feat: Add edit communities (#2229) 2021-05-18 15:32:15 -04:00
edit_community_category.go Community categories (#2228) 2021-05-23 09:34:17 -04:00
edit_message.go Separate edit message protocol message 2021-06-29 13:15:15 +02:00
invite_users_to_community.go Handle connection state 2021-05-21 07:22:58 +02:00
reject_contact_request.go Reject contact request endpoint 2021-11-23 14:11:43 +01:00
reorder_community_category.go fix: allow empty category id when sorting chats and fix error messages (#2301) 2021-08-25 12:52:28 -04:00
reorder_community_chat.go fix: allow empty category id when sorting chats and fix error messages (#2301) 2021-08-25 12:52:28 -04:00
request_to_join_community.go Request/Decline access to communities 2021-02-26 15:35:43 +01:00
set_contact_local_nickname.go Create contact if not in contacts when setting nickname 2021-11-15 18:53:35 +00:00
share_community.go Handle connection state 2021-05-21 07:22:58 +02:00
share_image_message.go resolved conflicts 2022-02-24 23:11:36 +03:00