status-go/protocol/requests
Mikhail Rogachev 511d6bfc54
feat: add parsing for new links format (#3665)
* feat(share-links): Add protobuf and encode/decode url data methods

* feat(new-links-format): Adds generators for new links format

* feat: add parsing for new links format

* feat: add messenger-level pubkey serialization and tests

* feat: fix and test CreateCommunityURLWithChatKey

* feat: impl and test parseCommunityURLWithChatKey

* feat: fix and test CreateCommunityURLWithData

* feat:  impl and test parseCommunityURLWithData (not working)

* feat: UrlDataResponse as response share urls api

* feat: impl& tested ShareCommunityChannelURLWithChatKey

* feat: impl & tested ParseCommunityChannelURLWithChatKey

* fix: bring urls to new format

* feat: add regexp for community channel urls

* feat: impl & test contact urls with chatKey, Ens and data

* fix: encodeDataURL/encodeDataURL patch from Samyoul

* fix: fix unmarshalling protobufs

* fix: fix minor issues, temporary comment TestParseUserURLWithENS

* fix: allow url to contain extra `#` in the signature

* fix: check signatures with SigToPub

* chore: lint fixes

* fix: encode the signature

* feat: Check provided channelID is Uuid

* fix(share-community-url): Remove if community encrypted scope

* fix: review fixes

* fix: use proto.Unmarshal instead of json.Marshal

* feat(share-urls): Adds TagsIndices to community data

* feat: support tag indices to community url data

---------

Co-authored-by: Boris Melnik <borismelnik@status.im>
2023-07-04 17:48:52 +04:00
..
accept_contact_request.go Initial support for mutual contact requests 2022-05-31 09:12:36 +01:00
accept_latest_contact_request_for_contact.go Accept/Dismiss LastestContactRequestForContact endpoint (#2702) 2022-06-17 12:20:43 -04:00
accept_request_to_join_community.go Handle connection state 2021-05-21 07:22:58 +02:00
add_contact.go Add spiff workflow cmd 2023-03-16 14:31:34 +00:00
add_role_to_member.go feat: community admin permission functionality (#3569) 2023-06-14 10:15:46 -04:00
add_wallet_connect_session.go Implement wallet connect session CRUD API 2022-08-19 12:32:00 +01:00
ban_user_from_community.go Ban user from community 2021-03-24 09:29:21 +01:00
build_contact.go Update wakuext_buildContact 2023-03-14 16:57:33 +01:00
cancel_request_to_join_community.go feat(communities): Cancel request to join community (#2915) 2022-10-28 11:41:20 +03:00
check_all_community_channels_permissions.go feat: introduce `CheckAllCommunityChannelsPermissions()` API 2023-06-20 10:06:44 +02:00
check_community_channel_permissions.go feat: introduce `CheckChannelPermissions` API 2023-06-20 09:42:10 +02:00
check_permission_to_join_community.go Allow setting up wallet with new config 2023-05-19 13:23:21 +01:00
clear_history.go Handle connection state 2021-05-21 07:22:58 +02:00
community_channel_share_url.go feat: add parsing for new links format (#3665) 2023-07-04 17:48:52 +04:00
community_tags.go fix: lint (#2845) 2022-09-27 18:59:02 -04:00
create_account.go Set installation name on account creation and pairing 2023-06-29 10:14:12 +02:00
create_community_category.go refactor(import-tool): process import data in chunks 2023-01-30 12:23:56 +01:00
create_community_request.go Community encryption should automatically be enabled/disabled depending on community permissions (closed/open) 2023-05-05 17:32:39 +02:00
create_community_token_permission_request.go Ensure `ChatIds` are handled by token permission requests 2023-06-13 13:42:48 +02: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_contact_request.go Support outgoing contact requests (#3120) 2023-02-21 19:08:11 +01: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
delete_community_token_permission.go feat: add CommunityTokenPermission to community description 2023-03-03 09:46:49 +01:00
dismiss_latest_contact_request_for_contact.go Accept/Dismiss LastestContactRequestForContact endpoint (#2702) 2022-06-17 12:20:43 -04:00
edit_community.go feat: add intro/outro message to communities 2022-05-31 11:41:26 +02:00
edit_community_category.go Community categories (#2228) 2021-05-23 09:34:17 -04:00
edit_community_token_permission_request.go fix: add missing private field when converting permission request 2023-06-19 15:26:42 +02:00
edit_message.go feat: edit/delete/reply for emoji/sticker/audio (#2771) 2022-10-05 21:54:47 +04:00
import_discord_community.go feat: introduce discord import tool 2022-10-28 09:52:26 +02:00
invite_users_to_community.go Handle connection state 2021-05-21 07:22:58 +02:00
login.go Allow passing nameserver on login 2023-06-29 13:05:46 +01:00
mute_category_request.go feat(categories): Add muted type to category muting shortcut (#3534) 2023-06-02 14:25:32 +03:00
mute_chat_request.go Add muted_till param for chats (#3258) 2023-04-16 17:06:00 +02:00
mute_community_request.go feat(communities): Adds muting interval to community (#3549) 2023-06-17 11:19:05 +03:00
remove_role_from_member.go feat: community admin permission functionality (#3569) 2023-06-14 10:15:46 -04: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 feat(communities): enable selecting addresses to pass when joining (#3656) 2023-06-22 14:59:07 -04:00
restore_account.go Add RestoreAccountAndLogin endpoint 2023-03-22 13:31:16 +00:00
retract_contact_request.go Support outgoing contact requests (#3120) 2023-02-21 19:08:11 +01:00
send_contact_request.go Add spiff workflow cmd 2023-03-16 14:31:34 +00:00
send_group_chat_message.go Add spiff workflow cmd 2023-03-16 14:31:34 +00:00
send_one_to_one_message.go Add spiff workflow cmd 2023-03-16 14:31:34 +00: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 feat: add optional inviteMessage to share-community request (#2776) 2022-08-08 13:49:39 +03:00
share_image_message.go resolved conflicts 2022-02-24 23:11:36 +03:00
toggle_collapsed_community_category.go Add collapsed community categories 2023-03-14 17:13:21 +00:00
unban_user_from_community.go feat: unban user in community 2022-07-04 09:02:33 +02:00
upsert_switcher_card.go Persist switcher cards (#3049) 2023-01-05 21:41:57 +05:30
verified_trusted.go Add notification for trustworthy/untrustworthy 2022-11-16 16:17:13 +00:00
verified_untrustworthy.go Add notification for trustworthy/untrustworthy 2022-11-16 16:17:13 +00:00