Commit Graph

5528 Commits

Author SHA1 Message Date
Jakub Sokołowski 4670ae7549
makefile: add missing TARGET for android-clean
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-21 22:30:33 +02:00
Jakub Sokołowski 938f3df843
gradle: upgrade plugin to 3.6.0
This is to fix incompatibility with new Gradle 5.6.4:
https://developer.android.com/studio/releases/gradle-plugin#updating-gradle

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-21 22:30:10 +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
Andrea Maria Piana 387b9cb37a
Don't send extra contacts from status-go
Previous we sent all contacts from status-go, also those that we only
create to memoize name/image.
This commit changes the behavior so that only contacts that have custom
fields are received by status-react (added by us, added by them,
blocked, with a verified ENS name)

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-21 09:15:32 +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
Jakub Sokołowski 5380fcd68f
upgrade Nix packages, and a lot of dependencies
Notable version upgrades:

- Go: 1.13.4 > 1.14.0
- GoMobile: 20190806 > 20200329
- NodeJS: 10.17.0 > 12.0.0
- Yarn: 1.19.1 > 1.22.4
- Gradle: 5.1.1 > 5.6.4
- OpenJDK: 1.8.0-222 > 8u242-b08
- Clojure: 1.10.0.411 > 1.10.1.507

OpenSSL is still stuck on 1.0.2u due to Android SDK.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-20 11:52:44 +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
Jakub Sokołowski d68b757589
upgrade Xcode to 11.4.1
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-16 22:13:47 +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
Jakub Sokołowski 035e07f7be
upgrade to Xcode 11.4
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-16 12:56:03 +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
Roman Volosovskyi c94977c8d3
[keycard] Faster multiacc creation and login 2020-04-16 12:11:16 +03:00
Jakub Sokołowski ae411a432f
fix Gradle permission errors during build
Specifically:
org.gradle.internal.service.ServiceCreationException: Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
Caused by: org.gradle.api.UncheckedIOException: Failed to create parent directory '/build/project/android/.gradle/5.6.4' when creating directory '/build/project/android/.gradle/5.6.4/fileHashes'

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-16 10:47:17 +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
Churikova Tetiana 7a89b2852a
fix nightly e2e + new scan EIP qr e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-04-15 16:28:58 +02: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
Jakub Sokołowski 1b43e4c16b
fix Android build on MacOS due to lack of OS var
changes:
- Drop use of /dev/stderr, doesn't work on MacOS
- Use uname -s instead of $OS which was removed
- Remove leading whitespace that fucks with Nix
- Check if `/etc/os-release` exists before reading it

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-14 18:31:52 +02:00
Jakub Sokołowski 5c8a8e83ac
show proper error if nkd-build is missing
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-14 18:31:36 +02: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
Jakub Sokołowski 435c6a7943
update help messages in Makefile targets
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-14 15:08:19 +02:00
hesterbruikman a1a64ce5f4
Update en.json
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-14 15:00:27 +02:00
hesterbruikman 75c5a13d7b
Minor copy changes wallet
Set default currency > Set currency
These three words prove that a transaction is safe. > You should see these 3 words before signing each transaction
You should see these words before signing each transaction. If you don’t, cancel and sign out. > If you see a different combination, cancel the transaction and sign out

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-14 14:59:39 +02:00
jinhojang6 6424c59c8b
Update Russian, Korean, and Chinese translation
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-14 14:58:19 +02:00
Andrea Maria Piana a9c580e82c
Increment retry count when ENS fails to verify
When an ENS name fails to verify, we should increment the retry count so
that it back offs. All the changes are in status-go.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-14 14:26:01 +02:00
Serhy 453c1bf824
Logging in networks
Signed-off-by: Serhy <sergii@status.im>
2020-04-14 14:50:33 +03: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
Churikova Tetiana 966b6e5a33
refactor group e2e + send_stt_in_1_1 + deleted obsolate e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-04-10 13:05:24 +02: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
Jakub Sokołowski 47eb863a3c
nix: add cleaning up status-go sources
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-07 18:19:21 +02:00
Jakub Sokołowski 5b1e0b3bdf
nix: fix status-go source override
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-07 18:19:12 +02:00
Churikova Tetiana 901f091929
tooltips e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-04-07 17:00:58 +02:00