Commit Graph

78 Commits

Author SHA1 Message Date
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
janherich bf71df17b5 Finish jail-call deduplication 2017-10-27 09:41:17 +02:00
Julien Eluard eea4eeb549 [BUG #2189] Do not clear user set amount when scanning QR code 2017-10-17 17:31:31 +02:00
Julien Eluard 43dab5b174 Fixed warnings when compiling tests 2017-10-17 10:12:10 +02:00
alwx cb72190a18 API commands scopes, changes for API semantics (#1546) 2017-10-16 09:51:52 +02:00
Andrey Shovkoplyas c2ef0e4547 pending wallet in default contacts 2017-10-13 17:49:25 +02:00
Andrey Shovkoplyas 8269d6d9a9 hide old wallet Dapp #2021 2017-10-13 17:49:25 +02:00
Julien Eluard 3b6b5e2da1 [BUG #2025] Ensure QR code data is properly parsed 2017-10-13 13:01:16 +02:00
Julien Eluard 0a94d10559 Fixed amount validation regression 2017-10-13 11:50:27 +02:00
Eric Dvorsak c7893ebd17 [feature] update react-native-swiper
rework current use of swiper to make it reusable
2017-10-11 12:17:37 +02:00
Julien Eluard fb10b580d4 Fixed incorrect wallet buttons styles
Make wallet list show correct amount
Wallet name should be cut if too long
2017-10-11 12:07:27 +02:00
Eric Dvorsak e66ae8b388 [bug] fix order of transactions in sections of transactions history
order should be latest transaction first
2017-10-05 20:14:44 +02:00
Herich d9db548e57 Refactoring chat events to shorten event chains 2017-10-03 09:28:38 +02:00
Roman Volosovskyi cf7a9845c6 data_store and network_settings from #1115
missed default networks
fix :load-default-networks
network settings screen
fix network details screen
networks in account
fix network property saving
update startNode and stopNode on iOS
test RPC proxy on iOS
StopNode and StartNode on androd
pass UpstreamConfig to status-go
upgrade status-go
added default network on login
fixed UI, added vector icons
added network name in drawer
migrated accounts
workaround for account v4 migration
2017-10-02 14:13:10 +02:00
Oskar Thorén b5c0b24f30 Push notifications: end to end v1
- Send notification when sending message in 1on1 chat
- Add notify FFI with binds for ObjC and Java
- Add fcm-token to contacts in spec and realm
- Add notifications to db
- Include fcm-token in contact request
- Update fcm-token when it arrives and put it in DB
- Disable copy-paste hijacking and popup
- Turn on notifications flag in Jenkins build
2017-09-18 16:28:04 +03:00
Eric Dvorsak ab98de0be5 moving drawer local state to db and fixing bug 2017-09-09 07:36:05 +03:00
Eric Dvorsak c1cac1eb7c wallet UX error fixes and more frequent refreshes
fix wallet errors that were sticking when refresh occured
add separate errors for transaction history fetching with visual feedback
update wallet when going on wallet tab
update transaction list when opening transaction modal
2017-09-08 11:53:49 +03:00
Andrey Shovkoplyas f88c3feaf6 reworked main tabs using svg icons [#1748 2017-09-06 17:05:56 +03:00
Julien Eluard 36d1568a76 Fixed main wallet discrepancies 2017-09-05 17:38:19 +03:00
angusiguess bc37283cb7 Add wallet error message.
- Add wallet key to db
- Add sub for wallet error messages
- Add event handlers to set wallet values
- Cover the above with tests

Oh and add the tests

Add error view

Add exclamation mark, style error message, add message to view

Remove commented styling

Localise wallet error

Add translation

- Add an english translation for the error message
- Change error representation in db to a keyword
- Update handlers to set and clear keywords

Constrain spec, make view conditional

- The spec for error messages now takes a predefined set.
- Error message only pops on error

Fix test

Align maps

Reduce event chain size, move logging to timbre
2017-09-01 19:01:12 +02:00