Commit Graph

54 Commits

Author SHA1 Message Date
Franck Royer 10c7641598
New test case extracted from status-go 2021-10-22 12:41:08 +11:00
Franck Royer 61284731ee
Instantiate all cahts with community 2021-10-22 12:41:08 +11:00
Franck Royer 047efcbb79
Nitpick 2021-10-22 12:41:08 +11:00
Franck Royer a3ade13a6f
Instantiate all Chats when importing community 2021-10-19 14:55:35 +11:00
Franck Royer 647eaac722
`Community.instantiateCommunity` already retrieve description 2021-10-19 14:04:10 +11:00
Franck Royer c4512a0840
Run live data test locally but not in CI
Running in CI would mean the CI breaks if there are issues with the waku
prod fleet.
2021-10-19 14:03:44 +11:00
Franck Royer 373603067c
Decrypt and correctly unwrap Community Description messages 2021-10-19 11:27:22 +11:00
Franck Royer e25f3c0b44
Return proto wrapper instead of proto class 2021-10-19 11:26:43 +11:00
Franck Royer 5cbc4b90fb
Fix KDF algorithm 2021-10-19 11:26:18 +11:00
Franck Royer 501d9d50d4
Add getters 2021-10-19 11:25:31 +11:00
Franck Royer 9c2ee46db0
New emoji field 2021-10-19 11:25:02 +11:00
Szymon Szlachtowicz 35d32b9292
Use prod and static (#78) 2021-10-18 11:00:23 +02:00
Szymon Szlachtowicz 7ec7344b74
Fix tests timeout (#77) 2021-10-15 14:46:10 +02:00
Szymon Szlachtowicz c52a7963d2
Load messages until message is found or 30 days (#56) 2021-10-08 10:21:59 +02:00
Franck Royer 964f322ee2
Add interface to join chat using `Chat` 2021-10-08 14:56:00 +11:00
Franck Royer 907eacaa6c
Export more types from root 2021-10-08 14:41:28 +11:00
Franck Royer d677958a22
Move test near file 2021-10-08 14:29:11 +11:00
Franck Royer aef476cc4d
Correct chat id 2021-10-08 14:29:11 +11:00
Franck Royer 9d9723d137
Instantiate chat from community 2021-10-08 14:29:11 +11:00
Franck Royer 4fc7d6cc62
Enforce function return types
Very useful for proto wire types as all fields are optional but not
always reflected in the generated type.
2021-10-08 14:29:11 +11:00
Franck Royer 2ee6b74787
Instantiate Community and retrieve details 2021-10-08 14:29:11 +11:00
Franck Royer 43ecd31e76
Generation of content topic is the same for chats and communities 2021-10-08 14:29:10 +11:00
Franck Royer 9f6abaf952
Create util mod with `bufToHex` that includes 0x prefix
As this is how the string is represented for Community id.
2021-10-08 14:29:10 +11:00
Franck Royer 5d04f731a7
Move proto wrappers in wire folder 2021-10-08 14:29:09 +11:00
Franck Royer 64abd9dd2e
A message contains either text or media 2021-10-08 11:29:15 +11:00
Franck Royer e6b3ec616a
Add Audio, Image and Sticker messages 2021-10-07 15:18:28 +11:00
Franck Royer 304a1021b1
Add function to create media messages 2021-10-07 15:18:28 +11:00
Franck Royer 749c15cf91
Provide message timestamp to caller 2021-10-07 15:09:49 +11:00
Franck Royer db7fa52fa9
Add getters for all usable fields 2021-10-06 14:10:28 +11:00
Franck Royer 8f90c177fb
Specify return types 2021-10-06 13:55:01 +11:00
Franck Royer 04690b553a
Create promises before dialing 2021-10-06 13:51:24 +11:00
Szymon Szlachtowicz ea49955412
Use retrieve previous messages (#39) 2021-10-05 14:47:18 +02:00
Franck Royer 2f98d4e240
Merge pull request #9 from status-im/store 2021-10-05 13:53:26 +11:00
Franck Royer 3a204c9ad4
Merge pull request #12 from status-im/ci-timeout 2021-10-05 13:52:42 +11:00
Szymon Szlachtowicz 0f9572cbfb
Use history in messaging (#21) 2021-09-30 10:44:32 +02:00
Szymon Szlachtowicz 9275f9cb0f
Use messenger for messages (#16) 2021-09-28 15:17:08 +02:00
Franck Royer f1ae5a1639
test: Add debug logging 2021-09-27 11:08:14 +10:00
Franck Royer dc616b5013
Upgrade js-waku to 13.1 2021-09-24 13:24:49 +10:00
Franck Royer 4571903bf4
Add interface to retrieve previous messages 2021-09-24 13:22:15 +10:00
Franck Royer b1ddcb5c49
Add CI 2021-09-24 12:48:32 +10:00
Franck Royer 30e123a418
Add API to retrieve signers on a message 2021-09-23 16:08:06 +10:00
Franck Royer 14849fe62f
Add signature to Waku messages 2021-09-23 15:47:21 +10:00
Franck Royer 8f702928bc
Add encryption for chat groups 2021-09-23 15:42:15 +10:00
Franck Royer bbf5cc6b00
Wrap chat message in ApplicationMetadataMessage 2021-09-23 14:33:09 +10:00
Franck Royer 5dd482be11
It's actually communities v1 2021-09-23 11:29:00 +10:00
Franck Royer 6baf953e98
Test pass 2021-09-22 15:11:08 +10:00
Franck Royer 9c2f497c9e
Send and receive message 2021-09-22 15:05:36 +10:00
Franck Royer 4af46a8320
Sort typescript building with mocha 2021-09-15 12:05:33 +10:00
Franck Royer f95ca1decc
Setting up ws scripts 2021-09-14 16:02:01 +10:00
Franck Royer fbbf02af01
Add messenger 2021-09-14 15:16:40 +10:00