Commit Graph

2297 Commits

Author SHA1 Message Date
Igor Mandrigin 908c0eff46
Remove unnecessary fonts from our app bundle.
Remove unused fonts on Android.
2018-09-28 20:04:27 +03:00
Goran Jovic 88929db80b
feature #6026 - USDC token 2018-09-28 20:02:09 +03:00
lokalise-bot 12858a3d79
add malaysian translation 2018-09-28 20:00:52 +03:00
Roman Volosovskyi 0a768bdd9c
[#4728] make [Enter] button default to proceed during account creation, chat creation, account restoring
more :on-submit-editing

Signed-off-by: Roman Volosovskyi <roman.wolosovskyi@gmail.com>
2018-09-28 19:27:22 +03:00
janherich 44fbe62773
Chat replies + refactoring 2018-09-28 16:15:47 +02:00
yenda 965381f376
fix store-event cofx position
Signed-off-by: yenda <eric@status.im>
2018-09-28 15:57:32 +02:00
yenda b8d250ba30
change realm schemas directory layout
the purpose of this change is to avoid the kind of mistakes that
happened in the past were copy/pasting imports led to wrong
migrations that went unnoticed
it will also make it easier to do migrations in the future as the
different versions of the same schemas are grouped together in the
same file and past migrations are grouped in the same file as well
so previous helper functions can be reused

Signed-off-by: yenda <eric@status.im>
2018-09-28 13:37:21 +02:00
Dmitry Novotochinov a4c95ff734
[#5321] fix command message rendering
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-28 14:30:02 +03:00
yenda 9fc2105cb8
[fix 6047] fix bridge functions cofx position
Signed-off-by: yenda <eric@status.im>
2018-09-28 12:04:37 +02:00
yenda 8638c562f9
[fix 6034] remove "thanks for..." popup on desktop
Signed-off-by: yenda <eric@status.im>
2018-09-28 11:57:01 +02:00
yenda f37276a648
[fix 6012] can't open dapps from deeplinks
Signed-off-by: yenda <eric@status.im>
2018-09-28 09:44:48 +02:00
Vitaliy Vlasov 7e62ebe96b
Fix chat/topic validation
Remove empty line

Fix formatting

Add custom use-valid-contact-code text for desktop

Add red border when validation failed

Add border-width

Signed-off-by: Vitaliy Vlasov <siphiuel@gmail.com>
2018-09-27 18:50:29 +03:00
Roman Volosovskyi 66a83a6135
[#5451] [desktop] fix flickering topic input 2018-09-27 13:09:14 +03:00
yenda d225b7cc46
use map of args for utils/show-popup fx
Signed-off-by: yenda <eric@status.im>
2018-09-27 12:05:09 +02:00
yenda ba86b84f25
remove unused replace-view function
Signed-off-by: yenda <eric@status.im>
2018-09-26 22:04:25 +02:00
Eric Dvorsak 21cc106ed3
cljs implementation of abi-spec
Signed-off-by: yenda <eric@status.im>
2018-09-26 21:58:14 +02:00
Andrea Maria Piana 0c48d09c71
Add back group chats messages
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-09-26 20:58:03 +02:00
yenda a4cb8b7259
[fix 5857] navigate-to home when deleting chat
Signed-off-by: yenda <eric@status.im>
2018-09-26 18:04:08 +02:00
Pedro Pombeiro 17a8d3a9c9
Unify desktop builds. Closes #5406
- Replace Linux and MacOS scripts in `ci/desktop.groovy` with calls to `scripts/create-desktop-package.sh`
- Replace use of `deployment/env` with `.env` to avoid confusion and be coherent with mobile platforms

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-26 16:45:48 +02:00
yenda 3b7d18594c
fix cofx position
Signed-off-by: yenda <eric@status.im>
2018-09-26 15:34:18 +02:00
yenda 32ca986ab2
fix clear history
Signed-off-by: yenda <eric@status.im>
2018-09-26 13:27:36 +02:00
Serhy 559b74ba94
Fixed tests and added accessibility id
Signed-off-by: Serhy <sergii@status.im>
2018-09-26 10:31:41 +03:00
zefeng huang 6d3ca7f5cd
fixes #4846
Signed-off-by: yenda <eric@status.im>
2018-09-26 09:04:49 +02:00
yenda e9149786c5
remove usage of merge-effects macro and handlers-macro ns
Signed-off-by: yenda <eric@status.im>
2018-09-25 20:05:52 +02:00
Andrey Shovkoplyas 4ab7ccdffd
[#5984] Keyboard overlaps message input in public modal chat screen on iPhone
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-25 16:14:36 +02:00
Andrey Shovkoplyas 764bbf1e2c
moved wallet under options
Signed-off-by: yenda <eric@status.im>
2018-09-25 15:51:29 +02:00
Igor Mandrigin a87f79ab4d
Fleet settings: use fleet names from the JSON file.
Signed-off-by: yenda <eric@status.im>
2018-09-25 15:48:13 +02:00
Roman Volosovskyi 261089f568
remove :t/request-requesting-from; fix :t/send-sending-to
Signed-off-by: yenda <eric@status.im>
2018-09-25 15:46:25 +02:00
Roman Volosovskyi 9791c183a8
fix :command-sending label 2018-09-25 15:45:42 +02:00
yenda 9d042bad7f
[fix 5981] fix "thank you" pop after every login
Signed-off-by: yenda <eric@status.im>
2018-09-25 15:19:48 +02:00
yenda 4bd5d986b0
remove merge-fx macro
Signed-off-by: yenda <eric@status.im>
2018-09-25 15:18:44 +02:00
Roman Volosovskyi 3486a0f5e6
[#5670] [desktop] fix jumping cursor when quickly typing in Recovery phrase 2018-09-25 15:23:33 +03:00
yenda 5c282b6cea
fix show-error fx
Signed-off-by: yenda <eric@status.im>
2018-09-25 13:15:33 +02:00
yenda ed2abf9101
introduce fx/defn macro and fx/merge function
intended to deprecate `handlers-macro/merge-fx`

Signed-off-by: yenda <eric@status.im>
2018-09-25 04:17:19 +02:00
Roman Volosovskyi bf2e51f856
fix red screen on figwheel reloading when intro screen has been opened 2018-09-24 20:39:07 +03:00
yenda f0980ab7f7
[fix 5950] closing browser redirects to home
Signed-off-by: yenda <eric@status.im>
2018-09-24 18:06:51 +02:00
Andrea Maria Piana df51731fca
Add pfs flag, installation id and nobackup data directory
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-09-24 17:47:02 +02:00
Andrey Shovkoplyas 9175f2e124
[#5698] null is not an object .sendToBridge
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-24 17:30:10 +02:00
Dmitry Novotochinov acb8c7905d
hide HW screens from navigation
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-24 18:27:56 +03:00
Andrey Shovkoplyas 18b9ba0aac
[#5365] Open chat from browser
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-24 16:50:25 +02:00
Roman Volosovskyi 85a8a35399
[#5938] [desktop] switch editing mode when leaving profile 2018-09-24 17:04:05 +03:00
Roman Volosovskyi d35b15e54e
[#5934] persist text in message input field after navigating to user profile and back 2018-09-24 17:02:57 +03:00
Roman Volosovskyi f558e94e99
reduce touching area for Privacy Policy link 2018-09-24 17:01:47 +03:00
Dmitry Novotochinov 41347ae5e0
[#5898] add HW setup screens
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-24 16:43:01 +03:00
Julien Eluard 10373ae6fd
[fix 5870] Added QR code API
Signed-off-by: yenda <eric@status.im>
2018-09-24 12:08:50 +02:00
yenda 8459fef358
Refactor browser and permissions
- move db and models ns to browser module
- remove browser navigation/preload-data
- rewrite dapp-permission logic and move code to permissions ns
- rewrite all browser events according to guidelines and move them to
`status-im.events` ns
- rewrite tests for browser and permissions
2018-09-24 12:08:34 +02:00
janherich c1014fd772
Fix bad navigation call
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-24 10:42:36 +02:00
yenda 1ddb09b249
Remove misleading wrap-call-once! fn
Signed-off-by: yenda <eric@status.im>
2018-09-23 17:09:07 +02:00
yenda 41d3fe17ea
fix account-recover screen errors
when typing a wrong recovery phrase or password, navigating back and
returning to account-recover screen, errors about recovery phrase and
password were not cleared

get rid of navigation/preload-data in the process as it is too clunky

TODO: eventually use screen-params in the future for screen related data
Signed-off-by: yenda <eric@status.im>
2018-09-20 21:18:01 +02:00
yenda 47b739b4df
fix create-account white screen 2018-09-20 21:17:49 +02:00
janherich 08c132c8a6
Edit username on desktop
Signed-off-by: yenda <eric@status.im>
2018-09-20 19:13:09 +02:00
Igor Mandrigin e6501af97b
Explicitly disable discovery when signing in to the account.
Signed-off-by: yenda <eric@status.im>
2018-09-20 18:52:46 +02:00
yenda d422a40fc6
fix event vector
Signed-off-by: yenda <eric@status.im>
2018-09-20 17:07:57 +02:00
yenda 01d25e0398
[feature 5923] move default public chats list in json file
Signed-off-by: yenda <eric@status.im>
2018-09-20 16:44:20 +02:00
lokalise-bot 2b61c8e270
Lokalise: update of translations/zh_Hans_CN.json
enable chinese translation by locale
2018-09-20 17:04:33 +03:00
Roman Volosovskyi a3990fe61b
fix translations for locales with underscore (like es_419) 2018-09-20 16:56:50 +03:00
Chad 447ee3754a
enable latin american spanish locale translation 2018-09-20 16:56:30 +03:00
yenda 4904c397e3
[feature 5904] add #cryptocurrency public chat
Signed-off-by: yenda <eric@status.im>
2018-09-20 15:21:06 +02:00
Dmitry Novotochinov 6f3b0698e7
[#5392] disable "sign transaction" button when offline
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-20 15:56:56 +03:00
yenda fbd4ea2f63
remove deprecated navigate-to function
Signed-off-by: yenda <eric@status.im>
2018-09-20 14:31:46 +02:00
yenda b71005d2fa
replace all register-event-db by fx and remove trim-v interceptor
Signed-off-by: yenda <eric@status.im>
2018-09-20 13:37:31 +02:00
janherich 8913dee762
Chat refactoring
Move chat views to ui.screens
2018-09-20 13:27:43 +02:00
yenda 195b70fcdd
[fix 5705] fix crash when tapping sign in twice in account recovery
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-09-20 13:08:52 +02:00
lokalise-bot 0658cdbdfa
Lokalise: update of polish translations
enable polish translation

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-09-20 07:03:24 -04:00
Roman Volosovskyi 589c45fe59
[#5885] fix Password pop-up 'Sign message' wallet screen overlaps Cancel+Sign buttons on iPhoneX
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-09-20 11:45:35 +02:00
Dmitry Novotochinov 60cb0eb36c
[#5825] add hardwallet auth method and connect screens
* add react-native-nfc-manager to detect NFC support
* add "Choose auth method" screen https://www.figma.com/file/UfQjpWl1hmRchHIyY3Wvu2nW/Hardwallet-light-flows?node-id=259%3A29
* add "Hardwallet connect" screen https://www.figma.com/file/UfQjpWl1hmRchHIyY3Wvu2nW/Hardwallet-light-flows?node-id=258%3A594

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-20 12:30:47 +03:00
yenda 18b71ee625
[fix 5903] fix empty screen when navigating back in create-account 2018-09-20 11:47:32 +03:00
Volodymyr Kozieiev c87cac252e
Improved desktop chat UI
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2018-09-20 10:49:22 +03:00
Pedro Pombeiro 4ab5e43616
Replace call to `GenerateConfig` with local JSON. Closes #5739
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-19 17:06:10 +02:00
Pedro Pombeiro e69fb18de9
Disable wallet initialization in desktop. Part of #5739
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-19 17:03:43 +02:00
Roman Volosovskyi f11b3cc670
restore the last view before entering background only on android in prod configuration
Signed-off-by: yenda <eric@status.im>
2018-09-19 16:01:06 +02:00
yenda 7dbc8a7f39
[fix 5814] fix custom network
Signed-off-by: yenda <eric@status.im>
2018-09-19 13:13:30 +02:00
Eric Dvorsak 5467deec9a
[fix 5814] fix add custom bootnode
the validation regexp is expecting a password, there is no password
for bootnodes

Signed-off-by: yenda <eric@status.im>
2018-09-19 10:23:11 +02:00
Aleksandr Pantiukhov eda73bf8ef
[#5583]: Stronger security checks in browser; Metamask phishing detector
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-09-18 17:54:42 +02:00
Andrey Shovkoplyas 5d912caf4a
allow numbers in chat topics
Signed-off-by: yenda <eric@status.im>
2018-09-18 17:39:31 +02:00
Eric Dvorsak d5fcc0b003
[FIX 5813] connect to custom mailserver button fix
Signed-off-by: yenda <eric@status.im>
2018-09-18 17:37:42 +02:00
Roman Volosovskyi 6438a1387b
[#4866] intagrate react-navigation 2018-09-18 14:21:32 +03:00
tbenr 51469c507e
Fixes #4393
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-18 12:56:09 +03:00
Andrey Shovkoplyas 4c05c9a9cd
make sign message message text great
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-18 12:27:50 +03:00
lokalise-bot 7c7717d101
Lokalise: update of translations/en.json
[#5829] chat commands translations
2018-09-17 12:34:29 +03:00
lokalise-bot eaaf5f0bff
Lokalise: update of translations/en.json
[#5829] default dapps translations
2018-09-17 09:26:01 +03:00
Chad 40c23cc166
fix zero plural localisation issue
fix zero case for :t/members-active key
2018-09-17 09:02:58 +03:00
Roman Volosovskyi 448e84a0e9
adjust defview so that componen-map can be passed as the second arg 2018-09-15 08:59:30 +03:00
Dmitry Novotochinov ed63cd4994
[#5474] Handle offline wallet onboarding
* Add :on-error callback to get-token-balance
* Check if online before doing token balance update
* Pull to refresh makes full wallet update, i.e. for all known tokens,
to properly update balances for new tokens that might appear in user
wallet with time and for tokens that were missed during offline

Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-09-14 19:11:32 +02:00
Dmitry Novotochinov 76036c88cc
[#5745] validate accout recover result
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-14 17:03:00 +03:00
Dmitry Novotochinov e0e205f565
Rename notifications/request-notifications
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-13 22:12:24 +03:00
Roman Volosovskyi c948559c09
remove logging of database encryption keys 2018-09-13 20:19:28 +03:00
Dmitry Novotochinov 5944d2b43f
[#5734] Check PN permissions on login
Client with versions 0.9.26/27 who recovered their accounts weren't
asked for PN permissions so we now check permissions after user signs in.

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-13 18:58:56 +03:00
Dmitry Novotochinov 1b40ccbe86
[#5798] change balance tilde color, remove it when 0 balance
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-13 18:57:38 +03:00
Andrey Shovkoplyas a20facd895
web3 opt-in updates
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-13 18:27:43 +03:00
Vitaliy Vlasov ca2e7795d3
Merge pull request #5318 from status-im/fix/system-warnings-notifications
Add system warnings, delivery notifications, general unread messages
2018-09-13 17:33:06 +03:00
Julien Eluard 71d00cea7a
[Fixes #5828] Updated bounties network URL
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-09-13 16:02:54 +02:00
Shi Lei 8fa0522bad
[fix #5604] Fixed the problem of tooltips being cropped out on the android platform.
Three screens: account/create, account/login and wallet/transaction-fee are known to be affected by this issue. In the former two screens, the fixes incur no visible UI changes; in the last screen, the tooltips are shifted down by 8 points.

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-13 16:57:18 +03:00
Vitaliy Vlasov 62ba35972b
Remove on-content-size-change handler 2018-09-13 12:48:47 +03:00
Roman Volosovskyi c61200f9ae
[#5180] Encrypt account's db with password 2018-09-13 12:20:13 +03:00
Vitaliy Vlasov d9e7d7c887
Test commit for inverted feature 2018-09-13 12:19:56 +03:00
janherich 988a1ca2e2
Prices handling in commands impl 2018-09-12 17:39:02 +02:00
Vitaliy Vlasov 33da59f859
Fix formatting 2018-09-12 18:09:47 +03:00
Vitaliy Vlasov 59c1eb1f5f
Fix connectivity error view overlay 2018-09-12 16:23:11 +03:00
Vitaliy Vlasov 70aae89d05
Fix error view jumps 2018-09-12 16:23:09 +03:00
Vitaliy Vlasov 0562015fa8
Fix status display by providing public key in message data 2018-09-12 16:21:16 +03:00
Vitaliy Vlasov d0e5ecd48b
Add system warnings, delivery notifications, general unread messages
badge
2018-09-12 16:21:14 +03:00
Vitaliy Vlasov 2d3952f252
Test commit to trigger Jenkins build 2018-09-12 16:20:35 +03:00
Vitaliy Vlasov 08e092c824
Fix connectivity error view overlay 2018-09-12 16:20:35 +03:00
Vitaliy Vlasov 7bde1ef1f9
Disable 'Tap for options' on Desktop 2018-09-12 16:20:33 +03:00
Vitaliy Vlasov fc12e22535
Fix error view jumps 2018-09-12 16:20:09 +03:00
Vitaliy Vlasov 3e43d85215
Fix message delivery status alignment on desktop 2018-09-12 16:18:53 +03:00
Vitaliy Vlasov 400e8b6d99
Fix message key so that message status updates work 2018-09-12 16:18:51 +03:00
Vitaliy Vlasov 9136dd0d3f
Fix :show-desktop-tab usage 2018-09-12 16:18:03 +03:00
Vitaliy Vlasov a08a98c491
Fix status display by providing public key in message data 2018-09-12 16:18:03 +03:00
Vitaliy Vlasov ffaa85f133
Add system warnings, delivery notifications, general unread messages
badge
2018-09-12 16:17:49 +03:00
Vitaliy Vlasov f240a6bef9
Merge pull request #5795 from status-im/fix/5624-change-chat-options-color
Change links color in chat header
2018-09-12 14:44:33 +03:00
Vitaliy Vlasov 7f8d87dec3
Merge pull request #5782 from status-im/fix/5645-fix-send-message-handler
Fix 'Send message' handler in chat profile window
2018-09-12 14:40:46 +03:00
Vitaliy Vlasov e0f51a424e
Change 'Clear history' and 'Delete chat' link color to black 2018-09-11 20:43:28 +03:00
Dmitry Novotochinov ca149062ad
[#5593] Disallow decimal wei value for gas price
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-11 20:10:01 +03:00
Roman Volosovskyi 36c1a23e04
fix refactoring leftover 2018-09-11 17:20:14 +03:00
Goran Jovic 247bc75861
bug #4590 - properly scrolling wallet send down when amount is focused and keyboard open
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-11 16:10:48 +03:00
Eric Dvorsak 8dc9af8917
refactoring of events into status-im.events
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-09-11 15:09:54 +02:00
Goran Jovic 89bf1b728d
feature #4747 - ens usernames in wallet send
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-11 16:06:47 +03:00
Roman Volosovskyi bd3f9570b3
[#5649] Change react-native-i18n language files to js (Lokalise)
move translations to JSON
read translations from JSON
remove old clojurescript translations files
reload clojurescript on changes in translations folder
2018-09-10 16:14:12 +03:00
Dmitry Novotochinov eb4f34da22
[fix #5063] calculate fiat amount on recipient side
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-07 18:01:47 +03:00
Eric Dvorsak 80aa0e9286
[feature #5213] allow user to select fleet in settings
- get wnodes from resources/config/fleets.json which is taken from
fleets.status.im
- store wnodes by fleet and not by network since they are always the same
- reset wnodes settings during migration
- add option in developper menu to select fleet
- mailservers are now presented by their real name

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-09-07 15:33:29 +02:00
Eric Dvorsak 8d053b4389
[feature #5527] allow user to change status-go loglevel in settings 2018-09-07 15:22:32 +02:00
Vitaliy Vlasov b4fe910ded
Fix 'Send message' handler in chat profile window 2018-09-07 13:18:38 +03:00
janherich 252d09ee05
Fix the bug and remove requests 2018-09-06 18:24:17 +03:00
Igor Mandrigin 6de53a5e9c
Show a progress indicator while logging in account using saved password.
On slower devices the white screen is shown for a few seconds after the
status logo. It looks like that something is wrong with the app.

This commit adds a simple progress screen (full-screen with an animated
activity indicator) that is shown before the main screen is loaded.
2018-09-06 18:22:40 +03:00
Eric Dvorsak aef1050924
[fix] update yellowbox ignore warning to new react-native api
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-06 16:01:35 +03:00
janherich 9ad29bfc56
Enhanced receive params 2018-09-06 14:51:18 +02:00
Eric Dvorsak 8eb5047d7a
[fix #4819] update react-native to 0.56
Fix figwheel-bridge path in clj-rn.conf.edn
update SplashScreen
update ios to 9.0
updated Podfile.lock
downgrade cocoapods to 1.5.2
update package-lock.json
update pod repo when installing
update appcompat to v27

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-05 21:27:46 +03:00
Aleksandr Pantiukhov e03e6a5fc1
Fix of status-im.models.network/action-handler to make tests pass again
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-09-05 16:32:56 +02:00
Aleksandr Pantiukhov b283ffe4af
[#5315]: Status development tools: HTTP debugging, updated react-native-http-bridge
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-09-05 15:01:53 +02:00
Vitaliy Vlasov 14cada8373
Always define request-permissions
Remove empty line

Another empty line
2018-09-05 12:28:20 +03:00
Obi Elledge 990aa20d8b
Copy Updates Aug 2018
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-09-04 14:17:05 +02:00
Eric Dvorsak 6d84795b2a
[fix 5738] unread counter disappears after app restart
`get-unviewed-messages` cofx was using the `current-public-key`
field from app-db
since it is not set at the point cofx are computed during the init
phase this field is nil and therefore no unread messages were found

the fix changes the cofx so that it returns a function as it is
already done for many cofx that needs parameters that are not
known at the time cofx are computed.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-09-04 14:08:11 +02:00
Dmitry Novotochinov 19590c8e54
[fix #5303] Improve amount validation for /send and /request commands
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-09-04 12:53:49 +03:00
Eric Dvorsak 02191f0380
[fix 5715] make generate-sym-key-from-password mergeable
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-09-03 19:05:53 +02:00
Eric Dvorsak 3513adb7ca
[feature #5422] universal links scannable via QR code scanner
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-09-03 17:14:31 +02:00
Julien Eluard 792c70813f
Only interpret extension universal links if flag is enabled
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-09-03 16:00:03 +02:00
janherich bf068f7909
View & preview implemented
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-09-03 13:45:56 +02:00
Goran Jovic c35a651f15
bug #5542 - fixed errors when no currency selected - using usd as default throughout the app
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-03 11:48:48 +03:00
Andrey Shovkoplyas c96bc5aa8b
[#4772] Resolve ENS domains in browser
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-03 11:47:26 +03:00
Dmitry Novotochinov bdb8688af8
cljfmt formatting fix
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-08-31 22:43:04 +03:00
Julien Eluard ae976e205f
Added extensions loading panel
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-08-31 16:41:58 +02:00
Goran Jovic 62db837de5
bug #5694 and #5709 - re-required request events
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-31 10:00:25 +02:00
Eric Dvorsak 1fff9d7c19
[fix 5688] fix calculating node version
Signed-off-by: Adam Babik <a.babik@designfortress.com>
2018-08-30 18:47:28 +02:00
Julien Eluard 683e6b5ed0
[Fixes #5496] Added SuperRare NFT support
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-08-30 11:23:25 +02:00
gnl 15edcc3434
Add specs for clojure.core macros and special forms
This prevents errors like this from slipping by the compiler:

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-08-29 10:36:08 -04:00
Eric Dvorsak 728831c9c2
remove unused flags
reorganize config flags
remove offline-inbox-enabled? flag
remove universal-links-enabled flag
remove add-custom-mailservers-enabled? flag
remove spam-button-detection-enabled? flag
remove flags from config files

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-29 16:30:05 +02:00
Andrey Shovkoplyas b754092710
update status js api according to latest changes in web3 opt-in EIP
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-08-29 17:23:07 +03:00
Eric Dvorsak bca9ae25af
add support for pubkey method on ens contract
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-29 15:40:30 +02:00
Julien Eluard 888bd5c2d6
[# 5603] Updated bounties.network address
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-08-29 12:23:44 +02:00
Vitaliy Vlasov c1bb9278bb
Merge pull request #5663 from status-im/fix/desktop-signin
Fix desktop signin text input field
2018-08-29 12:35:05 +03:00
Andrey Shovkoplyas 3ca9ba892c
[#5449] Activity loading indicator persist staying on Android
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-28 16:35:28 +02:00
Eric Dvorsak bb339dc39b
refactor login flow
simplified flow:

- event `:ui/login` is dispatched
- node is initialized with user config or default config
- `node.started` signal is received, applying `:login` fx
- `:callback/login` event is dispatched, account is changed
in datastore, web-data is cleared
- `:init/initialize-account` event is dispatched

replace event dispatches by function composition

fix bug in universal links where url to be processed after login
was never removed

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-28 14:46:33 +02:00
Eric Dvorsak dacfe97a58
refactor events and fns to dedicated namespaces
- move init events and fns to dedicated namespace
- move web3 events and fns to dedicated namespaces
- move signal events and fns to dedicated namespace
- move notifications events and fns to dedicated namespace
- cosmetic fixes
- remove print statements
- fix formating
- remove unused imports
2018-08-28 14:44:55 +02:00
Eric Dvorsak 002f3e73d1
refactor :initialize-account into single event
fix tests for :initialize-account refactoring
fix destructuring typo
2018-08-28 14:44:55 +02:00
Vitaliy Vlasov 6e2a2ca1b3
Add comment describing the rationale for the workaround 2018-08-28 13:31:15 +03:00
Vitaliy Vlasov 3d09252bb1
Fix desktop signin text input field 2018-08-28 11:28:41 +03:00
Igor Mandrigin 02545cc3d0
Implement "Save Password" for iOS.
Update react-native-keychain to 3.0.0 release.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-27 17:09:55 +02:00
Goran Jovic 8b8b7b2848
feature #5582 - added BRLN coin (mainnet)
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-24 18:58:42 +02:00
Eric Dvorsak 67a86f57e9
[fix #5612 #5613] improve contact code validation
- fix contact code validation for universal links
- go to profile when following universal link pointing to
user own contact code
- fix contact code validation for add contact field

spec for validating public-key has been changed to a
regexp that only accept valid normalized public-key

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-24 15:35:08 +02:00
Andrey Shovkoplyas 11199c13ee
[#5623] Bancor: "Oh, no..." error if try to buy token for ETH (or SNT)
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-24 15:19:25 +02:00
Igor Mandrigin 172d63af4c
Fix for the navigation after account recovery.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-24 14:17:39 +02:00
Eric Dvorsak c5b17ac637
[fix #5599] add semaphore for recurring events
:sync-wallet-transaction and :sync-state are self firing events that
dispatch themselves later. this commit introduces semaphores to prevent
these event-loops from starting multiple times when the user logs out and
logs in again.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-24 13:34:21 +02:00
Goran Jovic d46eec0bc8
bug #4476 - fixes reoccurrence of recovery phrase in logs
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-24 10:51:27 +02:00
Andrey Shovkoplyas e7a8dfc629
[#5621] Sign in is not working in Superrare dapp
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-24 10:08:14 +02:00
Andrey Shovkoplyas 70fe1e58f7
[#5616] Persistent error "Intrinsic gas too low" popup when buying cryptokitty
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-24 09:23:45 +02:00
Andrey Shovkoplyas ee0447b36c
[#5561] Add SuperRare to DApp list
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-08-23 18:14:49 +03:00
Goran Jovic 2b89d1e25c
feature #5310 - improved validation in account recovery screen; also bug #5353
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-23 13:09:15 +02:00
Volodymyr Kozieiev 861892e776
Enable emojis in desktop chat
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2018-08-23 12:16:25 +03:00
Volodymyr Kozieiev 9c1bfa8a21
Now user profile can be opened from public chat
Signed-off-by: Volodymyr Kozieiev <vkjr.sp@gmail.com>
2018-08-22 19:01:36 +03:00
Andrey Shovkoplyas 42abd16e9a
[#5260] Implement web3 provider Opt-in access
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-08-22 11:31:54 +03:00
Adam Babik f054830533
Set FLEET in env variable
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-22 10:21:58 +02:00
Andrey Shovkoplyas a0e7dc65c4
moved wallet transactions ns
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-08-21 17:35:13 +03:00
Volodymyr Kozieiev 449e5257d5
Custom fonts loading added to desktop app (#5470)
* Custom fonts loading added to desktop app

* Fixed fail in tests runnings

* font-weight property removed from couple styles in favor of font aliases
2018-08-21 16:18:16 +03:00
Goran Jovic 9ddcbe863a
bug #5568 - correctly passing gasPrice param
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-21 12:10:44 +02:00
Goran Jovic b9142e45f6
bug #5224 - showing gas info in unconfirmed transactions
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-21 11:15:05 +02:00
Goran Jovic e09e509556
bug #3911 - fixed balance in asset field when value too long
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-20 18:02:44 +02:00
Roman Volosovskyi 6e0d18f76d
[#5439] hide passwords from accessibility services 2018-08-20 15:54:08 +03:00
Vitaliy Vlasov 7ea9e63195
Merge pull request #5329 from status-im/fix/4435-add-delete-chat-option
Add remove-chat button next to chat title
2018-08-20 13:42:58 +03:00
Vitaliy Vlasov 1186b73be8
Set current-chat-id to nil once chat is deleted (desktop only) 2018-08-20 13:42:08 +03:00
Vitaliy Vlasov e40d06f8d9
Fix photos not updating 2018-08-20 13:42:07 +03:00
Vitaliy Vlasov 88740eaf52
Add remove-chat button next to chat title
Update chat header design

Aligh header heights

Add 'Clear history'; some reformatting

Add confirmations

Formatting

Member photo fix; increase font size for 9+ unviewed messages indicator

Fix chat view autoloading upon tab switching; Merge with desktop

Fix add-to-contacts
2018-08-20 13:42:07 +03:00
Vitaliy Vlasov 4285dcb62f
Fix mobile UI for mailserver icons 2018-08-20 13:40:02 +03:00
Vitaliy Vlasov 7c2c537a1a
Fix adv settings clicks, some styling changes 2018-08-20 13:40:02 +03:00
Vitaliy Vlasov 1dd9591b5e
Highlight advanced settings label when selected 2018-08-20 13:40:02 +03:00
Vitaliy Vlasov f5e343c08a
Add advanced settings UI 2018-08-20 13:39:56 +03:00
zefeng huang 6a03d90432
fixes #4108
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-08-20 10:05:12 +03:00
Roman Volosovskyi 1b9c8d3d6f
[#4932] add privacy policy to signup, recover and profile
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-18 07:30:56 +02:00
Andrey Shovkoplyas 3e7c059b59
wallet refactoring
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-18 07:28:43 +02:00
tbenr 672e8255c4
Fixes #5347
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-08-17 10:41:57 +03:00
Goran Jovic dda7cae8f0
bug #5058 - aligned words in recovery backup phrase screen
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-15 10:34:33 +02:00
Roman Volosovskyi 48d81a4f95
[#5278][Android] persist webview state during session 2018-08-15 08:57:51 +03:00
Volodymyr Kozieiev edd87192d0
Fixed problem with adding new contact on desktop (#5492) 2018-08-14 17:15:13 +03:00
gnl 06bb8c6348
[FIX #4848] ui, i18n: Replace currency indicator with ~
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-14 15:57:03 +02:00
Igor Mandrigin 375515b04f
Use the same mailservers for Rinkeby as for Mainnet.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-14 15:55:22 +02:00
Volodymyr Kozieiev 6cdb1ac629
selectin color changed for selectable text inputs and texts (#5469) 2018-08-14 15:45:37 +03:00
Goran Jovic 879e33b9b5
bug #5356 - added snackbar for wallet errors, removed ATT from default tokens on ropsten
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-14 12:34:24 +02:00
Adam Babik 0a313ef525
Update status-go to 0.10.3
Signed-off-by: Adam Babik <a.babik@designfortress.com>
2018-08-13 23:03:23 +02:00
Eric Dvorsak 3a982e5d6b
enforce lowercase for namehash
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-08-13 16:17:40 +02:00
Eric Dvorsak 96ac6eb83f
user can add contact by ens username 2018-08-13 16:17:08 +02:00
Eric Dvorsak c25b6ec630
working version for stateofus.eth usernames
addr and text["statusAccount"] functions allow to retrive ethereum address
and whisper address
2018-08-13 16:17:08 +02:00
Eric Dvorsak e81704a0b0
small fixes 2018-08-13 16:17:08 +02:00
Julien Eluard 9bbea373f3
WIP 2018-08-13 16:17:08 +02:00
Dmitry Novotochinov 4c16abcfa6
[#5440] Add dismiss button to "Add to contacts" badge
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-08-13 11:47:56 +03:00
Max Risuhin 85aad1d2a2
Define react-native-firebase relatives only for mobile platforms
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-08-12 23:19:43 +03:00
Max Risuhin e2daa89af1
Enable scroll-view rendering optimization for array of children #5012 2018-08-10 17:32:31 +03:00
Dmitry Novotochinov a4541c8af3
[#3352] Improve new message notifications
* Set custom sound
* Tap on notification opens chat
* Show message notifications when app in foreground

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-08-10 13:48:37 +03:00
Goran Jovic f2b8ccce2a
refactor - extracted all model functions from profile events
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-08 13:08:58 +02:00
Goran Jovic 30b4d601fb
bug #5307 - showing new contract as recipient in contract creation transactions
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-08 09:15:14 +02:00
Chad 1061fc7a68
Content refresh July 2018
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-08-07 15:45:04 +02:00
Goran Jovic c216a378e4
refactor - extracted all model functions from accounts events
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-07 11:14:18 +02:00
Goran Jovic ef2d0fd4d0
added SPANK token, #5387 fixed issue with token contract address case sensitivity
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-06 16:08:51 +02:00
Goran Jovic 694a0a37d2
feature #5386 - added MOKSHA coin
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-06 15:22:14 +02:00
Julien Eluard a8d81d9dca
Updated address for EthBerlin
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-08-06 13:02:00 +02:00
Goran Jovic 17ec7cb2ec
refactor - moved main wallet screen into its own package; merged wallet components into one ns
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-04 13:45:35 +02:00
Goran Jovic a8f267e662
feature #4842 - initially autoconfiguring visible tokens based on balance upon onboarding
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-03 11:40:00 +02:00
yevh-berdnyk 746d580e34
Wallet modal tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-02 20:54:52 +02:00
Roman Volosovskyi 6dd4064b70
remove nfc-react-native module 2018-08-02 11:10:53 +03:00
Goran Jovic 4be98b10bf
bug #4404 - removed the 21 char limit from amount field in send and request
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-02 08:43:50 +02:00
Goran Jovic 81dbc162b7
bug #4952 - moved the wrong password tooltip a bit up to make the field focusable
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-31 17:09:20 +02:00
Leon Prouger ad5eff54d2
adding Civitas dapp
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-31 15:10:54 +02:00
Goran Jovic 9bac5a223c
bug #5265 - transaction history populated only with own transactions
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-31 14:41:09 +02:00
Andrey Shovkoplyas d834b6e37d
[#4380] Improve browser security warning
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-31 11:34:08 +03:00
Goran Jovic f38a95fd71
bugs #4724 and #5131 - fixed by adding wallet onboarding for dapp txs
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-31 09:29:21 +02:00
tbenr 0f2af863e7
Fixes #4558
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-31 09:27:51 +02:00
Roman Volosovskyi 27b3f1b87b
remove STUB_STATUS_GO parameter 2018-07-30 06:50:16 +03:00
Andrey Shovkoplyas b9cbb28663
fixed icon fn definition
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-26 16:39:24 +03:00
Andrey Shovkoplyas 9a02bca975
experiment modal wallet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-26 16:38:10 +03:00
Dmitry Novotochinov 063ed16c47
Allow only one wallet transactions sync loop
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-26 15:23:07 +02:00
Vitaliy Vlasov ac624ca447
Merge pull request #5284 from status-im/desktop_leftovers
Leftovers from desktop branch since 9th July
2018-07-25 13:46:43 +03:00
deme 4757b06dfb
[#5031] Remove additional # to chat title when it is a public chat
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-25 12:20:48 +03:00
Daniel Fernandez 2bf6fc854c
Added EasyTrade to DApps
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-25 10:59:27 +02:00
Volodymyr Kozieiev c0697c0bac
Latest commits from desktop branch (everything after 9th July) 2018-07-24 21:41:07 +03:00
janherich 7acefed224
bug #5269 - fix sending from wallet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-24 15:17:43 +03:00
janherich 9b990a8038
Delete obsolete code
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-24 15:16:24 +03:00
Andrey Shovkoplyas c5771f3168
webview loading indicator
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-24 14:03:47 +03:00
Goran Jovic ced652230c
bug #5154 - disabled default password autocapitalize in wallet send 2018-07-24 12:23:28 +03:00
tbenr aab502bca3
Fixes #4783 2018-07-24 12:21:53 +03:00
Kenneth Tilton 48cc45ec6f
[Fix #3604] ui, screens, browser, events: deduplicate browser history hence chat elements 2018-07-24 12:20:07 +03:00
Volodymyr Kozieiev 457f2a157a
Desktop branch merged into develop (#5266)
* Desktop branch merged into develop
* Fixed review notes by yenda
2018-07-23 18:21:31 +03:00
Goran Jovic a5d5ed3596
bug #5171 - fixed incorrect amount validation in wallet request
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-23 15:23:21 +02:00
Goran Jovic f959f6629d
bug #5248 - updated REP contract address to match the re-deployed contract
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-23 12:26:29 +02:00
janherich 76a509ed22
Cljs commands 2018-07-23 12:23:10 +02:00
Goran Jovic d1bd86c894
bug #4826 - fixed the issue when navigating back from sign message with android button
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-23 11:44:22 +02:00
Dmitry Novotochinov 2d6fdc0ecc
[#5138 #4851 #4865] automatic periodic tx state updates
Fetch transactions state from etherscan every 15 seconds
if there are any unconfirmed transactions

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-20 12:14:21 +03:00
Andrey Shovkoplyas 61374add53
Introduce extended DApp API [#5042]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-19 19:47:17 +03:00
Roman Volosovskyi 40ec6ec47e
[#5211] show welcome screen after account creation
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-07-19 11:18:18 +02:00
Andrey Shovkoplyas e4e6c71600
Allow to connect to any node for dev mode [#4817]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-19 12:09:04 +03:00
Goran Jovic 77ad488765
bug #5214 - allows empty recipient only in dapp transactions (for contract creation)
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-07-18 14:29:35 +02:00