Commit Graph

6078 Commits

Author SHA1 Message Date
Serhy 55c606e966
Add check for xss in webview
Signed-off-by: Serhy <sergii@status.im>
2020-06-23 11:28:19 +03:00
Jakub Sokołowski de7ce0493b
nix: optimize garbage collection
In order to prevent `nix-store --gc` from removing too much I've:

- Added the `keep-outputs = true` setting to `nix/nix.conf`
- Fixed `nix/scripts/gcroots.sh` to make symlinks in `/nix/var/nix/gcroots`
- Made `nix/scripts/build.sh` and `nix/scripts/shell.sh` use it

This way when running `make nix-gc` most recently used shells and built
derivations won't be removed along with their dependencies.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-22 16:34:27 +02:00
Jakub Sokołowski dbb4b52a70
nix: make secretsFile argument optional
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-22 16:33:56 +02:00
Jakub Sokołowski 2862f4c772
nix: upgrade 2.3.4 > 2.3.6
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-22 16:33:55 +02:00
Serhy df3dec8863
Add auto-capitalize words to keyboard
Signed-off-by: andrey <motor4ik@gmail.com>
2020-06-22 12:43:54 +02:00
Richard Ramos a0bae67a53
fix: change amount-input field type to decimal-pad + words 2020-06-22 12:43:42 +02:00
Gheorghe Pinzaru ea346ffe65
Add accessibility label to Quo tooltip
Accessibility hide password only input

