Commit Graph

5692 Commits

Author SHA1 Message Date
Jakub Sokołowski 42fb40476c
nix: reafactoring of status-go builds
Changes:
- Fixed `nix/status-go/desktop` builds
- Dropped nimbus wrapper for `status-go` for now
- Split `status-go` builds into subfolders: `mobile`, `desktop`
- Fixed shells for desktop builds: `linux`,`macos`,`windows`
- Added `make status-go-*` targets for building them
- Moved source management to `nix/status-go/source.nix`
- Moved `nix/status-go/build.nix` into `nix/status-go/mobile`
- Moved `nix/desktop/cmake/qtkeychain` to `nix/pkgs/qtkeychain-src`
- Moved `nix/desktop/linux/linuxdeployqt` to `nix/pkgs`
- Moved `nix/desktop/linux/appimagekit` to `nix/pkgs`
- Dropped `nix/tools/mkShell.nix` since it did almost nothing
- Dropped `nix/desktop/cmake/snorenotify` since it's broken
- Moved setup from `nix/tools/mkShell.nix` to `nix/shells.nix`
- Simplified `nix/mobile/ios/status-go-shell.nix`
- Simplified `nix/status-go/default.nix`
- Updated the `nix/DETAILS.md` and `nix/README.md`
- Moved known issues to `nix/KNOWN_ISSUES.md`
- Improved output of `nix/scripts/build.sh`

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-04 20:55:07 +02:00
Jakub Sokołowski 3116b04a34
nix: fix installing Nix
we didn't source profile after running nix/scripts/setup.sh

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-04 18:33:31 +02:00
Gheorghe Pinzaru d35deefcb5
Use new component to animate headers
fix header title spacing

Remove translate animation

Add press for profile header

Rebase

Attempt to fix e2e

Add back button accessibility-label

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-04 17:08:33 +03:00
Gheorghe Pinzaru 01452794a1
Add text input and tooltip components
Add tooltip component
Add text input component
rename

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-04 16:38:26 +03:00
Andrey Shovkoplyas a32c94b090
add make re-frisk
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-04 13:47:33 +02:00
Andrey Shovkoplyas d91067bb96
removed check spec, and moved db, events and navigation from ui to root folder 2020-05-04 12:23:19 +02:00
Andrey Shovkoplyas d3860508ca
hot reload and re-frisk 1.3.1
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-04 11:22:19 +02:00
Churikova Tetiana 3744dedf52
small fix for e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-05-04 11:12:29 +02:00
Michael Bradley, Jr 00501f44b9
feat: persistent send/receive action at bottom of asset list
When the account card is scrolled out of view a send/receive button group
appears at the bottom of the asset list; uses native animation to raise and
lower the button group into and out of view.

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-04 11:00:00 +02:00
Jakub Sokołowski 6aba34b82d
fix parsing of maven package cache
Depending on Maven version the file that contains name of repository
will be named _remote.repositories or _maven.repositories.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-04 10:40:08 +02:00
Gheorghe Pinzaru c74beec17a
Remove unused code
Fix tests, return tribute to talk

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-04 09:09:48 +03:00
Jakub Sokołowski a40d599e55
fix broken nix-update-clojure by always using GNU grep
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-03 23:37:04 +02:00
Jakub Sokołowski 8b1fbe228d
fix gradle warnings about deprecated build directive
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-03 21:40:26 +02:00
Jakub Sokołowski 149b37f75b
upgrade Kotlin: 1.3.11 > 1.3.50
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-03 18:44:15 +02:00
Andrey Shovkoplyas 6552669fac
fix crash on ios
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-02 11:42:14 +02:00
Michael Bradley, Jr 1bcf884c27
fix: display error and disable Update button if gas limit is less than 21000
Signed-off-by: Michael Bradley, Jr <michaelsbradleyjr@gmail.com>
2020-05-01 18:10:35 -05:00
Jakub Sokołowski e5add7b400
nix: re-add maven-inputs2nix.sh script
Was mistakenly removed in: d5ef2185
https://github.com/status-im/status-react/pull/10217

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-01 19:01:29 +02:00
Jakub Sokołowski 7a058594de
fix maven deps shell by ajusting arguments
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-01 12:37:52 +02:00
Churikova Tetiana 00422cec6f
interruption keycard flows e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-05-01 11:05:33 +02:00
yenda bf706e8fd2
move tests alongside their cljs counterpart
Signed-off-by: yenda <eric@status.im>
2020-04-30 18:07:17 +02:00
yenda d5ef218584
use shadow-cljs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: yenda <eric@status.im>
2020-04-30 15:43:46 +02:00
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