akwizgran
247ee7eba0
Unit tests for TransportKeyManager.
2016-02-19 13:22:04 +00:00
akwizgran
8a20f330be
Broadcast status event when active contact is added.
2016-02-19 12:10:44 +00:00
akwizgran
b7dc13ab53
Added unit test for setting contact active.
2016-02-18 10:10:12 +00:00
akwizgran
a6baa5821e
Added active flag to contacts.
2016-02-17 18:10:52 +00:00
akwizgran
6b76b75d08
More efficient database joins.
...
Don't keep message status rows for groups that are invisible to the contact - this avoids the need to join the groupVisibilities table when selecting messages to offer or send. Add or remove status rows when group visibility changes.
2016-02-17 17:24:44 +00:00
akwizgran
e979f17e45
Execute test tasks in a deterministic order.
2016-02-17 17:24:43 +00:00
akwizgran
9f8baab60f
Code cleanup.
2016-02-11 16:26:23 +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
675ce4bfef
Removed direct calls to DB's contact/identity methods.
2016-02-11 16:21:52 +00:00
akwizgran
0c392e8b78
Replaced PacketWriter methods with a constant.
2016-02-11 16:21:26 +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
fd99dd7573
Updated a unit test for storing settings.
2016-02-10 10:47:29 +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
Torsten Grote
d0ab16de2d
Merge branch 'merge-settings' into 'master'
...
Fix a couple of bugs in settings
1. SettingsFragment wasn't receiving events because it extended BaseFragment rather than BaseEventFragment
2. Removed broken logic for deciding whether to broadcast a SettingsUpdatedEvent
3. Added the namespace to SettingsUpdatedEvent so listeners can decide whether to react
See merge request !97
2016-02-09 16:55:42 +00:00
akwizgran
3d948ed461
Don't broadcast an event unless settings have changed.
2016-02-08 11:17:45 +00:00
akwizgran
741571bdb8
Run hooks when messages are validated.
2016-02-05 12:08:48 +00:00
akwizgran
3697fc6eb1
Allow different identities to have the same contact.
2016-02-02 17:00:54 +00:00
str4d
c822623677
Migrate Bluetooth protocol to BQP's master secret derivation
2016-02-02 02:45:49 +00:00
str4d
77e4ec381a
Implement BQP crypto
2016-02-02 02:45:49 +00:00
str4d
4d7a23779a
Rename crypto methods and constants for Bluetooth key agreement
2016-02-02 02:45:49 +00:00
akwizgran
e76aef3dc8
Unshared messages.
2016-01-29 13:45:22 +00:00
akwizgran
0fd8a67ee0
Allow multiple identities to have the same contact. #224
2016-01-28 15:57:22 +00:00
akwizgran
ce9a81ff98
Merge branch '218-remove-unicode-from-tests' into 'master'
...
Remove unescaped Unicode from tests. #218
Fixes #218 .
See merge request !81
2016-01-28 15:12:20 +00:00
akwizgran
58b6037912
Remove unescaped Unicode from tests. #218
2016-01-27 14:11:32 +00:00
akwizgran
88475bdd54
Transport properties client. #229
2016-01-27 12:51:55 +00:00
akwizgran
cd175fd119
Removed TransportUpdate and TransportAck.
2016-01-27 12:51:54 +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
33ef09a6bf
Implement Service interface rather than extending it.
...
Whether or not a class needs to run as a service is an implementation decision.
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
Santiago Torres
190bb12964
ENH: Replaces transport config with namespaced settings
2016-01-20 00:57:16 -05:00
akwizgran
ec096e6750
Updated tests for jMock 2.8.1.
2016-01-18 12:47:11 +00:00
akwizgran
4af522009d
Merge branch 'metadata-encoder-parser-tests' into 'master'
...
Add tests for metadata encoder and parser as well as UTF-8 tests for BDF reader and writer
This also includes a commit to fix issues found in the metadata encoder and parser.
See merge request !58
2016-01-13 17:25:34 +00:00
Torsten Grote
0dfa1b5254
Add UTF-8 tests for BDF Reader and Writer
2016-01-12 17:04:59 -02:00
Torsten Grote
27cb64e936
Properly test values as expected and actual, not the other way around
2016-01-12 17:04:02 -02:00
akwizgran
4c23ceca82
Fixed stupid bugs in metadata encoder and parser.
2016-01-12 17:55:38 +00:00
Torsten Grote
b837e8b035
Use @Test annotation to test for exceptions being thrown
...
Please note that this commit only uses the @Test annotation
where exceptions are thrown at the end of the test,
because otherwise the test would not be executed completely.
Examples for this are in DatabaseComponentImplTest where many exceptions
are thrown in close succession or in ConnectionRegistryImplTest where an
exception is thrown in the middle of the test.
2016-01-12 15:16:34 -02:00
Torsten Grote
06ce20dba2
add common tests for MetadataParserImpl and MetadataEncoderImpl
2016-01-12 14:34:52 -02:00