Commit Graph

2593 Commits

Author SHA1 Message Date
yenda c763a001c3
[fix 7652] fetching indicator on Home tab
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-04 18:17:23 +01:00
Andrea Maria Piana 422ed6a227
Update translations
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-04 17:29:06 +01:00
Andrea Maria Piana b26b6ee5e0
Add unpinning of mailservers
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-04 14:06:09 +01:00
Andrea Franz d4594d815f
add hash-transaction and send-transaction-with-signature
Signed-off-by: Andrea Franz <andrea@gravityblast.com>
2019-03-04 11:19:50 +01:00
Roman Volosovskyi b7b221daff
Remove :wallet-modal screen as it is not used anymore 2019-03-01 20:51:08 +02:00
Roman Volosovskyi ac10166f98
Remove unneeded backgrounds in intro-login stack 2019-03-01 18:02:35 +02:00
Andrey Shovkoplyas c491654eec
[#7262] Remove shortcut creation when following universal links inside status
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-03-01 17:00:54 +01:00
Goran Jovic 520f6ad354
refactor #7263 - decoupled sign message flow from send transaction flow
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-01 14:41:06 +01:00
Goran Jovic e574b656f1
feature #7568 - added WIBB token on rinkeby
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-03-01 14:40:31 +01:00
Dmitry Novotochinov 908e80eb0b
[#7216] import account to keycard
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-03-01 14:38:00 +03:00
Andrey Shovkoplyas 4c2054afd4
[#7589] Stickers packs horizontal scrolling
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-03-01 12:17:12 +01:00
Roman Volosovskyi 82493e2742
New bottom nav design 2019-03-01 12:15:06 +02:00
Roman Volosovskyi d7009cbd28
[reduce overdraw] Remove stack card background on Android 2019-03-01 10:32:39 +02:00
Andrea Maria Piana edf810444d
Fix concurrent retry-request
Sometimes it happens that the expired signal is received while the
there's a new request in flight.
This happens in cases such as:

1) We send a request (A)
2) We get disconnected from the mailserver
3) We connect to a new mailserver
4) We send a request (B)
5) We receive an expired signal for A

In such cases the request should not be retried or counted as a failure.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-28 15:28:59 +01:00
yenda c6721dcdfc
fix arrow alignment
Signed-off-by: yenda <eric@status.im>
2019-02-28 14:50:02 +01:00
yenda 0613563fa9
remove print statement
Signed-off-by: yenda <eric@status.im>
2019-02-27 20:18:10 +01:00
Vitaliy Vlasov c23d26e273
TtT Profile screen
Edit screen

Edit screen updates

Learn more screen

Add SNT asset value

Formatting

Add TtT note to QR code viewer

Fixes

UI fixes

Intro screen

Fix learn more

Add learn more subtext

Remove unneeded logs

