akwizgran
b480777548
Services should throw exceptions for startup errors.
2016-04-05 15:44:50 +01:00
akwizgran
945b5eb1ac
Create local state for clients at startup. #279
2016-04-01 17:15:35 +01:00
Torsten Grote
5bde14c694
Add a contactExists() method to the contactManager
...
This requires exposing the `containsContact()` method to the `DatabaseComponent`
and is needed for finding out efficiently whether a contact already exists.
2016-03-30 13:36:13 -03:00
akwizgran
1cdba02752
Updated javadocs for database methods.
2016-03-29 16:10:40 +01:00
akwizgran
e58ca00979
Don't start transactions while holding locks. #272
2016-03-29 15:21:46 +01:00
akwizgran
1855dbbd2d
Use a lock to ensure transaction isolation. #272
2016-03-28 13:52:12 +01:00
akwizgran
9714713d73
Add transports to DB during startup. #269
2016-03-28 13:47:23 +01:00
Ernir Erlingsson
1be400eb84
Switched Roboguice/Guice out for Dagger 2
2016-03-14 21:01:21 +01:00
akwizgran
a6baa5821e
Added active flag to contacts.
2016-02-17 18:10:52 +00:00
akwizgran
074892b677
StorageStatus is no longer needed.
2016-02-11 16:26:23 +00:00
akwizgran
146dac056d
Broadcast events after committing transactions.
2016-02-11 16:26:22 +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
3fa1bbe33e
Expose transactions through DatabaseComponent interface.
2016-02-11 16:21:53 +00:00
akwizgran
a91d500263
Added method for deleting metadata.
2016-02-10 14:01:55 +00:00
akwizgran
00275e260f
Allow messages to be deleted.
2016-02-10 14:01:55 +00:00
akwizgran
18db17bf5b
Moved subscription updates to the client layer.
2016-02-10 10:47:30 +00:00
akwizgran
225d0ebeef
DB interface cleanup, removed unnecessary exceptions.
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
9fdc510843
Removed SubscriptionUpdate and SubscriptionAck.
2016-02-10 10:46:41 +00:00
akwizgran
1f18aae0f1
Merge branch '235-transport-key-manager-deadlock' into 'master'
...
Avoid potential deadlock in TransportKeyManager. #235
See rambling description on the ticket and in the architecture channel...
Fixes #235 .
See merge request !79
2016-02-02 15:35:28 +00:00
akwizgran
e76aef3dc8
Unshared messages.
2016-01-29 13:45:22 +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
akwizgran
093e44d3ab
Cleaned up database initialisation.
2016-01-27 12:51:54 +00:00
akwizgran
cd175fd119
Removed TransportUpdate and TransportAck.
2016-01-27 12:51:54 +00:00
akwizgran
f2e1723b24
Added thread safety documentation to interfaces.
2016-01-26 10:31:32 +00:00
akwizgran
88a8081351
Metadata for groups. #221
2016-01-20 15:03:42 +00:00
akwizgran
281ca734e3
Addressed issues from code review.
2016-01-20 14:43:47 +00:00
akwizgran
c4692a7007
Identity manager hooks. #209
2016-01-20 14:43:47 +00:00
akwizgran
82cf12040f
Contact manager hooks. #209
2016-01-20 14:43:46 +00:00
akwizgran
77054cbae7
Small improvements to DB interface.
2016-01-20 10:35:14 +00:00
akwizgran
5355951466
Separate the sync layer from its clients. #112
2016-01-20 10:35:09 +00:00
akwizgran
f5f572139a
Code cleanup.
2016-01-20 10:30:36 +00:00
Santiago Torres
190bb12964
ENH: Replaces transport config with namespaced settings
2016-01-20 00:57:16 -05:00
akwizgran
ed23bd6c11
Allow nulls in BdfList, BdfDictionary.
...
BdfList and BdfDictionary are no longer thread-safe, they require external locking. Metadata (which is the class that will be passed across API boundaries) is still thread-safe.
2016-01-12 11:35:44 +00:00
akwizgran
a419948147
Parser for structured metadata.
2016-01-12 11:35:44 +00:00
akwizgran
c5282c5b17
Moved some API classes into packages.
2015-12-17 16:56:57 +00:00
akwizgran
e9226dc8e2
Fixed some missing imports from recent refactoring.
2015-12-16 12:50:17 +00:00
akwizgran
6e61504d24
Removed message expiry code. #180
2015-12-16 12:17:38 +00:00
akwizgran
2ca2356ecc
Moved MessageHeader to sync package.
2015-12-15 15:05:16 +00:00
akwizgran
e370cafb12
Moved classes from messaging package to sync package.
2015-12-15 15:05:06 +00:00
akwizgran
9868feeb2a
Refactor KeyManager and TagRecogniser. #55
2015-12-14 11:02:49 +00:00
Torsten Grote
aa7d7642bf
make message status persistent and initialize it from database
2015-12-10 11:25:41 -02:00
akwizgran
dea5a44724
Simpler forum sharing UX.
2015-04-29 15:08:58 +01:00
akwizgran
7fbad8dc26
Use FortunaGenerator to implement PseudoRandom.
2015-01-14 20:46:03 +00:00
akwizgran
388b36b6be
Check periodically for retransmittable packets. Bug #46 .
2014-12-14 20:26:41 +00:00
akwizgran
9dbabdeceb
Document the contract of DatabaseExecutor.
2014-11-08 16:40:22 +00:00
akwizgran
b24f153704
Renamed a load of things from 'connection' to 'stream'.
2014-10-08 16:21:55 +01:00