Commit Graph

473 Commits

Author SHA1 Message Date
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
Julien Eluard 90d8b5c23c Fixes #1212 (#1249)
* Make sure suggestions properly popsup when command starts with space

* Added basic tests for splt-command-args

* Properly handle white spaces

* Added tests for commands with whitespaces
2017-06-26 13:45:49 +03:00
Gustavo Nunes a8a588bb70 Onboarding tests: fixed existing and added new 2017-02-08 17:01:14 +02:00
Roman Volosovskyi 8439407520 show connectivity issues & retry sending of phone/confirmation code to server if application is offline
Former-commit-id: 2580b0a9d9
2016-10-23 12:49:36 +03:00
Roman Volosovskyi e9e3dc3896 on boarding tests
Former-commit-id: a0912230d4
2016-07-27 16:08:53 +03:00
Roman Volosovskyi b9973cee6d cleanup
Former-commit-id: 62e68fc3da
2016-06-14 15:56:03 +03:00
Roman Volosovskyi 75649d46aa tests
Former-commit-id: 8474729695
2016-06-09 16:06:39 +03:00
Roman Volosovskyi 3ea8b2cb82 first unit test
Former-commit-id: 1766b1af12
2016-05-30 08:58:38 +03:00