Commit Graph

4158 Commits

Author SHA1 Message Date
Roman Volosovskyi 5aa33fc9c0
[mentions] Fix mention appearance in reply and quoted message 2020-09-10 12:51:34 +03:00
Churikova Tetiana 754b826629
accept agreement remove + group invite e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-09-10 11:35:36 +02:00
Roman Volosovskyi 72daf93a75
[mentions] Open profile tab instead of user profile view on pressing own mention 2020-09-08 16:23:23 +03:00
andrey 89ad4f59d0
[#10179] Create invite link for group chat
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-07 13:32:24 +02:00
andrey 4304a5dd97
[#11046] Add local contact names
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-07 11:42:35 +02:00
Serhy 3181a7dc20
E2e tests for audio message
Signed-off-by: Serhy <sergii@status.im>
2020-09-04 18:29:39 +03:00
Nathan Handler 080584dc2e
Add Orchid ERC-20 Token (OXT)
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-02 14:44:12 +02:00
andrey be25ecd4ea
[#10974] ENS resolving for IPNS names.
Signed-off-by: andrey <motor4ik@gmail.com>
2020-09-02 14:39:41 +02:00
Gheorghe Pinzaru fdf8d11913
Use monospace font for address and public-key
Swap monospace header

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-31 15:51:39 +03:00
andrey 0cb554f5c6
[#11113] Can't send image without description in 1-1 and group chats 2020-08-31 10:52:28 +02:00
Volodymyr Kozieiev 0ab227eef8
Restrict message size on input
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-08-27 12:53:04 +03:00
Gheorghe Pinzaru 17c408bd06
Use different acquisition gateway based on chain
Do not persist empty tx

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-26 14:15:10 +03:00
Churikova Tetiana 716c968a23
new e2e + accessibility
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-08-25 16:44:05 +02:00
Gheorghe Pinzaru 8adc32a5c9
Simplify tabbar animation
Fixes #11086

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-25 10:17:45 +03:00
Roman Volosovskyi 2934de9b8c
[mentions] Replace all mentions with public keys before sending message 2020-08-24 21:29:12 +03:00
Gheorghe Pinzaru 001789f761
Update translation strings for referrals
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-24 11:28:21 +03:00
Gheorghe Pinzaru 8d8057036a
Hide placeholder timestamp with opacity
Fixes #11084

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-24 11:27:37 +03:00
Volodymyr Kozieiev 6bef1182c6
Subheader generation refactored for better performance
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-08-20 14:21:09 +03:00
Gheorghe Pinzaru f17b401bbc
Update UI for referrals flow
Cleanup http events

Add loaders

Add dapp flow

Fix tests

Fix dapp success event

Hide reward based on referrals metadata

New flows

Terms link

TX watcher event

Do not show success popup

Use new rewardable field from backend

Fix referral pulling

Update copy

Translate advertiser modal

Move modal styles into style ns

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-20 13:44:12 +03:00
Gheorghe Pinzaru 25721688db
Debounce next in onboarding
Fixes #11043

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-20 13:26:27 +03:00
Gheorghe Pinzaru c644ab3501
Resolve contract by ens name
Do not show referrals if contract is not available

Do not check contract for referral accept

Rename invite event namespace require

Remove dispatch from raw subs

Do nothing if there is no contract

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-19 17:10:27 +03:00
Volodymyr Kozieiev ac4f65be97
Fix crash when passcode disabled
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-08-18 18:35:46 +03:00
Gheorghe Pinzaru 1e7061acc2
Fix topbar in new contact
Fixes #11091

Fix more nav handlers keys

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-18 15:47:26 +03:00
Andrea Maria Piana e52f9fa43f
upgrade status-go & always call start/stop methods
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-08-18 14:16:15 +02:00
Churikova Tetiana d5fc93aa55
fixes for e2e + new ids for elements
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-08-18 12:38:48 +02:00
Roman Volosovskyi c2277cbbe5
[#9986] Allow to disable fetching of tx history on mobile network 2020-08-15 21:34:37 +03:00
Churikova Tetiana d22a87b77c
e2e fixes + e2e reaction
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-08-14 18:08:24 +02:00
Gheorghe Pinzaru 4e44bed8d6
Replace all usage of topbar with Quo
QR

Invert border boolean

Update e2e

Fix another e2e

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-14 14:22:40 +03:00
Gheorghe Pinzaru 62fe9f3d6a
Clear home filter when opening chats
Fixes #11015 Fixes #11013

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-12 17:45:40 +03:00
Churikova Tetiana f128c0ceed
new e2e and fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-08-11 18:12:21 +02:00
Roman Volosovskyi 7d19de4e69
[mentions] Open profile on pressing mention in message 2020-08-11 13:10:04 +03:00
Gheorghe Pinzaru feb8dfce07
Enable Quo Preview in dev app
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-11 11:21:54 +03:00
Gheorghe Pinzaru 9c37eac6f4
Use i18n for biometric auth types
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-11 10:59:15 +03:00
Gheorghe Pinzaru 793579885a
Add universal QR scanner via common router
Rename events

Add router to handle all links

Use router in add new chat

Unify universal link and universal qr with router

Add icon for universal scanner

Update tests

Now routing is tested in routing PR

lint

Cleanup

QA fixes

Scan own profile

Handle more EIP

Fix wallet scanner

Fix stack for view profile in UL

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-11 10:24:15 +03:00
andrey 2d8b0107e3
replace camera library
Signed-off-by: andrey <motor4ik@gmail.com>
2020-08-10 17:54:14 +02:00
Gheorghe Pinzaru 7bb7b48db7
Fix chat text input animation lags
Remove picker panel from input

Clean pan state

Fixes #11031

Do not use pan state on android

iOs panel switching do not change height

Revert "Remove picker panel from input"

This reverts commit 0ab2c1544b70f8c491424376268f572696bd284a.

Change reactions space keeper method

Audio

Do not use accessory view on Android

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-10 16:40:50 +03:00
Gheorghe Pinzaru 0319854e83
Home show search when input is focused or has content
Fixes #11017

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-06 13:55:39 +03:00
Gheorghe Pinzaru 2371dcbc60
Show gfycat in new chat search
fixes #11027

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-06 09:58:29 +03:00
Gheorghe Pinzaru 72726e2b0b
Fix ens name hash exception for bad names
Fixes #11022

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-06 09:17:20 +03:00
Gheorghe Pinzaru 3c42360b30
Add referral program under feature flag
Add acquisition backend methods

Init referrals sharing UI

Add invite on home screen

Use i18n for strings

Lint

Update status go

Pull acquisition contract to get SNT amount

Use new invite component

f pulling

go

Use screen instead of bottom sheet

Handle android install referrer

Post referrer to backend if present

go go

Add async storage for referral decisions

Update with the stage backend

Update contract methods

Modal

UI

Full handling of advertiser type

UI

test

UI

Handle with universal link

Allow multiple acquisition per installation

Fix android bottom sheet

Do not call service if no click-id received

Disable invite in release

Parse query params for referrer

Adapt UI changes

Add push notification

update deps

Mock react-native-push-notification

Request push notifications permission on press accept

Store transaction to local storage and load it back on login

Separate acquisition into smaller ns

Add chat invite

Get referrer only on first install

fix string

Fix firebase crash

Handle outdate click-id

Cleanup business logic

Update contract

Revert pn

Minor update to advertiser modal copy

OLD -  Welcome to Status! Here is some crypto to get you started
NEW - Here’s some crypto to get you started! Use it to get stickers, an ENS name and try dapps

OLD - By accepting you agree to the starter pack
NEW - By accepting you agree to the referral program

upgrade status-go

Add mainnet

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-08-03 15:25:34 +03:00
Gheorghe Pinzaru 1c308c2d01
Emoji reactions
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-07-31 13:43:10 +02:00
Roman Volosovskyi e96fc90199
[#10976] Fix crash on kk login with enabled fingerprint 2020-07-30 21:11:02 +03:00
Gheorghe Pinzaru 8652f899e0
[#10988] Add entry point to start new chat from search results
Fixes #10988

Allow public key and filter public chats

Make toolbar width 100

Clear new identity from search

QA issues fix

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-30 13:47:34 +03:00
tbenr 86700f2b5c
audio messages
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-07-29 10:09:31 +02:00
andrey 2cc8c9822f
image reply fix
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-29 09:55:36 +02:00
andrey a968149ecc
fix scan qr window
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-29 09:55:03 +02:00
Roman Volosovskyi 10a814764d
[#10195] Delete multiaccount 2020-07-28 15:42:40 +03:00
andrey 6c5daaa1c8
set max button in dark mode
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-27 18:25:42 +02:00
Gheorghe Pinzaru 5b5096a6d7
Shrink left button in toolbar to not overflow
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-24 18:01:52 +03:00
Gheorghe Pinzaru 729a35d830
Fix parens on intro screens
Fixes #10979

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-07-23 13:23:53 +02:00
Dean Eigenmann f8af5a51be
Update views.cljs
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-07-22 16:36:45 +02:00
Gheorghe Pinzaru 3b17a46bf8
Allow nested touchable in list item
Fixes #10924

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-22 15:51:50 +03:00
Gheorghe Pinzaru e8fca7ce68
Add interactive dismiss and new input UI
New input UI

Inverse panel height calculation

Remove old chat input

Better animations

fix for pasting text

Add buttons accessibility

Fix dark mode

Update react navigation to fix the keyboard issues

Force close bottom sheet

Unmount android bottom sheet when not visible

Reset bottom sheet height android

more fixes

more fixes

Add hidden audio icon

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-20 12:21:47 +03:00
Gheorghe Pinzaru 6fcb426a71
Disabled next in password screen
Fixes #10965

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-20 12:17:30 +03:00
Gheorghe Pinzaru 4f135292a5
Fix UI issues in backup seed phrase
Fixes #10964
2020-07-20 12:17:19 +03:00
Gheorghe Pinzaru 0f07f3eecb
Update image resizer
Do not resize images in camera roll

request permission on camera roll

fix images e2e

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-20 11:54:31 +03:00
Gheorghe Pinzaru 923beb5f26
Disable by default list item animations on android
Use highlight for touchable feedback

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-16 11:17:51 +03:00
Roman Volosovskyi 292df1439c
[#10928] Always show blocked users 2020-07-15 21:27:32 +03:00
Roman Volosovskyi 618b1f81e2
[#10914] Show proper username in chat on opening from background 2020-07-15 15:07:14 +03:00
Gheorghe Pinzaru b7bc7c4e5d
Don't re-open bottom sheet if now closing
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-15 11:40:32 +03:00
Gheorghe Pinzaru fa4968f22c
Fix password position in wallet new account
Fixes #10921

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-15 11:39:21 +03:00
Gheorghe Pinzaru 0adc047f05
Fix missing i18n
fixes #10945

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-15 11:38:28 +03:00
Gheorghe Pinzaru 5c05174604
Merge password screens
Update e2e

Small UX feedback changes

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-15 11:28:02 +03:00
Gheorghe Pinzaru df9062475c
Extend security masked data protocol 2020-07-15 11:25:10 +03:00
Roman Volosovskyi 15cbec07e9
[keycard] Rename all "hardwallet" occurencies to "keycard"
Previously we used both "keycard" and "hardwallet" names for stuff
related to keycard. It can be confusing as "hardwallet" might be used
for other hardwallets in future.
2020-07-14 14:17:48 +03:00
yenda 67ce4b03aa
Revert "upgrade shadow"
This reverts commit 08cbc76111.

Signed-off-by: yenda <eric@status.im>
2020-07-14 13:02:24 +02:00
andrey eef6815616
[#10880] Expanded view with public chat categories 2020-07-10 14:54:39 +02:00
andrey 08cbc76111
upgrade shadow
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-10 12:41:15 +02:00
Roman Volosovskyi bda7386747
[#10784] Fix kk multiacc creation after closing app 2020-07-09 17:32:33 +03:00
Roman Volosovskyi 5101d4d6a5
[keycard] Allow to restore kk multiacc using pairing 2020-07-09 17:30:32 +03:00
Gheorghe Pinzaru 79cf87be86
Ens view list items
Remove extra fn's

Long press animation cancel

Make select primary ens accessible

Add accessibility to controls components

Update e2e tests

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-09 15:15:08 +03:00
Roman Volosovskyi 920bc7d93e
[#10195] Separate keystore dir per multiacc
Having all keys related to specific multiacc in a separate dir will
simplify removing of the multiacc. Also it will allow adding of the same
account to different multiaccs.
2020-07-09 13:14:42 +03:00
Jakub Sokołowski 112132aa94
drop all desktop related files and references
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-07-08 10:26:51 +02:00
Gheorghe Pinzaru bdb4d7fe35
Increase long press move distance
Fix android password visibility change

Do not change secure-text-entry on android password visiblity

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-08 10:07:59 +03:00
andrey f2fb1739c0
[#10899] Enable notifications during onboarding 2020-07-07 14:53:56 +02:00
andrey 3800f3f7da
[#10891] Add 'Add new contact' and 'Invite friends' button to Contact screen
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-07 14:53:10 +02:00
Gheorghe Pinzaru 497af38a7f
Update usage for toolbars
Replace all the usage of the button without component

Use quo

Fix tests

List item in multiaccounts

Use list items in contacts

Fix welcome  screen button

Experiment long press

Big list item

Remove old bottom sheet

Use bottom sheet

Keycard

Add error to list item

Stickers panel button

Images panel

Fix z-index in profile

Fix android crash

Fix signing list item

Try fixing test

iOs gas sheet keyboard

Disable root alert in e2e

keycard signing sheet height

Clean up bottom sheet events

Replace flat list in profile

Memorise the manual-close value for bottom sheet

Mailserver QR scanner

Fix e2e tests

E2e fix 2

Fix e2e 3

Remove extra fn

Reduce bridging time for animation

Trick android layout

Try hooks

Fix profile missing ens-name

Disable press on control in list-view

allow disabling animations in list item

Use simple list in wallet assets settings

TBD - this screen should be rewritten from scratch. Now on every interaction the full list is re-rendered, also it makes the wallet main screen to re-render.

Fix send sheet

Handle long press in main thread

UI fixes

perf

Update e2e

fix missing user name in image long press

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-06 13:35:50 +03:00
andrey fad1bd25c0
chill stickers
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-06 12:31:42 +02:00
Roman Volosovskyi 3fe1d6e3eb
[keycard] Fix assets message signature 2020-07-03 14:10:37 +03:00
andrey 96adbd6185
[#10811] There should be an option to continue opening suspicious urls 2020-07-02 18:59:21 +02:00
andrey 2110446d29
conditional require
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-02 16:23:14 +02:00
andrey 2e7f4212c1
Revert "Remove usage of inline require"
This reverts commit 5f7c7955
2020-07-02 16:23:06 +02:00
Roman Volosovskyi 7f1e25a515
[simulated kk] Add proper signing for send/request transaction messages 2020-07-02 16:06:51 +03:00
andrey 24114f7fe8
[#10105] Add set max to Send transaction
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-02 13:39:48 +02:00
Gheorghe Pinzaru aa3781e5b5
Onboarding headers style
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-02 11:39:21 +02:00
andrey 9619a0a204
[#10860] Rename and move Access keys in onboarding 2020-07-02 11:38:20 +02:00
andrey dfb8420353
Disable Register button if not enough SNT for ENS name
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-01 16:25:18 +02:00
andrey 49744d89de
[#10868] ENS name is pending when tx has failed
Signed-off-by: andrey <motor4ik@gmail.com>
2020-07-01 12:48:08 +02:00
Gheorghe Pinzaru e290881bf8
Add autoscroll and animation to intro carousel
Add cancelable loop animation

Set index manually

Increase progress bar size

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-07-01 09:32:36 +03:00
andrey 056dde0190
[#10870] "Invalid timbre logging level" after upgrade from 1.4 to 1.4.1 or relogin on 1.4.1
Signed-off-by: andrey <motor4ik@gmail.com>
2020-06-29 09:40:55 +02:00
Gheorghe Pinzaru 1733d4dc83
Add control components to Quo
Add new switch component

Add all controls components

Use controls in list items

Delete leftover file

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-26 12:02:02 +03:00
Churikova Tetiana c32057d3fd
Refactoring amount validation errors e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-06-24 15:28:28 +02:00
emizzle 27ed124e01
fix: connectivity banner height
Fixes #9803 --the height of the banner was cutting off banner messages spanning multiple lines

Due to the animation of the view surrounding the banner text, calculate the banner height, then re-render the banner with the updated height.

Render a view that wraps not only the message banner itself, but also a hidden (0-opacity and absolutely positioned) view with the banner text that calculates the height of the banner during the `on-layout` event. The banner height calculation causes the reagent atom value change to re-render the banner view with the udpated height.

1. There is an animation on the message banner. The "out" animation (ie when the banner is in the process of disappearing) seems to work correctly. However, there did not seem to be an "in" animation. I'm fairly confident these changes did not break any existing animations, however it's worth noting this so that others who are more familiar with the existing codebase may be in a better place to say otherwise.
2. Testing during changes was done by dispatching the `network-info-changed` event like so:
```
(re-frame/dispatch [::network-info-changed {:isConnected false}])
```

Co-authored-by: Pascal Precht <pascal@status.im>
Co-authored-by: Eric Dvorsak <eric@status.im>
Signed-off-by: andrey <motor4ik@gmail.com>
2020-06-23 16:44:49 +02:00
Vitaliy Vlasov 84e50ffe4e
Merge webview.js into provider.js
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-06-23 16:12:40 +03:00
Andrey Shovkoplyas 98229c46cf
[#9037] Error states for new Tx overview: contract & network fees
Signed-off-by: andrey <motor4ik@gmail.com>
2020-06-23 15:00:13 +02:00
Andrea Maria Piana 28ebedbd16
Handle encoded urls
We didn't check for encoded characters in the URL.
Instead now first we decode the URL components, and then match against
the URLs.
We also make sure that there's no HTML in the link passed.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-23 14:03:02 +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
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
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
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
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 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
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
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
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
Jonathan Rainville 08ff2edb0b
Show ENS name only when confirmed
fix: only save the ENS username when the TX is confirmed
feat: show when ens registration are in progress, done or errored
feat: implement new design for the ENS registration
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-04 12:51:19 +02:00
Andrey Shovkoplyas e743cbacd0
[#10744] Error at attempt to set custom-domain ENS as main
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-04 12:36:34 +02:00
Andrea Maria Piana b39d26ed4c
[Fixes: #10747] Fix searching name of ens contacts
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-04 09:47:15 +02:00
Andrea Maria Piana 254fd229b5
[Fixes #10746] Correctly show reply symbol
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-04 09:13:03 +02:00
Andrea Maria Piana f1272f4d49
[Fixes #10751] Remove messages & list when blocking
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-04 09:11:51 +02:00
Gheorghe Pinzaru 39cc56dd10
Handle links in profile qr code scanner
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-03 17:42:57 +03:00
jinhojang6 46ebda8eeb
Update translations
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-03 11:35:57 +02:00
Andrey Shovkoplyas 0620f4b0df
[#10732] Remove message spinners and 'Sent' status
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-06-03 10:58:45 +02:00
Vitaliy Vlasov d50f6ca21e
Show redeem text for Keycard redeem txs
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-06-03 00:10:58 +03:00
Gheorghe Pinzaru 12aa20f467
Add bottom sheet
EXPERIMENTAL: uses reanimated lib so we can use reanimated buttons inside and have simultaneous handlers

Add react hooks

Use hooks

mocks

Use timing for drag transition

Use view on android

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-02 18:10:27 +03:00
Roman Volosovskyi a1027cdfcc
[#10452] Keycard: updated PUK flow 2020-06-02 16:34:44 +03:00
Andrea Maria Piana 9d7691312b
Fix topbar back-button flickering
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-01 13:51:05 +02:00
Andrea Maria Piana f69ae44d50
Improve chat loading performance
This commit does a few things:

Move collections top level

Move `messages`,`message-lists`,`pagination-info` from nested in
`chats` to top level at the db.
The reason for this change is that if any of the `messages` fields
change, any `sub` that relies on `chat` will be recomputed, which is
unnecessary.

Move chat-name to events

`chat-name` was computed dynamically, while it is now only calculated
when loading chat the first time around.

Remove `enrich-chats`

Enrich chats was doing a lot of work, and many subscriptions were
relying on it.
Not all the computations were necessary, for example it would always
calculate the name of who invited the user to a group chat, regardless
of whether it was actually used in the view.
This commit changes that behavior so that we use smaller subscriptions
to calculate such fields.
In general we should move computations to events, if that's not
desirable (there are some cases where we might not want to do that), we
should have "bottom/leaf heavy" subscriptions as opposed to "top heavy",
especially if they are to be shared, so only when (and if) we load that
particular view, the subscription is triggered, while others can be
re-used.

I have compared performance with current release, and there's a
noticeable difference. Opening a chat is faster (messages are loaded
faster), and clicking on the home view on a chat is more responsing
(the animation on-press is much quicker).
2020-06-01 13:50:49 +02:00
Gheorghe Pinzaru 5f7c795567
Remove usage of inline require
Revert translations

remove inline require

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-06-01 14:19:17 +03:00
Andrea Maria Piana e3815db497
Disable images in public chats
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-06-01 11:44:15 +02:00
Andrey Shovkoplyas f659cbf242
camera roll 2020-06-01 11:34:13 +02:00
Andrea Maria Piana 91bcd0c861
sending images over waku 2020-06-01 11:34:12 +02:00
Andrey Shovkoplyas 60d5815bde
images 2020-06-01 11:34:11 +02:00
Andrey Shovkoplyas 9a114128bc
[#10718] Update FAQ links
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-29 12:02:10 +02:00
Gheorghe Pinzaru d28ae1212d
Add animated list item into Quo
Change press animation ns

Add list item component

Fix pressable does not reset animation state

Improve long-press handling

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-26 13:53:40 +03:00
Roman Volosovskyi 335d2434f0
[#9661] Fix overlapping on puk code screen 2020-05-25 17:30:33 +03:00
Vitaliy Vlasov e26f5452b9
Do not use signer arg for keycard_signTypedData
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-05-25 17:03:25 +03:00
yenda e1074c7c01
fix #10591 error when scrolling account view
Signed-off-by: yenda <eric@status.im>
2020-05-25 14:32:26 +02:00
Andrea Maria Piana 34755500d5
[Fixes: #10471] Parse markdown in chat subheader.
This commit adds parsing of markdown in the chat subheader.

Because of the added complexity performance are impacted but I have
also noticed that on each loading of the chat screen we calculate
alias & identicon through status-go, so that has been changed so that
they are returned from status-go.

Overall performance is now roughly identical, tested loading 150
one-to-one chats.

Another issue that I've spotted is that some `subs` are unnecessarely
recalculated (`active-chats`), when unrelated fields changes. I will
address this in a separate PR that should improve performance.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-05-25 14:03:24 +02:00
Andrea Maria Piana 789271f179
[Fixes: #5124] Fix rtl flag
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-05-22 09:55:05 +02:00
jinhojang6 6344c765d3
Update translations and supported languages 2020-05-21 15:32:03 +02:00
Gheorghe Pinzaru 0ff6579fa3
Add animated buttons to Quo
Move haptic

Upgrade redash

Add button component

lint

Add button icon type

Add disabled theme

Add accessibility-label

Fix android color

Fix preview modal

Remove android ripple effect

test android

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-20 17:51:38 +03:00
Andrea Maria Piana e158502819
Show text field as fallback for new content-types
When a new content-type is introduced, before we shown
"Unhandled content-type". Now we instead pull text if it's present,
otherwise we still show "Unhandled content-type". This makes for a
smoother upgrade path when adding new content types.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-05-19 11:18:36 +02:00
Andrea Maria Piana 80c6a516d8
Denormalize message on replying
Before we stored only the message-id and had a subscription pulling the
message from the database when replying to the message.
This broke once we implemented offloading of messages, as the message
might not be in the database anymore.
This commit fixes the issue by storing the full message in the database,
so in the event of it being offloaded it is still shown.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-05-19 10:03:08 +02:00
Jakub Sokołowski 2f9593a7d2
unify multiple Makefile targets
Changes:
- Drop a bunch of `watch-{android,ios}-*` tagets
- Replace them with one `run-clojure`
- Drop a bunch of `react-native-*` targets
- Replace them with one `run-metro`
- Replace `run-{android,ios}` with `run-{android,ios}`
- Drop `startdev-{android,ios,desktop}*` targets
- Drop `prod-build-{android,ios}` as deprecated
- Drop `src/status_im/android/core.cljs`
- Drop `src/status_im/ios/core.cljs`
- Move `lsof` tool to `default` shell
- Replace them with one `init` `src/status_im/core.cljs`
- Use `init` in one `shadow-cljs.edn` target `mobile`
- Use `mobile` target in `nix/mobile/android/jsbundle`
- Update instructions in `STARTING_GUIDE.md`
- Use `gradle` shell for `android-clean` target

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-15 18:29:31 +02:00
Roman Volosovskyi dc303fecc9
[#10434] Skip openening multiaccs list on autologin 2020-05-15 12:34:09 +03:00
Roman Volosovskyi 0758ad6136
[#10632] Fix tx signing on keycard 2020-05-13 16:34:21 +03:00
yenda 461e67a46b
fix incoming/outgoing bug
Signed-off-by: yenda <eric@status.im>
2020-05-12 19:31:22 +02:00
yenda abfe0869f3
requiring translations inline
Signed-off-by: yenda <eric@status.im>
2020-05-12 16:11:37 +02:00
Roman Volosovskyi 86b89ebb5c
fix ns duplication 2020-05-12 14:09:33 +03:00
Roman Volosovskyi ee5d53eba9
[keycard] Account generation & tx signing on simulated card 2020-05-12 11:59:31 +03:00
Roman Volosovskyi 6cf242a036
[#10622] Import s.h.export-key ns 2020-05-12 10:43:21 +03:00
Andrey Shovkoplyas c8b5e39dc1
fixed wizard text
Signed-off-by: yenda <eric@status.im>
2020-05-08 14:52:54 +02:00
yenda a06413b6f7
fix missing search filter event
Signed-off-by: yenda <eric@status.im>
2020-05-08 14:07:15 +02:00
Gheorghe Pinzaru c34df26e19
Move icons assets into resources
Fix logout icon usage

Update icons docs

Remove scripting

change jenkins

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-08 14:12:52 +03:00
emizzle 095467ff51
[#10427] Narrow devices were causing text in the intro carousel to grow to two lines on *the first* slide but not others, causing the height to be recalculated incorrectly on the last slide (that only had one line of text).
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-08 11:26:36 +02:00
Andrey Shovkoplyas 488d59a448
[#10494] Tapping on "Back up your seed phrase" from wallet doesn't open back up seed phrase flor
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-07 13:12:57 +02:00
Andrey Shovkoplyas a7c8f27b51
[#10587] `Unable to resolve spec` at attempt to rename group chat
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-07 13:11:43 +02:00
Andrey Shovkoplyas 8fe279b9b0
[#10593] Amount is hardly visible when appearance is set to dark, but system theme is light
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-07 12:39:25 +02:00
yenda 2d1aad6654
fix account creation
Signed-off-by: yenda <eric@status.im>
2020-05-07 12:36:41 +02:00
Gheorghe Pinzaru aad907ce77
Align top recipient multiline input
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-07 12:15:18 +03:00
Gheorghe Pinzaru 12a8e2c276
Update tokens icons
Add a bunch of new coins

Fix tokens icons

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-07 12:10:02 +03:00
yenda 1bf68094e3
add clj-kondo to linting phase
Signed-off-by: yenda <eric@status.im>
2020-05-07 10:40:30 +02:00
Andrey Shovkoplyas 41bde61212
[#10414] Implement support for latest version of eip-1193 2020-05-06 17:35:40 +02:00
Gheorghe Pinzaru 2140a9867b
Upgrade react native to 0.62.2
Xcode updates

Localization

Pods upgrade

Update package.json

Upgrade android

Fix gitignore

Add flipper

Do not enable flipper by default on ios

maven update

Remove outdated hermes

idk what it is, but it's outdated

show warning on build

gradle update

rebase

Update deprecated clipboard

nix

align e2e to rn upgrade

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-05-06 17:35:13 +03:00
Richard Ramos 68fcc967a7
fix: display value decimals instead of using exp notation
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-05 20:29:56 +02:00
Andrey Shovkoplyas eb6d14fd27
revert fast refresh
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-05 17:17:19 +02:00
Andrey Shovkoplyas ebb0697c53
[#10557] "TypeError: Network request failed" crash on sticker market
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-05 17:16:31 +02:00
Andrey Shovkoplyas 640dfa7da6
[#10576] Change button "Sign with keycard" in dark mode
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-05 17:15:19 +02:00
Andrey Shovkoplyas 4db9cd38e1
disable fast reload and add make repl
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-05 11:20:42 +02:00
Churikova Tetiana 4c360f9ea1
e2e fix + pairing code align
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-05-05 10:54:11 +02:00
Andrey Shovkoplyas cdad34ed3d
fixed keycard crash on message signing and fixed height of bottom sheet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-05-05 10:14:12 +02:00
Andrey Shovkoplyas 8ee1e3d643
[#10255] Keycard is not optimized for Dark mode 2020-05-05 10:14:04 +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 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
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
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
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
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
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
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
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
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
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
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
Andrey Shovkoplyas e5d53e65de
re-frisk 1.0
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-23 12:12:42 +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
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
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
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
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
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
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
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
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
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
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
Andrea Maria Piana c2d129d04e
Fix mark as read for hidden messages
If a message is hidden and is not currently loaded, it will not be
marked as read, resulting in the count being always positive. To avoid this
we always mark it as read, and from the backend we return whether it has
been marked as read or was already seen.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-07 13:27:06 +02:00
Andrea Maria Piana a914334fed
Fix incorrect loading of messages
In some instances when receiving messages from a mailsever in the chat
you are in, the flag `all-loaded?` would not be reset, meaning that
messages not in the current view would be added to the db, but would not be seen until actually
reloading the chat (go back home, open again).

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-07 11:42:41 +02:00
Roman Volosovskyi 9df455088e
[#8567] Accessible tooltips for e2e tests 2020-04-07 09:21:36 +03:00
Andrea Maria Piana e7a213fe95
Validate enode url when blank
Fixes: #7333

Validates enode url if blank as well, so `Save` button is disabled.
Handles as well if for any reason invalid values are passed.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-06 09:20:18 +02:00
Churikova Tetiana 9b6e7cad6d
basic e2e keycard
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-04-03 17:11:58 +02:00
Roman Volosovskyi 151b6a3cbf
Disable keycard on ios 2020-04-03 11:42:55 +03:00
Roman Volosovskyi 45b296a2c5
[#10243] Handle wrong pin on keycard account creation 2020-04-02 15:17:43 +03:00
Roman Volosovskyi f1e83158d9
Testing menu for keycard e2e tests 2020-04-02 15:10:29 +03:00
Andrea Maria Piana e5dbac877e
Handle new universal links
Fixes: #10192
Fixes: #10083
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-04-01 21:51:42 +02:00
yenda b344322475
fix ens contenthash resolution
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-01 13:52:04 +02:00
yenda 430a8fb27c
fix ens contenthash resolution
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-01 13:02:48 +02:00
Andrey Shovkoplyas 3d1a1c5be9
[#10077] Can't accept agreement on ENS registration when app translated into French
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-04-01 12:22:16 +02:00
Gheorghe Pinzaru 12bcd79c2c
Clear text input on blur
Fixes #10237

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-31 15:59:35 +03:00
Volodymyr Kozieiev 9e5cc74ea9
Loading indicator shown when prices loading is in progress
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-03-31 15:06:18 +03:00
yenda 49fd306f25
disable biometric auth when device can't save password (rooted)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-31 14:04:27 +02:00
Andrey Shovkoplyas fc1bc48fdc
ignore back button on signing panel
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-31 12:53:09 +02:00
Andrea Maria Piana dcca501b0a
Enable waku node default
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-03-30 10:59:29 +02:00
Serhy a7c2ecda42
Remove label 2020-03-26 13:18:57 +01:00
Churikova Tetiana 68f0a02cbc
fix e2e
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-26 10:36:21 +01:00
Andrey Shovkoplyas a447bed4ac
dark mode 2020-03-26 08:34:13 +01:00
Roman Volosovskyi 3760d2a2e5
[#10197] More retries when requesting balances 2020-03-25 17:10:21 +02:00
Roman Volosovskyi c9cdd48849
[#9705] fix java.lang.IllegalArgumentException: 16 > 0 after entering PIN code 2020-03-25 16:47:18 +02:00
Artur Zabeyvorota cda7564bbe
[#9657] system messages ui changes in group chat
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-03-25 15:33:41 +01:00
Gheorghe Pinzaru 81070f07b0
Fix android tabbar animation
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-25 16:10:46 +03:00
Vitaliy Vlasov 85d0022b26
Use community WebView
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-03-24 18:07:03 +02:00
Vitaliy Vlasov 86d85df5d3
Use atom for webview ref instead of storing it in re-frame's db
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-03-24 11:48:41 +02:00
Roman Volosovskyi b6e0bb0a0e
[#9686] Fix brief change of identiocon on keycard login 2020-03-24 08:43:12 +02:00
Andrey Shovkoplyas 2272fafc05
[#9962] Update prices in fiat more frequently
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-21 12:15:54 +01:00
Roman Volosovskyi 53883e4be1
[#10183] Fix balance updating on first transaction 2020-03-19 15:50:46 +02:00
Roman Volosovskyi fadda87ac2
[#9680] Show proper storage for keycard accounts 2020-03-19 14:25:11 +02:00
vidal cd02175144
Adding BTU (BTU Protocol) token
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-19 12:14:38 +01:00
Gheorghe Pinzaru ed8b5b265b
Handle hardware back on popover and bottom sheet
Closes all popovers. Fixes #9992

Add hardware back button on bottom sheet

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-19 13:20:54 +03:00
Roman Volosovskyi ebf2600fdc
[#10101] Reintroduce account generation on keycard multiaccount 2020-03-19 11:42:24 +02:00
Gheorghe Pinzaru d24f4690b8
Fix failing test for navigation task
Handle default case for ens confirmation

Before navigation away the registration state is cleared and case does not handle default value for nil

Remove extra space on home button

Remove outdated options

Fix e2e

Change navigation replace arguments as per rn5

Fixes #10178

Dispatch navigation later

Do not restore state for react-native-screens

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-18 17:47:03 +03:00
Volodymyr Kozieiev d2478bbd34
use 'next' label when sending transaction requires a sign
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-03-18 16:43:05 +02:00
Gheorghe Pinzaru a2b2f55996
Use react native screens on ios and android
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-17 19:56:26 +03:00
Gheorghe Pinzaru d823a2082a
Update react navigation and rework wrapper
Get rid of navigation wrapper

Use new API to declare navigation

Update tabbar component

Update to use new navigation events

Add ios presentation modal

Navigation cleanups

Android specific updates

Use letsubs for stack subscriptions

Keycard did load event backward compatibility

Fix tabbar and wallet on-focus bad rebase

Do not keep welcome screen into the stack

Comment outdated test

Fix rebase on home PR

Cancel back button on screens which can't be popped

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-17 11:52:31 +03:00
Roman Volosovskyi 61d465a343
Ensure that keycard flows continue when card is already connected
This commit ensures that a user can flawlessly interact with a keycard,
regardless of the moment when the card was tapped to the device. To make
it so:
- in case if the card was tapped before the interaction the user doesn't
  need to re-connect card to continue
- in case if the connection with the card was lost during the interaction
  the application restarts that interaction as soon as the card was
  connected again (unless the user canceled the flow)
2020-03-16 14:58:25 +02:00
Andrea Maria Piana 947b1c2b2e
Correctly load messages when on tab
While on tabs we want a slightly different behavior:
Unread counter should increase, message should be loaded in the chat
On moving to the chat tab from one of these tabs, it should mark the
messages as seen.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-03-16 13:34:07 +01:00
Andrea Maria Piana 619e176087
Set waku mode dynamically
This commit allows setting waku-mode and waku-bloom-filter-mode
dynamically.
It requires a relogin for the changes to take effect.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-03-16 08:09:27 +01:00
Andrey Shovkoplyas b8861c6c14
[#10141] Unable to login to multiaccount if it is already restored as account in another multiaccount (IOS)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-12 14:21:56 +01:00
Andrey Shovkoplyas 3cf282e75a
fixes home loading indicator
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-12 12:33:45 +01:00
Roman Volosovskyi 4f95e0bcf4
[#10011] Listen to nfc state changes 2020-03-12 09:04:41 +02:00
Andrey Shovkoplyas c4a7849c9d
chat screens performance
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-12 07:39:08 +01:00
Gheorghe Pinzaru 826b7df982
Use new keycard flow with animation
Remove screens that are not needed for new flow

Replace keycard flows with new interaction

If card connected start processing on sheet open

Remove outdated pin screens

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>

Do not hide sheet when tag was lost during generating keys

Change cancel action for no-key on card recovery

Change pin screen when loading keys to an initialised card

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-11 17:21:24 +03:00
Roman Volosovskyi cc520a1f27
[#9987] Stop fetching new blocks while app is not active 2020-03-11 09:17:58 +02:00
Andrea Maria Piana c2e195979c
Use first-not-visible message instead of last-visible
Using last visible message ignores an edge case:

If we are on top of the list (i.e oldest message), any received message
should be appended (it must be visible).

When using last-visible message for this, a newer message will have <
clock-value, therefore it will be offloaded to the database, which is
not correct.

Instead if we use the first-not-visible message, this should not be a
problem. If we are on top of the list, this will be nil, and therefore
the message will be appended.

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-09 12:21:19 +01:00
Roman Volosovskyi 51c80a8f8e
[#9630] Clear keycard's app info before showing login screen 2020-03-06 14:22:34 +02:00
Andrey Shovkoplyas 9b1150df29
temporary fix for contacts signal
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-05 13:53:24 +01:00
Andrey Shovkoplyas 5f2b29ee52
[#10119] Android app UI is slow after backgorund
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-04 14:56:55 +01:00
Churikova Tetiana 696ebbf67e
one accessibility-id for account name input
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-03-04 11:31:32 +01:00
Gheorghe Pinzaru 6d3ef2282f
Redirect to multiaccounts only on explicit logout
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-04 11:53:17 +03:00
Andrey Shovkoplyas 5301d421f2
[#10084] Make commands in chat available on Ropsten for e2e builds
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-03-04 09:49:54 +01:00
Churikova Tetiana 4d0fd4389e
access-id + start new chat fix
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-03-03 16:02:45 +01:00
Serhy f5488e1f61
Update e2e
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-03 14:28:02 +01:00
Andrey Shovkoplyas 0e4c7a23bf
[#10089] Override the behaviour of public chat' unread messages indicator 2020-03-03 14:27:55 +01:00
Andrey Shovkoplyas f645d3fbb5
accessibility-labels 2020-03-03 12:51:28 +01:00
Andrey Shovkoplyas a79a72fccb
[#9749] Support importing private key and seed 2020-03-03 12:51:28 +01:00
Roman Volosovskyi c9486dc634
[#10115] Trim address/name on adding 1-1 chat 2020-03-02 18:18:23 +02:00
Andrey Shovkoplyas d64ba1b540
[#9789] Add a loading indicator and button to username input of start new chat
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-03-02 12:35:05 +01:00
Gheorghe Pinzaru 87ce82e10a
Allow 2 lines for user name on intro screen
Add max-height to scroll-view

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-03-01 11:01:53 +03:00
Gheorghe Pinzaru 3ad9cfa269
Rework bottom-sheet component
Fixes #9848

Update initial content height

Review followup

Fix sheet disappear during drag

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-28 10:46:54 +03:00
Vitaliy Vlasov 8c23975ad7
Do not use naked-address when hashing messages prior to Keycard signing
Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2020-02-26 18:56:39 +02:00
Andrea Maria Piana 21ef5a68b8
Add mark all read
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-26 13:35:31 +01:00
Gheorghe Pinzaru c9d1adbc27
Add animation for keycard interaction
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-26 14:48:42 +03:00
Vitaliy Vlasov bca946aa78
Add missing keycard event handlers 2020-02-26 12:14:43 +02:00
Andrey Shovkoplyas 6e3784d671
[#9886] App shows 'buy' for stickerpack user owns when pressing on sticker in chat
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-26 09:51:33 +01:00
Roman Volosovskyi 999bb9940e
Fix leftover after #10073 changes 2020-02-25 15:45:44 +02:00
Gheorghe Pinzaru ff1022f337
Do not change keychain method on auth-bio fail
Do not change auth method if user does not save password

Sanity check - fix only for biometric method

Check for new auth method only when save password

ScrollView Persist taps on login view

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-25 14:27:10 +03:00
Gheorghe Pinzaru f18e7d746b
Separate hardwallet events into multiple ns
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-25 14:06:18 +03:00
Roman Volosovskyi 9a713148c7
[#10002] Follow up after #10008
- ensure that `:key-uid` is always added to `app-db` with proper case
- tests which cover multiacc duplication case
2020-02-25 12:27:14 +02:00
Roman Volosovskyi 59184b12d0
[#10012] Show remaining PIN attemts only after entering wrong PIN 2020-02-25 09:37:10 +02:00
Roman Volosovskyi 807c8377d4
Clean up after recent tx history changes:
- unused code is removed
- "load more" button is hidden for a new account
- each next page of tx history contains 20 transfers
  unless thare is no enough transfers in history
2020-02-25 09:27:18 +02:00
tbenr eb1cc65a3d
watch only qrcode and already exists check
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-02-24 16:33:21 +01:00
tbenr 81c4d16f9f
componentizied input-search and added in curency and token
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-02-20 11:40:40 +01:00
Gheorghe Pinzaru 40c12241e0
Add bottom sheet to chat top bar options
Add bottom sheet to message long press

Make whole bottom sheet panel dragable

Fixes #9846

Use spring animation for bottom size of bottom sheet

Remove extra border height from bottom sheet

The height is already added to content height

Remove extra set value for animation

Timing and spring already mutates the animation value

Reuse chat bottom sheet in chat list

Update the size of new chat bottom sheet

Add remove to group chat

add chat id for clear history to be reused outside of current chat

Fix public chat bottom sheet missing destructoring

Replace icon for chat fetch history

Could be rotated arrow up, but this requires special handling in icons or list item

Fix remove public chat event

Dismiss keyboard on sheet mount

iOs rename arrow down icon

Fix unusable screen after close of bottom shet

The callback is called after 1.5 seconds after the animation starts. This happens because spring animation takes more time on animating post animation oscillations.

Add accessibility labels

Fix bad message destructoring

add view profile on long message press

Reset bottom value after animation

Remove pending circle from avatar in chat sheets

Do not show open profile on own messages

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-19 14:29:33 +03:00
Gheorghe Pinzaru 505ef626cc
Increase height of recovery word text input
Fixes #9658

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-18 18:00:07 +03:00
Andrea Maria Piana a2af83f034
Add option to enable waku-mode
This commit adds an option to enable waku mode through ENV settings.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-17 18:22:50 +01:00
tbenr 705b80ef8f
improvement on snackbar by considering login time
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-02-17 15:50:40 +01:00
Roman Volosovskyi 965dce053d
[#10041] Request token price after adding 2020-02-14 18:32:54 +02:00
Roman Volosovskyi 3f6051c22b
[#10044] Responsive new chat input 2020-02-14 17:46:43 +02:00
Andrea Maria Piana b30d002efb
Fix malformed file
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-14 16:43:10 +01:00
Andrea Maria Piana 4734a4ee04
offload chat messages
This commit does a few things:

1) Messages are offloaded from any chat once we go back from the home.
This allows us to ignore any message that is coming in from a chat we
are not currently focused.
2) After 5 seconds of not-scrolling activity, any received message that
is not currently visible will be offloaded to the database.
3) Similarly received messages that are not visible will be offloaded to
the database directly

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-14 15:56:28 +01:00
Volodymyr Kozieiev e6c859dd2d
Pending stickers status maintains after app restart
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-02-13 15:02:00 +02:00
krzyzowiec 553f2c0e01
Fixed cryptokitties loading/ordering
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-13 13:45:14 +01:00
Jakub Sokołowski 1ea49a80fc
rename get.status.im to join.status.im
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-11 18:09:21 +01:00
Andrey Shovkoplyas c1eb98691c
temporary fix for slow chats with long ens names
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-11 11:00:18 +01:00
Andrey Shovkoplyas ff41394d9e
back to infura
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-11 10:59:28 +01:00
Gheorghe Pinzaru 0a7dc8fdd2
[#9902] Make Sign out go to Multiaccount overview 'Your keys' screen
Fix e2e tests

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-11 10:34:56 +03:00
Roman Volosovskyi b2a70c8331
Disallow recovering of an existing multiaccount
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-10 15:11:39 +01:00
Andrey Shovkoplyas 481092dd25
[#8797] Error scrollToIndex when tapping [Fetch messages] twice in a row
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-10 14:08:03 +01:00
Andrey Shovkoplyas 671e5f4540
[#10005] Show only 1 line of ens name
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-10 12:12:45 +01:00
Roman Volosovskyi 39ea685adc
[#9975] Do not throw exception on invalid ens recipient 2020-02-07 18:43:07 +02:00
Roman Volosovskyi 8a612a3807
[#9975] Trim recipient address before validation 2020-02-07 16:29:57 +02:00
Andrea Maria Piana 3d4ee8fe6a
Check for empty public key
We check that ENS does not return an empty public key. In addition to
that validation is done on status-go in order to avoid saving the chat.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-07 14:43:54 +01:00
Andrey Shovkoplyas 06025ce26f
[#9961] Update glossary view
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-07 13:38:29 +01:00
Andrey Shovkoplyas 25fd297573
fixes ENS to new registry for verification
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-07 10:41:41 +01:00
Dean Eigenmann 7c5decbbfc
uses new ENS registry. see: GHSA-8f9f-pc5v-9r5h 2020-02-06 17:02:14 +01:00
Andrea Maria Piana b1ec418133
Resolve ENS names in the background
This commits resolves ENS names in the background, implementing retries
and exponential backoff.
All is handled in the background in status-go.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-02-05 11:12:06 +01:00
Andrey Shovkoplyas 76f9703afe
update prices for v1
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-04 15:05:14 +01:00
Gheorghe Pinzaru 6ad84f4232
Update your keys screen
Fixes #9782

Change theme of new key action

Update translations

Fix e2e tests

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-02-04 13:51:29 +03:00
Roman Volosovskyi ef49699222
[#9942] Upgradable paths in configs
Storing absolute path for different configs breaks compatibility on iOS
as app's dir is changed after upgrade. The solution is to store relative
paths and to concatenate it with `backend.rootDataDir`. The only
exception is `LogFile` as it is stored outside `backend.rootDataDir` on
Android. `LogDir` config was added to allow adding of custom dir for log
file.
Configs concerned:
`DataDir`
`LogDir`
`LogFile`
`KeystoreDir`
`BackupDisabledDataDir`
2020-02-03 20:34:40 +02:00
Andrey Shovkoplyas e0bafb842e
load more ui fix
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-02-03 16:38:35 +01:00
Andrey Shovkoplyas 6e9292c1e1
remove event duplication
Signed-off-by: yenda <eric@status.im>
2020-02-03 13:22:24 +01:00
Andrey Shovkoplyas c1245d7b1d
[#9954] Add 'view profile' to message long tap
Signed-off-by: yenda <eric@status.im>
2020-02-03 09:47:17 +01:00
Gheorghe Pinzaru 47732e7b5b
Remove contact indicator from userpic
Add contact indicator in 1:1 as a text. Fixes #9826

Fix e2e

explicitly define line height

On android and iOs line height is different, explicitly define so it will be the same in both platforms.

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-31 14:58:10 +03:00
yenda cc3ae6c693
fix #9903 hide buttons of actions that are not yet implemented
fix ens release button which showed a hardcoded date
link to release instructions on hackmd

Signed-off-by: yenda <eric@status.im>
2020-01-30 18:49:47 +01:00
Roman Volosovskyi b41df2f2fc
[#9927] Fast blocks sync after being offline
Front end changes:
 As there is no guarantee that `newblock` event will be dispatched
consequently (e.g. if there was a delay after block#1 the next event
might be dispatched for a block#2000, no guarantee that block#2 will be
the next one), `newTransactions` field was added with a map of accounts
to the number of new transactions received to this block. In result if
there are new transactions we request them all of db instead of fetching
them on for the block specified in `newblock` event, as it was done
previously.

Back end changes:
- In order to avoid handling of the reorganized blocks we use an offset
from the latest known block when start listening to new blocks. Before
this commit the offset was 15 blocks for all networks. This offset is
too big for mainnet and causes noticeable delay of marking a transfer as
confirmed in Status (comparing to etherscan). So it was changed to be 5
blocks on mainnet and is still 15 blocks on other networks.
- Also before this commit all new blocks were handled one by one with
network specific interval (10s for mainnet), which means that in case of
lost internet connection or application suspension (happens on iOS)
receiving of new blocks would be paused and then resumed with the same
"speed" - 1 blocks per 10s. In case if that pause is big enough the
application would never catch up with the latest block in the network,
and this also causes the state of transfers to be delayed in the
application. In this commit in case if there was more than 40s delay
after receiving of the previous block the whole history in range between
the previous received block and ("latest"-reorgeSafetyDepth) block is
checked at once and app catches up with a recent state of the chain.
2020-01-30 19:40:19 +02:00
Andrea Maria Piana 6ff878c836
Explicitly start messenger
We should only start receiving messages/processing topics once all the
initializiation is completed, so an endpoint that start the messenger
has been added.
Before we would initialize the topics/receiving messages at the same time,
which resulted in a race condition where a topic was signaled from
status-go and was considered new just because was not loaded yet.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-01-29 21:17:32 +01:00
Andrea Maria Piana a64eb79065
Correctly dispatch on updates & disable them
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-01-28 15:43:18 +01:00
Roman Volosovskyi 9dfb908678
[#9280] Make sure number-of-retries is not negative 2020-01-28 16:24:24 +02:00
Gheorghe Pinzaru 028543aa31
Support universal link for ens name
Handle ens-name in qr reader

If user has an username generate link with it

Ensure no infinite recursion happens on qr scan event

Fix test for custom profile ens-name

Fix QR code read for ens-name

Extra check for ens name in QR code

Do not open unknown profile for bad ens name

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-28 15:21:11 +03:00
Andrea Maria Piana 238b559981
[Fixes: #9900] Use component-did-update
When moving from chat to chat, component-did-mount is not fired as the
component is never unmounted, therefore messages were not loaded.
This changes the behavior to use the component-did-update lifecycle
method.

Signed-off-by: yenda <eric@status.im>
2020-01-27 11:56:54 +01:00
yenda 33abdf559a
disable custom picture
Signed-off-by: yenda <eric@status.im>
2020-01-27 11:55:46 +01:00
Gheorghe Pinzaru 14242a7877
Use default keyboard for username input
Signed-off-by: yenda <eric@status.im>
2020-01-27 11:54:32 +01:00
yenda 81d2c35f4d
[9853] add missing translatable labels
Signed-off-by: yenda <eric@status.im>
2020-01-27 11:53:32 +01:00
Andrea Maria Piana a8c39370d5
Fire request once network status changes & periodically check connection
This commit fixes a couple of issues.

The first one is that when we go from offline->cellular-network->wifi
historical requests were not triggered (only when going from
offline->online, but if they are disabled in cellular network they won't
fire).

The second is due to the fact that it is possible that the connection
status gets into a bad state, (this happens for example if get-latency
returns all errors, but we are online, and it won't be retried), and no
connection attempt is made anymore.

I have changed the logic to periodically check the connection state, and
try to connect if too much time has passed since last error (10s),
similarly to what we did before, but in a tick, so we are less reliant
on having the right state in the db.

Signed-off-by: yenda <eric@status.im>
2020-01-27 11:52:34 +01:00
Roman Volosovskyi ea02f8e3cf
[#9280] Add retries on error when fetching balances 2020-01-24 18:26:33 +02:00
Roman Volosovskyi 30545f77d2
Add a screen for debugging blocks lag 2020-01-24 16:58:20 +02:00
Gheorghe Pinzaru e3f6e3e639
Remove react/modal view from android navigation
Fixes #9884 React modal is drawn above the app (maximum z-index) while the bottom sheet and popover are part of the app. https://facebook.github.io/react-native/docs/modal.html documentation also suggest to not use modal in that case cause we lose some control over navigation. Now modal are handled by navigation and we can draw our popover and bottom sheet on bigger z-index and  better control what should be on the top.

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-23 13:57:57 +01:00
Roman Volosovskyi 161042066d
[#9203] Transfers fetching with less requests
- all messages are not shown right away, in order to paginate history
  a user has to press "load more" button
- added link to etherscan before transfers list
- there is a new "fetch more" button at the end of the list
- rest of changes can be found here status-im/status-go#1775
2020-01-23 14:41:16 +02:00
Gheorghe Pinzaru bddf3fa341
Remove outdated assets
Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-23 13:54:11 +03:00
Andrey Shovkoplyas 6334268757
remove chaos mode checking
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-22 17:08:45 +01:00
Volodymyr Kozieiev 0106f6efcd
Bug reporting fixed. Added notification about not configured mail client
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-01-22 17:35:14 +02:00
Gheorghe Pinzaru 6d666a07fe
Revert "Add animated onboarding videos"
This reverts commit 59140d971f.

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-22 16:53:54 +03:00
Pedro Pombeiro aaa51a9a36
Fix the way STATUS_GO_ENABLE_NIMBUS is read in cljs
Signed-off-by: yenda <eric@status.im>
2020-01-22 08:45:26 +01:00
yenda 0aa0d144a4
fix mailserver config in dev
Signed-off-by: yenda <eric@status.im>
2020-01-22 08:27:42 +01:00
Pedro Pombeiro 2dce0ba861
Integrate status-go Nimbus build
Signed-off-by: Pedro Pombeiro <noreply@pedro.pombei.ro>
2020-01-21 08:48:04 +01:00
yenda db74e0431c
make send commands work directly with ens names
Signed-off-by: yenda <eric@status.im>
2020-01-20 18:10:55 +01:00
Volodymyr Kozieiev f3df8b2ec8
new searchbar design
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2020-01-20 12:11:58 +02:00
Gheorghe Pinzaru fb9ea6529f
UI corrections is stickers panel
This adds a feel that it is opened already on the desired index

Add input margin only when there's no bottom shet

Use the right height for sticker panel

Use the stickers panel height in extensions panel

Fix indentation on stickers view

Remove extra margin on stickers indicator

Use custom panel height on android

Rename chat panel height subscription

Signed-off-by: Gheorghe Pinzaru <feross95@gmail.com>
2020-01-19 16:30:00 +03:00
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