Andrea Maria Piana
7bbe9561de
Set chat active on being re-invited
...
If the user deletes/leaves a group chat, the chat is set as not active.
This means that if we are re-invited to the chat it won't be shown to
the user.
This commit changes this behavior so that if we are re-invited to the
chat it is set as active again.
2020-04-23 11:04:50 +02:00
Samuel Hawksby-Robinson
7d3655976c
Reverting most tests related to handshake change
2020-04-21 10:40:39 +02:00
Samuel Hawksby-Robinson
59530b9d1e
Reverting most of the handshake functionality
...
See GH-1938
2020-04-21 10:40:39 +02:00
Samuel Hawksby-Robinson
900bad769a
Added better prediction of waku RLP key type and value
2020-04-21 10:40:39 +02:00
Samuel Hawksby-Robinson
a50e35b72d
Added error handling for waku handshake DecodeRLP
2020-04-21 10:40:39 +02:00
Samuel Hawksby-Robinson
042ae30f9f
Refactor to waku handshake keyType identification
...
Presuming that all RLP keys will be of the same type. Still failing on forward and backward compatibility, so I will fidn a solution for this next
2020-04-21 10:40:39 +02:00
Samuel Hawksby-Robinson
c16eba55f6
Implemented RLP key field initialisation
...
This replaces the statically declared values, which previously replaced function varialbes see https://github.com/status-im/status-go/pull/1931#discussion_r406123786
2020-04-21 10:40:39 +02:00
Samuel Hawksby-Robinson
91e1bdc8ce
Apply suggestions from code review
...
Co-Authored-By: Adam Babik <a.babik@designfortress.com>
2020-04-21 10:40:39 +02:00
Samuel Hawksby-Robinson
960284056b
Added handling for mixed RLP key data types
...
This the initial implementation, a number of known test fails have been introduced with this commit and will be resolved as a matter of priority.
2020-04-21 10:40:39 +02:00
Samuel Hawksby-Robinson
7d95118b35
Added new test and used static var declarations for keyFieldIdx
2020-04-21 10:40:39 +02:00
Samuel Hawksby-Robinson
a44fb3c372
Added handling of parseStatuOptionKeys() error
2020-04-21 10:40:39 +02:00
Samuel Hawksby-Robinson
1858ad3ae2
Preliminary fix for GH-1929
2020-04-21 10:40:39 +02:00
Samuel Hawksby-Robinson
4b0d0f56dd
Added IDE file to gitignore
2020-04-21 10:40:39 +02:00
Samuel Hawksby-Robinson
3455b57b4c
Update team collaboration forum ( #1946 )
...
As per discussion on Discord https://discordapp.com/channels/624205794384281629/626738033701683200/701827035382808666 , updating the Slack channel to the Discord server.
2020-04-21 08:12:01 +01:00
Andrea Maria Piana
2d1f6c1cfa
Don't pass contacts without custom fields to the client
...
When receiving a message with save a contact in the database in order to
avoid re-calculating image/profile.
This contact is then passed to the client, which can negatively impact
performance.
This commit changes the behavior so that only those contacts that have
some custom fields (have been explicitly added by the user, have been
blocked by the user, have sent a contact request or have a verified ens
name) are passed to the client.
2020-04-21 09:09:27 +02:00
Andrea Maria Piana
3a84afd0f1
Add replies to messages
...
Currently replies to messages are handled in status-react.
This causes some issues with the fact that sometimes replies might come
out of order, they might be offloaded to the database etc.
This commit changes the behavior so that status-go always returns the
replies, and in case a reply comes out of order (first the reply, later
the message being replied to), it will include in the messages the
updated message.
It also adds some fields (RTL,Replace,LineCount) to the database which
were not previously saved, resulting in some potential bugs.
The method that we use to pull replies is currently a bit naive, we just
pull all the message again from the database, but has the advantage of
being simple. It will go through performance testing to make sure
performnace are acceptable, if so I think it's reasonable to avoid some
complexity.
2020-04-16 15:51:28 +02:00
Andrea Maria Piana
4d2fb67add
Allow to leave chat without removing it
2020-04-14 14:08:54 +02:00
Andrea Maria Piana
f3fc6812cd
Add change group chat name endpoint
2020-04-14 14:08:54 +02:00
Andrea Maria Piana
79be6eaf3a
Increment retry count when ENS verification fails
...
We did not increment the counter when verification failed, which meant
that we would not backoff and retry more often that we should have.
2020-04-14 11:16:43 +02:00
Adam Babik
2948544b7a
update protocol package README ( #1934 )
2020-04-09 23:28:40 +02:00
Adam Babik
13da3a09c5
Explain how to run Waku node in README ( #1921 )
2020-04-09 18:33:53 +02:00
Jakub Sokołowski
c8d20f84f8
set archived_envelopes_total on start based on DB count
...
Before the count was reset every time process was restarted.
Also add 'db' label to distinguish between waku and whisper DBs.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-09 13:08:14 +02:00
Jakub Sokołowski
42baf2251d
expose the mailserver metrics port by default
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-08 17:08:49 +02:00
Jakub Sokołowski
bc70895615
enable waku for mailservers by default
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-08 17:08:49 +02:00
Andrea Maria Piana
3c5354280c
Return count of updated messages in MarkMessagesSeen
...
The frontend needs to know if the messaged marked as seen was actually
seen or not, as we might not have it loaded in the frontend.
2020-04-07 13:23:21 +02:00
Adam Babik
4f9f7cd258
Fix setup-dev target ( #1926 )
2020-04-06 09:54:06 +02:00
Adam Babik
f86c8cf91e
Update eth-node README ( #1916 )
2020-04-01 20:13:54 +02:00
Andrea Maria Piana
44272944ab
Make sure WakuEnabled is respected on upgrade
2020-03-30 15:28:16 +02:00
Andrea Maria Piana
070a5adbee
Enable waku node default
2020-03-30 10:52:30 +02:00
Adam Babik
f9ba05d3ae
Reduce bridge logging ( #1918 )
2020-03-26 21:33:47 +01:00
Andrea Maria Piana
a5874fdb21
Add content type for group chats
2020-03-25 09:29:08 +01:00
Andrea Maria Piana
b9689fe109
add transparent background to identicon
2020-03-25 09:02:58 +01:00
Andrey Shovkoplyas
2ca9309953
uint
2020-03-25 07:42:52 +01:00
Andrea Maria Piana
de3c33f009
Add appearance setting
2020-03-25 07:42:52 +01:00
Adam Babik
2169a27454
Clarify situation between lib and mobile ( #1909 )
2020-03-24 11:22:55 +01:00
Andrea Maria Piana
fd4c627c2e
Ignore full node flag when in topic mode
2020-03-23 15:10:07 +01:00
Andrea Maria Piana
9ee0e52ea3
Ignore full node flag when in topic mode
2020-03-23 15:10:07 +01:00
Jakub Sokołowski
7785aecd65
add README for metrics ( #1906 )
2020-03-17 22:09:21 +01:00
Adam Babik
8a148f256a
Release 0.49.1
2020-03-17 18:46:32 +01:00
Jakub Sokołowski
db9173492b
update rendezvous nodes in configs
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-17 15:47:07 +01:00
Jakub Sokołowski
0c8efb4da5
fix update-fleet-config.sh to include rendezvous
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-17 15:47:07 +01:00
Adam Babik
d7bb02540a
Update go-ethereum to v1.9.5-status.9 ( #1898 )
2020-03-12 13:05:12 +01:00
Roman Volosovskyi
d1beb4c76d
bump VERSION to 0.48.8
2020-03-11 08:40:19 +02:00
Roman Volosovskyi
9d5684162a
Stop fetching new blocks while app is not active
...
Saves some traffic (blocks with transactions are heavy) and infura
requests.
2020-03-11 08:39:41 +02:00
Adam Babik
97130dd6fe
bump VERSION to 0.48.7
2020-03-10 13:41:37 +01:00
Adam Babik
6fdeb9b115
Fix listen flag ( #1897 )
2020-03-10 13:40:35 +01:00
Adam Babik
241e4ad1dd
version 0.48.6
2020-03-09 09:06:51 +01:00
Adam Babik
831ab85561
Upgrade deps ( #1892 )
2020-03-09 08:55:58 +01:00
Adam Babik
17f91b3141
Clean up protocol package ( #1890 )
2020-03-09 07:19:23 +01:00
Andrea Maria Piana
2d1e06f25f
Pull waku-enabled from the database
2020-03-05 21:04:09 +01:00