Screen fixes 2

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-02-27 20:08:39 +02:00
yenda 1c03976b2f
[refactor] remove triple import
Signed-off-by: yenda <eric@status.im>
2019-02-27 17:01:25 +01:00
Andrea Maria Piana bfbc04ebae
Fix separate topic group chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-27 11:22:27 +01:00
yenda 6b6847a1ba
[feature] search chats
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-26 18:01:25 +01:00
Andrea Maria Piana 4f89073ae8
Add network info in about, with copy to clipboard
In network we show peer infos about you and the connect peers.
Any entry is about is clickable and will copy the value to the
clipboard. Copy info will copy all the info in a JSON string.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-26 17:31:55 +01:00
Andrea Maria Piana 6a42580fc2
Remove separate topic from group chats
Currently the separate topic was not used, as it's a bit tricky to
coordinate when multiple devices from different versions are present,
with the partitioned topic, probably this optimisation is not necessary
anymore, so removing this for now.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-26 17:18:26 +01:00
Andrea Maria Piana 71654a6829
Confirm pairing messages
Partially addresses https://github.com/status-im/status-react/issues/7513
This commit adds confirmation to pairing messages, which previously were
not confirmed.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-26 17:12:05 +01:00
Roman Volosovskyi d6bd685703
[#7537] fix Contact stuck on login screen
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-26 15:50:52 +01:00
Andrea Maria Piana 229f5ae108
Dont change mailserver if no network
When we are offline, we don't try to change mailserver, and we don't
show a pop up to the user, as it is not that the mailserver is not
working, we are just offline.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-26 15:32:54 +01:00
Andrea Maria Piana 25118052df
Convert address to checksum address before testing for eip55
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-26 12:37:55 +01:00
Igor Mandrigin e588de35aa
Show status-go version again.
Also, don't hide errors when it is impossible to parse versions string that
comes from status-go.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-26 09:48:32 +01:00
Andrea Maria Piana c56ef18ca9
Retry mailserver request when initial request fails
If the initial request fails we immediately show the error pop-up. This
PR changes the behavior so that it is retried just like any other
request. If 3 requests in a row fail, we show the error pop up if the
user has specifically set a mailserver, otherwise is changed
automatically.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-25 21:43:15 +01:00
Dmitry Novotochinov bae935d3e4
[#7217] check card state before installation
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-02-25 22:57:56 +03:00
Roman Volosovskyi 7a6a508696
remove main-tabs ns 2019-02-25 16:30:01 +02:00
Roman Volosovskyi a3316bc8fa
Keep message list rendered while switching between tabs 2019-02-25 13:03:18 +02:00
Andrey Shovkoplyas a1aeff70e5
[#6703] Stickers UI and contract wedding
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-02-25 09:29:15 +03:00
Roman Volosovskyi 2fa27d4ef9
fix status bar colors 2019-02-23 15:04:25 +02:00
Goran Jovic f7779023ca
renamed deposit to receive on main wallet screen
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2019-02-22 13:59:38 +01:00
yenda 58d7181464
[fix 5772] overlap in login screen on small screens
Signed-off-by: yenda <eric@status.im>
2019-02-21 17:07:53 +01:00
Roman Volosovskyi 2ae666a5e0
Add back :mobile-network-settings route
It was unintentionally removed during nav refactoring.
2019-02-21 15:48:05 +02:00
Andrea Maria Piana c9994b5d0f
Dont override last-clock-value on messages
The denormalized-clock-value was erroneously set to the one of the last
message received. This meant that on chats were the clock-value raced
ahead of the timestamp (#status), a message from the mailserver or a
message from someone with an old clock-value would basically make those
messages be sorted in the past.

The correct behavior is that last-clock-value for a given chat should be
the maximum last clock value ever seen for that chat.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-21 13:41:06 +01:00
Roman Volosovskyi b8d4f2911b
new bottom tab (react-navigation) 2019-02-20 19:14:17 +02:00
Brandon Wissmann 0fe4ac516f
Added WBTC token
Signed-off-by: yenda <eric@status.im>
2019-02-20 12:34:49 +01:00
yenda f31bb4a4b2
[fix 7521] error when receiving message from blocked user
Signed-off-by: yenda <eric@status.im>
2019-02-20 12:34:02 +01:00
Andrea Maria Piana 9040f0345a
Fix block contact db error
bddae03ab2
broke adding a user to contacts, this fixes by serializing the contact
before saving it.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-19 18:56:12 +01:00
Igor Mandrigin c081f7f49c
ULC mode for Ropsten
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-19 17:59:45 +01:00
Andrea Maria Piana bcbaeb2cd9
Handle request error
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-19 13:39:02 +01:00
Andrey Shovkoplyas 448581058c
[#7451] Stickers support on desktop
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-02-19 12:04:17 +03:00
Andrea Maria Piana 9c6cce7d4d
Allow to send transactions to non-contacts
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-18 11:33:39 +01:00
Andrea Maria Piana dac323a3de
Remove automatic sending of contact request 2019-02-18 09:37:35 +01:00
Andrea Maria Piana becb32d5e7
Use dedup-id instead of raw-payload
This is a backward/forward compatible change with status-go.
We are changing the way messages are confirmed from passing the
raw-object to status-go to a dedup-id instead, which needs to be sent
back.
Based on the response from status-go we detect whether they are ids or
object and act accordingly.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-17 23:05:25 +01:00
Roman Volosovskyi e9bc937f9a
fix No second Wallet screen when send two Tx one after another in Dapps 2019-02-15 14:04:35 +02:00
Julien Eluard 19fc26c1c2
Do not navigate-back when selecting from gallery
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-02-15 12:07:13 +01:00
Andrey Shovkoplyas c0d659d008
open-url extension event
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-02-15 11:50:00 +01:00
Roman Volosovskyi 25bc3429cd
Enable new routing, remove old code 2019-02-14 18:20:32 +02:00
Andrea Maria Piana bddae03ab2
Allow multiple push notifications
We keep tokens synchronized across devices, so that the user can notify
us on any paired device.
Currently we record the installation id associated to the fcm-token even
though is not necessary, but it will be once we send device-to-device
messages, in which case we want to notify only those devices.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-14 16:33:50 +01:00
Roman Volosovskyi 8c9e71c9d4
Routing refactoring, preparations related to new navigation
- screens definition is separated from configuration
  (deduplicates screens which are used among several stacks)
- all four stacks moved to separate namespaces
- configuration is just a data
2019-02-14 15:15:23 +02:00
Pedro Pombeiro 40b3100cfc
Fetch messages from mailserver upon PN if db is unlocked. Part of #3451
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-02-13 23:28:44 +01:00
Roman Volosovskyi 48291247b2
Loading history on mobile network 2019-02-13 18:59:21 +02:00
yenda 1002051074
[fix] ios checkbox
- remove usage of native checkboxes on android and desktop to ensure proper
design
- rename plain-checkbox to radio button and make sure it is only used where
radio button should be used (one possible choice beyond many)
- update autotest

Signed-off-by: yenda <eric@status.im>
2019-02-13 16:31:52 +01:00
yenda 77b792a37a
[#6850] related refactoring
- remove unecessary subscriptions related to add-contact-bar

Signed-off-by: yenda <eric@status.im>
2019-02-13 12:38:31 +01:00
Roman Volosovskyi 0cdc56401a
[#6850] fix Add to contacts appears in public chat 2019-02-13 11:36:52 +01:00
shamardy 9198b15380
Exposed whisper (shh) events
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-02-13 10:10:37 +01:00
Julien Eluard 3770243546
Added contacts/all event and wallet.settings lifecycle hooks
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-02-13 10:01:55 +01:00
yenda 0563abff54
[fix] icon and text alignment for group and public chat on home
Signed-off-by: yenda <eric@status.im>
2019-02-12 19:11:02 +01:00
Pedro Pombeiro 7366f8973b
Add sender name in PNs (if db is unlocked)
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-02-12 17:47:22 +01:00
Andrey Shovkoplyas fca51beaaa
[#7445] Sticker detail view in chat
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-02-12 16:31:22 +01:00
Andrea Maria Piana 7960fdef85
Publish contact updates periodically
Currently it's very easy for contact details to get out of sync, the
simplest example is:
A & B are contacts.
A changes name.
B receives the updated name.
B re-install the app.
Until A changes name again, B will not see their name, picture and won't
be able to send push notifications.

This PR changes the behavior to publish account informations to contacts
every 24 hrs, to add some redundancy in this cases.

It also publishes a contact code every 12hrs.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-12 14:20:45 +01:00
Andrey Shovkoplyas 852afa23cb
fixed browser loader
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-02-12 09:10:22 +01:00
Andrea Maria Piana 80eeb8765a
Relax constraint on filters
Before we checked filters are exactly the same as the chats.
If there's any state mismatch, this will result in not fetching messages
from the mailserver.
This might not be necessarily what we want, we probably want to be
resilient to this case.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-12 08:43:22 +01:00
yenda 6f865bf337
[fix] restore large bubble width
Signed-off-by: yenda <eric@status.im>
2019-02-11 19:42:57 +01:00
yenda aeb29e38b0
[fix] crash with creation and invitation to 1 letter group chat
Signed-off-by: yenda <eric@status.im>
2019-02-11 19:41:53 +01:00
Vitaliy Vlasov 7d4dcb327d
Fix chat colors and username display; adjust icons
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-02-11 13:54:38 +02:00
mestorlx 0471d5fd72
Added utility function to test addresses according to EIP55.
Added pop-up message when addres checksum fails in wallet/send/enter recipient address.

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-02-11 11:06:24 +01:00
tbenr 51f6a173df
fixes #6596
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-02-11 11:05:23 +01:00
Andrey Shovkoplyas 6ab6e3f041
stickers polishing 2
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-02-11 08:44:21 +01:00
kn 6988950ea8
[#6973] Replace react-native-i18n with react-native-languages 2019-02-09 23:27:46 -08:00
yenda 2c74dc93cc
[fix] show first letter of public chat name in icon instead of #
Signed-off-by: yenda <eric@status.im>
2019-02-08 19:18:21 +01:00
yenda f64111ceba
[fix] public chat icon when following link from private chat
- when following a link from a private chat, the public chat icons
was staying the same

Signed-off-by: yenda <eric@status.im>
2019-02-08 13:22:51 +01:00
Andrea Maria Piana 14e887160a
Dont setup topic as it resets the discovery filter
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-08 10:57:21 +01:00
Roman Volosovskyi 2ab1dcb54a
fix :request/attempts typo 2019-02-08 10:06:51 +02:00
Asad Dhamani c2409ad664
Fix null is not an object error for invalid URLs
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-02-07 16:52:21 +01:00
Roman Volosovskyi 7b0f68fcdb
[ui only] Mobile network bottom sheet 2019-02-07 12:21:03 +02:00
Andrey Shovkoplyas cf8527d147
[#7374] stickers polishing
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-02-07 09:27:49 +01:00
Andrea Maria Piana 20550d022f
Adjuct mailserver limit when expired/complete events
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-07 08:30:44 +01:00
yenda e739b4a359
[fix] use icons from design components
Signed-off-by: yenda <eric@status.im>
2019-02-06 14:48:58 +01:00
Andrea Maria Piana fd3152eeff
Retry mailserver request with cursor
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-02-06 11:46:20 +01:00
Andrey Shovkoplyas 4c4fb6bbe9
[#5584] Implement Manage permissions screen and option for web3 provider Opt-in access
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-02-06 10:38:20 +01:00
Dmitry Novotochinov 1b836bf7ec
[#7006] login with keycard
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-02-06 00:20:07 +03:00
Roman Volosovskyi b96063ce56
[#7422] Show feedback on mailserver error 2019-02-05 20:51:09 +02:00
Andrey Shovkoplyas 5fe9e3d156
[#6587] IPFS hosted apps should not share cookies/etc
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-02-05 18:49:25 +01:00
yenda b80e02d8cf
[feature] add block user feature in user profile
- add block/unblock action to user profile
- blocking deletes all messages from user and ignores future messages
- unblocking stops ignoring new messages from user but doesn't recover past ones

[feature] add contact list

[tests] added scroll to BackupRecoveryPhraseButton

[tests] added scroll to public key

Signed-off-by: yenda <eric@status.im>
2019-02-05 16:29:56 +01:00
yenda 444c6af319
[refactor] contact model: remove unused fields and add `blocked?`
- dapp related fields are removed since it is not used anymore
- blocked? field is added for futur block user feature
2019-02-05 16:28:50 +01:00
Igor Mandrigin 9cb890a32f
Increase mailserver page size 10 times to make initial sync faster.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-05 14:51:08 +01:00
Igor Mandrigin 27d6816cca
Update and migrate POA network URLs.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-05 13:47:09 +01:00
Roman Volosovskyi ce28f6df66
fix Filter is nil error after re-login 2019-02-05 09:37:11 +02:00
Goran Jovic 256401c417
feature #7266 - added buff token on xdai sidechain
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-04 21:10:19 +01:00
Andrea Maria Piana 3469a3d899
Dont set a chat-id on discovery-filters
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-02-04 17:24:21 +01:00
Andrea Maria Piana 49035af201
Dont count 1-to-1 topics if not enabled 2019-02-04 17:23:22 +01:00
Igor Mandrigin e2f53418f3
Revert "don't auto-generate contact address from whisper pub key"
This reverts commit b3416f5ad5.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-02-04 16:08:49 +01:00
yenda c11b99c0d4
[fix] loading indicator shouldn't nudge content downward
Signed-off-by: yenda <eric@status.im>
2019-02-04 15:41:46 +01:00
yenda c58342d397
[fix 7380] bubble width on small devices 2019-02-04 15:41:18 +01:00
Andrea Franz b3416f5ad5
don't auto-generate contact address from whisper pub key
Signed-off-by: Andrea Franz <andrea@gravityblast.com>
2019-02-04 13:58:21 +01:00
Roman Volosovskyi fe7c7088db
Use partitioned topic for discovery
Currently we use a single topic for discovery.
This provides the best obscurity at the cost of bandwidth, as a message
sent on the discovery topic will be received by any peer.
This PR changes this behavior and start listening on a partitioned
topic.
Each pk will be hashed to a limited number of topics.

Everytime someone is in a conversation with someone from another topic
they will have to listen as well to avoid loosing obscurity, because we
only forward messages that we also advertise in the bloom filter.

The choice for the number of partitions depends on 2 factors:

1) The expected number of users using the network
2) The average number of contacts each user

Any change to the discovery topic will need to be split across 3
releases, to avoid breaking compatibility:

1) Listen to the new and old topic, publish to the old topic
2) Listen to the new and old topic, publish to the new topic
3) Listen to the new topic, publish to the new topic

This is step 1.
2019-02-01 14:40:54 +02:00