Commit Graph

483 Commits

Author SHA1 Message Date
Aleksandr Pantiukhov 76a724a2e7
[#6228]: API: requesting to connect to a node that is not available crashes the application
Signed-off-by: Aleksandr Pantiukhov <alwxndr@gmail.com>
2018-10-18 16:43:42 +02:00
Oleksii Lymarenko df9a59e255
removed critical mark from transaction history test
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-18 17:38:13 +03:00
Dmitry Novotochinov 248e60e1d3
[#5038] desktop deep links
Add support for status-im://chat/public/status type of links

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-10-18 16:02:14 +03:00
yevh-berdnyk 75ade1673b
False failures fix
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-18 12:04:12 +03:00
Lukasz Fryc 8e9f0143ad
Remove TestFairy from E2E tests
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-17 22:37:05 +03:00
janherich acd05e2687
Implementation of text content parsing 2018-10-16 23:13:11 +02:00
yevh-berdnyk 55d72b534a
Desktop automation PoC
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-16 17:52:26 +03:00
Oleksii Lymarenko dd7132f7d2
cast rerun count to int
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-16 12:35:54 +03:00
yenda 660bd2d1bd
request 7 days of history
- fetch 7 days of history when joining a chat
- make 7 24h requests to request 7 days because mailservers
ignores requests for a timespan > 24h
- make requests sequentially to avoid timeouts
- change mailserver after 3 timeouts on a request

Signed-off-by: yenda <eric@status.im>
2018-10-15 17:18:59 +02:00
Oleksii Lymarenko 184dd03fa0
make conftest file meet pytest requirements
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-15 18:10:46 +03:00
Oleksii Lymarenko 1639943627
onboarding screen verification test added (testrail id 5355)
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-15 18:07:55 +03:00
Oleksii Lymarenko 3bda480fe6
txs history test added (testrail id 5314)
Signed-off-by: yenda <eric@status.im>
2018-10-15 16:45:41 +02:00
Igor Mandrigin 1c4cca1004
Don't start a node while the node is already being started.
Restart it instead, so that we are sure which config is there.

Signed-off-by: yenda <eric@status.im>
2018-10-15 16:43:30 +02:00
Julien Eluard 5eeda7aa0b
Fixes #6275
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-10-15 15:34:47 +02:00
yenda 1a2fcdfe3a
refactor contact models
- move models.contact and models.contacts to contact.core
- add tags field to contact and chat

Signed-off-by: yenda <eric@status.im>
2018-10-15 11:57:48 +02:00
yevh-berdnyk dc37e8b2dd
Updated profile picture templates
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-11 16:28:02 +03:00
yenda efdd76b364
refactor inbox
Signed-off-by: yenda <eric@status.im>
2018-10-11 14:47:04 +02:00
Oleksii Lymarenko 321fb5e24a
false faucet fixture autouse
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-10 17:31:20 +03:00
Oleksii Lymarenko 2cab2bdc05
fix privacy summary elm locator; changed python string formatting
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-10 13:28:52 +03:00
Andrea Maria Piana 84151ea996
Ignore messages with too high clock-value and prevent stored messages to pollute the database
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-09 14:34:29 +02:00
Andrea Maria Piana 78b6d67d79
Allow to edit group membership
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-09 10:40:13 +02:00
yevh-berdnyk 95639d1bf2
Token info url is changed to https
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-08 20:10:27 +03:00
Serhy c863f05a83
Fix tests after wallet modal button moved
Signed-off-by: Serhy <sergii@status.im>
2018-10-08 15:38:12 +03:00
yevh-berdnyk 7613e642ff
Fixed username verification in public chat, added StaleElementReferenceException to rerun errors
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-08 14:01:27 +03:00
Oleksii Lymarenko 3bc7378544
fix for python35 string formatting
Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
2018-10-08 11:53:33 +03:00
Oleksii Lymarenko e8c68cfff9
passphrase validation tests added
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-04 18:40:42 +03:00
Andrey Shovkoplyas 1b6d51ff11
implemented functionality to request user action from dapps
fixed qr code js api

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-10-04 15:25:18 +02:00
yevh-berdnyk 37c3f30d75
Updated share public key accessibility ids
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-03 11:10:15 +03:00
Andrey Shovkoplyas a1d0dcc0ec
introduced new status js api according latest web3 opt-in api 2018-10-02 22:12:46 +02:00
hetvart d49628f648
changed testrail ids and mark according to new testrail structure
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-02 16:19:48 +03:00
yenda f6a50b2799
[fix 6051] log error during connexion and pass cofx
Signed-off-by: yenda <eric@status.im>
2018-10-02 14:11:05 +02:00
Serhy 8e317afe65
Migrate autotests to use new testrail suite
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-10-02 14:46:09 +03:00
Andrea Maria Piana 165f1a46c7
Propagate signed membership information
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-10-02 12:06:28 +02:00
yevh-berdnyk 1c9a3e38b3
Added public chat bot
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-01 12:58:49 +03:00
yevh-berdnyk ac27625410
e2e tests updated according to 6041
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-10-01 12:53:44 +03:00
janherich 44fbe62773
Chat replies + refactoring 2018-09-28 16:15:47 +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
Anton Danchenko 1ceebe703a
Added unique users for transactions tests
Signed-off-by: Serhy <sergii@status.im>
2018-09-27 18:11:30 +03: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
Serhy 559b74ba94
Fixed tests and added accessibility id
Signed-off-by: Serhy <sergii@status.im>
2018-09-26 10:31:41 +03:00
yenda 4bd5d986b0
remove merge-fx macro
Signed-off-by: yenda <eric@status.im>
2018-09-25 15:18:44 +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
yevh-berdnyk e6ad72039f
False failures fix
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-09-24 20:13:40 +03: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 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
yenda 1ddb09b249
Remove misleading wrap-call-once! fn
Signed-off-by: yenda <eric@status.im>
2018-09-23 17:09:07 +02:00
lokalise-bot f1dd24e3b4
Lokalise: update of translations/ko.json
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2018-09-21 07:03:27 -04:00
Anton Danchenko 79a7a4dfbb
fix retrieve passphrase
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-09-21 13:14:23 +03: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
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
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 7dbc8a7f39
[fix 5814] fix custom network
Signed-off-by: yenda <eric@status.im>
2018-09-19 13:13:30 +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
janherich 031088b856
Fix unit tests 2018-09-17 12:51:57 +02:00
Anton Danchenko 4a21b5192c
Fixed assets selection and default running time for chat bot
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-09-14 17:19:33 +03:00
Anton Danchenko c5549f5d03
fixed issue with empty public key input after entering the key
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-09-14 13:44:50 +03:00
Anton Danchenko 64589d526f
chatbot for one-to-one chats
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-09-14 13:34:47 +03:00
janherich 988a1ca2e2
Prices handling in commands impl 2018-09-12 17:39:02 +02: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
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
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
janherich 252d09ee05
Fix the bug and remove requests 2018-09-06 18:24:17 +03: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
yevh-berdnyk 481327fcf4
Updated profile picture, home and signing phrase captures
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-09-05 18:48:26 +03: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
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
Anton Danchenko 1b2eb5826a
false failures fix
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-09-03 16:43:50 +03: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
Julien Eluard ae976e205f
Added extensions loading panel
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-08-31 16:41:58 +02:00
yevh-berdnyk 6679374573
Fix for transaction confirmation and asset button
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-31 10:23:46 +03:00
Anton Danchenko 869d64a2ff
fixes for false failures in e2e tests
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-08-30 13:16:31 +03: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
yevh-berdnyk ec611424cb
Fixed GH report layout and limited length of errors
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-29 15:44:36 +03:00
Serhy b0b23bb735
Fix info log on logout process
Signed-off-by: Serhy <sergii@status.im>
2018-08-29 15:25:11 +03:00
yevh-berdnyk a22d13fd80
Added screenshots for failed tests and device number to errors
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-28 17:06:28 +03:00
yevh-berdnyk 4ddb9d582a
False failires fix
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-28 17:02:41 +03: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
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
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
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
Anton Danchenko 900949afed
logcat tests will run against each PR
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-08-23 17:04:46 +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
Serhy 68e4be9197
Do not enable asset if its balance more than 0
Signed-off-by: Serhy <sergii@status.im>
2018-08-22 11:40:37 +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
Andrey Shovkoplyas a0e7dc65c4
moved wallet transactions ns
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-08-21 17:35:13 +03:00
Anton Danchenko a7f9390fee
added scroll to logout button
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-08-20 13:10:24 +03:00
Andrey Shovkoplyas 3e7c059b59
wallet refactoring
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-18 07:28:43 +02:00
yevh-berdnyk 53c9963a46
False failures fix: assets, transaction users
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
2018-08-16 23:54:16 +03:00
Anton Danchenko c57a1f4cf7
alert text to error message, removed locator text from the message, reduced running time
Signed-off-by: Anton Danchenko <ant.danchenko@gmail.com>
2018-08-15 13:47:06 +03:00
Eric Dvorsak 1769bfb695
fix tests 2018-08-13 16:17:08 +02:00
Julien Eluard 9bbea373f3
WIP 2018-08-13 16:17:08 +02:00