Commit Graph

68 Commits

Author SHA1 Message Date
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
Anton Danchenko 030ceecc21 added 'one-to-one chat between different networks' and 'switch network' tests, also added marks for local runs 2017-10-12 09:55:34 +03: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
Anton Danchenko 98beef138f added 'send transaction initiated from the DApp' and 'send transaction with invalid password' tests, basetestcase reworked for smooth local runs
added 'send transaction initiated from the DApp' and 'send transaction with invalid password' tests, basetestcase reworked for smooth local runs
2017-10-10 18:41:18 +03: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
Anton Danchenko 698e90a62c added 'recover access' and 'send transaction in group chat' tests 2017-09-26 13:59:43 +03:00
Anton Danchenko e1af9144cf added tests: transaction and sign in 2017-09-22 11:16:46 +03: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
Anton Danchenko debd51bfce test_remove_user_from_group_chat added as a part of test_group_chat_send_receive_messages_and_remove_user 2017-09-13 21:41:00 +03:00
Anton Danchenko eaf9d8dce4 added additional verifications to group/one-to-one chat tests, added accessibility ids
Revert "added checkout step to Jenkinsfile"

This reverts commit 22cd1fd021.

checkout to jenkinsfile
2017-09-11 15:26:08 +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
Anton Danchenko d3d59f535e added checkout step to Jenkinsfile 2017-09-06 13:54:46 +03:00
Anton Danchenko 3afae8a42b changed key in Jenkinsfile 2017-09-06 12:33:32 +03:00
Anton Danchenko a02ef4af0f Jenkinsfile updated for jenkins setup 2017-09-06 12:24:09 +03:00
Julien Eluard 36d1568a76 Fixed main wallet discrepancies 2017-09-05 17:38:19 +03:00
Julien Eluard 38bf64ae2e Removed now useless appium tests 2017-09-03 18:07:57 +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
Anton Danchenko fb53417295 added group chat test and auto retrieving of latest apk 2017-08-31 16:39:45 +03:00
Goran Jovic d2530517c4 feature #1585 generate signing phrase, show it to the user during on-boarding, store in the account; account schema updated, added migration, generating a new signing phrase on recovery 2017-08-31 15:41:15 +03:00
Andrey Shovkoplyas be57d85147 implemented svg icons 2017-08-30 11:09:27 +02:00
Anton Danchenko e69d998071 e2e-tests, android: added infrastructure for running e2e tests, added test send/receive in chat, added request password tests, updated gitignore to exclude python related files. 2017-08-28 15:27:02 +02:00
angusiguess 6fa9040def [FIX #1668] Prevent UI keys from propagating to account model.
The ```:account-update``` event was being passed the key
```update-status?``` which has nothing to do with an account as
represented in the db. This resulted in a spec failure when this
key was detected on an attempt to save changes.

I've sanitized this event by pulling out the three account keys,
```[:name :photo-path :status]```
that are relevant to ```profile``` and ensuring that only they get
passed to ```:account-update```.

Profile updates now work as expected.

Add tests covering profile events

Fix the runner
2017-08-25 13:10:18 +03:00
Julien Eluard 2585a32c7a Enable main wallet screen. WIP features are hidden behind flag 2017-08-23 12:28:42 +03:00
Andrey Shovkoplyas 2ff20eb830 accounts tests 2017-08-22 07:39:07 +03:00
Andrey Shovkoplyas bab4e33ec2 Accounts refactoring #1610 2017-08-21 10:19:03 +03:00
Goran Jovic 1ca35db17c fix #1518 and #1573 - removed potentially offensive words, made username generation deterministic, updated unit tests 2017-08-17 18:43:15 +03:00
Oskar Thorén 8e22ce9466 utils: Support ERC20 balance-of in order to get token balance
This is necessary in order to display token balance in Wallet.
2017-08-17 17:19:49 +03:00
Julien Eluard 9bacc65c8d Implement wallet/transactions basic skeleton 2017-08-16 12:09:01 +03:00
Roman Volosovskyi a93cb0b1d1 show testfairy warning on startup (#1569) 2017-08-14 21:44:48 +03:00
Andrey Shovkoplyas 883b702fcb Introduced new hierarchy ,refactored core 2017-08-14 13:42:20 +03:00
Andrey Shovkoplyas a91a945bfa tests for group module 2017-08-10 10:05:29 +03:00
Andrey Shovkoplyas 6d62a21af7 tests for contacts events 2017-08-09 16:43:40 +03:00
Oskar Thorén db6b80d529 chat, protocol: Introduce Lamport clock semantics for message order
This commit ensures messages are ordered correctly when participants join and
leave a group chat. Specifically, the last received message will appear last.
Previously the user and chat clock was queried and updated in an ad hoc manner.
With this change there are only two clock changes to keep track of:

Sending messages:
time = time+1;
time_stamp = time;
send(message, time_stamp);

Receiving messages:
(message, time_stamp) = receive();
time = max(time_stamp, time)+1;

(See https://en.wikipedia.org/wiki/Lamport_timestamps)

Note that this means we can get rid of all the non-message clock queries and
updates.
2017-08-09 12:34:36 +03:00
Oskar Thorén b510488f11 fix #1050
Introduce a money namespace that solves a bunch of issues related to significant
numbers being preserved and converted correctly.
2017-08-07 13:55:22 +03:00
alwx abafa3308a Unit tests for input model 2017-08-02 17:03:11 +03:00
Andrey Shovkoplyas 3d05f99bd4 implemented fx handler, rewrite handlers using fx and cfx, optimized subscriptions, reorganized structure and renamed files, implemented re-frame-test and wrote some tests 2017-07-28 17:25:55 +03:00
Herich f5b0c0c368 chat, data, utils: add implementation of simple preview caching 2017-07-26 15:00:14 +03:00
Julien Eluard cdbabca9fe Multiple hit on save should not create multiple groups 2017-07-25 10:24:02 +03:00
Roman Volosovskyi be463e0947 messaging test 2017-07-18 08:41:03 +03:00
Roman Volosovskyi 23399c63e1 extract React Native dependencies 2017-07-17 11:38:48 +03:00