akwizgran
2cc621ed1b
Bumped DB schema version.
...
Prevent old forum sharing messages from causing spurious exceptions.
2016-05-10 16:19:38 +01:00
akwizgran
036c5d6753
No need to poll plugins before they're enabled.
2016-05-06 12:09:30 +01:00
akwizgran
1ae98ef2b5
Reduced polling intervals to improve connectivity.
2016-05-06 12:09:30 +01:00
akwizgran
e5547a5a12
Removed extra logging for Tor connection failures.
2016-05-06 12:09:30 +01:00
akwizgran
fbb3c0f9f2
Use exponential backoff for Tor polling. #314
2016-05-06 12:09:25 +01:00
akwizgran
dd9bc74262
Try to reconnect on connection loss. #262
2016-05-06 12:07:56 +01:00
akwizgran
27b4d0ef1f
Updated jtorctl binary with new patch.
2016-05-06 12:03:39 +01:00
akwizgran
5a84e0fe5c
Added "Touch to open Briar" to ongoing notification.
2016-05-04 09:32:47 +01:00
akwizgran
7e755e260a
Restored opaque background to progress wheels. #340
2016-05-03 18:46:45 +01:00
akwizgran
5fab9c383d
Updated forum toasts and renamed delete icon.
2016-05-03 16:21:26 +01:00
akwizgran
400a11e3b0
Renamed circuit status method.
2016-05-03 15:41:59 +01:00
akwizgran
25b165ac1e
Set ongoing notification to minimum priority. #154
2016-05-03 14:14:15 +01:00
akwizgran
a0f22ec3d1
Refactored connection status variables into inner class.
2016-05-03 11:55:49 +01:00
akwizgran
f58ee13244
Reset connection status when enabling network.
2016-05-03 11:53:27 +01:00
akwizgran
63d849b684
Hold partial wake lock to keep Tor connections alive.
2016-05-03 11:53:23 +01:00
akwizgran
c35cad9719
Fixed name of Tor mobile data setting. #316
2016-05-03 11:43:25 +01:00
akwizgran
7ad21708fe
Reinitialise viewfinder when camera view is shown. #331
2016-05-03 09:53:09 +01:00
akwizgran
ea973b61c6
Bumped expiry date to 1 June 2016.
2016-05-02 17:02:01 +01:00
akwizgran
237a89d5c2
Upgraded support library to 23.2.1.
2016-05-02 16:54:41 +01:00
akwizgran
0a088af010
Use IoExecutor for background IO tasks.
2016-05-02 16:54:40 +01:00
akwizgran
c21854fbe4
Use AndroidExecutor for background tasks that make API calls.
2016-05-02 16:54:35 +01:00
akwizgran
c72e5be804
Removed old user feedback activity. #336
2016-04-29 22:54:37 +01:00
akwizgran
860d06cefa
Revert to support library 23.1.1.
2016-04-29 13:40:00 +01:00
akwizgran
9b060c74b6
Upgraded build tools.
2016-04-29 11:34:56 +01:00
akwizgran
3bfef877ec
Upgraded support library.
2016-04-27 18:17:50 +01:00
akwizgran
efd9976ade
Upgraded Gradle to 2.10, Android plugin to 2.1.0.
2016-04-27 18:03:00 +01:00
akwizgran
4464a66463
Upgrade to Java 1.7 where possible.
2016-04-27 13:18:55 +01:00
akwizgran and str4d
f2fc0a43c9
Don't delete unsent reports on application start
2016-04-27 22:22:21 +12:00
akwizgran and str4d
d06a6e25cb
Check that result of File#listFiles() is not null.
2016-04-27 22:22:21 +12:00
akwizgran
8630f6f24f
Don't allow 'this' to escape the constructor.
2016-04-26 10:03:28 +01:00
akwizgran
141d6497ef
Removed unused layout code and imports.
2016-04-26 09:34:48 +01:00
akwizgran
e9f77ecd37
Use assertEquals() for more informative failure messages.
2016-04-25 17:05:22 +01: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
akwizgran
2fddec85dd
Don't activate contacts on incoming streams.
...
This leaves the contact and the introduction session in inconsistent states.
2016-04-25 16:11:15 +01:00
akwizgran
3b8689f892
Tweaked introduction wording, use Collections.emptyList().
2016-04-25 13:14:22 +01:00
akwizgran
b5fc7cf724
Use consistent styling for dialogs. #296
2016-04-25 12:52:28 +01:00
akwizgran
9b5d3ecb7a
Added public key and placeholder onion address.
2016-04-21 16:07:51 +01:00
akwizgran
5457588dbd
Placeholder test was causing tests to fail in AS 2.0.
2016-04-21 12:20:26 +01:00
akwizgran and str4d
28086cd359
ECIES encryption for feedback and crash reports.
2016-04-21 11:38:46 +12:00
akwizgran and str4d
94cca59249
Use Bouncy Castle for encoding public keys.
2016-04-21 11:38:46 +12:00
akwizgran
53eb67b153
Removed Tor binaries from repo. #203
2016-04-18 12:50:34 +01:00
akwizgran
0927bd5b01
Moved zxing dependency to briar-android.
2016-04-15 17:51:22 +01:00
akwizgran
6197f5a44c
Catch runtime exceptions from QR code decoder. #298
2016-04-15 17:06:05 +01:00
akwizgran
98b6b1f471
Don't use inverse style for progress bars. #286
2016-04-15 15:20:32 +01:00
akwizgran
f1a83139cf
Fixed flicker when loading contact list. #297
2016-04-15 11:05:02 +01:00
akwizgran
0f9338f5e9
Message queue manager should be a singleton.
2016-04-14 12:00:08 +01:00
akwizgran
40022b8326
Don't allow local identities to be added as contacts.
2016-04-11 13:24:25 +01:00
akwizgran
770015e5f9
Fixed wrong size check in introduction validator.
2016-04-06 18:06:42 +01:00
akwizgran
3c2378e024
Fixed indentation.
2016-04-06 17:12:27 +01:00
akwizgran
d38aa4fd9b
Exchange transport properties when adding contact.
2016-04-06 17:12:27 +01:00
akwizgran
7de83b5624
Removed device ID from transport properties.
2016-04-06 17:12:20 +01:00
akwizgran
befd916eba
Connect to newly activated contacts.
2016-04-06 17:10:54 +01:00
akwizgran
04a1f2b12c
Don't poll plugins that don't support polling.
2016-04-06 17:10:54 +01:00
akwizgran
90f3d33f86
Log the transport ID when registering connections.
2016-04-06 17:10:54 +01:00
akwizgran
d5bf7194f6
Register outgoing duplex connection after reading tag.
...
This prevents the connection from being registered until the contact responds, which ensures we're actually connected to the contact.
2016-04-06 17:10:53 +01:00
akwizgran
88852de283
Renamed AndroidModule to AppModule.
2016-04-06 17:02:56 +01:00
akwizgran
f7dbfe2551
Renamed a couple of integration tests.
2016-04-06 15:56:34 +01:00
akwizgran
b480777548
Services should throw exceptions for startup errors.
2016-04-05 15:44:50 +01:00
akwizgran
205dc66572
Test cleanup. #280
2016-04-05 14:19:10 +01:00
akwizgran
dc1adc21ae
Merged AppModule and AndroidModule.
2016-04-05 14:16:42 +01:00
akwizgran
2b19e4c8db
Close transport connection if tag isn't recognised. #281
2016-04-05 11:37:38 +01:00
akwizgran
945b5eb1ac
Create local state for clients at startup. #279
2016-04-01 17:15:35 +01:00
akwizgran
845d3fa47e
Bumped expiry date to 1 May 2016.
2016-04-01 12:21:58 +01:00
akwizgran
e44329a2b4
Removed debug logging from message queue manager.
2016-03-31 12:34:53 +01:00
akwizgran
5d1084ae84
Fixed a stupid forum post validation bug.
...
The signature covers the forum post body, not the message body.
2016-03-31 12:06:28 +01:00
akwizgran
7e3d3625aa
Don't allow reentrant transactions.
...
The database's transaction lock is reentrant, meaning that a thread that's already holding the lock can acquire it again. This would allow a thread that already has a transaction in progress to start another transaction, which could cause transaction isolation issues and/or lock timeouts on the database's internal locks.
Check that the current thread isn't already holding the lock when starting a transaction.
2016-03-31 11:02:52 +01:00
akwizgran
89d25d35d2
Save queue state before delivering message. #272
2016-03-30 17:15:45 +01:00
akwizgran
e78ba2e806
Key derivation fixes, renamed a key derivation method.
2016-03-30 12:02:49 +01:00
akwizgran
a8fa6339fb
Don't disable Bluetooth, always reuse the connection.
2016-03-30 10:38:38 +01:00
akwizgran
ed6c3fb1e3
Expect runtime exceptions from camera API methods.
2016-03-29 17:22:59 +01: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
685a864b43
Unit tests for transaction isolation. #272
2016-03-28 13:52:54 +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
akwizgran
0417639410
Merge duplex and simplex plugin config classes.
2016-03-28 11:28:46 +01:00
akwizgran
65316414ea
Added toString() method to TransportId.
2016-03-22 16:07:20 +00:00
akwizgran
31f6c0bf50
More logging for MessageQueueManagerImpl. #272
2016-03-22 13:46:27 +00:00
akwizgran
f20a1e8dfe
Fix merge problems in TransportPropertyValidatorTest.
2016-03-16 15:37:54 +00:00
akwizgran
e39a74bd40
Finish SplashScreenActivity when starting next activity.
...
Fixes #270 .
2016-03-15 20:58:57 +00:00
akwizgran
d605e1cae4
Reverted text colour to black.
...
@color/briar_text_primary is used in a lot of places other than the settings screen - if we want to use grey text in the settings screen we'll need to find another way.
Also fixed some misspelled resource names and included the colours from the Briar palette in color.xml.
2016-03-15 20:46:24 +00:00
akwizgran
3d57516258
Fixed merge issues.
2016-03-15 20:26:50 +00:00
akwizgran
02eca8ec38
Unit tests for MessageQueueManagerImpl.
2016-03-11 17:18:10 +00:00
akwizgran
e458853f34
Extra logging to track down Tor connection problems.
2016-03-11 15:21:26 +00:00
akwizgran
4afcf2e4a4
Added logging to track down deletion bug.
2016-03-11 10:13:35 +00:00
akwizgran
5bb8e95b26
Pass original message to BDF validators and hooks.
2016-03-08 17:03:22 +00:00
akwizgran
9e40d0be16
Added placeholder for MessageQueueManagerImpl tests.
2016-03-08 16:28:31 +00:00
akwizgran
efa06527c9
Moved validation interfaces into respective managers.
2016-03-08 16:22:09 +00:00
akwizgran
d308a30d05
Added BdfIncomingMessageHook.
2016-03-08 16:07:36 +00:00
akwizgran
ab7cc13014
Added QueueMessage support to BdfMessageValidator.
2016-03-08 16:07:36 +00:00
akwizgran
a4d6de0340
Added message queue manager.
2016-03-08 16:07:29 +00:00
akwizgran
c9276de399
Renamed validation hooks to incoming message hooks.
2016-03-07 18:36:30 +00:00
akwizgran
fe9c3adc64
Raise interrupt flag when catching InterruptedException.
2016-03-07 12:17:00 +00:00
akwizgran
0ac67239e3
Fixed race condition when closing redundant sockets.
...
When more than one invitation socket is opened, Alice should pick which one to use and Bob should use whichever one Alice picks. This fixes a race condition where each party picked a different socket and closed the other.
2016-03-07 11:50:47 +00:00
akwizgran
88ab694af8
No need to unwrap Bytes before adding to dictionary.
2016-03-04 21:11:25 +00:00
akwizgran
5998412a8a
Use ClientHelper in PrivateMessageFactoryImpl.
2016-03-04 21:10:52 +00:00
akwizgran
d342594313
Use ClientHelper in ForumPostFactoryImpl.
2016-03-04 21:10:52 +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
9d5924fc24
Use ClientHelper in ForumSharingManagerImpl.
2016-03-04 21:07:33 +00:00