Commit Graph

3654 Commits

Author SHA1 Message Date
Richard Ramos 277f65b94d
fix: display the value to sign as a bytes32 hex string if the data is 66 chars long
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-28 19:36:06 +02:00
Roman Volosovskyi f6dde28c1a
[#10432] Fix adding watch-only acc in keycard multiacc 2020-04-28 16:07:56 +03:00
Richard Ramos 5e1bd9ff48
fix: add debounce to "Done" button in the recipient selection dialog
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-28 12:33:03 +02:00
Gheorghe Pinzaru 38125173cb
Add Quo component library base
Add text component

Add header component

Change animated root ns

Add spacing design tokens

Add components preview

Add Readme

Add safe area components

Use reanimated from component library

Add colors tokens

Add inherit style for text

Add animated header component

A view with header which can be animated on scroll, used in walled, profile and contact screens

Persist previews navigation state

Rename component library into Quo

Document colors

Extend readme

Header handle long titles

Add InterStatus as monospace font

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-04-28 11:35:06 +03:00
Andrey Shovkoplyas 0a4547e652
[#10418] Can login to account just via tap upon it from `Your keys` view
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-28 10:01:06 +02:00
Andrey Shovkoplyas f73754af34
[#10385] [perfromance][chat] Optimize input field in chat
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-27 17:42:48 +02:00
Pascal Precht f280d5a90e
Refactor delete account algorithm to properly remove deleted account
Prior to this commit, deleted accounts would stay in the database but
set to `nil`. With this change accounts are properly removed from the database
when scheduled for deletion.

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-27 16:22:38 +02:00
Michael Bradley, Jr 5002b4c7bb
fix: prevent multiple taps on Register button from opening several tx during ENS registration
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-27 09:16:12 +02:00
Pascal Precht 3fce002213
fix(wallet/accounts): don't store derived account when it exists in app db
As discussed in #10326 and later in https://github.com/status-im/status-go/issues/1939, it turns out
that, when a user tries to add an account (from a seed phrase), while an account
with the same address (that the seed phrase would result in) exists in the application
state, the application would still go ahead and store the derived account in
status-go.

After that it still reports to the user that the 'Account already exits'.

This commit ensures that Status doesn't try to store the derived account when
the account already exists in the application database.

Fixes #10326

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-24 11:40:36 +02:00
Churikova Tetiana 57f1303c5f
bootnode e2e + translations + new checks in e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-04-23 17:48:05 +02:00
Roman Volosovskyi c805333bcd
[#10409] Invalid mnemonic on keycard acc creation
Usage of `Keycard.generateMnemonic` is removed from the code as we
always generate new multiaccounts on status-go side. Previously it was
misused and was called with intention of generation of mnemonic for an
existing keycard multiacc.
2020-04-23 14:17:25 +03:00
Andrey Shovkoplyas e5d53e65de
re-frisk 1.0
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-23 12:12:42 +02:00
Andrea Maria Piana 74f1405829
Handle when message confirmations arrive out of order.
In some cases message confirmations might arrive out of order, before
status-go calls the callback for a sent message.

This commit changes the behavior so that confirmations out of order are
not ignored and they are checked when the callback for sending message
is called.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-22 16:55:19 +02:00
Andrey Shovkoplyas f170512e8f
[#10396] Quoted text (using markdown) in dark mode is hardly visible
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-22 15:54:40 +02:00
Andrey Shovkoplyas c65ca5c92e
start loading messages earlier
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-22 15:52:48 +02:00
Andrea Maria Piana 7222b4f016
Fix replies emoji messages
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-21 14:59:23 +02:00
Andrey Shovkoplyas 37028c62a2
[#10369] App freezes on transaction signing after entering wrong password
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-20 20:03:44 +02:00
Andrey Shovkoplyas 7ad49c3670
[#10366] App Dark mode: signing phrase+message not visible when Signing message in Dapps
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-20 14:34:59 +02:00
Andrey Shovkoplyas de4e73a256
signals processing performance improvements [#10287]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-17 16:52:02 +02:00
Roman Volosovskyi c9308af4d8
[#10277] [keycard] Fix tx signing for derived accounts 2020-04-17 16:57:45 +03:00
Jonathan Rainville 4f120d99f7
fix: show message when loading new transactions instead of no tx msg
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-17 11:43:38 +02:00
Andrey Shovkoplyas cc70a7e8da
[#10203] Endless spinner when sending two TX in a batch in Dapp
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-17 10:31:39 +02:00
yenda aebe68fa1a
fix #8717 change ens welcome screen
english only
needs work for translations

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-17 10:29:41 +02:00
Andrea Maria Piana 28a2bca012
Get replies directly from status-go
Fixes: #10297
Fixes: #10274

Before if a reply was missing (for example if it the message replied to
arrived after the reply) status-react would subscribe to it dynamically
and use that. This caused some flickering issues when offloading the
messages from the database, as the message being replied to would be
offloaded and later loaded back again, triggering scroll and ending up
in a loop.

This commit changes the behavior so that status-go always adds the
reply to the message. In case the message being replied to arrives after
the reply, this will be included in the message update, and status-react
will replace it in the local storage.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-16 15:54:33 +02:00
yenda 23af624305
fix #10052 make finding the public key easier in profile
Signed-off-by: yenda <eric@status.im>
2020-04-16 13:33:49 +02:00
Michael Bradley, Jr 0a9919c991
fix: strip leading and trailing whitespace from QR Code data
All leading and trailing whitespace is now removed from strings derived from QR
codes, both in the case of `get-qr-code-data` (real camera) and
`qr-test-view` (mock camera).

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-16 12:02:11 +02:00
yenda 5307fdfbce
fix #10039
- wasn't able to reproduce the issue as it seems that all inputs are already
properly turned to lower case
- added :auto-capitalize :none property to the input field though to ensure
the keyboard doesn't force the user to start with an uppercase later

Signed-off-by: yenda <eric@status.im>
2020-04-16 00:50:02 +02:00
yenda 7046543533
fix autoCapitalize warning
Signed-off-by: yenda <eric@status.im>
2020-04-16 00:49:00 +02:00
Gheorghe Pinzaru c9e6f0aff7
Add animation to wallet header transition
Add reanimated lib

Wallet header animation

Animate android elevation

Move constants into styles

Ensure line width

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-04-15 17:41:15 +03:00
yenda a5a00e0a2c
fix #10058 wrong domain name shown when connecting .eth
add a check on the function that adds the stateofus domain to
usernames. if the username already contains a domain, don't
concat stateofus domain to it

Signed-off-by: yenda <eric@status.im>
2020-04-15 12:21:10 +02:00
Vitaliy Vlasov e11385e350
Add web3.keycard.signTypedData
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-04-14 20:07:35 +03:00
Pascal Precht 64580f0ad1
Show correct error message when signing typed data
Prior to this commit `sign-message-completed` effect would always use
the `wrong-password` label for error handling. We now ensure that `wrong-password`
is only used in case the error in question has a code `5`, which is
associated to unmatching passwords.

In any other case we'll use the `message` attached to the `error`.

Fixes #8275

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-14 18:17:43 +02:00
Gheorghe Pinzaru ea3735d938
Add profile screen in profile stack
Fixes #7437

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-04-14 13:42:12 +03:00
Andrey Shovkoplyas 45dae49fc0
qr testing mode, fixed qr pure address and EIP681 issues
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-14 11:53:01 +02:00
Andrea Maria Piana e813d1e4e4
Use ms instead of seconds
Fixes: #10249

We were using seconds instead of seconds, therefore the gap would always
end up as last.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-14 08:58:49 +02:00
Roman Volosovskyi fee6864d56
[#10272] Hide key-uid from keycard login screen 2020-04-13 14:25:40 +03:00
Roman Volosovskyi 962d0fb6cd
[#9665] Allow to change pin after keycard multiacc creation 2020-04-10 18:50:16 +03:00
Gheorghe Pinzaru c41727c1b3
Add minor improvments to text input
Set font-size and line-height for text-input

Add min height to seed phrase

Min 3 lines for phrase fixes #10121

Increase touchable area for text-input

Fix wrong styles on mailserver inputs

Fix wallet wrong styling on text input

Make seed phrase centred on ios

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-04-10 15:24:45 +03:00
Gheorghe Pinzaru 461b6cdb74
Update the UI for the group chat
Add search for contacts

Add format name inside contact

Add back button on create group

Fix current contact name and alias

fixup

Update UI for group chat profile

Fix tests

Ui clean up

fix change group chat name

Add leave group chat option

Hide options if user has left the chat

Use modal for all required chat screens

Add dark mode to group chats

Fix offset 10 pt off screen on presentation modals

Wrap keyboard avoiding view with safe area offset

Keep only leave chat

Fix search input focus

Make edit name active when title not changed

Fix lint

review cleanup

QA review

Fix group chat inviter name

Fit flat list into container

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-04-10 13:58:04 +03:00
Roman Volosovskyi 8b9a245f54
[#10275] Can't finish card setup if creating card flow is canceled on PUK / Pairing code screen 2020-04-09 16:59:27 +03:00
Roman Volosovskyi 8b4bc0290a
[#10199] fix No message when sending funds in 1-1 chat with keycard 2020-04-09 11:34:30 +03:00
Jakub Sokołowski 0cc7ec92bd
fix displaying of version and build number in app
Changes:
- Includes `VERSION` file in source for `jsbundle` derivation
- Includes `BUILD_NUMBER` file and it's generation scripts
- Includes minimal `.git` files to make `git rev-parse --short HEAD` work
- Implements `ignoreVCS` for `mkFilter` to be able to include `.git` files
- Adds missing `git` and `bash` to `buildInputs` for `jsbundle` derivation
- Dropped `bash -c` from Clojure code calling `git`

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-08 22:55:53 +02:00
Andrea Maria Piana 55a955d8dd
Load messages on will-focus
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-08 17:45:52 +02:00
Roman Volosovskyi 19fdced2bc
update tooltip in recover view
Signed-off-by: Serhy <sergii@status.im>
2020-04-08 13:01:42 +03:00
Andrea Maria Piana c2d129d04e
Fix mark as read for hidden messages
If a message is hidden and is not currently loaded, it will not be
marked as read, resulting in the count being always positive. To avoid this
we always mark it as read, and from the backend we return whether it has
been marked as read or was already seen.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-07 13:27:06 +02:00
Andrea Maria Piana a914334fed
Fix incorrect loading of messages
In some instances when receiving messages from a mailsever in the chat
you are in, the flag `all-loaded?` would not be reset, meaning that
messages not in the current view would be added to the db, but would not be seen until actually
reloading the chat (go back home, open again).

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-07 11:42:41 +02:00
Roman Volosovskyi 9df455088e
[#8567] Accessible tooltips for e2e tests 2020-04-07 09:21:36 +03:00
Andrea Maria Piana e7a213fe95
Validate enode url when blank
Fixes: #7333

Validates enode url if blank as well, so `Save` button is disabled.
Handles as well if for any reason invalid values are passed.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-06 09:20:18 +02:00
Churikova Tetiana 9b6e7cad6d
basic e2e keycard
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-04-03 17:11:58 +02:00
Roman Volosovskyi 151b6a3cbf
Disable keycard on ios 2020-04-03 11:42:55 +03:00
Roman Volosovskyi 45b296a2c5
[#10243] Handle wrong pin on keycard account creation 2020-04-02 15:17:43 +03:00
Roman Volosovskyi f1e83158d9
Testing menu for keycard e2e tests 2020-04-02 15:10:29 +03:00
Andrea Maria Piana e5dbac877e
Handle new universal links
Fixes: #10192
Fixes: #10083
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-01 21:51:42 +02:00
yenda b344322475
fix ens contenthash resolution
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-01 13:52:04 +02:00
yenda 430a8fb27c
fix ens contenthash resolution
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-01 13:02:48 +02:00
Andrey Shovkoplyas 3d1a1c5be9
[#10077] Can't accept agreement on ENS registration when app translated into French
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-01 12:22:16 +02:00
Gheorghe Pinzaru 12bcd79c2c
Clear text input on blur
Fixes #10237

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-31 15:59:35 +03:00
Volodymyr Kozieiev 9e5cc74ea9
Loading indicator shown when prices loading is in progress
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-03-31 15:06:18 +03:00
yenda 49fd306f25
disable biometric auth when device can't save password (rooted)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-31 14:04:27 +02:00
Andrey Shovkoplyas fc1bc48fdc
ignore back button on signing panel
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-31 12:53:09 +02:00
Andrea Maria Piana dcca501b0a
Enable waku node default
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-03-30 10:59:29 +02:00
Serhy a7c2ecda42
Remove label 2020-03-26 13:18:57 +01:00
Churikova Tetiana 68f0a02cbc
fix e2e
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-26 10:36:21 +01:00
Andrey Shovkoplyas a447bed4ac
dark mode 2020-03-26 08:34:13 +01:00
Roman Volosovskyi 3760d2a2e5
[#10197] More retries when requesting balances 2020-03-25 17:10:21 +02:00
Roman Volosovskyi c9cdd48849
[#9705] fix java.lang.IllegalArgumentException: 16 > 0 after entering PIN code 2020-03-25 16:47:18 +02:00
Artur Zabeyvorota cda7564bbe
[#9657] system messages ui changes in group chat
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-03-25 15:33:41 +01:00
Gheorghe Pinzaru 81070f07b0
Fix android tabbar animation
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-25 16:10:46 +03:00
Vitaliy Vlasov 85d0022b26
Use community WebView
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-03-24 18:07:03 +02:00
Vitaliy Vlasov 86d85df5d3
Use atom for webview ref instead of storing it in re-frame's db
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-03-24 11:48:41 +02:00
Roman Volosovskyi b6e0bb0a0e
[#9686] Fix brief change of identiocon on keycard login 2020-03-24 08:43:12 +02:00
Andrey Shovkoplyas 2272fafc05
[#9962] Update prices in fiat more frequently
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-21 12:15:54 +01:00
Roman Volosovskyi 53883e4be1
[#10183] Fix balance updating on first transaction 2020-03-19 15:50:46 +02:00
Roman Volosovskyi fadda87ac2
[#9680] Show proper storage for keycard accounts 2020-03-19 14:25:11 +02:00
vidal cd02175144
Adding BTU (BTU Protocol) token
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-19 12:14:38 +01:00
Gheorghe Pinzaru ed8b5b265b
Handle hardware back on popover and bottom sheet
Closes all popovers. Fixes #9992

Add hardware back button on bottom sheet

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-19 13:20:54 +03:00
Roman Volosovskyi ebf2600fdc
[#10101] Reintroduce account generation on keycard multiaccount 2020-03-19 11:42:24 +02:00
Gheorghe Pinzaru d24f4690b8
Fix failing test for navigation task
Handle default case for ens confirmation

Before navigation away the registration state is cleared and case does not handle default value for nil

Remove extra space on home button

Remove outdated options

Fix e2e

Change navigation replace arguments as per rn5

Fixes #10178

Dispatch navigation later

Do not restore state for react-native-screens

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-18 17:47:03 +03:00
Volodymyr Kozieiev d2478bbd34
use 'next' label when sending transaction requires a sign
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-03-18 16:43:05 +02:00
Gheorghe Pinzaru a2b2f55996
Use react native screens on ios and android
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-17 19:56:26 +03:00
Gheorghe Pinzaru d823a2082a
Update react navigation and rework wrapper
Get rid of navigation wrapper

Use new API to declare navigation

Update tabbar component

Update to use new navigation events

Add ios presentation modal

Navigation cleanups

Android specific updates

Use letsubs for stack subscriptions

Keycard did load event backward compatibility

Fix tabbar and wallet on-focus bad rebase

Do not keep welcome screen into the stack

Comment outdated test

Fix rebase on home PR

Cancel back button on screens which can't be popped

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-17 11:52:31 +03:00
Roman Volosovskyi 61d465a343
Ensure that keycard flows continue when card is already connected
This commit ensures that a user can flawlessly interact with a keycard,
regardless of the moment when the card was tapped to the device. To make
it so:
- in case if the card was tapped before the interaction the user doesn't
  need to re-connect card to continue
- in case if the connection with the card was lost during the interaction
  the application restarts that interaction as soon as the card was
  connected again (unless the user canceled the flow)
2020-03-16 14:58:25 +02:00
Andrea Maria Piana 947b1c2b2e
Correctly load messages when on tab
While on tabs we want a slightly different behavior:
Unread counter should increase, message should be loaded in the chat
On moving to the chat tab from one of these tabs, it should mark the
messages as seen.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-03-16 13:34:07 +01:00
Andrea Maria Piana 619e176087
Set waku mode dynamically
This commit allows setting waku-mode and waku-bloom-filter-mode
dynamically.
It requires a relogin for the changes to take effect.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-03-16 08:09:27 +01:00
Andrey Shovkoplyas b8861c6c14
[#10141] Unable to login to multiaccount if it is already restored as account in another multiaccount (IOS)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-12 14:21:56 +01:00
Andrey Shovkoplyas 3cf282e75a
fixes home loading indicator
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-12 12:33:45 +01:00
Roman Volosovskyi 4f95e0bcf4
[#10011] Listen to nfc state changes 2020-03-12 09:04:41 +02:00
Andrey Shovkoplyas c4a7849c9d
chat screens performance
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-12 07:39:08 +01:00
Gheorghe Pinzaru 826b7df982
Use new keycard flow with animation
Remove screens that are not needed for new flow

Replace keycard flows with new interaction

If card connected start processing on sheet open

Remove outdated pin screens

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>

Do not hide sheet when tag was lost during generating keys

Change cancel action for no-key on card recovery

Change pin screen when loading keys to an initialised card

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-11 17:21:24 +03:00
Roman Volosovskyi cc520a1f27
[#9987] Stop fetching new blocks while app is not active 2020-03-11 09:17:58 +02:00
Andrea Maria Piana c2e195979c
Use first-not-visible message instead of last-visible
Using last visible message ignores an edge case:

If we are on top of the list (i.e oldest message), any received message
should be appended (it must be visible).

When using last-visible message for this, a newer message will have <
clock-value, therefore it will be offloaded to the database, which is
not correct.

Instead if we use the first-not-visible message, this should not be a
problem. If we are on top of the list, this will be nil, and therefore
the message will be appended.

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-09 12:21:19 +01:00
Roman Volosovskyi 51c80a8f8e
[#9630] Clear keycard's app info before showing login screen 2020-03-06 14:22:34 +02:00
Andrey Shovkoplyas 9b1150df29
temporary fix for contacts signal
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-05 13:53:24 +01:00
Andrey Shovkoplyas 5f2b29ee52
[#10119] Android app UI is slow after backgorund
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-04 14:56:55 +01:00
Churikova Tetiana 696ebbf67e
one accessibility-id for account name input
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-03-04 11:31:32 +01:00
Gheorghe Pinzaru 6d3ef2282f
Redirect to multiaccounts only on explicit logout
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-04 11:53:17 +03:00
Andrey Shovkoplyas 5301d421f2
[#10084] Make commands in chat available on Ropsten for e2e builds
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-03-04 09:49:54 +01:00
Churikova Tetiana 4d0fd4389e
access-id + start new chat fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-03-03 16:02:45 +01:00
Serhy f5488e1f61
Update e2e
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-03 14:28:02 +01:00
Andrey Shovkoplyas 0e4c7a23bf
[#10089] Override the behaviour of public chat' unread messages indicator 2020-03-03 14:27:55 +01:00
Andrey Shovkoplyas f645d3fbb5
accessibility-labels 2020-03-03 12:51:28 +01:00
Andrey Shovkoplyas a79a72fccb
[#9749] Support importing private key and seed 2020-03-03 12:51:28 +01:00
Roman Volosovskyi c9486dc634
[#10115] Trim address/name on adding 1-1 chat 2020-03-02 18:18:23 +02:00
Andrey Shovkoplyas d64ba1b540
[#9789] Add a loading indicator and button to username input of start new chat
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-02 12:35:05 +01:00
Gheorghe Pinzaru 87ce82e10a
Allow 2 lines for user name on intro screen
Add max-height to scroll-view

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-01 11:01:53 +03:00
Gheorghe Pinzaru 3ad9cfa269
Rework bottom-sheet component
Fixes #9848

Update initial content height

Review followup

Fix sheet disappear during drag

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-28 10:46:54 +03:00
Vitaliy Vlasov 8c23975ad7
Do not use naked-address when hashing messages prior to Keycard signing
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-02-26 18:56:39 +02:00
Andrea Maria Piana 21ef5a68b8
Add mark all read
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-26 13:35:31 +01:00
Gheorghe Pinzaru c9d1adbc27
Add animation for keycard interaction
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-26 14:48:42 +03:00
Vitaliy Vlasov bca946aa78
Add missing keycard event handlers 2020-02-26 12:14:43 +02:00
Andrey Shovkoplyas 6e3784d671
[#9886] App shows 'buy' for stickerpack user owns when pressing on sticker in chat
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-26 09:51:33 +01:00
Roman Volosovskyi 999bb9940e
Fix leftover after #10073 changes 2020-02-25 15:45:44 +02:00
Gheorghe Pinzaru ff1022f337
Do not change keychain method on auth-bio fail
Do not change auth method if user does not save password

Sanity check - fix only for biometric method

Check for new auth method only when save password

ScrollView Persist taps on login view

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-25 14:27:10 +03:00
Gheorghe Pinzaru f18e7d746b
Separate hardwallet events into multiple ns
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-25 14:06:18 +03:00
Roman Volosovskyi 9a713148c7
[#10002] Follow up after #10008
- ensure that `:key-uid` is always added to `app-db` with proper case
- tests which cover multiacc duplication case
2020-02-25 12:27:14 +02:00
Roman Volosovskyi 59184b12d0
[#10012] Show remaining PIN attemts only after entering wrong PIN 2020-02-25 09:37:10 +02:00
Roman Volosovskyi 807c8377d4
Clean up after recent tx history changes:
- unused code is removed
- "load more" button is hidden for a new account
- each next page of tx history contains 20 transfers
  unless thare is no enough transfers in history
2020-02-25 09:27:18 +02:00
tbenr eb1cc65a3d
watch only qrcode and already exists check
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-02-24 16:33:21 +01:00
tbenr 81c4d16f9f
componentizied input-search and added in curency and token
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-02-20 11:40:40 +01:00
Gheorghe Pinzaru 40c12241e0
Add bottom sheet to chat top bar options
Add bottom sheet to message long press

Make whole bottom sheet panel dragable

Fixes #9846

Use spring animation for bottom size of bottom sheet

Remove extra border height from bottom sheet

The height is already added to content height

Remove extra set value for animation

Timing and spring already mutates the animation value

Reuse chat bottom sheet in chat list

Update the size of new chat bottom sheet

Add remove to group chat

add chat id for clear history to be reused outside of current chat

Fix public chat bottom sheet missing destructoring

Replace icon for chat fetch history

Could be rotated arrow up, but this requires special handling in icons or list item

Fix remove public chat event

Dismiss keyboard on sheet mount

iOs rename arrow down icon

Fix unusable screen after close of bottom shet

The callback is called after 1.5 seconds after the animation starts. This happens because spring animation takes more time on animating post animation oscillations.

Add accessibility labels

Fix bad message destructoring

add view profile on long message press

Reset bottom value after animation

Remove pending circle from avatar in chat sheets

Do not show open profile on own messages

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-19 14:29:33 +03:00
Gheorghe Pinzaru 505ef626cc
Increase height of recovery word text input
Fixes #9658

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-18 18:00:07 +03:00
Andrea Maria Piana a2af83f034
Add option to enable waku-mode
This commit adds an option to enable waku mode through ENV settings.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-17 18:22:50 +01:00
tbenr 705b80ef8f
improvement on snackbar by considering login time
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-02-17 15:50:40 +01:00
Roman Volosovskyi 965dce053d
[#10041] Request token price after adding 2020-02-14 18:32:54 +02:00
Roman Volosovskyi 3f6051c22b
[#10044] Responsive new chat input 2020-02-14 17:46:43 +02:00
Andrea Maria Piana b30d002efb
Fix malformed file
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-14 16:43:10 +01:00
Andrea Maria Piana 4734a4ee04
offload chat messages
This commit does a few things:

1) Messages are offloaded from any chat once we go back from the home.
This allows us to ignore any message that is coming in from a chat we
are not currently focused.
2) After 5 seconds of not-scrolling activity, any received message that
is not currently visible will be offloaded to the database.
3) Similarly received messages that are not visible will be offloaded to
the database directly

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-14 15:56:28 +01:00
Volodymyr Kozieiev e6c859dd2d
Pending stickers status maintains after app restart
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-02-13 15:02:00 +02:00
krzyzowiec 553f2c0e01
Fixed cryptokitties loading/ordering
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-13 13:45:14 +01:00
Jakub Sokołowski 1ea49a80fc
rename get.status.im to join.status.im
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-11 18:09:21 +01:00
Andrey Shovkoplyas c1eb98691c
temporary fix for slow chats with long ens names
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-11 11:00:18 +01:00
Andrey Shovkoplyas ff41394d9e
back to infura
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-11 10:59:28 +01:00
Gheorghe Pinzaru 0a7dc8fdd2
[#9902] Make Sign out go to Multiaccount overview 'Your keys' screen
Fix e2e tests

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-11 10:34:56 +03:00
Roman Volosovskyi b2a70c8331
Disallow recovering of an existing multiaccount
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-10 15:11:39 +01:00
Andrey Shovkoplyas 481092dd25
[#8797] Error scrollToIndex when tapping [Fetch messages] twice in a row
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-10 14:08:03 +01:00
Andrey Shovkoplyas 671e5f4540
[#10005] Show only 1 line of ens name
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-10 12:12:45 +01:00
Roman Volosovskyi 39ea685adc
[#9975] Do not throw exception on invalid ens recipient 2020-02-07 18:43:07 +02:00
Roman Volosovskyi 8a612a3807
[#9975] Trim recipient address before validation 2020-02-07 16:29:57 +02:00
Andrea Maria Piana 3d4ee8fe6a
Check for empty public key
We check that ENS does not return an empty public key. In addition to
that validation is done on status-go in order to avoid saving the chat.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-07 14:43:54 +01:00
Andrey Shovkoplyas 06025ce26f
[#9961] Update glossary view
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-07 13:38:29 +01:00
Andrey Shovkoplyas 25fd297573
fixes ENS to new registry for verification
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-07 10:41:41 +01:00
Dean Eigenmann 7c5decbbfc
uses new ENS registry. see: GHSA-8f9f-pc5v-9r5h 2020-02-06 17:02:14 +01:00
Andrea Maria Piana b1ec418133
Resolve ENS names in the background
This commits resolves ENS names in the background, implementing retries
and exponential backoff.
All is handled in the background in status-go.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-05 11:12:06 +01:00
Andrey Shovkoplyas 76f9703afe
update prices for v1
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-04 15:05:14 +01:00
Gheorghe Pinzaru 6ad84f4232
Update your keys screen
Fixes #9782

Change theme of new key action

Update translations

Fix e2e tests

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-04 13:51:29 +03:00
Roman Volosovskyi ef49699222
[#9942] Upgradable paths in configs
Storing absolute path for different configs breaks compatibility on iOS
as app's dir is changed after upgrade. The solution is to store relative
paths and to concatenate it with `backend.rootDataDir`. The only
exception is `LogFile` as it is stored outside `backend.rootDataDir` on
Android. `LogDir` config was added to allow adding of custom dir for log
file.
Configs concerned:
`DataDir`
`LogDir`
`LogFile`
`KeystoreDir`
`BackupDisabledDataDir`
2020-02-03 20:34:40 +02:00
Andrey Shovkoplyas e0bafb842e
load more ui fix
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-03 16:38:35 +01:00
Andrey Shovkoplyas 6e9292c1e1
remove event duplication
Signed-off-by: yenda <eric@status.im>
2020-02-03 13:22:24 +01:00
Andrey Shovkoplyas c1245d7b1d
[#9954] Add 'view profile' to message long tap
Signed-off-by: yenda <eric@status.im>
2020-02-03 09:47:17 +01:00
Gheorghe Pinzaru 47732e7b5b
Remove contact indicator from userpic
Add contact indicator in 1:1 as a text. Fixes #9826

Fix e2e

explicitly define line height

On android and iOs line height is different, explicitly define so it will be the same in both platforms.

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-31 14:58:10 +03:00