Commit Graph

218 Commits

Author SHA1 Message Date
janherich 031088b856
Fix unit tests 2018-09-17 12:51:57 +02: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
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
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
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
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
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
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
Andrey Shovkoplyas 3e7c059b59
wallet refactoring
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-08-18 07:28:43 +02: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
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 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
Andrey Shovkoplyas d834b6e37d
[#4380] Improve browser security warning
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-31 11:34:08 +03:00
tbenr 0f2af863e7
Fixes #4558
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-07-31 09:27:51 +02:00
janherich 9b990a8038
Delete obsolete code
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-24 15:16:24 +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
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
janherich 76a509ed22
Cljs commands 2018-07-23 12:23:10 +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
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
Roman Volosovskyi bb7d31a357
[#5169] Remove Mixpanel 2018-07-18 06:57:16 +03:00
Andrea Maria Piana 3754e1dbae
[Fixes #5130] Select mailserver round-robin on connection failure
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-17 08:49:24 +02:00
janherich 6a342fd3a0
Full implementation of the `/reauest` command + tests 2018-07-16 15:10:21 +02:00
janherich 03598d47c2
Complete implementation of the `/send` command + tests 2018-07-16 08:53:24 +02:00
Andrea Maria Piana f8c9bec383
[Fixes #5127] Move files to no-backup directory & hash accounts
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-13 10:06:36 +02:00
Andrey Shovkoplyas a644075310
No browsing history kept on iOS [#5078]
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-07-12 15:04:31 +03:00
Dmitry Novotochinov bf9a291a09
[#4073] Fix parse-url regexp
To not identify string like "test...test..." as an URL

Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-12 12:50:23 +03:00
Dmitry Novotochinov 867488ae3c
[#4301] Move message timestamp to the left for right-to-left languages
Signed-off-by: Dmitry Novotochinov <dmitry.novot@gmail.com>
2018-07-12 12:39:30 +03:00
Andrea Maria Piana f36d5d64cc
[Fixes #4944] Enable universal/deep links
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-12 11:33:23 +02:00
Andrea Maria Piana a2ee06bc9d
[Fixes #4998 ] Handle decryption failures in realm
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-07-11 17:29:56 +02:00
janherich b6a68e79c7
Cljs commands proposal 2018-07-11 09:43:45 +02:00