177 Commits

Author SHA1 Message Date
Roman Volosovskyi
4aa562f6a8
[slow sign in] Unlock account's DB before starting node
There is no need to wait for `Statusgo.Login` callback in order to start
unlocking realm db: currently it is encrypted via a key which is derived
from user’s password, so we can try to unlock that DB before starting
node. That’s how password will be checked. Right after that `:home`
screen is shown, the node is started, then `Statusgo.Login` executed.

The difference in sign in duration is more noticeable on Android
devices, where `Statusgo.Login` is much slower because of PFS database
encryption.
2018-12-12 17:46:52 +02:00
Roman Volosovskyi
c506521778
[slow sign in] Better handling of migration failures and db encryption problems.
Migration failures are handled separately from other errors which might appear
during opening account's realm DB. In case if user chooses to erase
the account's database, only this database will be removed and other accounts
will not be touched.
2018-11-28 14:13:30 +02:00
Roman Volosovskyi
d66198a420
[slow sign in]
fix iterating over all messages from realm db (was done for deduplication)
async loading of chats (:init-chats event)
2018-11-21 18:21:52 +02:00
Bruce Hauman
1716643c46
[#5749] transaction history fixes
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-11-16 10:03:54 +01:00
Aleksandr Pantiukhov
17f74ff2f6
[#6455]: Updated extension management
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-11-12 10:28:48 +01:00
Eric Dvorsak
548162f733
[refactor] remove current-public-key 2018-11-09 11:16:27 +01:00
Eric Dvorsak
b7b7806ed1
[refactor] remove allowed-keys macro
The initial purpose of the allowed keys macro was to only accept maps
with a defined set of keys so that the maps can be serialized into the db.
The way maps are serialized has been changed so that only the existing keys
in the db are cherry picked so passing maps with extra keys is no longer a
problem
2018-11-09 11:16:26 +01:00
Roman Volosovskyi
7264ae2a14
prevent logging of re-frame events parameters
mask password received from keychain
2018-11-08 12:39:50 +01:00
Dmitry Novotochinov
ae3029c2d9
[#6294] add desktop alpha release warning
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-11-07 22:10:39 +03:00
yenda
a3b2bc1b87
[fix #3913] do not logout when changing mailserver
- do not logout and remove previous mailserver
from peers when changing mailserver
- rename wnode mailserver
- move transport.inbox to mailserver.core
- fix all subs and db keys

Signed-off-by: yenda <eric@status.im>
2018-11-07 17:10:18 +01:00
Max Risuhin
5986761210
Push notifications support #4432; Rename app to Status globally.
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
2018-10-19 18:52:04 +03:00
Aleksandr Pantiukhov
2c65077270
[#6382]: Makes extensions dev-mode aware
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-19 16:37:46 +02:00
Aleksandr Pantiukhov
23503dc996
[#6094]: Persist extensions
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-10-17 14:08:45 +02:00
janherich
2a292e96e5
Validate even on submit press 2018-10-17 10:56:54 +02:00
yenda
efdd76b364
refactor inbox
Signed-off-by: yenda <eric@status.im>
2018-10-11 14:47:04 +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
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
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
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
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
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
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
yenda
7dbc8a7f39
[fix 5814] fix custom network
Signed-off-by: yenda <eric@status.im>
2018-09-19 13:13:30 +02:00
Roman Volosovskyi
6438a1387b
[#4866] intagrate react-navigation 2018-09-18 14:21:32 +03: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
Andrey Shovkoplyas
a20facd895
web3 opt-in updates
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-09-13 18:27:43 +03:00
Roman Volosovskyi
c61200f9ae
[#5180] Encrypt account's db with password 2018-09-13 12:20:13 +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
Andrey Shovkoplyas
883b702fcb Introduced new hierarchy ,refactored core 2017-08-14 13:42:20 +03:00
Roman Volosovskyi
f91c480ad8 remove sensitive data from debug output 2017-08-04 20:45:24 +03:00
Roman Volosovskyi
1a997cad39 fix Unhandled JS Exception: Vector's key for assoc must be a number. 2017-07-11 19:12:07 +03:00
Andrey Shovkoplyas
1485e07259 make all specs nilable 2017-07-11 15:06:23 +03:00
Julien Eluard
6e5e6200ab Upgraded to re-frame 0.9.4
Simplify handlers chaining
Moved to reg-sub usage
Use reg-sub 3-arity to remove subscribe calls
2017-07-11 11:03:28 +03:00
Andrey Shovkoplyas
f846cb8a92 fixes specs 2017-07-11 10:33:14 +03:00
Andrey Shovkoplyas
21626549d1 implemented spec for app-db 2017-07-10 22:57:36 +03:00
Roman Volosovskyi
a2b2851061 upgrade clojurescript to 1.9.671 2017-07-05 11:26:07 +03:00
Julien Eluard
5e5b4fa2cf Tap on return permits sign-in. Fixes #1285 2017-06-26 13:18:05 +03:00
Roman Volosovskyi
4655323fbb migrate to new shh api 2017-05-15 08:12:03 +03:00
Andrey Shovkoplyas
c46d686632 fixes https://github.com/status-im/status-react/issues/1191 2017-05-10 16:45:53 +03:00
Andrey Shovkoplyas
fa94340b6a fixes https://github.com/status-im/status-react/issues/871 2017-05-01 14:00:12 +03:00
Roman Volosovskyi
239a0cbfe6 split console bot into separate files
bots dir
slurp-bot macro
split commands.js into browse, mailman and wallet
bot-url & loading of default bots
command schema
command-parameter schema
global-command in default_commands
@browse command in all chats
load global command from jail
optimize applications startup

 Conflicts:
	bots/wallet/translations.js
	resources/console.js
	resources/dapp.js
	resources/default_contacts.json
	resources/status.js
	resources/wallet.js
	src/status_im/accounts/screen.cljs
	src/status_im/chat/constants.cljs
	src/status_im/chat/handlers.cljs
	src/status_im/chat/handlers/commands.cljs
	src/status_im/chat/handlers/send_message.cljs
	src/status_im/chat/subs.cljs
	src/status_im/chat/suggestions.cljs
	src/status_im/chat/views/command.cljs
	src/status_im/chat/views/suggestions.cljs
	src/status_im/commands/handlers/jail.cljs
	src/status_im/commands/handlers/loading.cljs
	src/status_im/contacts/handlers.cljs
	src/status_im/data_store/realm/schemas/account/core.cljs
	src/status_im/data_store/realm/schemas/account/v5/core.cljs
	src/status_im/models/commands.cljs
	src/status_im/utils/js_resources.cljs
2017-04-28 15:08:53 +03:00
Andrey Shovkoplyas
0e5b515f5e updated ui for accounts, login and recover screens 2017-04-17 14:51:11 +03:00
Andrey Shovkoplyas
810fe76c7c fixed address line on login and refreshed discover toolbar 2017-04-13 18:15:40 +03:00
Andre Luis Anastacio
5996f1c3bf Bug/keyboard upcase #904 (#968)
* accounts, recover, screen: Android Fix keyboard with upcase

* transactions, screen: Android Fix keyboard with upcase
2017-04-05 13:15:33 +03:00
Timothy Roy
3437f79d82 accounts, login, screen: Android keyboard for Login Password lowercase (#878) 2017-03-11 09:37:41 +02:00
alwx
c1abe16f89 Fix for weird behaviour if back is pressed in 2nd onboarding (#775) 2017-02-17 16:36:09 +02:00
alwx
bf27c55398 Development tools (#719) 2017-02-13 12:14:28 +02:00