Torsten Grote
6ece398a21
Create PrivateGroupManager Facade and stub implementation
2016-09-30 12:05:35 -03:00
akwizgran
8a3e5bfb50
Refactor ValidationManager and fix some bugs. #619
2016-09-09 18:03:14 +01:00
Torsten Grote
3f2b85ac0d
Introduce a MessageContext class for more flexibility
...
This change will allow to pass message dependencies from the client
validators to the ValidationManager.
2016-05-20 02:46:37 +00:00
akwizgran
d414e12fb5
Don't return transport properties for inactive contacts.
...
This avoids wasted connection attempts to contacts that are in the process of being introduced.
2016-04-25 16:12:24 +01:00
Torsten Grote
90d984ee52
Ensure responses shown after requests, clarify wording, reuse transactions
...
When devices' clocks are out of sync, it is possible that a response is
shown before the request. This commit makes sure that the timestamp of
responses is always later than the last message in the conversation.
Some wording could be misunderstood to thing introductions were
successful even though they were not. That has been clarified.
A new database transaction was created when getting contacts and local
transport properties. This has been changed to re-use the existing
transaction.
Also addresses minor issues found in review.
2016-04-12 17:04:52 -03:00
akwizgran
7de83b5624
Removed device ID from transport properties.
2016-04-06 17:12:20 +01:00
akwizgran
945b5eb1ac
Create local state for clients at startup. #279
2016-04-01 17:15:35 +01:00
Torsten Grote
e3459fb0a3
Use given transaction when adding remote properties in TransportPropertyManager.
2016-03-30 13:36:13 -03:00
akwizgran
1855dbbd2d
Use a lock to ensure transaction isolation. #272
2016-03-28 13:52:12 +01:00
Ernir Erlingsson
686729b045
refactor with master and fixed files that were accidentally clobbered
2016-03-14 21:02:51 +01:00
Ernir Erlingsson
6f233070fe
Semi-encapsulated the core/api dependency graphs and created a proper structure to load eager singletons
2016-03-14 21:02:51 +01:00
Ernir Erlingsson
10764d727b
rebased with master
2016-03-14 21:02:51 +01:00
Ernir Erlingsson
9af3ce123a
Added eager singletons and made some fixes
2016-03-14 21:02:51 +01:00
Ernir Erlingsson
1be400eb84
Switched Roboguice/Guice out for Dagger 2
2016-03-14 21:01:21 +01:00
akwizgran
5bb8e95b26
Pass original message to BDF validators and hooks.
2016-03-08 17:03:22 +00:00
akwizgran
cc7ffee28d
Superclass for validating messages that are BDF lists.
2016-03-04 21:10:44 +00:00
akwizgran
05ec49e45b
Use ClientHelper in TransportPropertyManagerImpl.
2016-03-04 21:07:33 +00:00
akwizgran
640f5484e0
Moved PrivateGroupFactory to clients package.
2016-02-29 14:25:29 +00:00
akwizgran
9e0add7d4c
Renamed BdfWriter methods, added support for NULL_VALUE.
2016-02-29 14:23:49 +00:00
akwizgran
3ce62818aa
Renamed BdfReader methods, added convenience methods.
2016-02-29 14:23:49 +00:00
akwizgran
e3374b7584
Rename BDF methods.
2016-02-29 11:57:42 +00:00
akwizgran
9f8baab60f
Code cleanup.
2016-02-11 16:26:23 +00:00
akwizgran
de8cc50fb4
Moved transactions out of database component.
2016-02-11 16:26:19 +00:00
akwizgran
ef2b2b9710
Removed unneeded visibility methods.
2016-02-11 16:21:53 +00:00
akwizgran
675ce4bfef
Removed direct calls to DB's contact/identity methods.
2016-02-11 16:21:52 +00:00
akwizgran
18db17bf5b
Moved subscription updates to the client layer.
2016-02-10 10:47:30 +00:00
akwizgran
54272c8836
MessageFactory never throws IOException.
2016-02-10 10:47:29 +00:00
akwizgran
3837efca6b
Updated group-related events and exceptions.
2016-02-10 10:47:26 +00:00
akwizgran
9d537dce00
Removed contact subscriptions from database.
2016-02-10 10:46:41 +00:00
akwizgran
9e1000c1b3
Store transport properties received by other means.
2016-02-03 16:03:44 +00:00
akwizgran
e76aef3dc8
Unshared messages.
2016-01-29 13:45:22 +00:00
akwizgran
4e17621081
Factored out code for creating private groups.
2016-01-28 18:05:01 +00:00
akwizgran
9ce39f3f21
Renamed Latest to LatestUpdate for clarity.
2016-01-28 14:49:35 +00:00
akwizgran
d63f997813
Fixed bug in detection of unchanged properties.
2016-01-27 12:51:56 +00:00
akwizgran
c776d1e893
Include unique device ID in transport updates.
2016-01-27 12:51:55 +00:00
akwizgran
88475bdd54
Transport properties client. #229
2016-01-27 12:51:55 +00:00