Commit Graph

2640 Commits

Author SHA1 Message Date
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
Serhy 305bc8e1cf
Add accessibility-id for create group chat button
Signed-off-by: Serhy <sergii@status.im>
2019-01-31 20:38:15 +02:00
Roman Volosovskyi 10739cd2e4
Bottom sheet component 2019-01-31 10:32:45 +02:00
Andrea Maria Piana 89725d693a
Add pairing docs link, disable pfs toggle in release
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-01-31 07:49:37 +01:00
yenda 7985ee838e
[fix 7332] error pop-up when sending tx from wallet
when the last used chat was a public chat, the public-key of
the recipient to populate the `:to` key in the notification data
was taken from `:current-chat-id`in app-db.

this fix ensures that the right chat-id (the actual public-key of
the contact) is used instead of current-chat-id by changing the arity
of `send-push-notification`

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-30 16:58:36 +01:00
Andrea Maria Piana 093f7de1aa
Disable pairing pop-up in e2e
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2019-01-30 16:46:57 +02:00
Speedy Fixer c3ee8ff759
[FIX #7344] Update args of eth_getLogs
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-29 20:01:20 +01:00
Andrea Maria Piana e07433fdff
Disable creating a chat until login complete
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-29 19:47:56 +01:00
Andrey Shovkoplyas 7d22f61e20
[#7369] Can send tokens in Aragon Dapp in Finance section
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-29 19:37:23 +01:00
Andrea Maria Piana 13b04f17eb
Enable pairing & contact recovery
This PR enables pairing outside of dev-mode and contact-recovery, which
is useful in the case a new device is added or re-installed.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-01-29 18:25:25 +01:00
Julien Eluard ac758f5348
Updated support for EIP1577
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-01-29 15:48:36 +01:00
Igor Mandrigin fafecfe95a
Get rid of StatusService.
StatusService was only used to handle `signalEvent:` from status-go.
This commit simplifies this interaction and getting rid of the service
and all the problems that come with it.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-29 12:01:05 +01:00
Andrea Maria Piana 52ae2c2bfe
Style header group-chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-01-29 10:31:59 +01:00
Andrey Shovkoplyas 2430992fb4
Implement stickers market
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-01-28 17:18:44 +01:00
Roman Volosovskyi b0c1a3244d
[#7346] Add Aragon dapp
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-28 14:25:41 +01:00
Andrey Shovkoplyas c7b532e1c5
[#7274] Address and web3 authorising permission window disappears right away ENS/Voting dapp home view loads
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-01-28 09:12:33 +01:00
Julien Eluard 16b657d6ee
Added kyber extension
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-01-25 16:26:03 +01:00
yenda 8ef905edfb
[fix 5371] status bar covers touchable UI
- fix #5371
- fix #4345
- introduce "Connected..." status bar
- introduce fetching animation
- removes overlap of status bar with views
- add animations for status bar

Signed-off-by: yenda <eric@status.im>
2019-01-25 15:01:37 +01:00
yenda 760956dfe1
fix #6440 increase width of mobile message bubbles on mobile 2019-01-25 15:01:14 +01:00
yenda f17229c4e2
[fix] remove mnemonic from current-account map
current-account is duplicated in `:qr-modal` key when tapping on `share my
profile` button in the Profile screen
this removes the mnemonic from the duplicated data so that it does persist
there after user backed up his mnemonic
this was only happening until logging out/restarting the app

Signed-off-by: yenda <eric@status.im>
2019-01-25 15:00:09 +01:00
Roman Volosovskyi 9daef17f11
Stop sending seen messages
Currently, these messages are not used and should be properly revisited
later. It only generates extra traffic on discovery topic.
2019-01-25 09:23:00 +02:00
Pedro Pombeiro d3f1b37c12
Use new status-go and rename NotifyUsers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-01-24 15:41:32 +01:00
Andrea Maria Piana 2b2c44c9a5
Add device name to pairing
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-01-24 11:29:24 +01:00
Julien Eluard a825175aea
Fixed incorrect parameters provided to Command#yield-control
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-23 19:35:50 +01:00
Dmitry Novotochinov cee18d23b8
[#7132] add keycard settings
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-01-23 20:11:23 +03:00
Igor Mandrigin 7322626464
Migrate old Infura RPC URLs to the new ones for existing accounts.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-23 17:58:01 +01:00
Igor Mandrigin 94022523a1
Use new Infura API.
As per announcement, we need to switch our Infura project IDs.

> As previously announced, accessing Infura will begin requiring a Project ID generated from the new Infura Dashboard. If you are using Infura and have not yet migrated your project, please take the time to do so now. The first milestone in this transition will be activated next week on January 23, 2019 at 20:00 UTC.

https://blog.infura.io/infura-dashboard-transition-update-c670945a922a

The new project is created with ID `f315575765b14720b32382a61a89341a`
and the API keys are updated.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-22 12:34:16 +01:00
Roman Volosovskyi c4c27a48c2
fix `:contact.ui/close-contact-pressed` event
Most likely a typo was introduced during refactoring.
2019-01-22 08:29:52 +02:00
Andrea Maria Piana 66c2d0d9cb
Disable sending message
Seems like the current version of status-go does not contain some of the
code that was in the previous, so disabling this for now until we verify
it works.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-01-21 16:25:11 +01:00
Roman Volosovskyi a129c92706
Comment out outdated dispatching of :send-seen! event 2019-01-18 18:17:23 +02:00
Roman Volosovskyi 8754f72eba
Fix merging of :message/message-persisted event
Previously `:message/message-persisted` was dispatched for each incoming
message because its argument was not a vector. The event was renamed to
`:message/messages-persisted`.
2019-01-18 18:14:40 +02:00
Pedro Pombeiro 5a69b4198e
Update PNs to use data-only messaging, and only encode/decode data values. Fixes #6772
Fix navigation to chat when PN is tapped while signed off. Fixes #3488

Anonymize PN pubkeys. Part of #6772
2019-01-17 19:23:55 +02:00
Igor Mandrigin 4af2073388
Revert "Fixed incorrect parameters provided to Command#yield-control"
This reverts commit ac1de8c690.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-17 15:15:43 +01:00
Julien Eluard ac1de8c690
Fixed incorrect parameters provided to Command#yield-control
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-01-17 12:46:27 +01:00
Roman Volosovskyi 664cbf6bbe
Sign-in flow docs and tests 2019-01-15 17:00:58 +02:00
Zach Zundel 4dca2e9caa
Create event
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-01-15 08:41:37 +01:00
Igor Mandrigin e8de37f5ef
Report messages as "processed" to status-go only after they were successfully stored in the DB.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-14 19:12:26 +01:00
Julien Eluard 13b6295469
[Fixes #7213] Properly handle universal links in status
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-01-14 10:37:32 +01:00
Andrey Shovkoplyas 40aff1da8d
[#7158] EIP1193 (new ethereum provider)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-01-11 19:59:20 +01:00
Andrey Shovkoplyas d38fa87818
fixed kyber extension UI
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-01-11 19:58:18 +01:00
Roman Volosovskyi f18886cf52
Remove misleading comment related to login flow 2019-01-11 19:15:25 +02:00
Andrey Shovkoplyas c9c778c063
fixed wallet settings hook screen on iphone x
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-01-11 12:54:52 +01:00
Julien Eluard a4efc661e1
Use better label for system browser
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-01-11 09:01:15 +01:00
Igor Mandrigin f5bfd63f0e
[Mobile] Show status-go version on separate line in About.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-10 13:41:04 +01:00
Roman Volosovskyi aceea457ce
[slow sign in] Chats preloading
10 last chats are loaded to `app-db` before showing `:home` screen, in
result a user will not see two consequent activity indicators. In this
case opening of `:home` screen is a bit slower but looks better from
UI/UX pov. As it is limited to 10 chats on initialization, the time
necessary for opening `:home` screen will not depend on a total number
of chats in `app-db` if an account contains 10+ chats.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-09 16:03:21 +01:00
Andrea Maria Piana b56fd2e29f
Show popup when device is not targeted.
When someone is sending a pfs message to us but did not include our own
device, a pop up is shown propmting the user to connect with the user.

The reason for receiving messages that are not targeting our devices are
various:

1) The account was just recovered (which means it is a new installation
id)
2) More than 3 devices are in use (we only keep max 3 devices in sync)
3) The sender has used an old bundle which does not include the current
device

Eventually we will reduce the likelihood of this scenario happening, but
we can't dismiss it completely.

It's only enabled when PFS is enabled.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-01-09 09:36:36 +01:00
Andrea Maria Piana ad99ed2a28
Allow toggling pfs in dev-mode
This commits allow users to toggle pfs in dev-mode (it is already used
for pairing and group chats).

Once enabled direct and public messages sent will only be received by
users running >= 0.9.32.

Also this does not guarantee PFS (both devices need to have it enabled
it), and there still some UX work to do to ensure that, but it is useful
for testing.

A warning is displayed explaining the limitations when enabling.
2019-01-09 09:34:51 +01:00
Roman Volosovskyi 2777809db9
enable saving password on android
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-08 17:40:00 +01:00
Andrea Maria Piana 3e761c3b85
Extend message hash confirmation for group chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-01-08 13:59:30 +01:00
Andrea Maria Piana e8069f523d
Move group chats to their own topic
This commit moves group chats to their own topic, based on the randomly
generated chat-id. It falls back on the discovery topic for those peers
who we can't fingerprint the version, for backward compatibility.
2019-01-08 13:58:41 +01:00
Andrea Maria Piana 881691fbc3
Add joining of group chats
Members will now have to explicitly join a group chat to start receiving
messages from it.

Messages are still sent to users who have not joined for backward
compatibility.
Group updates are unaffected.
2019-01-08 13:58:40 +01:00
Andrea Maria Piana a52f3d4d08
Limit number of participants in group chat to 10 2019-01-08 13:58:38 +01:00
Pedro Pombeiro 9d21cf143e
Add Send Logs command. Closes #6710
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2019-01-08 09:48:56 +01:00
Roman Volosovskyi cdf8dc043a
[#7192] fix autologin switch behaviour on wrong password
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2019-01-07 17:35:18 +01:00