Do not hide all other elements, as only password should be secured

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-22 12:58:24 +03:00
Andrea Maria Piana 1714970e4e
Use Infura token pulled from environment
This way we can use different token for e2e, release, and devel builds.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-19 19:26:40 +02:00
Serhy 095e8e0fc2
Accessibility to block button
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-19 18:17:07 +02:00
Andrey Shovkoplyas ceaf44b184
[#10312] Blocking user takes ~5-10s, and chats are emtpy during that time 2020-06-19 18:16:57 +02:00
jinhojang6 311fe270f3
Update translations
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-19 09:31:21 +02:00
Pascal Precht d26a9e2529
fix(multiaccounts/login): ensure log-level is updated correctly
As reported in #10127 there's an issue that the log level isn't properly
applied when changed through log settings UI.

Turned out that we're setting the log-level only once in the entire
lifetime of the application and that is during bootstrap.
When the log level is changed through the UI, we never actually update
the log level in the logger module.

To fix this, we just need to ensure that, whenever the log-level is changed,
we also call `log/set-level!` with the new level.

It should also be noted that, every time the log level is changed through
the UI, the user is logged out, so one place to update the logger is
after very successful login.

Fixes #10127

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-18 17:56:03 +02:00
Andrey Shovkoplyas 6274a1a3af
[#10253] Bottom system panel is white on dark mode on Android
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-18 15:27:10 +02:00
Vitaliy Vlasov 333372451e
Update webview to 10.2.3
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-06-18 15:56:21 +03:00
Jakub Sokołowski 98280dc45b
make go-maven-resolver fail when any resolution fails
Before errors like this:
```
finder.go:91: error: 'no pom data' for: <Dep ID=com.afollestad.material-dialogs:commons:0.9.6.0 O=false S= >
```
Would be printed to `stderr` but exit code would not be non-zero.

Now the whole `make nix-update-gradle` target should fail if any
dependency resolution fails.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-18 12:10:08 +02:00
Churikova Tetiana 1815ab49aa
added logging for e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-18 10:24:18 +02:00
Serhy 44c7b7af28
Update e2e
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-17 18:32:38 +02:00
Andrey Shovkoplyas cbf125e4b5
[#10699] Balance of custom tokens is not updated until app restart 2020-06-17 18:32:26 +02:00
Gheorghe Pinzaru 9ce6fea6d5
Fix missing ref on search input
Fixes #10833

Cleanup search on blur if no chat found

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-17 18:12:56 +03:00
jinhojang6 e986f9e3db
Update translations
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-17 17:06:02 +02:00
Gheorghe Pinzaru c8c524b63e
Fix tooltip position in gas input
Fixes #10834

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-17 17:11:30 +03:00
Gheorghe Pinzaru 10237be747
Show search cancel on android
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-17 15:22:24 +03:00
Vitaliy Vlasov ce1ce1c9a6
Disable reload button on unsafe sites
Add refresh button check in respective e2e

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-06-17 13:02:39 +03:00
Andrey Shovkoplyas 29508c015a
[#10233] Web-page splits in 2 frames when contains errors
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 17:19:16 +02:00
Andrey Shovkoplyas 886ccc765e
[#10646] "No protocol method iMap" error when recover the same seed phrase
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 17:18:20 +02:00
Churikova Tetiana b573fa8a10
e2e nightly fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-16 16:26:21 +02:00
Andrey Shovkoplyas a1dc0462c7
[#10761] Copy change for iOS only
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 16:21:27 +02:00
Andrey Shovkoplyas 26f1afc560
[#10424] "Offline, waiting for WiFi" chat status when Mobile network connected is misleading
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 16:20:43 +02:00
Andrey Shovkoplyas 15ddf6d060
[#10634] Image of 'Get started' view changes height/width if navigate back from "Enter seed phrase"
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 15:34:35 +02:00
Andrey Shovkoplyas e59e17e6e7
[#10658] "connection is secure" tooltip is not aligned with URL field
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 14:14:18 +02:00
Andrey Shovkoplyas 24ef4cbd97
[#10694] Amount is not accessible on "Send Transaction" screen when token name is too long
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 13:32:44 +02:00
Gheorghe Pinzaru 376dab37e9
Override padding in text input
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-16 14:07:02 +03:00
Andrey Shovkoplyas aeb0123998
[#10808] Can't recover keys from keycard
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-16 11:16:37 +02:00
Andrey Shovkoplyas 2038b99955
Brazilian ts fix
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-15 15:31:05 +02:00
Churikova Tetiana 4941cc9a82
image e2e and nightly fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-12 17:34:47 +02:00
Andrey Shovkoplyas 880424c07b
fix settings blinking and warnings
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-12 14:37:17 +02:00
Roman Volosovskyi ee2dec5b27
[#10439] Fix transaction signing after tapping wrong card 2020-06-12 15:10:30 +03:00
Roman Volosovskyi b25c1413f4
[keycard] Remove unnecessary parameter from generate-and-load-key
`multiaccount` was used only by simulated keycard, so it is removed
and will be retreived by accessing app-db directly. This is done because
simulated kk implementation should be compatible with real keycard and
thus can't require extra parameters.
2020-06-12 12:36:12 +03:00
Gheorghe Pinzaru 3bc9a63c36
Replace all text-inputs with quo component
This reverts commit db202f03bf.

Fix leftover get-ref for text input

Use uuid as a unique identifier for input

Generate a random uuid on mount, ensures that no stale ref are kept

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-11 14:26:37 +03:00
Gheorghe Pinzaru db202f03bf
Revert "Replace all text-inputs with quo component"
This reverts commit 379384211f.

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-10 18:21:13 +03:00
Gheorghe Pinzaru 379384211f
Replace all text-inputs with quo component
Replace all text-inputs with label

Fix tooltip

Replace search input

Replace white bg text inputs with Quo

Add placeholders

Clear quo text inputs on blur

 Change seed phrase word count style

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-10 16:17:21 +03:00
jinhojang6 c40529faee
Update translations
Signed-off-by: Serhy <sergii@status.im>
2020-06-10 15:07:53 +03:00
Serhy b7c065c1b7
Webview security check
Signed-off-by: Serhy <sergii@status.im>
2020-06-10 11:55:46 +03:00
Gheorghe Pinzaru a76a3acd9f
Fix make admin icon
fixes #10785

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-10 09:55:49 +03:00
Gheorghe Pinzaru 64a788c036
Replace old icon set with the new one
Add new icons

Removed unused

Adapt code to new changes

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-10 09:54:29 +03:00
Churikova Tetiana 0603f84ab8
small fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-09 16:54:19 +02:00
Gheorghe Pinzaru 197ce2eb60
Change status-bar color on theme change
Move into separate ns to avoid circular dependecy

Fix android system white theme status bar

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-09 13:18:07 +03:00
Roman Volosovskyi dae891979f
[#10722] Change learn about keycard link
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-09 07:57:26 +02:00
Gheorghe Pinzaru fd8558421d
Set status bar style with theme
Instead of making it full screen then changing on js start, we can use the same theme as in app

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-08 17:34:36 +03:00
Andrea Maria Piana 723975d2c9
Upgrade status-go to improve indexing performance.
The index for message was fairly inefficient as it was only using the
cursor, as it was referring to the old chat_id field.

This meant that newer messages would be fetched much faster then older
messages.

The index has been changed so that now it includes local_chat_id
(which is currently used for filtering), and not using hide.

The reason being is that hide is a low cardinality index, so there's
no performance benefit to have it in, also it's mostly ignored by the
query planner.

https://github.com/status-im/status-go/pull/1986
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-08 16:31:50 +02:00