54 Commits

Author SHA1 Message Date
Andrey Shovkoplyas
6334268757
remove chaos mode checking
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2020-01-22 17:08:45 +01:00
yenda
bf16116acd
move multiaccount settings to a table
integrate status-go changes to move multiaccount settings to a table
that can be migrated

Signed-off-by: yenda <eric@status.im>
2020-01-02 18:07:10 +01:00
Andrey Shovkoplyas
f90fe2f04d
topbar. first iteration
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-12-20 15:47:04 +01:00
yenda
2c3e831a03
use accounts rpc endpoints
Accounts were previously stored within the multiaccount `setting`
serialized in transit

This moves [:multiaccount :accounts] to `:multiaccount/accounts` and uses
the `getAccounts`, `saveAccounts` and `deleteAccounts` endpoints.

Signed-off-by: yenda <eric@status.im>
2019-12-17 10:33:46 +01:00
Andrey Shovkoplyas
bf5416b629
remove statusbar and add safeview for android
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-11-25 14:42:09 +01:00
Andrea Maria Piana
1c63c782a4
Dont use network info but only rely on peers count for mailservers
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2019-11-05 11:50:54 +01:00
acolytec3
33af176246
Fix network status change logic and #8951 2019-10-28 10:21:29 +02:00
Andrey Shovkoplyas
da4d95d85c
drop les
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2019-10-15 13:55:39 +02:00
yenda
bf6b328996
replace require-macro for defnstyle and defstyle
- renamed the macros def and defn so that they are now used with aliased
namespace `styles/def` and `styles/defn` to force user to use aliased require
instead of require-macro and refer
- this makes sure the cljs file is required which includes the require for
platform ns needed after macroexpension

Signed-off-by: yenda <eric@status.im>
2019-09-25 17:18:26 +02:00
yenda
e8e78bdec1
require handlers in cljs ns for macroexpension 2019-09-17 17:09:14 +02:00
Pedro Pombeiro
66b982c3fb
Use react-native net-info community package
Signed-off-by: yenda <eric@status.im>
2019-09-05 14:16:28 +02:00
Pedro Pombeiro
58d310ffce
Remove RAM bundle support 2019-08-30 17:13:35 +02:00
yenda
d4a396bedf
move networks out of multiaccount 2019-08-28 11:11:40 +02:00
yenda
d7cd2b8a74
integrate status-go accounts 2019-08-20 17:42:02 +02:00
yenda
c3c4a5170a
[multiaccount] rename multiaccount to account
Signed-off-by: yenda <eric@status.im>
2019-07-22 11:14:44 +02:00
Roman Volosovskyi
4242dddd10
fix network switching in dev mode 2019-06-24 17:11:37 +03:00
Roman Volosovskyi
908f730b1d
[perf] network module 2019-06-13 09:33:18 +03:00
Roman Volosovskyi
c7c7b50281
RAM bundle basic setup 2019-05-27 17:34:17 +03:00
yenda
b13864d052
[refactor] move utils.ethereum to ethereum
move utils.ethereum.tokens to ethereum.tokens
move utils.ethereum.abi-spec to ethereum.abi-spec
move utils.ethereum.core to ethereum.core
move utils.ethereum.eip165 to ethereum.eip165
move utils.ethereum.eip55 to ethereum.eip55
move utils.ethereum.eip681 to ethereum.eip681
move utils.ethereum.ens to ethereum.ens
move utils.ethereum.erc721 to ethereum.erc721
move utils.ethereum.mnemonics to ethereum.mnemonics
move utils.ethereum.resolver to ethereum.resolver
move utils.ethereum.macros to ethereum.macros

Signed-off-by: yenda <eric@status.im>
2019-05-23 15:11:48 +02:00
yenda
ded207ead2
[refactor] use ethereum current-address and chain-keyword
in many places in the codebase, we are doing various destructuring
and function calls to get the normalized current address and the chain
keyword for the current network

this PR replace all usages by utility functions introduced recently

Signed-off-by: yenda <eric@status.im>
2019-05-23 14:48:43 +02:00
tbenr
38fc712f07
fixes #7667
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2019-04-03 11:50:56 +02:00
Roman Volosovskyi
d4d6757c69
[#4935] Prevent connecting to the network with wrong id 2019-03-25 09:45:52 +02:00
Roman Volosovskyi
65e7e06b27
[#7681] Show confirmation dialog on switching to network with upstream RPC 2019-03-22 13:23:10 +02:00
Roman Volosovskyi
6a3468c800
Request if chaos mode was enabled 2019-03-21 13:22:21 +02:00
Roman Volosovskyi
48291247b2
Loading history on mobile network 2019-02-13 18:59:21 +02:00
Roman Volosovskyi
7b0f68fcdb
[ui only] Mobile network bottom sheet 2019-02-07 12:21:03 +02:00
Andrea Maria Piana
13b5c14b78
Remove println statement
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-12-13 10:16:35 +01:00
Andrea Maria Piana
090b4a1282
Add re-send popup to desktop 2018-12-12 19:56:50 +01:00
Igor Mandrigin
83ef7746d4
Show debug information when LES is selected (in the titlebar).
To simplify testing and debugging, there is a very simple sync indicator
(debug) for LES. This UI is not even close to being production and will
be reworked in the future.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-11-15 10:34:31 +01: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
Aleksandr Pantiukhov
d7b4e04efd
[#6402]: "div() not a number: null" error after connecting to Ropsten and opening Wallet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-10-19 14:00:29 +02:00
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
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
yenda
efdd76b364
refactor inbox
Signed-off-by: yenda <eric@status.im>
2018-10-11 14:47:04 +02:00
Igor Mandrigin
851a3db9ee
Add an option to run LES on Ropsten as an experimental feature.
Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-10-01 13:10:29 +02:00
janherich
44fbe62773
Chat replies + refactoring 2018-09-28 16:15:47 +02:00
yenda
4bd5d986b0
remove merge-fx macro
Signed-off-by: yenda <eric@status.im>
2018-09-25 15:18:44 +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
8dc9af8917
refactoring of events into status-im.events
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-09-11 15:09:54 +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
Roman Volosovskyi
bb7d31a357
[#5169] Remove Mixpanel 2018-07-18 06:57:16 +03:00
Eric Dvorsak
203f399aca
use from parameter for mailserver requests
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-29 10:19:08 +02:00
Eric Dvorsak
50072ffe3f
[fix 4177] handle discovery signals
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-23 17:01:57 +02:00
Dmitry Novotochinov
428f1d47ee
Request offline message when app returns from background
* Add "connecting" mailserver status
* Send push notification when "envelope.sent" signal received

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-05-09 15:29:27 +03:00
Roman Volosovskyi
8c1cd9d3d4
reformat remaining namespaces 2018-05-08 11:36:32 +03:00
Eric Dvorsak
f8e535f9bc
[fix 3843] query mailserver when going back online
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-05-03 22:40:59 +02:00
Roman Volosovskyi
e830183011
track sent/received events;
force sent/received ratio tracking;
send mixpanel events when state is changed to online;
2018-05-01 19:25:25 +02:00
Roman Volosovskyi
a521cc7039
add .catch for isConnectionExpensive promise; fix ios version
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-04-17 14:51:10 +03:00
Roman Volosovskyi
b1ce44af3a
implement ConnectionChange call, upgrade status-go
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-28 18:38:51 +01:00
Eric Dvorsak
56c59c741f update react-native and project dependencies
[#bug] fix realm version
2017-12-15 16:06:13 +01:00