Commit Graph

5803 Commits

Author SHA1 Message Date
yenda b2feca723c
fix hardcoded value in spanish translation
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-30 19:20:08 +01: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
Jinho Jang 58afae07ba
update Italian, Arabic, Spanish(LatAm), Chinese and Korean
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-30 11:30:14 +01: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
Jakub Sokołowski 128f44f58b
fastlane: disable oldest_build_allowed for TestFlight clean
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-29 15:58:17 +01:00
Serhy 9fb513cea0
Disable editprofile tests
Signed-off-by: Serhy <sergii@status.im>
2020-01-29 11:53:31 +02: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
yenda 60af04ff06
add Augur token (REP) images
Signed-off-by: yenda <eric@status.im>
2020-01-27 17:29:19 +01:00
Serhy 5203fc6fd8
Fix e2e after removed custom pic
Signed-off-by: Serhy <sergii@status.im>
2020-01-27 14:05:15 +02: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
Jakub Sokołowski 5a64745fce
nix: throw error if 'make nix-purge' is called on NixOS
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-24 17:07:09 +01:00
Roman Volosovskyi 30545f77d2
Add a screen for debugging blocks lag 2020-01-24 16:58:20 +02:00
hesterbruikman 19f92413de
Update copy Choose key storage
Error with previous update:

Intro-wizard-3 (OLD): Own a Keycard? Store your keys on it; you'll need it for transactions
Intro-wizard-3 (NEW): If you own a Keycard, store your keys there for enhanced security.

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-24 15:05:19 +01:00
Jakub Sokołowski c91fe5fa82
ci: use full timestamp for iOS CFBundleVersion
And we have to trim the one used for Android.
For more details see:
>Warning: The greatest value Google Play allows for versionCode is 2100000000.
https://developer.android.com/studio/publish/versioning

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-23 19:42:19 +01: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
Pedro Pombeiro 621e7803a3
Add back missing `arm` status-go target
Signed-off-by: Pedro Pombeiro <noreply@pedro.pombei.ro>
2020-01-23 13:52:52 +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
Andrea Maria Piana ee613276b7
Fix ens names & contacts
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-01-23 11:32:21 +01:00
Jakub Sokołowski 0c93451188
fastlane: upgrade fastlane-plugin-diawi to 1.4.0
before we used the same version but from our own fork

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-23 10:06:56 +01:00
Jakub Sokołowski 171ca13db2
status-go: upgrade 0.39.8 > 0.39.10
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-23 10:06:36 +01:00
Jakub Sokołowski c9e7d811ed
nix: fix Gradle download links by using https
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-22 19:46:28 +01:00
Jakub Sokołowski c3f3ca3e12
nix: upgrade nixpkgs ot bump Android NDK to 21.0.6113669
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-22 19:46:20 +01: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
Jakub Sokołowski a02a0429c3
fastlane: use our fork of fastlane-plugin-diawi
With it we can set last_hope_attempts_backoff to 5 seconds.
This should fix issues with upload wait timing out.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-21 21:18:16 +01:00
André Medeiros b93ebdc752
fix: remove ipad support (#9870)
We don't design for iPad specifically, so we can't claim the app
supports those screens.
2020-01-21 12:03:18 -05:00
Churikova Tetiana d5e2ed4475
align e2e
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-21 15:21:52 +01:00
Andrey Shovkoplyas c48fa9fb03
transparent modals
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-21 15:06:51 +01:00
Jakub Sokołowski c348337150
ci: fix GitHub upload by not changing dir when uploading
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-21 14:02:44 +01:00
yenda b99e54c2cd
disable local notifications for release
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-21 12:31:42 +01:00
Pedro Pombeiro b316fec885
Rebase Android branch in Nimbus
Signed-off-by: Pedro Pombeiro <noreply@pedro.pombei.ro>
2020-01-21 12:11:21 +01:00
Jakub Sokołowski 72823c2c3e
ci: use Diawi URL for iOS only if it's set
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-21 10:25:41 +01:00
Jakub Sokołowski 5e6ab5d0d9
ci: fix GitHub release by using glob for all files
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-21 09:02:02 +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
Jakub Sokołowski 08247391ad
disable waiting for iOS build processing on upload
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-20 23:27:18 +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
jinhojang6 97560d3dfe
update Russian, Chinese and Korean translations
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
2020-01-20 17:48:37 +01:00
Pedro Pombeiro 23036917ce
Remove PombeirP from maintainer lists
Signed-off-by: Pedro Pombeiro <noreply@pedro.pombei.ro>
2020-01-20 13:33:47 +01:00