Commit Graph

350 Commits

Author SHA1 Message Date
Igor Mandrigin d304063cda
Use `if-not` for error handling in ethereum core functions.
That fixes the exception if we have an error that isn't a string and does not conform to `ISeqable`.

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
2018-05-18 17:25:45 +02:00
Andrey Shovkoplyas 3f3684cddf
removed contacts groups and debug console
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-18 15:17:51 +03:00
Roman Volosovskyi 9b5058d632
handle multiple incoming messages at once 2018-05-18 14:12:46 +03:00
Pedro Pombeiro 98ee9d8fe4
Remove unused settings from .env files
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
2018-05-18 11:01:34 +02:00
Connor Christie 24d5fabe2e
Add support for custom network upstreams
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-18 11:25:21 +03:00
Goran Jovic 030f441ea3
feature #4183 - token transfer history gets actual transaction timestamp from block info
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-14 17:55:34 +02:00
pacamara 7334938d96
Fixes #3944: Improve metrics opt-in screen
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-05-11 15:07:56 +02:00
janherich 62a9f26e30
First stage of realm transactions 2018-05-10 17:21:23 +02:00
Andrea Maria Piana 291932db08
publish using pk in 1-to-1
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-09 20:26:41 +02:00
Goran Jovic df901e8748
feature #3953 - enabled mainnet on release builds, with a warning 2018-05-09 19:46:30 +03:00
Andrey Shovkoplyas fc72443754
[#3823] [#4115] supported some web3 sync calls
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-09 16:34:18 +03:00
Dmitry Novotochinov a3f942b26c
Send user events to Instabug 2018-05-09 14:27:59 +03:00
ambilo 9b17cdd306
Remove JSC_ENABLED flag and turn on behavior by default 2018-05-09 14:20:49 +03:00
Goran Jovic e74bc81ce9
feature #3976 - getting token transfer events for erc20 tx history
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-05-09 11:36:03 +03:00
Roman Volosovskyi 6c620728da
reformat status-im.data-store.* namespaces
reformat status-im.utils.* namespaces
2018-05-08 09:01:24 +03:00
Roman Volosovskyi 00b8ae311d
[#4006] anonymous uuid for mixpanel 2018-05-04 21:26:46 +02:00
psdp 5d5444e3de
Show fiat value of wallet assets #4009 2018-05-04 21:25:20 +02:00
kwingram25 90eb2aaaa1
[FEATURE] Encrypt realms 2018-05-02 15:02:54 +02:00
psdp b18d6b06c7
Sort Assets in alphabetical order on Wallet -> Manage Assets screen #3926 2018-05-02 14:55:23 +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
psdp ef0024c5dc
Replace accounts/accounts by account/account in app-db [#3907]
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-05-01 16:40:36 +02:00
janherich 8dd04570e4
Hide group chats behind flag
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-05-01 11:13:58 +01:00
Dmitry Novotochinov 62af757fa1
Show user survey when N amount of messages sent
It's a temporary solution until Instabug fix User Events API
2018-04-30 21:00:09 +02:00
janherich 3b4d7a6a62
Remove obsolete code 2018-04-30 08:35:09 +02:00
Andy Tudhope 2f56caec28
Added ATT for easy testing on Ropsten 2018-04-28 09:33:26 +02:00
kwingram25 31f41e2d04 ui: new event fx for sign later in chat 2018-04-27 12:46:26 -07:00
Stepan Lusnikov 06650aecbb
Add ability to input comma in gas inputs 2018-04-26 21:27:01 +02:00
Andrey Shovkoplyas 174aac90c0
[#3935] set web3.eth.defaultAccount
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-25 17:29:26 +03:00
Roman Volosovskyi 6b073fe350
move merge-fx to separate ns 2018-04-25 11:33:48 +02:00
Roman Volosovskyi abff71d312
add options to filter events and provide extra data if necessary 2018-04-24 17:15:57 +02:00
kwingram25 a7bd6b6e5c
[#3850] Add Aragon Test (ATT) to testnet wallet
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-23 13:42:10 +03:00
Goran Jovic c4611cf185
feature #3916 - added a few ropsten erc20 tokens, rearranged icon resources
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-20 16:28:47 +03:00
Andrey Shovkoplyas 55d3095b7a
[#3888] [#2704] added personal_sign and CallPrivateRPC methods support
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-19 17:43:50 +03:00
Roman Volosovskyi 924d16dc64
fix version in release build 2018-04-18 09:44:39 +01:00
Andrea Maria Piana 3c43a622e1
Add timestamps to each message
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-16 16:24:20 +01:00
Anton Danchenko 4de886241c
do not show "Shake to provide your feedback" popup when app starts
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-16 12:26:38 +03:00
Eric Dvorsak 7148734e2a
increase pow target to 0.002
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-04-12 10:04:17 +02:00
janherich f406feacc7
Contact refactoring 2018-04-11 14:57:51 +02:00
Marco Süß 450944af20
[ISSUE #3706] collect mixpanel events while offline
This adds a tracking interceptor to `default-interceptors` that replaces the old
`add-post-event-callback` hook. The interceptor gets the required data from
app-db to know if it's online and passes that to a new mixpanel tracking fn that
queues up tracking events, and drains that queue iff the app is online again.

Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-04-11 13:00:04 +02:00
Andrea Maria Piana 3256d67c2e
Add clock values for public group/chats
I have extended and modified the current algorithm for message ordering
so that it applies for group and public chats alike.

We use Lamport timestamps but we prefix the unix timestamp, which should
maximize the chances of the message being seen on the top of the chat.

Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-10 12:19:42 +01:00
Eric Dvorsak 26b0224236
remove crypto libraries and nodeify hack
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-04-06 13:30:27 +02:00
Eric Dvorsak df17c50612
Add new protocol
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-04-05 15:40:30 +01:00
Daniel Regeci 83876f7cf1
[FIX #3143] Cannot sign in to Cryptokitties (chrome webstore)
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-03 09:38:01 +03:00
kwingram25 13c448032c
ios, ui, utils: relocated iOS notification permissions to home screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-03 09:36:50 +03:00
Eric Dvorsak b3ef1ed53a
Clean up last utils/handlers
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-02 18:58:57 +03:00
Andrey Shovkoplyas 1faa35bfd9
fixed Empty Gas limit and Gas price
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-04-02 14:07:21 +03:00
Dmitry Novotochinov 8bbb2f8760
update instabug to 2.8.1
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-30 18:37:19 +03:00
Dmitry Novotochinov 6786123765
[#3593] Hide passphrase field during TestFairy session
Switch to react-native version of TestFairy

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-29 13:09:23 +03:00
Dmitry Novotochinov 05dd8eba2a
[#3654] set default network in config
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-03-29 12:12:27 +03:00
Dmitry Novotochinov e34b187b85
[#3694] Ignore mixpanel/track http error when offline
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-03-28 12:26:53 +02:00
Julien Eluard 49a53645fb
Make Andy happy again (by fixing debug mode)
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-27 17:05:24 +02:00
Julien Eluard f7f41d2f37
[ISSUE #889] Show app version in profile
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-26 18:35:00 +02:00
Andrey Shovkoplyas 83b5312a05
added mixpanel events for profile
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-03-26 14:01:07 +03:00
Julien Eluard 7001b8c396
Added documentaion to mixpanel definition file
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-26 09:47:47 +02:00
Andrey Shovkoplyas a1d55f30bb
introduced desktop
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-03-23 09:51:47 +03:00
Julien Eluard f1e41cc7ab
[ISSUE #3537] Added mixpanel support
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-22 10:44:18 +01:00
Roman Volosovskyi 25a5655e74
configurable powTarget and powTime
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-21 09:49:32 +01:00
Andrea Maria Piana 8c6dde8e06
[ISSUE #3520] Allow adding/chatting with contacts from public chats
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-15 14:16:48 +01:00
Foo Pang 2653cebd7d
[Fix #3394] Add accessibility labels for Wallet screens
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-15 13:59:03 +01:00
Itoh, Masaru 98a0c2081f
Refactor timestamp
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2018-03-15 11:53:23 +00:00
Foo Pang 27e777d1bd
[Fix #1785] Handle timeout for network failure in utils.utils/http-get and http-post
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-03-13 16:22:09 +01:00
Eric Dvorsak 8b1288e20b
add merge-fx macro
this macro allows safe merging of cofx, making complex events easier
to understand while avoiding the risk to overwrite the db effect when
threading multiple effects creating functions

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-28 19:37:12 +01:00
Julien Eluard a86e59dbbe
[ISSUE #3331] Allow to configure view compilation
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-28 11:11:56 +01:00
Foo Pang c1900a24ec
[Fix #3252] Remove dependency on react-native-autolink
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-28 10:57:58 +01:00
Julien Eluard 3510f79e89
[ISSUE #3429] Use proper etherscan URLs
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-27 16:47:40 +01:00
tarekskr 6098da936a
Updated to the new etherscan API URL scheme.
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
2018-02-21 20:45:28 +01:00
Julien Eluard d74b27f951
[ISSUE #3241] Do not use hardcoded gas price
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-14 12:27:02 +01:00
Foo Pang eba8df6703
[Fix #2719] App does not fit on iPhone X screen
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
2018-02-12 20:57:07 +03:00
Goran Jovic 8696629b66
bug #3232 - fixed profile image setting
Signed-off-by: alwxndr <alwxndr@gmail.com>
2018-02-12 11:44:18 +01:00
Julien Eluard 748b0fcf09
[ISSUE #2883] Migrate wallet/request to latest mockups
Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-08 16:22:33 +01:00
Eric Dvorsak 0b0405d9a5
[fix #3163] remove phone command
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 15:48:53 +01:00
Hanwen Cheng 3b6b987db4
Fix #3145 Update Ethereum to Ether asset name
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 08:27:36 +01:00
Foo Pang cd90e59325
[Fix #2408] Alternative setTimeout for long timers
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-02-05 23:44:42 +08:00
Julien Eluard d958c96d67
[ISSUE #2881] Updated wallet / send transaction to latest design
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-02-05 23:14:42 +08:00
janherich 80fb8dde8b
Read at startup & write through async queues 2018-02-05 12:28:08 +01:00
Audrius Molis cf83725ef1
Replaced incorrect aget access FIX #3067
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-02 20:27:34 +03:00
Foo Pang ae04dde8ba
[Fix #3076] Separate figwheel from dev lein profile
Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
2018-02-02 17:02:45 +03:00
alwxndr 03e62548a6 [#3007] Removed location command 2018-02-01 22:25:50 +01:00
Andrey Shovkoplyas 7e78acc0cc
implemented browser , removed browse command 2018-01-30 16:19:59 +03:00
Roman Volosovskyi 1ba7c33868
improve navigation duration 2018-01-30 13:52:38 +02:00
Roman Volosovskyi f65e200fca
integrate rn-snoopy https://github.com/status-im/rn-snoopy
add warnings on suspicious activity in RN bridge communication
2018-01-29 21:45:51 +02:00
Goran Jovic ef57a5ca35
feature #2906 - new profile screen 2018-01-22 12:21:34 +01:00
Andrea Maria Piana 0b035cfad7
Remove unused erc20-enabled flag
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-01-18 10:02:00 +01:00
Oskar Thoren 3cdb05e5b8
Perf experiment spike: Change 1on1 send/filter to partial pub-key
- Add MANY_WHISPER_TOPICS_ENABLED flag
- Jenknisfile.parameters
2018-01-17 17:15:39 +01:00
Mikhail Gusarov 4a08d2a818
[FIX #1048] Localize timestamps in chat history
If current locale is xx-YY, looks up xx_YY first, xx then and finally
falls back to us.

goog.i18n.DateTimeSymbols database is used for localization.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-01-17 17:06:44 +01:00
Dmitry Novotochinov 17e886da11
[experiment #3038] Add buffer to process incoming messages asynchronously 2018-01-17 16:31:02 +01:00
Julien Eluard fc92dafca6 Fixed android build script.
Upgraded to latest dependencies and removed useless plugins.
2018-01-17 14:56:52 +01:00
Julien Eluard d05f50db62 [BUG #2881] Migrated wallet main screen to latest mockups 2018-01-17 10:36:43 +01:00
Eric Dvorsak 5c359886e5
[feature] refactor discover events
use re-frame idiomatic register-handler-fx, reg-fx and coeffect.
the events are still not free of side-effects as there is some
db calls involved which will be taken care of in a future PR

it also reduces the events fired at app init from 3 to 1
discover-related event
2018-01-15 16:18:24 +01:00
janherich 2f6742cdc7
Fix id->message-id 2018-01-13 01:26:12 +09:00
janherich 24d0b68c1f
Async audit 2018-01-13 01:26:11 +09:00
Oskar Thoren 87dc4ead85
Revert "Async audit"
This reverts commit e379168452.
2018-01-13 00:09:41 +09:00
Oskar Thoren 00d665b2d5
Revert "Fix recur in go-loop"
This reverts commit bd6adac02b.
2018-01-13 00:09:19 +09:00
janherich bd6adac02b
Fix recur in go-loop 2018-01-12 12:59:18 +01:00
janherich e379168452
Async audit 2018-01-12 12:47:46 +01:00
Oskar Thoren 413f9c2fad
Introduce OFFLINE_INBOX_MANY_ENABLED flag for perf quickfix
Since offline inboxing and desktop were introduced, we went from testing with
~10 messages to ~1000 messages. This surfaced inefficiencies such as this issue.
It also means someone who joins a public channel such as #status will experience
significant lag when signing in. To remedy this, we put offline inboxing for
public/group chats under a flag until the underlying perf issue has been
resolved.
2018-01-11 18:32:22 +09:00
Eric Dvorsak 4fe3c63923
[fix #2957] no matching clause error in transaction details
symbol is a string, add readable error in case happens again
2018-01-09 09:23:32 +01:00
Julien Eluard f90e1a4ed3
[BUG #2029] Properly handle gas details from payment requests 2018-01-05 22:44:12 +09:00
Oskar Thoren 751998e980
Intercept received messages and queue them
- Exposes behavior under QUEUE_MESSAGE_ENABLED flag that is turned off in
production.

- Delays messages to allow for reordering of latecoming messages up to 500ms
2018-01-05 17:25:27 +09:00
Taylor Dawson db293e7ad5
Removed NOTIFICATIONS_WIP_ENABLED flag
fixes #2813

status: ready
Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-05 15:54:44 +09:00