Commit Graph

97 Commits

Author SHA1 Message Date
Eric Dvorsak 85ed3b3686
Revert "upgrade rn-camera (attempt to fix #3289)"
This reverts commit 032c5b42eb.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-14 14:54:20 +01:00
janherich 86aea8a623
Effects should be dumb, without any logic 2018-02-14 14:19:34 +01:00
Roman Volosovskyi 032c5b42eb
upgrade rn-camera (attempt to fix #3289)
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-14 12:26:25 +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
Oleh Krehel f4b33d47ee
events.cljs: Refactor
Reduce the overall nesting level in the test.  Each `testing'
statement now fits on a single screen, instead of spanning hundreds of
lines.

The final top-level expression went from 16 to 5 consecutive closing
parens.

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
2018-02-08 12:12:32 +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
Foo Pang 8582be2e69
[Fix #2751] Allow switching between wnodes for offline messaging
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-02-07 08:29:27 +01:00
Andrey Shovkoplyas 2e669ef525
introduced new, new chat, open dapp screens
Signed-off-by: Andy Tudhope <tuddy0525@gmail.com>
2018-02-06 15:18:19 +02: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
janherich 80fb8dde8b
Read at startup & write through async queues 2018-02-05 12:28:08 +01: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
Dmitry Novotochinov 008f877cd6
Check admin.peers() before markTrustedPeer() call
addPeer() doesn't add peer right away so markTrustedPeer() could fail.
2018-02-01 14:29:53 +03:00
Andrey Shovkoplyas 7e78acc0cc
implemented browser , removed browse command 2018-01-30 16:19:59 +03: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
Andrea Maria Piana 334b15961c
Refactor add-contacts & add-pending-contact
We wanted to move towards having multiple functions
manipulating the data rather than relying on a chain of
dispatched events.

I have refactored ui.screens.contacts.events so that now the
functions mainly manipulate fx, passed as a first parameter.

Their responsability is to make sure their fx are merged in, so
that they can be composed more easily.

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
2018-01-24 18:13:52 +01:00
Andrea Maria Piana 3a65dcd3c2
Start chat when user adds a pending contact from the "new contact" view
When a contact is removed it is set to pending?.

If the same contact is added again we now dispatch a :start-chat event
which initiate a 1-1 chat with them.
2018-01-24 18:13:36 +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
Julien Eluard fc92dafca6 Fixed android build script.
Upgraded to latest dependencies and removed useless plugins.
2018-01-17 14:56:52 +01:00
Andrea Maria Piana c8ef43fb67
Fix and uncomment tests in contacts.events and utils.pre-receiver
I have uncommented the two namespaces:

contacts.events was mainly an issue with schema validation
and a few features not covered by tests.

the tests in pre-receiver were actually passing, the issue was a
test suite in wallet.events which was run asychronously by re-frame
which meant the http request in the fx was actually being fired.

Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
2018-01-13 19:32:25 +09:00
Andrey Shovkoplyas d582e6e366 reworked main tabs, removed swiper and drawer npm libs 2018-01-12 12:10:15 +03:00
Julien Eluard f90e1a4ed3
[BUG #2029] Properly handle gas details from payment requests 2018-01-05 22:44:12 +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 38f6dbdfae
Disable failing tests to get Jenkins to build
Error:

Testing status-im.test.utils.pre-receiver
undefined
/Users/oskarth/git/status-react/target/test/status_im/utils/utils.cljs:61
(defn http-get
^
ReferenceError: window is not defined
...
Error encountered performing task 'doo' with profile(s): 'test'
Subprocess failed

Not sure what http-get has to do with this test ns though.
2018-01-03 17:38:19 +09: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
Andrey Shovkoplyas 46dc16599b fixed chat tests 2017-12-25 22:16:01 +03:00
Vitaliy Vlasov b0b4226680 [FIX #2565] data-store: escape leading tildes in message content 2017-12-25 16:19:32 +02:00
janherich eb8d0a8a79
Refactored message data-model and view 2017-12-19 12:50:36 +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
Foo Pang 460f6a38e8 [Fix #2640] Cleanup react-native source folder 2017-12-14 16:57:09 +02:00
Julien Eluard 2256628c97 Added assets icons and allow to filter tokens 2017-12-08 16:36:38 +01:00
janherich 25d3940d49 More efficient subscriptions 2017-12-04 17:52:39 +01:00
pablodip 2dbefb706e supported languages and trans ids
rename test

fix test `supported-locales-are-actually-supported` and improve failing message

fix some coding standards

rename old `str` namespace alias to `string`

fixing cs

rename translation id to label and explain checkpoints

remove non-existent labels in translations

add some comments

add status 0.9.12 as first checkpoint in translations, plus current supported locales

remove non-existent label from base checkpoint and fix locale->checkpoint and supported locales

format checkpoint-0-9-12-labels in several lines

add fn labels-that-are-not-in-current-checkpoint
2017-11-29 17:13:38 +01:00
Julien Eluard b2daaa2159 Hook require to prevent tests failures when loading images 2017-11-29 16:50:28 +01:00
Julien Eluard 3df4a7f1e4 Added ERC20 listing support 2017-11-29 09:56:01 +01:00
Julien Eluard 0730420017 [BUG #2228] Implemented wallet filtering screen 2017-11-28 09:14:08 +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
Oskar Thorén 8fe9306caf Integration tests: use fixtures and abort indeterminate 2017-11-21 17:19:00 +01:00
janherich e50d56a4d0 Refactored jail loading + commands/responses 2017-11-21 10:51:15 +01:00
Oskar Thorén 91a0d40ceb Integration tests: Basic Whisper version test and disable old 2017-11-20 23:55:26 +01:00
janherich 16fcef909f Fix broken group chats 2017-11-20 14:20:29 +01:00
Julien Eluard 7e6507be7c [ISSUE #2391] Added support for ERC681 2017-11-16 13:07:33 +01:00
Eric Dvorsak 2ff2bfacf0 [bug] fix #1784 db fields passed from one account to the other 2017-11-13 15:25:00 +01:00
Julien Eluard 0d4cbd98e5 [ISSUE #2177] Moved component into ui 2017-11-10 10:49:21 +01:00
Goran Jovic edd4df85f9 bug #2381 - updated statuses are broadcast 2017-11-08 14:55:16 +01:00
Roman Volosovskyi dfe68a2ded fix accounts-events test 2017-11-06 13:27:24 +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