status-go/protocol/protobuf
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
..
anon_metrics.pb.go feat: Add new settings for include watch-only accounts (#3676) 2023-06-28 12:05:06 +02:00
anon_metrics.proto rename status-react to status-mobile 2022-07-17 15:37:14 +02:00
application_metadata_message.pb.go feat: community admin permission functionality (#3569) 2023-06-14 10:15:46 -04:00
application_metadata_message.proto feat: community admin permission functionality (#3569) 2023-06-14 10:15:46 -04:00
chat_identity.pb.go feat: add and distribute `chatIdentity.FirstMessageTimestamp` 2022-09-09 08:59:39 +02:00
chat_identity.proto feat: add and distribute `chatIdentity.FirstMessageTimestamp` 2022-09-09 08:59:39 +02:00
chat_message.pb.go fix: ROW_NUMBER() not work on ios for some reason (#3687) 2023-06-29 18:45:57 +08:00
chat_message.proto Add system message for mutual contact state updates (#3519) 2023-06-08 16:00:19 +04:00
command.pb.go Implement wallet connect session CRUD API 2022-08-19 12:32:00 +01:00
command.proto Sync Communities (#2253) 2021-08-06 16:40:23 +01:00
communities.pb.go feat(AssetsDeployment): Assets deployment 2023-06-29 16:10:05 +02:00
communities.proto feat(AssetsDeployment): Assets deployment 2023-06-29 16:10:05 +02:00
community_admin_update.pb.go feat: community admin permission functionality (#3569) 2023-06-14 10:15:46 -04:00
community_admin_update.proto feat: community admin permission functionality (#3569) 2023-06-14 10:15:46 -04:00
contact.pb.go init currentMessageState when sync protobuf.ContactUpdate (#3332) 2023-03-28 11:45:54 +08:00
contact.proto init currentMessageState when sync protobuf.ContactUpdate (#3332) 2023-03-28 11:45:54 +08:00
contact_verification.pb.go feat(ActivityCenter): Add missing AC notifications for verification requests (#3029) 2022-12-26 08:35:46 +04:00
contact_verification.proto feat(ActivityCenter): Add missing AC notifications for verification requests (#3029) 2022-12-26 08:35:46 +04:00
emoji_reaction.pb.go Implement wallet connect session CRUD API 2022-08-19 12:32:00 +01:00
emoji_reaction.proto Sync Communities (#2253) 2021-08-06 16:40:23 +01:00
enums.pb.go feat(protobuf): introduce `CommunityTokenType` enum 2023-03-03 08:20:51 +01:00
enums.proto feat(protobuf): introduce `CommunityTokenType` enum 2023-03-03 08:20:51 +01:00
group_chat_invitation.pb.go Implement wallet connect session CRUD API 2022-08-19 12:32:00 +01:00
group_chat_invitation.proto Sync Communities (#2253) 2021-08-06 16:40:23 +01:00
membership_update_message.pb.go fix: ROW_NUMBER() not work on ios for some reason (#3687) 2023-06-29 18:45:57 +08:00
membership_update_message.proto feat: Handle image in group chat 2022-09-01 12:19:01 +02:00
pairing.pb.go keypairs pairing details added to local pairing 2023-06-28 14:04:47 +02:00
pairing.proto keypairs pairing details added to local pairing 2023-06-28 14:04:47 +02:00
pin_message.pb.go Implement wallet connect session CRUD API 2022-08-19 12:32:00 +01:00
pin_message.proto Sync Communities (#2253) 2021-08-06 16:40:23 +01:00
pubkey.go Use goimports instead of gofmt 2020-01-06 10:17:23 +01:00
push_notifications.pb.go Make chat muting only works on one chat and not to completely block PNs from a user (#3647) 2023-06-22 08:06:32 +03:00
push_notifications.proto Make chat muting only works on one chat and not to completely block PNs from a user (#3647) 2023-06-22 08:06:32 +03:00
service.go feat: add parsing for new links format (#3665) 2023-07-04 17:48:52 +04:00
status_update.pb.go fix: ROW_NUMBER() not work on ios for some reason (#3687) 2023-06-29 18:45:57 +08:00
status_update.proto Online Status Indicator (#2408) 2021-10-28 20:51:28 +05:30
sync_settings.pb.go fix: ROW_NUMBER() not work on ios for some reason (#3687) 2023-06-29 18:45:57 +08:00
sync_settings.proto feat: Add new settings for include watch-only accounts (#3676) 2023-06-28 12:05:06 +02:00
url_data.pb.go feat: add parsing for new links format (#3665) 2023-07-04 17:48:52 +04:00
url_data.proto feat: add parsing for new links format (#3665) 2023-07-04 17:48:52 +04:00