akwizgran
623707af0f
Removed database locking.
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
29b67d2e03
Merge branch 'forum-sharing-hooks' into 'master'
...
Use message validation hook in forum sharing client
This patch moves the forum sharing client's update handling from an event handler to a hook to ensure the update is handled even if it arrives just before shutdown.
See merge request !99
2016-02-11 12:44:23 +00:00
akwizgran
bb11ebd5bd
Use message validation hook in forum sharing client.
2016-02-10 14:47:25 +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
54272c8836
MessageFactory never throws IOException.
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
Torsten Grote
b1cb39e88c
Merge branch 'validation-hooks' into 'master'
...
Run hooks when messages are validated
This patch allows clients to respond to messages reliably. Like the hooks for adding/removing contacts/identities, these hooks may be run more than once - that will be fixed when we have client-layer transactions.
See merge request !95
2016-02-09 16:48:49 +00:00
akwizgran
3d948ed461
Don't broadcast an event unless settings have changed.
2016-02-08 11:17:45 +00:00
akwizgran
bdc17dfc8e
Fixed a couple of bugs in settings.
2016-02-05 18:22:37 +00:00
akwizgran
4decdbf3e6
Giant whitespace-only indentation patch.
2016-02-05 14:54:17 +00:00
akwizgran
741571bdb8
Run hooks when messages are validated.
2016-02-05 12:08:48 +00:00
akwizgran
9e1000c1b3
Store transport properties received by other means.
2016-02-03 16:03:44 +00:00
akwizgran
3697fc6eb1
Allow different identities to have the same contact.
2016-02-02 17:00:54 +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
933eee1826
Merge branch '117-bqp-crypto' into 'master'
...
BQP crypto
This implements the `CryptoComponent` methods necessary for BQP.
Part of #117 .
See merge request !88
2016-02-02 15:34:26 +00:00
akwizgran
86a814786a
Merge branch 'remove-old-build-files' into 'master'
...
Remove Ant build files and Eclipse project files.
No longer needed for building or testing, and a pain to maintain.
See merge request !87
2016-02-02 10:48:24 +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
b65be93a20
Merge branch 'unshared-messages' into 'master'
...
Unshared messages
See merge request !86
2016-01-29 14:55:26 +00:00
akwizgran
e14ff46356
Removed Ant build files and Eclipse project files.
2016-01-29 14:47:27 +00:00
akwizgran
ee6379cb0c
Fixed missing Inject annotation.
2016-01-29 14:45:57 +00:00
akwizgran
062b987585
Merge branch 'private-groups' into 'master'
...
Factored out code for creating private groups.
See merge request !85
2016-01-29 13:46:29 +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
0fd8a67ee0
Allow multiple identities to have the same contact. #224
2016-01-28 15:57:22 +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
akwizgran
baa580c6f4
Replace for with foreach.
...
I don't care but Android Studio complains.
2016-01-27 12:51:55 +00:00
akwizgran
47e605fcd8
Don't flush buffers on every commit.
...
This was meant to prevent key reuse with BTPv1, it's no longer needed with BTPv2.
2016-01-27 12:51:54 +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
06ade19260
Fixed potential deadlock in TransportKeyManager. #235
2016-01-26 10:32:12 +00:00
akwizgran
d512c218cd
Removed consumers from BdfWriter.
2016-01-22 11:50:06 +00:00
akwizgran
88a8081351
Metadata for groups. #221
2016-01-20 15:03:42 +00:00
akwizgran
3c543b0d62
Fixed crash caused by using DB too early in lifecycle.
2016-01-20 15:03:10 +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
cd08867611
Made BdfDictionary and BdfList thread-safe.
2016-01-20 10:35:14 +00:00