Commit Graph

1376 Commits

Author SHA1 Message Date
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
Jarrad Hope 7e7920358f java appium tests and jenkins test 2017-04-14 22:17:45 +02:00
Gustavo Nunes a8a588bb70 Onboarding tests: fixed existing and added new 2017-02-08 17:01:14 +02:00
Roman Volosovskyi 64a9847b21 fix #452 2016-11-18 16:49:51 +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 eedf38895d doc for appium-test
Former-commit-id: c8d0f590c2
2016-05-30 10:22:29 +03:00
Roman Volosovskyi 3ea8b2cb82 first unit test
Former-commit-id: 1766b1af12
2016-05-30 08:58:38 +03:00
Roman Volosovskyi e8256f34e9 implicitly wait 25s
Former-commit-id: 0e3c1d10ba
2016-05-26 18:13:37 +03:00
Roman Volosovskyi 23b646c213 appium-test macro
Former-commit-id: 54ae25dc67
2016-05-26 17:00:42 +03:00
Roman Volosovskyi 6823acd171 :accessibility-label
Former-commit-id: 63dd0d4a4a
2016-05-26 16:46:14 +03:00
Roman Volosovskyi c10abb17bb first attempt
Former-commit-id: dc2839e086
2016-05-26 15:31:11 +03:00
Jarrad 83dcdf85c7 whoops
Former-commit-id: 225e6bbaa8
2016-05-19 18:34:52 +02:00
Jarrad b5763bb8ad syng to status
Former-commit-id: 6a5250247c
2016-05-19 18:31:56 +02:00
michaelr d54d6555a4 moved re-frame app to root folder
Former-commit-id: 5a3b923b0c
2016-04-04 19:21:10 +03:00
virvar 7c6e7c644a Initial 2016-02-23 01:04:42 +03:00