Franck Royer
ba6b67cc53
Enable observers to filter by contentTopic
2021-05-10 14:54:08 +10:00
Franck Royer
de3dcd9e22
Improve test readability
...
By avoiding buffer comparison.
2021-05-10 14:10:37 +10:00
Franck Royer
54f32bacad
Use new observer interface in examples
2021-05-10 12:38:44 +10:00
Franck Royer
71a5b23bd2
Add observer interface that directly pass waku messages
2021-05-10 12:38:44 +10:00
Franck Royer
ace5f2776f
Prefer camel case for module constants
2021-05-10 12:38:44 +10:00
Franck Royer
cbe9559096
Clarify what methods should be used
2021-05-10 12:38:44 +10:00
bors[bot]
94353e813e
Merge #133
...
133: Upgrade nim-waku to latest version r=D4nte a=D4nte
Co-authored-by: Franck Royer <franck@status.im>
2021-05-07 01:31:18 +00:00
Franck Royer
21414ad55e
Upgrade nim-waku to latest version
2021-05-07 11:30:36 +10:00
Franck Royer
88eb1eb227
Add command to easily upgrade nim-waku to master HEAD
2021-05-07 11:30:35 +10:00
Franck Royer
d19be03862
Ensure that rpc call to send messages is successful
2021-05-07 11:30:35 +10:00
bors[bot]
3f43e8be79
Merge #135
...
135: Log more around usage of waku store + connect to second node r=D4nte a=D4nte
Resolves #134
Co-authored-by: Franck Royer <franck@status.im>
2021-05-07 00:42:25 +00:00
Franck Royer
a6d815974e
Connect to 2 test fleet nodes
2021-05-07 10:41:38 +10:00
Franck Royer
775a288a5c
Log more around usage of waku store
2021-05-07 10:41:38 +10:00
bors[bot]
39a0d38c9e
Merge #130
...
130: Connect directly to websockify r=D4nte a=D4nte
To avoid websocket timeout issue
Resolves #123 (long term solutions are tracked in separate issues)
Co-authored-by: Franck Royer <franck@status.im>
2021-05-06 05:17:25 +00:00
Franck Royer
381151a29a
Connect directly to websockify
...
To avoid websocket timeout issue
2021-05-06 11:48:01 +10:00
bors[bot]
85d585d937
Merge #127
...
127: Move web-chat to examples folder r=D4nte a=D4nte
Resolves #70
Co-authored-by: Franck Royer <franck@status.im>
2021-05-05 07:48:01 +00:00
Franck Royer
94ff4ca40f
Use one cspell file for all project inc examples
2021-05-05 16:40:23 +10:00
Franck Royer
316edff778
Move web-chat to examples folder
2021-05-05 16:35:14 +10:00
bors[bot]
a43e9987ff
Merge #126
...
126: Ensure that listeners are added only when waku is initialised r=D4nte a=D4nte
this removes the `Reached max listeners` error.
Co-authored-by: Franck Royer <franck@status.im>
2021-05-05 04:42:40 +00:00
Franck Royer
10aafc6cbc
fixup! Connection
2021-05-05 14:32:10 +10:00
Franck Royer
f4663ab247
Only add new listeners when waku is initialised
2021-05-05 14:32:09 +10:00
Franck Royer
9c65e590c4
Add streams to /connections response
2021-05-05 14:32:09 +10:00
Franck Royer
42553202a3
Reduce occurrences of dupe keys
2021-05-05 14:32:06 +10:00
Franck Royer
65404c769a
Add /connections command
2021-05-05 14:31:02 +10:00
bors[bot]
4a722dc144
Merge #124
...
124: Move cli chat to examples folder r=D4nte a=D4nte
Related to #70
Co-authored-by: Franck Royer <franck@status.im>
2021-05-05 01:44:02 +00:00
Franck Royer
abd5709f86
Move cli chat to examples folder
2021-05-05 10:53:40 +10:00
Franck Royer
906d118d7d
Remove empty file
2021-05-05 09:59:36 +10:00
Franck Royer
e1da348fda
Move mocha --exit to config file
2021-05-05 09:59:32 +10:00
Franck Royer
6d699f89f4
Add keywords, correct description and node version
2021-05-05 09:59:27 +10:00
Franck Royer
19d6459883
Move chat message in js-waku
2021-05-05 09:59:19 +10:00
bors[bot]
abbbd50512
Merge #116
...
116: Add few tsconfig rules r=D4nte a=D4nte
Co-authored-by: Franck Royer <franck@status.im>
2021-05-04 05:14:40 +00:00
Franck Royer
de57b2691e
Only the `result` property is ever used
2021-05-04 11:12:32 +10:00
Franck Royer
656227d431
Remove null-assertion warnings for tests
2021-05-04 11:12:32 +10:00
Franck Royer
9e30627e2b
Force return types to be specified
...
Makes it easier to use the library. Best to enforce this early on.
2021-05-04 11:12:32 +10:00
Franck Royer
3c8a63cfcd
Format json files
2021-05-04 10:49:14 +10:00
Franck Royer
46f838b379
Add few tsconfig rules
2021-05-04 10:49:13 +10:00
bors[bot]
3ae782d3b4
Merge #118 #121 #122
...
118: Clean up WakuMessage API r=D4nte a=D4nte
121: Always trigger store query at connection r=D4nte a=D4nte
If no new messages are received, the rendering does not change
as dupe messages are filtered out.
122: Use provided API r=D4nte a=D4nte
Co-authored-by: Franck Royer <franck@status.im>
2021-05-04 00:26:12 +00:00
Franck Royer
d0020744b4
Use provided API
2021-05-04 10:23:31 +10:00
bors[bot]
323402c22f
Merge #119
...
119: No need to change Firefox for the web app r=D4nte a=D4nte
Resolves #117
Co-authored-by: Franck Royer <franck@status.im>
2021-05-04 00:10:48 +00:00
Franck Royer
836761143b
Always trigger store query at connection
...
If no new messages are received, the rendering does not change
as dupe messages are filtered out.
2021-05-04 07:55:35 +10:00
bors[bot]
689f439948
Merge #105
...
105: Group sequential messages from same sender into single group, reduce CSS padding, and don't repeat sender name and timestamp r=D4nte a=littlealex003
- **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...)
Feature
- **What is the current behavior?** (You can also link to an open issue here)
Resolves #86
Name and timestamp are printed for each message
Large amounts of space are used for each message
- **What is the new behavior (if this is a feature change)?**
Name and timestamp are only printed for first message from sender until someone else sends a message
Padding and margin around text eliminated to maximize screen real estate usage
Co-authored-by: Franck Royer <franck@status.im>
2021-05-03 21:54:39 +00:00
Franck Royer
dedeb19dae
Make date font smaller and change author/message fonts
2021-05-04 07:53:26 +10:00
Franck Royer
2c741da2c3
Group sequential messages from same sender
...
Name and date are not repeated anymore.
2021-05-04 07:53:03 +10:00
Franck Royer
298f885987
No need to change Firefox for the web app
...
Resolves #117
2021-05-03 16:35:16 +10:00
Franck Royer
0ff0e6ee7b
Clean up WakuMessage API
2021-05-03 16:26:02 +10:00
bors[bot]
2c72c6d388
Merge #113
...
113: Use waku store to retrieve archived messages in browser app r=D4nte a=D4nte
Resolves #69
Co-authored-by: Franck Royer <franck@status.im>
2021-05-03 04:11:23 +00:00
Franck Royer
df48d06e89
Use store waku to get older messages
...
Chronological order is preserved and dupes are removed.
2021-05-03 14:06:51 +10:00
Franck Royer
0969d073ac
Fix the key
...
The timestamp is seconds so you can easily have the same key if two
participants send a message at the same time.
2021-05-03 14:06:51 +10:00
Franck Royer
e0be69a056
Bool should be passed ot `active`
2021-05-03 14:06:50 +10:00
Franck Royer
7e44f9ee48
Remove peer-id from dependencies
2021-05-03 14:06:50 +10:00