Commit Graph

1843 Commits

Author SHA1 Message Date
Franck Royer afba3210e9
Upgrade libp2p to 0.31.0-rc.3 2021-04-21 16:17:32 +10:00
bors[bot] 9095e3f145
Merge #38
38: Web chat React app  r=D4nte a=D4nte

Helps with #14 

Simple web chat app. Currently using a mock for waku. Next step: Integrate waku.

Co-authored-by: Franck Royer <franck@royer.one>
Co-authored-by: Franck Royer <franck@status.im>
2021-04-21 06:13:38 +00:00
Franck Royer bd3cef1933
Setup CI for web-chat 2021-04-21 14:32:52 +10:00
Franck Royer 35cac9c862
Reduce fixed height 2021-04-21 14:32:52 +10:00
Franck Royer 7921aa5427
Makes lines a functional component 2021-04-21 14:32:52 +10:00
Franck Royer 50a2c3777b
Improved the look 2021-04-21 14:32:52 +10:00
Franck Royer b7d01418ce
Use material ui 2021-04-21 14:32:52 +10:00
Franck Royer 3e409c46b5
Can input messages to send! 2021-04-21 14:32:52 +10:00
Franck Royer dc7b9ba5ae
We can send messages! 2021-04-21 14:32:51 +10:00
Franck Royer 35db88a63e
Display messages emitted by waku mock 2021-04-21 14:32:51 +10:00
Franck Royer ca7445d65c
Create waku mock 2021-04-21 14:32:51 +10:00
Franck Royer 5f9e6b24eb
App holds the messages 2021-04-21 14:32:51 +10:00
Franck Royer c5ea01bcb4
Display lines 2021-04-21 14:32:51 +10:00
Franck Royer 8942f0eca1
Add web chat 2021-04-21 14:32:51 +10:00
bors[bot] 3bdc10405c
Merge #47
47: Log in error raised by question r=D4nte a=D4nte

As it seems to fail on some systems

Co-authored-by: Franck Royer <franck@status.im>
2021-04-21 03:44:03 +00:00
Franck Royer bf11d76a93
Log in error raised by question 2021-04-21 09:57:21 +10:00
bors[bot] f85078ea96
Merge #44
44: Upgrade ts-proto to fix long dependency warning/error r=D4nte a=D4nte

Fixes issue when using yarn.

Co-authored-by: Franck Royer <franck@status.im>
2021-04-20 06:15:29 +00:00
Franck Royer dd0a843770
Upgrade ts-proto to fix long dependency warning/error 2021-04-20 16:11:53 +10:00
bors[bot] 16251f6979
Merge #41
41: Update to latest waku store r=D4nte a=D4nte

Resolves #42

Co-authored-by: Franck Royer <franck@royer.one>
2021-04-20 05:40:31 +00:00
Franck Royer ee6226bd32
Update waku store as per the latest spec 2021-04-20 15:38:40 +10:00
Franck Royer 8db22b4697
Check in protobuf generated files
So that developers do not have to install protobuf suite by default.
2021-04-20 15:38:40 +10:00
bors[bot] 136cb1fb9e
Merge #43
43: Improve chat cli setup UX r=D4nte a=D4nte

Resolves #39

Co-authored-by: Franck Royer <franck@royer.one>
2021-04-20 05:33:33 +00:00
Franck Royer 0241d9edf3
Catch nick promise failure 2021-04-20 15:32:10 +10:00
Franck Royer 4542e01f0e
Check in protobuf generated files
So that developers do not have to install protobuf suite by default.
2021-04-20 15:32:10 +10:00
bors[bot] 5d71cb2969
Merge #37
37: Use peerStore event to determine if identify is done & Auto-subscribe r=D4nte a=D4nte




Co-authored-by: Franck Royer <franck@royer.one>
2021-04-20 05:26:29 +00:00
Franck Royer 6ee404c3ce
Skip the js-nim-js test as it fails in CI 2021-04-20 15:26:01 +10:00
Franck Royer eec55b7b71
Add sleep for failing tests + logging 2021-04-20 15:15:18 +10:00
Franck Royer 818a8256e7
Wait for identify protocol to finish 2021-04-20 10:34:23 +10:00
Franck Royer 00e303ee0a
Increase test timeout 2021-04-20 10:13:13 +10:00
Franck Royer e233ad8da4
Increase test timeouts 2021-04-20 09:38:30 +10:00
Franck Royer e0debac165
Subscribe to default topic when starting, Remove dual Waku relay classes 2021-04-16 11:25:08 +10:00
Franck Royer bc1ba3f4e4
Increase test timeout 2021-04-15 15:24:01 +10:00
Franck Royer 896462340a
Simplify API
At this stage, if waku relay is mounted then we always want to subscribe
to default topic.

We can re-introduce the flexibility once we know what matters to the user.

Resolves #17.
2021-04-15 14:45:14 +10:00
Franck Royer 9a305033bc
Use peerStore event to determine if identify is done 2021-04-15 14:44:35 +10:00
bors[bot] 9d64ac84ad
Merge #36
36: Add websocket transport r=D4nte a=D4nte

Resolves #34 

Co-authored-by: Franck Royer <franck@royer.one>
2021-04-15 04:35:32 +00:00
Franck Royer 503157401e
Allow passing transports, enable websocket transport 2021-04-15 13:56:07 +10:00
Franck Royer 1a813256e9
Start Waku first
So that even if the user does not enter a nick, the chat app
already acts as a waku node.
2021-04-15 13:56:07 +10:00
Franck Royer 31a45bf44e
Group imports 2021-04-15 13:56:07 +10:00
Franck Royer 1a4407b4f5
Increase test timeout 2021-04-15 13:56:06 +10:00
bors[bot] d2c8d72c3e
Merge #35
35: Always enable trace logs for nim-waku and remove color r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@royer.one>
2021-04-15 00:42:29 +00:00
Franck Royer 79382865e6
Always enable trace logs for nim-waku and remove color 2021-04-15 09:41:16 +10:00
bors[bot] 6883b6f27d
Merge #33
33: Update readme to point developers to right forums r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@royer.one>
2021-04-14 00:24:18 +00:00
Franck Royer 2581b56458
Update readme to point developers to right forums 2021-04-14 10:23:32 +10:00
bors[bot] 707a019faa
Merge #32
32: Wait for identify protocol to finish when dialing r=D4nte a=D4nte

Resolves #18

Co-authored-by: Franck Royer <franck@royer.one>
2021-04-13 12:44:31 +00:00
Franck Royer 4b31a6aaba
Wait for identify protocol to finish when dialing
Removes most `delay()`.
2021-04-13 22:43:13 +10:00
bors[bot] 41fa29feac
Merge #31
31: Remove warnings r=D4nte a=D4nte



Co-authored-by: Franck Royer <franck@royer.one>
2021-04-13 05:25:23 +00:00
Franck Royer b38634fd14
Remove warnings 2021-04-13 15:25:00 +10:00
bors[bot] 09d89ebd78
Merge #30
30: Implement pagination for waku store r=D4nte a=D4nte

Resolve #29 

Co-authored-by: Franck Royer <franck@royer.one>
2021-04-13 05:05:16 +00:00
Franck Royer ee8db698b3
Allow constant condition for loops 2021-04-13 15:03:14 +10:00
Franck Royer 0e9b0b1b74
Ensure store waku calls returns messages in chronological order
Oldest at the start of the list.
2021-04-13 15:02:56 +10:00