Commit Graph

5571 Commits

Author SHA1 Message Date
Vitaliy Vlasov 1150626801
Remove signing/in-progress? flag
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-04-30 13:47:51 +03:00
Serhy e16ed6d802
Fix e2e tests
Signed-off-by: Serhy <sergii@status.im>
2020-04-29 18:31:02 +03:00
Andrey Shovkoplyas 5dc6b77ee8
do not scroll input
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-29 16:51:27 +02:00
Andrey Shovkoplyas fcf1a91507
[#10377] [perfromance] Improve sign in flow
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-29 16:48:30 +02:00
Roman Volosovskyi 309987cc89
[#10443] Remove sensitive information from keycard logs 2020-04-29 14:58:12 +03:00
Roman Volosovskyi 96ed1fdeb9
[#10431] Show pending txs in keycard multiacc 2020-04-29 14:56:17 +03:00
Roman Volosovskyi a6729ce8c5
[#10444] Fix keycard pin changing when card is not tapped 2020-04-29 14:55:28 +03:00
Jakub Sokołowski 7b6b620ceb
nix: use overlays instead of packageOverrides
Changes:
- Add `nix/DETAILS.md` for more in-depth info
- Rename some of `config.status-im` variables
- Drop `env` argument for Android build
- Use `overlays` instead of `packageOverrides`
- Move the `pkgs` overlay to `nix/overlay.nix`
- Move `nix/status-go/utils.nix` to `nix/tools`
- Make `shell.nix` use the `shells.default` only
- Use `default.nix` as target for `nix/scripts/shell.sh`
- Make `nix/scripts/shell.sh` use `--attr` instead of `target`
- Drop the `target` argument in favour of using `--attr`
- Drop unnecessary `src` from `nix/mobile/ios/default.nix`
- Move `mkShell` and `mergeSh` under `lib`
- Move `patched-go` package to `nix/pkgs` directory
- Move `gomobile` package to `nix/pkgs` directory
- Move `ANDROID_ABI_SPLIT` to `config.status-im.android.abi-split`
- Move `ANDROID_ABI_INCLUDE to `config.status-im.android.abi-include`

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-29 11:53:33 +02:00
Churikova Tetiana b265034695
kk login and restore e2e 2020-04-29 11:26:50 +03:00
Roman Volosovskyi 7ebd9dc899
Regular multiacc as a backend for simulated keycard 2020-04-29 11:26:49 +03:00
yenda 35dd4b015b
universal link fix
fix for universal link not opening properly when app was closed with
back button, returning nil instead of the url

Signed-off-by: yenda <eric@status.im>
2020-04-28 22:25:37 +02:00
yenda 5608d649b0
notifications: enable local notifications
- only show notifications when app is in background
- open the user chat upon tap on notification
- remove chat from notifications on tap or dismiss notification
- keep the service alive on host destroy
- enable local notifications
2020-04-28 22:25:09 +02:00
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
Andrey Shovkoplyas b891b1b98b
re-frisk 1.2.0
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-28 17:23:27 +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
Jakub Sokołowski 439643daa4
undo removing of preBuild gradle stop
This partially reverts commit 548fe04f54.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-24 20:15:02 +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
Jakub Sokołowski e1eda363e6
nix: upgrade 2.3.2 > 2.3.4
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-24 11:18:49 +02:00
Jakub Sokołowski 68b9b18cae
nix: refactor android sdk package
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-24 11:18:36 +02:00
Jakub Sokołowski 548fe04f54
gradle: remove unused buck configuration
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-24 11:18: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
Jakub Sokołowski 2a4641684f
fix Gradle plugin by upgrading to 3.5.3
We tried upgrading to 3.6.0 but it made app fail to start:
https://github.com/status-im/status-react/pull/10402

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-23 15:38:03 +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
Andrea Maria Piana ed87e350ae
[Fixes: #10390] Re-enable group chat on re-invite
If we get re-invited to a chat that we left, the chat will be shown
again.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-23 12:46:03 +02:00
Andrey Shovkoplyas e5d53e65de
re-frisk 1.0
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-23 12:12:42 +02:00
Andrey Shovkoplyas da038aaa67
bump re-frame and remove 16ms delay for reagent tick
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-22 17:29:08 +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
Jakub Sokołowski 8571b95db3
nix: upgrade nodejs to 12.16.2
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-22 15:42:05 +02:00
Roman Volosovskyi 9d59d82869
Revert "gradle: upgrade plugin to 3.6.0"
This reverts commit 938f3df843.

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-22 14:11:05 +02:00
Churikova Tetiana d9862e2cef
upgrade e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-04-22 13:17:03 +02:00
Jakub Sokołowski eb194acce6
upgrade fastlane and plugins
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-22 11:57:29 +02:00
jinhojang6 edceafa526
Update translations
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-22 08:56:45 +02:00
Jakub Sokołowski 34c30e0cb9
react-native: avoid Haste module naming collision warnings
Warnings like this:

jest-haste-map: Haste module naming collision: StatusIm-Mobile
  The following files share their name; please adjust your hasteImpl:
    * <rootDir>/mobile/js_files/package.json
    * <rootDir>/package.json

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-21 22:53:27 +02:00
Jakub Sokołowski e0b5bfc7d8
nix: completely remove legacy TARGET_OS variable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-21 22:30:34 +02:00
Jakub Sokołowski 918b03d459
nix: move nix-purge code to nix/scripts/purge.sh
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-04-21 22:30:33 +02:00
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