Commit Graph

322 Commits

Author SHA1 Message Date
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
Julien Eluard 7c4d2f2ece [ISSUE #2642] Allow to send ERC20 tokens 2018-01-04 09:29:49 +01:00
Julien Eluard 7c8aa75724 [ISSUE #1840] Migrated to FlatList 2018-01-03 16:20:28 +01:00
Oskar Thoren bb69995aa4
Introduce 'pre-receiver' for more intuitive message order
Includes tests and explanation of logic. Doesn't change any behavior, just
provides a new capability to be used when messages are received.
2018-01-02 19:00:46 +09:00
Foo Pang 3e8ce2d6d7 [Fix #2683] Do not run sync state loop on upstream RPC networks 2017-12-27 08:40:18 +02:00
pablodip b28765c38a improve re-frame db spec report 2017-12-21 08:48:38 +01:00
Dmitry Novotochinov 6d966b4648
[fixes #2546] Add chat-preview-text component to status.js
Apply default styling for message commands preview in chat
2017-12-15 18:15:03 +03:00
Eric Dvorsak 56c59c741f update react-native and project dependencies
[#bug] fix realm version
2017-12-15 16:06:13 +01:00
Julien Eluard 2256628c97 Added assets icons and allow to filter tokens 2017-12-08 16:36:38 +01:00
Roman Volosovskyi 8886bfd5d0
JavaScriptCore jail as alternative for Otto vm 2017-12-05 12:09:34 +02:00
Andrey Shovkoplyas afd7fca6d8 refactored protocol handlers 2017-12-04 23:08:18 +03:00
Oskar Thoren 90a0058a43
Under offline inbox flag: sketch allowp2p, request-messages
- Add OFFLINE_INBOX_ENABLED flag
- Under offline inbox flag: add allowp2p for 1on1 filter
- Add skeleton web3.inbox ns with request-messages
2017-12-04 19:12:50 +01:00
Goran Jovic c38f1ce8a4 feature #1996 - navigation from status author name or profile image to profile screen 2017-12-04 17:40:12 +01:00
Julien Eluard 3df4a7f1e4 Added ERC20 listing support 2017-11-29 09:56:01 +01:00
m'hammed 319a770872 [bug] fix #2329 Generate username as Unknown for nil and 0 public key 2017-11-23 11:59:10 +03:00
Andrey Shovkoplyas 4e31d76049 re-frisk new features 2017-11-23 09:55:56 +03:00
janherich e50d56a4d0 Refactored jail loading + commands/responses 2017-11-21 10:51:15 +01:00
Goran Jovic 8700ec77f5 issue #1951 - added a hardcoded snt entry under asset list - hidden behind ERC20_ENABLED flag 2017-11-20 12:05:46 +01:00
Julien Eluard 7e6507be7c [ISSUE #2391] Added support for ERC681 2017-11-16 13:07:33 +01:00
Roman Volosovskyi 3d89143d72 set log level from .env configuration 2017-11-15 11:54:41 +01:00
Julien Eluard 0d4cbd98e5 [ISSUE #2177] Moved component into ui 2017-11-10 10:49:21 +01:00
janherich 55164b8eac Refactor adding subscriptions + basic tests 2017-11-06 08:14:10 +01:00
alwx 20e76c21ee Phone number is not updated in profile and shows 'Not Specified' value if use /phone command (#2256) 2017-11-02 11:43:49 +01:00
janherich bf71df17b5 Finish jail-call deduplication 2017-10-27 09:41:17 +02:00
Roman Volosovskyi 0ebd4fbd33 fix showing twice word ETH 2017-10-21 07:56:37 +02:00
Roman Volosovskyi 88326d4b56 remove NETWORK_SWITCHING flag 2017-10-20 18:46:07 +02:00
Roman Volosovskyi 7dd0ba21a2 hide mainnet networks in prod build 2017-10-20 09:41:31 +02:00
Julien Eluard dba52f9de7 Use unique etherscan key 2017-10-20 08:40:38 +02:00
janherich e8602eb3bd Display time in transaction history list
Also make `[list/item-content]` element more modular and reusable
as it was necessary to accomplish the task.
2017-10-18 17:31:48 +02:00