Commit Graph

3274 Commits

Author SHA1 Message Date
Gheorghe Pinzaru 93f8866f8d
Remove legacy tab-bar keyboard listener
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-19 16:26:57 +03:00
Andrey Shovkoplyas 2896831b9d
[#9759] App freezes if tap on digital keyboard after "Cancel" on Send Transaction screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-17 18:03:03 +01:00
Andrea Maria Piana 53d0cb519c
Fix ens names & group chat add-members
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-01-17 13:43:19 +01:00
Gheorghe Pinzaru e088a61247
Fix android clipped elevation
Added some air on every card and unified common style

Increase elevation size

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-17 11:52:57 +03:00
Gheorghe Pinzaru 59140d971f
Add animated onboarding videos
Add animated assets on intro screens

Add component for video on home view

Did not use it for now - as the asset for that video is broken

Do not justify center videos in intro

Update video assets for home view

fix generate-nix.sh script for maven deps

Signed-off-by: Jakub Sokołowski <jakub@status.im>

add missing android-scalablevideoview dependency

Signed-off-by: Jakub Sokołowski <jakub@status.im>

Fix center position of videos in onboarding

Use image for sample key in android

Because during animation transition in creates a black background

Add play when inactive for ios

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-17 10:25:08 +03:00
Andrea Maria Piana 5da861d91f
remove transit
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-01-15 17:26:42 +01:00
tbenr 0ed19efbb3
fixes #9288
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-15 16:47:32 +01:00
Gheorghe Pinzaru f34a7bc3f1
Restyle chat messages
Update the rounded corners on all messages

Update paddings and margin for message author

Move timestamp 3pt from bottom

Fix miss-placed padding in message author name

Add margin between emoji and timestamp

Change reply icon

Decrese font size of emoji message

Remove extra space in style map

Remove extra margin between author and message

Replace reply icon with glymph

Update Inter font to support new glyphs

Update paddings for reply author

Update timestamp padding from bottom

Added line-height explicitly to support it cross platform. Otherwise android and ios use different size.

Remove margin right space on usernames

Remove hardcoded width of messages

Use same line-height for all types of names

Add background to emoji

Bug in RN emoji cropped on smaller line-height https://github.com/facebook/react-native/issues/18559

Fix reply on user with ens name

Fix message margin top should be always 4

Add minimal fix for ui in ens name screen

Remove extra computations for timestamp position

Update e2e test

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-15 12:56:53 +03:00
Gheorghe Pinzaru f0ffe79a4a
Add glossary view
Fix misspelled wallet

Change glossary position in help center

Fix wrong padding on the view

Make letter transition more smooth

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-15 12:48:00 +03:00
Andrea Maria Piana b2fd81fc76
Contact updates & pairing in status-go
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-01-15 09:46:17 +01:00
yenda b0727ff1a9
fix password confirmation when restoring account
Signed-off-by: yenda <eric@status.im>
2020-01-14 22:26:13 +01:00
Andrey Shovkoplyas 2c56d70929
[#9820] Tap on ENS name in public chats of other users shows own ENS name
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-14 18:01:41 +01:00
Andrey Shovkoplyas 4583c95cf2
fix back button on account generation
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-14 14:27:50 +01:00
Andre Medeiros fabbfc38f8
fix: deserialize custom bootnodes settings correctly
Signed-off-by: yenda <eric@status.im>
2020-01-14 10:31:09 +01:00
Andrey Shovkoplyas 6982414af8
[#9666] Missing translations on "Lock app with fingerprint", "Save with password" popups
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-13 15:37:31 +01:00
yenda 84828891a0
Add chat commands
Signed-off-by: yenda <eric@status.im>
2020-01-10 20:13:19 +01:00
Pedro Pombeiro e220ecbb0a
Cleanup
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2020-01-10 19:59:54 +01:00
yenda f36efbc24b
fix stickers persistence
Signed-off-by: yenda <eric@status.im>
2020-01-10 17:25:17 +01:00
yenda bdcb34ffab
normalize token addresses
Signed-off-by: yenda <eric@status.im>
2020-01-10 16:40:23 +01:00
yenda 1cac8f1161
fix pending transactions
Signed-off-by: yenda <eric@status.im>
2020-01-10 16:39:49 +01:00
yenda 48d3087f81
fix 9792
Signed-off-by: yenda <eric@status.im>
2020-01-10 16:39:06 +01:00
yenda 73f8b4692e
fix #9758
Signed-off-by: yenda <eric@status.im>
2020-01-10 16:38:23 +01:00
Gheorghe Pinzaru dd52eb1766
Fix accounts clipped on the wallet screen
Fixes #9767

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-09 18:22:33 +03:00
Serhy 13dfc544df
add config for e2e tooltip events
Signed-off-by: Serhy <sergii@status.im>
2020-01-08 19:37:23 +02:00
Andrey Shovkoplyas 87c1b077e2
[#9766] Disable group chats for v1
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-08 14:26:37 +01:00
tbenr baeeb135b9
fixes #9592
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-08 13:04:16 +01:00
Gheorghe Pinzaru 8cf1fb3da3
Align toggle in Mail Server settings
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-08 10:35:09 +03:00
Gheorghe Pinzaru 4d5648d88a
Correct assets for recent stickers panel
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-07 18:13:51 +03:00
Gheorghe Pinzaru cb081f6d96
Change safe-area from position to padding
Makes the view stretch to the size of safe area instead of moving it from bottom. Fixes transparent background on navigation animation iPhoneX.  Fixes #9695

Do not set cover bg on android

Signed-off-by: yenda <eric@status.im>
2020-01-06 16:29:48 +01:00
Artur Zabeyvorota 83b738ee02
[#9700] toolbar-title-container minor css fix
Signed-off-by: yenda <eric@status.im>
2020-01-06 16:28:11 +01:00
acolytec3 3bcf7ecf29
Add BIP39 validation for seed phrase recovery
Signed-off-by: yenda <eric@status.im>
2020-01-06 16:02:14 +01:00
Gheorghe Pinzaru 1fd59bb61e
Center align to "+ Add contact" touchable
Fixes #9696

Signed-off-by: yenda <eric@status.im>
2020-01-06 11:21:37 +01:00
yenda bf16116acd
move multiaccount settings to a table
integrate status-go changes to move multiaccount settings to a table
that can be migrated

Signed-off-by: yenda <eric@status.im>
2020-01-02 18:07:10 +01:00
Gheorghe Pinzaru c3f7f78d34
Change position of badge as per design spec
Move tabbar notification badge position to left and bottom. closes #9436

Update badge font weight as per spec

All badges in the specification are Medium (500) weight

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-02 18:04:41 +01:00
Andrey Shovkoplyas a43ad0291d
[#9493] No SNT by default after multiaccount creation / restoring
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-30 17:35:42 +01:00
Andrey Shovkoplyas 5501d20450
[#9723] No 'Apply' button appears when updating "Wallet"-> "Account"-> "Account settings"
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-30 14:25:59 +01:00
Andrey Shovkoplyas c66e848255
[#9724] Status is not usable after relogin if add watch-only account that matches address of one of the created accounts
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-30 10:44:31 +01:00
Vitaliy Vlasov acaea38551
Add pin screen for new wallet accounts for Keycard
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-12-27 19:12:08 +02:00
Andrey Shovkoplyas b98578ef9d
[#9709] Empty gas when transacting leads to bug
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-12-27 16:03:15 +01:00
acolytec3 8eed77a82a
Remove balances for deleted watch account
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2019-12-26 13:08:46 +01:00
Andrey Shovkoplyas f90fe2f04d
topbar. first iteration
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-20 15:47:04 +01:00
yenda a72d4c7d85
integrate status-go fix for keycard accounts
Signed-off-by: yenda <eric@status.im>
2019-12-19 21:32:10 +01:00
Andrey Shovkoplyas 5f28dc0a52
show ens name by default 2019-12-19 13:49:30 +01:00
Andrey Shovkoplyas b1170179cd
stateofus ens name in wallet 2019-12-18 17:50:08 +01:00
Andrey Shovkoplyas 612a11fef8
remove desktop ui
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-18 17:22:13 +01:00
Maciej Zadykowicz 768e15a08e
swap icon, rename translation, tab icon
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-18 17:20:47 +01:00
Andrey Shovkoplyas 3e19f929e9
show ens name for chats created using ens name 2019-12-18 12:07:08 +01:00
yenda a21454039b
do not store mnemonic on recovered accounts
Signed-off-by: yenda <eric@status.im>
2019-12-17 18:33:42 +01:00
Volodymyr Kozieiev 5c7dc2edc7
Searchbar show\hide fixed
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2019-12-17 18:56:30 +02:00
Andrey Shovkoplyas b84139013a
hide dev mode setting 2019-12-17 11:03:31 +01:00
yenda 2c3e831a03
use accounts rpc endpoints
Accounts were previously stored within the multiaccount `setting`
serialized in transit

This moves [:multiaccount :accounts] to `:multiaccount/accounts` and uses
the `getAccounts`, `saveAccounts` and `deleteAccounts` endpoints.

Signed-off-by: yenda <eric@status.im>
2019-12-17 10:33:46 +01:00
Andrey Shovkoplyas c84c44fe3b
[#9636] Remove chat menu item and toggle app switching privacy on by default
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-13 14:46:54 +01:00
Andrey Shovkoplyas 829e41d319
[#9649] Add "Send" button and a QR icon on the wallet screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-13 13:49:56 +01:00
Andrey Shovkoplyas b471f53cb3
[#9583] Overlapping with system bar on "Send transaction" screen (LG phones)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-12 18:29:54 +01:00
yenda 6a800b211d
move custom tokens to a separate table
Signed-off-by: yenda <eric@status.im>
2019-12-12 14:00:01 +01:00
yenda 0e25aa2f2a
remove overwritten events and subs
Signed-off-by: yenda <eric@status.im>
2019-12-12 13:59:25 +01:00
Roman Volosovskyi ecb71645c2
[#9596] Fix biometric auth popover styles 2019-12-12 14:47:47 +02:00
acolytec3 31f7b09a7b
Refresh token balances after adding custom token
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-12 12:24:42 +01:00
Roman Volosovskyi 3b65fddb2f
[#9620] Generate name and photo during keycard acc creation 2019-12-11 19:41:53 +02:00
Andrey Shovkoplyas e7f01c42a7
[#9625] Placeholders "Enter ENS username" and "Create a topic" are cut on Android
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-11 16:38:03 +01:00
Andrey Shovkoplyas dfb3168fe5
fix new account password
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-11 16:37:01 +01:00
Andrey Shovkoplyas e7122dc86a
[#9575] Make sure status supports EIP 1102 and EIP 1193 2019-12-11 16:17:52 +01:00
Roman Volosovskyi beed1a60ee
[#9573] Fix some password saving bugs 2019-12-11 12:15:25 +02:00
yenda 4fa275bb05
fix 9597 mailserver when login offline
Signed-off-by: yenda <eric@status.im>
2019-12-10 17:50:47 +01:00
Andrea Maria Piana 54cf783d5b
Move group chats to status-go
This commit completely remove transit for group chats. All the
processing is now done in status-go.
Also introuduces parsing and handling of mentions, needed so that system
messages can be easily built in status-go.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-12-10 16:18:26 +01:00
Roman Volosovskyi 91b931c3b4
Replace address with keyUid in accounts db
Account's address was used as a primary key in accounts db and as a
deterministic id of an account in some API calls. Also it was used as a
part of the name of the account specific database. This revealed some
extra information about the account and wasn't necessary.
At first the hash of the address was planned to be used as a
deterministic id, but we already have a keyUid which is calculated as
sha256 hash of account's public key and has similar properties:
- it is deterministic
- doesn't reveal accounts public key or address in plain
2019-12-09 11:57:44 +02:00
Volodymyr Kozieiev 7168eada1c
Calls to gfycat and identicon made async in few places
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2019-12-06 17:42:36 +02:00
Roman Volosovskyi 5ccf1c0377
[#9577] Fix keycard account creation after card reconnection
`:on-card-read` callback wasn't properly cleared before entering pin.
2019-12-05 19:02:40 +02:00
Andrea Maria Piana 78d694f52f
Move message processing to status-go and introduce protobuf
This commit moves all the processing of messages to status-go.

Messages are going arrive to status-react already saved an processed.

Receiving/sending/retrieving from db is now using the same identical
structure. The only processing left in status-react is to mark the
messages as seen and update the unviewed count locally (only
status-react knows whether the count should be updated).

Partially remove commands as well as won't be used anymore.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-12-05 17:30:30 +01:00
Roman Volosovskyi bee7804fd0
Suppress lifecycle warnings after RN upgrade 2019-12-05 15:59:10 +02:00
acolytec3 2fda266f07
Add ENS name resolution to EIP681 support
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-05 10:48:05 +01:00
Roman Volosovskyi da6542e8ef
[#9494] Don't show "Your key recovered" screen on account creation 2019-12-04 15:36:52 +02:00
Roman Volosovskyi 6db7495423
Fix keycard account unlocking on disabled bioauth
This commit fixes the case when biometric auth was disabled on the
device after being enabled for a keycard account.
2019-12-04 12:17:07 +02:00
Andrey Shovkoplyas a2f64bd544
delete watch-only account
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-04 10:35:12 +01:00
Andrey Shovkoplyas 4bffdede81
[#8585] Add watch only account 2019-12-04 10:34:58 +01:00
Roman Volosovskyi 15d9e7be86
Fix recovery with seed after visiting keycard recovery 2019-12-04 11:21:15 +02:00
Roman Volosovskyi 4d3c622947
[#9470] Fix status bar in dark mode (iOS) 2019-12-04 08:54:54 +02:00
yenda 94c7953f30
remove commands before replacement by gui commands
Signed-off-by: yenda <eric@status.im>
2019-12-03 15:07:56 +01:00
Andrey Shovkoplyas 935029aef0
[#9542] Make "Sync over mobile network" modal even less annoying 2019-12-03 13:07:27 +01:00
Andrey Shovkoplyas 6facfe3938
[#9550] Improve stickers usage experience
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-03 11:15:45 +01:00
Andrea Maria Piana 7bf626c3a3
[Fixes #9510] Fix timestamp placement for text elements
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-12-03 07:14:59 +01:00
Roman Volosovskyi 5bb6997d1d
[#9354] Unlock keycard account without a card
To make it work `encryption-public-key` and `whisper-private-key` are
stored on the devices when a user chooses this option. The former key is
used for multiaccount's database encryption, the latter is needed for a
messaging. In case if a user wants to sign a transaction the card is
still needed, we don't store wallet's keys on the device.

Other things were fixed/added:
- A user can enable biometric auth for a regular account when chooses
  to save the password on the device (if biometric auth is available).
  This is done for feature parity between keycard and "on device"
  accounts.
- The option to create/restore an account on a keycard is not shown on
  the devices which do not support NFC. Currently, the app just crashes
  if the user continues a flow which is not supported by the device.
2019-12-02 19:25:05 +02:00
Andrey Shovkoplyas 67f64f3816
handle only last resolve , chill button
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-02 15:30:31 +01:00
Andrey Shovkoplyas 831f7f05f3
[#9213] ENS addr is checked instead of owner 2019-12-02 13:01:24 +01:00
Andrey Shovkoplyas 81fecd7a16
[#9543] Signing phrase popup minor fix
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-02 11:10:39 +01:00
Roman Volosovskyi 5a408f1613
[#9061] Fix balances fetching of a new keycard account
This issue wasn't properly fixed for a newly created account, balance
was properly fetched only after re-login.
2019-11-30 19:07:52 +02:00
Serhy 13a619502c
Fixing wallet send tx tests
Signed-off-by: Serhy <sergii@status.im>
2019-11-29 19:43:59 +02:00
Andrey Shovkoplyas b7c558f310
[#9509] Chat onboarding tooltip needs fixes to scroll behaviour
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-29 11:26:24 +01:00
yenda 572e028f32
fix 9394 select mailserver based on ping
- if not mailserver was actively selected by user,
use rpc call to get latency for known mailservers
and use the best one
- this happens when `set-current-mailserver` is called which happens
in `change-mailserver` when user unpins his preferred mailserver and when
there's been too many failed attemps to fetch messages or to connect to
then current mailserverm as well as when user logs in.

Signed-off-by: yenda <eric@status.im>
2019-11-28 23:31:39 +01:00
Roman Volosovskyi 67e6ab6055
[#9435] Prevent multiaccount duplication
Currently we have two ways to restore a multiaccount:
- by entering a mnemonic phrase
- by pairing a keycard with an existing multiaccount

In both cases, when we detect that a user tries to recover an existing
multiaccount we interrupt recovering and propose them to unlock that
multiaccount instead.
2019-11-27 17:10:55 +02:00
Andrey Shovkoplyas 507cc5cf39
send transaction GUI
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-27 14:32:04 +01:00
Andrey Shovkoplyas ec57008834
[#9360] Dapp's permission form doesn't fit in the bottom sheet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-26 15:33:37 +01:00
Andrey Shovkoplyas 02aafeac8b
[#9359] Hardware back button doesn't work on Android
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-26 15:32:49 +01:00
Andrey Shovkoplyas 4c79d7830e
[#9184] Set password keyboard starts uppercase on old android (6.0.1)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-26 15:31:57 +01:00
yenda a2067783c5
overwrite should-component-update
when checking the checkbox, the entire list was being re-rendered
we now only re-render if the `checked?` value has changed

Signed-off-by: yenda <eric@status.im>
2019-11-25 15:03:37 +01:00
yenda 0dbcfab2e6
avoid nested touchable highlight
it seems like the nested touchable highlight is delaying the
recomputation of subscriptions
2019-11-25 15:01:59 +01:00
Andrey Shovkoplyas bf5416b629
remove statusbar and add safeview for android
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-25 14:42:09 +01:00
Vitaliy Vlasov b503852387
Fix typo in on-verify-pin-success
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-11-21 20:32:03 +02:00
acolytec3 76296870d1
Truncate decimal values beyond 6 decimal places in signing sheet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-21 19:05:36 +01:00
acolytec3 8bd2326369
Update SAI/DAI PNGs
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-21 15:21:30 +01:00
Serhy 84325fc528
Fix invite friends test
Signed-off-by: Serhy <sergii@status.im>
2019-11-21 12:47:34 +02:00
Roman Volosovskyi 5ecc7590d9
[#9446] Resume logging when connection to card is restored
Currently there are two ways to initiate logging in with keycard:
- enter PIN code and after that connect card to the phone
- connect card to the phone and enter PIN after that

Before this commit in both cases when connection to the keyacrd was lost
and then restored, logging in didn't resume. In result a user saw a
pop-up with endless spinner.

The reason of this bug was that `:on-card-connected` and `:on-card-read`
actions were not restored in app-db after losing connection to the card.

This commit introduces helper functions for both `:on-card-connected` and
`:on-card-read` which allow to reset these values and stash them until
particular flow of calls to keycard will be finished. In case if
connection was lost before the flow is finished the valueas are restored
so that it can be succesfully resumed on th next connection.

Also a banch of log entries were added to simplify debugging of
interactions with keycard and native module.

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-20 12:31:16 +01:00
acolytec3 a38df48691
Weak-password disallows confirm code step
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-20 12:30:21 +01:00
Andrea Maria Piana efcb35504d
[Fixes: #9489] Correctly pass `now` in cofx when receiving messages
`now` was not passed anymore in cofx, this fixes the issue.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-20 12:27:30 +01:00
Andrea Maria Piana ddbfc78e08
[Fixes: #9492] Consider system messages always in their own group
System messages should always display the user picture, and should never
be grouped.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-20 12:25:50 +01:00
Andrey Shovkoplyas 89d09c4ba5
fix chats list and ens example name
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-18 17:12:40 +01:00
Roman Volosovskyi f8c761a40e
[#9345] fix some issues on keycard login screen 2019-11-18 15:39:49 +02:00
elegant651 7b14bbecde
Add new welcome page after generating their key
formatting to style

add accessibility-id & flow for keycard

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-18 12:27:55 +01:00
Serhy 6aa225192f
Test can cancel quote message
Signed-off-by: Serhy <sergii@status.im>
2019-11-18 12:25:28 +02:00
Andrey Shovkoplyas 670c07b9b4
[#8845] Update list of public chats
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-15 13:59:47 +01:00
Andrea Maria Piana 9a9c0ce526
Render markdown
Fixes: https://github.com/status-im/trailofbits-audit/issues/47
Fixes: https://github.com/status-im/trailofbits-audit/issues/46
Fixes: https://github.com/status-im/trailofbits-audit/issues/44
Fixes: https://github.com/status-im/security-reports/issues/13
Fixes: https://github.com/status-im/security-reports/issues/5
Fixes: https://github.com/status-im/status-react/issues/8995

This commits re-introduce rendering of markdown text and implent a few
changes:

1) Parsing of the message content is now in status-go, this includes
markdown, line-count, and rtl. Parsing is not nested, as there's some
rendering degradation involved as we nest components, unclear exactly if
it's react-native or clojure, haven't looked too deeply into it.
2) Emojii type messages are not parsed on the sending side, not the
receiving one, using the appropriate content-type
3) Fixes a few issues with chat input rendering, currrently we use
`chats/current-chat` subscription which is very heavy and should not be
used unless necessary, and means that
any change to chat will trigger a re-render, which caused re-rendering
of input container on each received message. Also to note that
input-container is fairly heavy to render, and it's rendered twice at
each keypress on input.

The inline markdow supported is:

*italic* or _italic_
**bold** or __bold__
`inline code`
http://test.com links
\#status-tag

The block markdown supported is:

\# Headers
```
code blocks
```
> Quotereply

The styling is very basic at the moment, but can be improved.
Adding other markdown (photo,mentions) is straightforward and should
come at little performance cost (unless the component to render is
heavy, i.e a photo for example).

There are some behavioral changes with this commit:

1) Links are only parsed if starting with http:// or https://, meaning that
blah.com won't be parsed, nor www.test.com. This behavior is consistent
with discord for example and allows faster parsing at little expense to
ser experience imo. Fixes a few security issues as well.

2) Content is not anymore capped (regression), that's due to the fact that
before we only rendered text and react-native allowed us easily to limit
the number of lines, but adding markdown support means that this
strategy is not viable anymore. Performance of rendering don't see to be
very much impacted by this, I would re-introduce it if necessary, but
I'd rather do that in a separate PR.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-15 10:23:25 +01:00
Andrey Shovkoplyas ec04709495
[#8854] Finish "Show my ENS name in chat" setting in user profile 2019-11-14 12:04:03 +01:00
Roman Volosovskyi ad80d4b0fd
[#9227] Disable keycard unpairing for v1 2019-11-14 10:22:57 +02:00
Andrea Maria Piana 13b01ce879
Fix replies, clear-history, logout bug
Fixes #9433 : this was due to the fact that `.-response-to` was
returning nil, because of the dash in the name, instead in this cases
`(aget .. "response-to")` should be used.

Fixes #9431 : This was a left-over from the move from message-groups to
message-list, and the code was not updated.

Fixes #9430 #9429 Both of these were due to the same issue, cofx were
wrongly passed to the function resulting in the db being updated but the
fxs being discarded.

There's still a separate issue that might result in messages not being
saved on logout, because of a race condition (if you logout while is
fetching messages, some of the message might not be saved). I will
address that separately as we might be able to just save messages as
they come in status-go, rather then having to pass them to status-react
and back to status-go for saving.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-12 11:27:26 +01:00
Roman Volosovskyi a39ae15d99
[#9206] fix wrong ping handling on signing messages 2019-11-12 11:23:46 +02:00
Dmitry Novotochinov a6a65ec0e4
remove keycard views with old design 2019-11-12 11:23:04 +02:00
Andrey Shovkoplyas 3d4e9df825
fixes ens name wallet address
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-11 14:26:55 +01:00
Dmitry Novotochinov 5e7785d432
[#8993] adjust pin screens for small screen devices
find account by key-uid

show pairing slots info on pairing

fix pin reset flow

pass retry-counter

fix sign with keycard button in wallet

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-11-08 15:01:08 +01:00
Andrea Maria Piana 2bb7c70216
[Fixes: #1520] Enable ens
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-08 13:03:42 +01:00
Andrey Shovkoplyas 40de054393
[#9256] Remove the "~" from the fiat currency value "~10.4 USD"
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-08 12:14:18 +01:00
Roman Volosovskyi 10c45d8a79
[#9393] fix mnemonic shown during storing account on keycard 2019-11-07 16:21:56 +02:00
Roman Volosovskyi 34a4b9a451
[#9350] fix back button on keycard login screen 2019-11-07 14:58:06 +02:00
yenda 36ad6fb762
support for local notification service on Android
- add option in profile on Android to enable local notifications
- use foreground service to keep the app alive when running in the background
- implement enable and disbable notification function in status module

When enabling notifications, a foreground service is started that displays
a sticky notification to make the user aware that the app is running in the
background.
Notifications are updated whenever a new.message signal is handled on java side.
Currently only one to one chats are generating notifications but that can be
easily extended to other types of messages, including mentions and keywords.
The ens name of the user as well as keywords to follow should then be passed
to the native side when calling the enable function.

Signed-off-by: yenda <eric@status.im>
2019-11-07 09:59:12 +01:00
Andrea Maria Piana 5fe385c225
Parse messages in status-go
This commit enables parsing of messages in status-go.
Currently only a few messages are supported in status-protocol-go.
For now we only enable Message types.
Status-react will conditionally use the parsed version if present.
Eventually this can be moved to a separate signal/different structure,
but for the time being is best to validate with the minimum amount of
changes.

The next step would be handle validation and processing of the field in
status-go, so we can skip saving the message from status-react.

This commit should improve performance of receiving messages from a
chat, although haven't had time to validate that.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-06 19:30:47 +01:00
Andrea Maria Piana 9a2e1e97db
[Fixes: #9400] Fix last-group
The from parameter was left out, tests did not pick it up as they were
not running, probably I have wrongly rebased the code and did not
include the new namespace in runner.cljs

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-06 17:47:28 +01:00
Andrey Shovkoplyas 3da0a0dd4f
fix stickers alignment
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-06 13:18:32 +01:00
William Mruzek ed0c16b33b
Increase number on 'unread' messages indicator to +99
Signed-off-by: yenda <eric@status.im>
2019-11-06 11:04:08 +01:00
Andrea Maria Piana 1c63c782a4
Dont use network info but only rely on peers count for mailservers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-05 11:50:54 +01:00
Roman Volosovskyi 76be2c279f
[#9268] fix Multiaccount is currently empty on login 2019-11-05 07:20:09 +02:00
Roman Volosovskyi 02ce0782b1
[#9061] fix fetching balances for keycard acc 2019-11-04 16:23:37 +02:00
Andrea Maria Piana 5eb314db58
Use staging fleet and upgrade status-go
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-04 15:07:12 +01:00
Andrea Maria Piana c69863cda2
Fix message ordering and improve performance rec. messages
This commit does a few things:

==== Ordering of messages ====

Change the ordering of messages from a mixture of timestamp/clock-value to use
only clock-value.

Datemarks are now not used for sorting anymore, which means that the
order of messages is always causally related (not the case before, as we
were breaking this property by sorting by datemark), but datemark
calculation is unreliable (a reply to a message might have a timestamp <
then the message that is replied to).
So for timestamp calculation we
naively group them ignoring "out-of-order timestamp" messages, although
there's much to improve.
It fixes an issue whereby the user would change their time and the
message will be displayed in the past, although it is still possible to
craft a message with a lower clock value and order it in the past
(there's no way we can prevent this to some extent, but there are ways
to mitigate, but outside the scope of this PR).

==== Performance of receiving messages ====

The app would freeze on pulling messages from a mailserver (100 or so).
This is due to the JS Thread being hogged by CPU calculation, coupled
with the fact that we always tried to process messages all in one go.

This strategy can't scale, and given x is big enough (200,300,1000) the
UI will freeze.

Instead, each message is now processed separately, and we leave a gap
between processing each message for the UI to respond to user input
(otherwise the app freezes again).
Pulling messages will be longer overall, but the app will be usuable
while this happen (albeit it might slow down).
Other strategies are possible (calculate off-db and do a big swap,
avoiding many re-renders etc), but this is the reccommended strategy by
re-frame author (Solving the CPU Hog problem), so sounds like a safe
base point.

The underlying data structure for holding messages was also changed, we
used an immutable Red and Black Tree, same as a sorted map for clojure, but we use
a js library as is twice as performing then clojure sorted map.

We also don't sort messages again each time we receive them O(nlogn), but we
insert them in order O(logn).

Other data structures considered but discarded:
1) Plain vector, but performance prepending/insertion in the middle
(both O(n)) were not great, as not really suited for these operations.

2) Linked list, appealing as append/prepend is O(1), while insertion is
O(n). This is probably acceptable as messages tend to come in order
(from the db, so adding N messages is O(n)), or the network (most of
them prepends, or close to the head), while mailserver would not follow this path.
An implementation of a linked list was built, which performed roughtly the
same as a clojure sorted-map (although faster append/prepend), but not
worth the complexity of having our own implementation.

3) Clojure sorted-map, probably the most versatile, performance were
acceptable, but nowhere near the javascript implementation we decided on

4) Priority map, much slower than a sorted map (twice as slow)

5) Mutable sorted map, js implementation, (bintrees), not explored this very much, but from
just a quick benchmark, performance were much worse that clojure
immutable sorted map

Given that each message is now processed separately, saving the chat /
messages is also debounced to avoid spamming status-go with network
requests. This is a temporary measure for now until that's done directly
in status-go, without having to ping-pong with status-react.

Next steps performance wise is to move stuff to status-go, parsing of
transit, validation, which is heavy, at which point we can re-consider
performance and how to handle messages.

Fixes also an issue with the last message in the chat, we were using the
last message in the chat list, which might not necessarely be the last
message the chat has seen, in case messages were not loaded and a more
recent message is the database (say you fetch historical messages for
1-to-1 A, you don't have any messages in 1-to-1 chat B loaded, you receive an
historical message for chat B, it sets it as last message).

Also use clj beans instead of js->clj for type conversion

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-01 23:59:26 +01:00
acolytec3 3cc157b0fb
Suppress remove photo option when no profile pic
Signed-off-by: yenda <eric@status.im>
2019-11-01 15:07:51 +01:00
yenda 3528dd809a
fix fleet settings not being saved to node config
Signed-off-by: yenda <eric@status.im>
2019-11-01 11:56:11 +01:00
Roman Volosovskyi f7cc74a29a
fix recovery with mnemonic on keycard 2019-10-31 09:47:23 +02:00
Roman Volosovskyi e80b08c42e
[#9233, #9173] fix some screens
Signed-off-by: yenda <eric@status.im>
2019-10-30 15:17:28 +01:00
tbenr 88dbeead42
fixes #8877
Signed-off-by: yenda <eric@status.im>
2019-10-30 15:13:54 +01:00
yenda 7bb45fdd8f
remove firebase
Signed-off-by: yenda <eric@status.im>
2019-10-29 15:03:58 +01:00
Roman Volosovskyi 0856ae12e0
[#9231] fix flow of seed recovering on keycard 2019-10-28 21:52:11 +02:00
tbenr dfe259f14e
fixes #9205 2019-10-28 19:12:29 +02:00
acolytec3 dc7724f88b
Delete account name if setting recipient manually 2019-10-28 19:10:50 +02:00
acolytec3 33af176246
Fix network status change logic and #8951 2019-10-28 10:21:29 +02:00
Serhy eb00df147d
E2E transaction appears in history
Signed-off-by: Serhy <sergii@status.im>
2019-10-28 10:04:45 +02:00
Andrea Maria Piana 9cd891365a
Use payload & avoid transforming in clojure objects.
This commit includes a few performance fixes:
1) Pass a string payload instead of an hex encoded string, to avoid
unecessary conversion
2) Don't js->clj on messages, as that's fairly expensive and we can get
away without
3) Don't use `pr-str` `read-string`, rather convert to json

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-10-23 15:52:32 +02:00
Andrea Maria Piana 57b1722863
Verify ens names on messages and contact requests
This commits verifies ens names when new messages or contact requests
come through.
A batch of ens names is sent to status-go which will then verifying them
and the result will be passed back in a callback to status-react.

Also temporary skipped test_ens_in_public_chat until we merge the ENS
code (blocked currently by 1.9 upgrade)

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-10-23 12:32:28 +02:00
Roman Volosovskyi 474ff00c7f
[#8650] Tappable "backup seed" notification in wallet
- notification is tappable
- appears only if user has nonzero balance and hasn't backed up seed yet
- Fix e2e test for this change
2019-10-22 18:14:13 +03:00
Andrey Shovkoplyas cbe17cbe02
[#8940] Redesign Back, swipe-to-the-left and hardware device Back buttons to align the behavior
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-18 17:27:03 +02:00
Andrey Shovkoplyas 1c51731aea
[#8446] [Multi-Account] Build account settings for individual wallet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-18 12:09:47 +02:00
yenda 7b6dfad702
[fix 8853] fix change of whisper id in ens registration
A user can type in their existing name in the registration flow. Status can
confirm if they own it. After signing a transaction, the user can update the
Whisper ID to their new one.

Instead of using a hardcoded contract for stateofus, the standard `owner`
method is called to find the resolver contract of a ens name.
This allows users to set the pubkey even for ens names that are not
subdomains of stateofus

Signed-off-by: yenda <eric@status.im>
2019-10-16 17:32:07 +02:00
yenda 500d2cc787
fix navigation reset
currently navigation-reset only works properly if you reset to a simple route

this fix allows us to use navigation reset with more complex routes, by
ensuring that the navigation stack is populated properly so that navigate
back doesn't end up emptying the stack.

this is temporary as the proper way to do navigation in general would be
to get rid of view id and navigation-stack entirely, since it is a duplication
of the state of react-navigation

Signed-off-by: yenda <eric@status.im>
2019-10-16 15:02:26 +02:00
Andrea Maria Piana 1314c6e7d7
Disable spinner when generating multiaccount
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-10-16 14:28:17 +02:00
Andrey Shovkoplyas da4d95d85c
drop les
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-15 13:55:39 +02:00
acolytec3 2ddfcd4f88
Point network to correct current-network
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-15 13:54:59 +02:00
Andrey Shovkoplyas 09be82272a
[#8662] No chats on 'Chats' view if to clear entered search term in 'Search' chat input
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-11 13:10:28 +02:00
Andrey Shovkoplyas df098f82f6
[#8977] [Multi-account] Allow user to choose wallet for DApp transactions
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-11 11:08:56 +02:00
Vitaliy Vlasov 5fd269fde8
Onboarding UI fixes
Signed-off-by: yenda <eric@status.im>
2019-10-10 21:00:29 +02:00
Andrey Shovkoplyas 6b1c30b44c
[#8997] Error 'Hzb.checkViodeoAuthorizationStatus in not a function' at attempt to scan QR on IOS
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-10 17:04:13 +02:00
tbenr ee5040c391
fixes #8657
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-10 12:02:09 +02:00
Vitaliy Vlasov 227127f153
Add preserve-input flag to text-input
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2019-10-09 17:37:24 +03:00
Andrey Shovkoplyas d2ff665d6e
[#9107] Collectibles (except CryptoKitties) are not loaded (endless spinner) after relogin
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-09 15:54:12 +02:00
Andrey Shovkoplyas 92f230ee13
[#9139] Can not purchase sticker pack (too low no sign with password button)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-09 11:40:02 +02:00
Marcus R. Brown 22de1f7490
Fix sticker pack installation buttons
- Fix sticker pack installation buttons
- Add "↓ Free" text and update "Install" text
- Distinguish between owned and free sticker sets
- Rename owned -> owned? in price-badge
- Add tiny-snt icon
- Update the sticker price badge icon and padding

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-09 08:25:29 +02:00
Andrey Shovkoplyas 284f9bffed
[#8937] Recent stickers are shown when stickers tab is highlighted
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-08 13:27:53 +02:00
Dmitry Novotochinov 7a642c76de
[#8989] hide keycard settings for regular accounts
[#9019] hide Add new account in Wallet for keycard users

[#9023] fix redirect on keycard setup cancel

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-10-08 14:19:32 +03:00
Dmitry Novotochinov c1c195adbe
[#9025] fix keycard pairings persistence
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-10-08 11:45:15 +03:00
acolytec3 5ce678eb62
Suppress back-up-seed prompt when already done
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-07 12:12:53 +02:00
acolytec3 72867473d0
Add currency conversions for signing sheet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-04 18:13:53 +02:00
Andrea Maria Piana ba34af0dd4
[Fixes #9088] Store eip1581 path and wallet root path, don't store
master key

When creating the account we store as well the path specified in eip1581
https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1581.md ,
`m / 43' / 60' / 1581'`.

The reason for doing so is that eventually we might want to derive an
encryption key from it, which would require the user to re-enter their
seed phrase if we would not store this.

This commit changes the behavior not to store the master key, and
instead store `m /44'/60' /0'/0`, from which wallets are now derived.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-10-04 12:54:26 +02:00
Andrey Shovkoplyas b3d04bb68c
[#8966] biometric
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-04 12:43:32 +02:00
Alex Good 78c57a356b
Fix small UI problems with the compose reply screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-02 13:21:19 +02:00
Volodymyr Kozieiev ace4b5a161
Desktop works with react-navigation v3
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2019-10-02 10:19:37 +03:00
Andrea Maria Piana 42961f3a0e
Add username to quoted message
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-10-01 12:13:36 +02:00
Andrey Shovkoplyas 9d06f01506
[#8934] Only one sticker is shown in "Recently used"
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-09-30 16:15:08 +02:00
Andrey Shovkoplyas 371c66aad1
Remove UUID related code #9048
Signed-off-by: yenda <eric@status.im>
2019-09-30 15:55:55 +02:00
Andrey Shovkoplyas f52b87ef22
[#8945] "null is not an object" error when tap on sticker sent in chat
Signed-off-by: yenda <eric@status.im>
2019-09-30 15:55:12 +02:00
Andrey Shovkoplyas bedb6a841b
keycard seed suggestions
Signed-off-by: yenda <eric@status.im>
2019-09-30 15:37:04 +02:00
Andrey Shovkoplyas 7ddebcb815
[#8973] Mobile data syncing pop-up missing text
Signed-off-by: yenda <eric@status.im>
2019-09-30 15:33:22 +02:00
Andrey Shovkoplyas 6a732570c7
[#9034] Turn off autosuggestion on seedphrase confirmation input
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-09-30 10:38:40 +02:00
Pedro Pombeiro f8d447fa59
Hide Account Export menu item in wallet for v1. Closes #9040
Signed-off-by: yenda <eric@status.im>
2019-09-28 14:00:18 +02:00
Andrea Maria Piana acd7e56d1d
Add gfycat/identicon from status-go
Signed-off-by: yenda <eric@status.im>
2019-09-26 14:12:43 +02:00
yenda c047b588ed
throw errors on dangerous behaviours
- if multiaccount settings are saved on top of an empty map or nil,
this means something went wrong, the state of the app is unstable,
and actually saving will result in loss of data. It should never
happen, but if it does, throw and error and abort.
- sometimes two fxs are merged when they shouldn't, this is caused by
bugs and should never happen, but if it does, throw an error with arguments
for both effects to help localize the error

Signed-off-by: yenda <eric@status.im>
2019-09-25 19:33:43 +02:00
yenda bf6b328996
replace require-macro for defnstyle and defstyle
- renamed the macros def and defn so that they are now used with aliased
namespace `styles/def` and `styles/defn` to force user to use aliased require
instead of require-macro and refer
- this makes sure the cljs file is required which includes the require for
platform ns needed after macroexpension

Signed-off-by: yenda <eric@status.im>
2019-09-25 17:18:26 +02:00
Dmitry Novotochinov 18ce3b0129
[#8968] custom seed phrase popover
Signed-off-by: yenda <eric@status.im>
2019-09-25 09:39:25 +02:00
yenda 3ee52b4fba
hotfix styles.cljs
Signed-off-by: yenda <eric@status.im>
2019-09-24 22:38:41 +02:00
yenda 133800b191
remove wrap-first-time
Signed-off-by: yenda <eric@status.im>
2019-09-24 18:57:15 +02:00
Andrey Shovkoplyas 222c6ac20c
[#8516] Cannot delete dapp from "Recent" 2019-09-24 12:06:53 +02:00
tbenr f7076016d8
fixes #8071
Signed-off-by: yenda <eric@status.im>
2019-09-20 17:54:23 +02:00
yenda 8ccc858d41
fix #9003 Recover deleted translations
replace i18n/message-status-label by regular label to avoid repeating
this issue in the future

recover the following labels:
- status-not-sent-click
- status-not-sent-tap
- status-sent

Signed-off-by: yenda <eric@status.im>
2019-09-20 13:07:11 +02:00
yenda 9a2ba3009d
fix log level config
the log level config for status-go wasn't saved in the node-config
as a result even though the setting looked applied in the UI it wasn't
in the node
2019-09-17 23:31:32 +02:00
Andrea Maria Piana 49d882ba29
Fix bootnodes toggle
Signed-off-by: yenda <eric@status.im>
2019-09-17 23:30:19 +02:00
yenda e87d75039e
remove unused use-status-go-protocol? flag and code
Signed-off-by: yenda <eric@status.im>
2019-09-17 17:10:13 +02:00
yenda 543d28fbc1
remove unused deleteChat rpc method and effects 2019-09-17 17:09:23 +02:00
yenda 47bae76c73
remove group-chat-local-version 2019-09-17 17:09:22 +02:00
yenda ee042bd1c4
10x perf improvement on safe-merge
safe merge was using way too much inefficient code for such an important
function
it is rewritten using a reduce. the performance improvement is 10 times
and should really show up when adding messages
in repl session the new merge was much slower on the error case of merging
fx with common keys but it must never happen in production as it means
the app is broken

status-im.utils.fx> (time (dotimes [x 100] (fast-merge {:a 1 :b 2 :filters/load-filters [{:a 1 :b 2}]} {:c 3 :filters/load-filters [{:d 1 :b x}]})))
"Elapsed time: 19.000000 msecs"
nil
status-im.utils.fx> (time (dotimes [x 100] (safe-merge {:a 1 :b 2 :filters/load-filters [{:a 1 :b 2}]} {:c 3 :filters/load-filters [{:d 1 :b x}]})))
"Elapsed time: 183.000000 msecs"

status-im.utils.fx> (time (dotimes [x 100] (fast-merge {:a 1 :c 2 :filters/load-filters [{:a 1 :b 2}]} {:c 3 :filters/load-filters [{:d 1 :b x}]})))
"Elapsed time: 2224.000000 msecs"
2019-09-17 17:09:22 +02:00
yenda 747dec908e
remove yellowbox warnings for componentWillMount and WillUpdate 2019-09-17 17:09:22 +02:00
yenda e8e78bdec1
require handlers in cljs ns for macroexpension 2019-09-17 17:09:14 +02:00
Dmitry Novotochinov 1df30f7447
handle initialized cards
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-09-16 11:14:35 +03:00
Dmitry Novotochinov b4ffb5b3ea
[#8939] hide keycard options from ios
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2019-09-13 17:42:54 +03:00
bitsikka d472cfcddd
[8978] fix - chat text ending with new-line breaks chat-list layout
Signed-off-by: yenda <eric@status.im>
2019-09-13 14:16:09 +02:00
jiachen 62442d70d5
fix: issue #8823 modify words count row height
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-09-13 12:17:09 +02:00