Commit Graph

1398 Commits

Author SHA1 Message Date
akwizgran
a2f5f68f87 Refactored TCP plugins, moving common code into superclass. 2014-04-10 13:15:53 +01:00
akwizgran
639a5e8e76 Prevent screenshots (including the Recents menu).
Thanks to the team that audited CryptoCat for this idea. :-)
2014-04-07 20:35:10 +01:00
akwizgran
f489da1a21 Wait for Bluetooth to be disabled before exiting.
This may have been the cause of Bluetooth not always being disabled at
shutdown on the Sony Xperia Tipo.
2014-04-05 21:36:56 +01:00
akwizgran
6745bbf9df Skip a logging method if logging is disabled. 2014-04-05 20:24:58 +01:00
akwizgran
6a0e7f8add Tor config was not being installed for fresh installs. 2014-04-05 20:12:20 +01:00
akwizgran
839f67dd44 Replaced last connection time with time of last private message. 2014-04-05 18:14:36 +01:00
akwizgran
3d9f5c496f Show feedback when nickname or forum name is too long. Bug #45. 2014-04-05 14:59:30 +01:00
akwizgran
413950f794 Show newly subscribed forum after subscribing. Dev task #86. 2014-04-05 13:28:44 +01:00
akwizgran
cc9e1ec300 Rigorous address validation broke a unit test. 2014-04-05 00:00:59 +01:00
akwizgran
1923dba345 Bumped the version number and expiry date. 2014-04-05 00:00:58 +01:00
akwizgran
e74465dd41 Don't try to connect to unreachable IP addresses. 2014-04-05 00:00:58 +01:00
akwizgran
e3a8db6b7a Minor refactoring of TorPlugin. 2014-04-05 00:00:58 +01:00
akwizgran
08b91d2483 Poll plugins when connectivity changes. Bug #66.
This should enable us to connect to contacts faster at startup and
whenever a new means of connecting becomes available.
2014-04-04 22:06:36 +01:00
akwizgran
9f8d12e6c2 Extract latest Tor binary before starting Tor process. Dev task #81. 2014-04-04 20:04:47 +01:00
akwizgran
a563fcc192 Better connectivity detection for the Tor plugin. 2014-04-04 20:04:47 +01:00
akwizgran
a5ac325ae8 Shut down the Android executor after stopping the plugins. Bug #67. 2014-04-04 20:04:47 +01:00
akwizgran
75ce6cf1da LAN plugin should re-bind each time wifi becomes available. Bug #51. 2014-04-04 20:04:47 +01:00
akwizgran
e260aac3d2 All tryToClose() methods should check for null arguments. 2014-04-04 20:04:47 +01:00
akwizgran
75f13f53a0 Refactored address parsing code into superclass. Don't use DNS. 2014-04-04 20:04:47 +01:00
akwizgran
fe82591fdf Cleaned up address selection code for LAN and WAN plugins.
The LAN plugin only accepts IPv4 link-local or site-local addresses.
This rules out LANs that use globally routable addresses (such as UCL),
but also reduces the chances of the LAN plugin making observable
connections across the WAN, which could reveal the social graph.

Both plugins will attempt to reuse the previous address and port only if
there's currently an interface with that address; this will avoid
unnecessary attempts to bind to nonexistent addresses.
2014-04-04 20:04:47 +01:00
akwizgran
fbe1c799dd Added canary code to catch bugs #55 and #65. 2014-04-04 02:23:32 +01:00
akwizgran
79166e9b2f Reject subscription updates with duplicate entries. Bug #65. 2014-04-04 01:08:36 +01:00
akwizgran
dbfb309fc3 Window background colour wasn't being set for API < 11. Bug #50. 2014-04-04 00:46:29 +01:00
akwizgran
1c282a8835 Show when private messages have been delivered. 2014-04-03 23:42:24 +01:00
akwizgran
a4954408a8 Less verbose Tor logging: don't log when circuits are extended.
We can get all the information we need from the other status messages.
2014-04-02 17:46:06 +01:00
akwizgran
2549a0c200 Include IP, Bluetooth and Tor addresses in debugging info. 2014-04-02 17:35:00 +01:00
akwizgran
e447a52b51 Recompiled jtorctl with new patch. 2014-04-02 12:36:39 +01:00
akwizgran
b3afe8a150 Cleaned up jtorctl patch, removing unnecessary changes. 2014-04-02 12:30:46 +01:00
akwizgran
3008bcc209 Sort forum messages correctly even if clocks are wrong. Bug #57. 2014-04-01 19:38:11 +01:00
akwizgran
56f1eb80db Bumped the expiry date to 7 April 2014. 2014-04-01 19:37:54 +01:00
akwizgran
0100d62a20 Test that our elliptic curve is equal to the named curve; benchmarks. 2014-03-27 10:32:49 +00:00
akwizgran
8310f00848 JNotify native libraries recompiled by infinity0. Bug #41. 2014-03-27 10:32:37 +00:00
akwizgran
2f9ef8fcaf Log the running time of ECDH shared secret derivation. 2014-03-22 17:06:42 +00:00
akwizgran
c028728c19 Code cleanup for DroidtoothPlugin. 2014-03-22 16:35:47 +00:00
akwizgran
ab2849e2f3 Bluetooth discovery was running for too long. Bug #64 and possibly #61.
The variable now wasn't being updated when no devices were discovered.
2014-03-22 15:20:56 +00:00
akwizgran
86ebae04b4 Fixed NullPointerException in ConfigureGroupActivity. Bug #63. 2014-03-22 12:25:04 +00:00
akwizgran
fc66f6ed8a Log the running time of key validation and message verification. 2014-03-22 00:30:29 +00:00
akwizgran
d83513c5f9 Dismiss dialogs when screen is rotated. Bug #52. 2014-03-21 14:30:54 +00:00
akwizgran
007ddac880 Use the Montgomery ladder multiplier to avoid side-channel attacks. 2014-03-19 22:52:53 +00:00
akwizgran
abfff10f6b Contacts a forum is already shared with should be selected. Dev task #79 2014-03-17 14:49:11 +00:00
akwizgran
8c18773141 Write the tag immediately even if there are no packets to send. Bug #27. 2014-03-16 18:13:31 +00:00
akwizgran
5755aed362 Android Bluetooth plugin binds a socket each time BT is enabled.
Dev task #80.
2014-03-13 18:39:53 +00:00
akwizgran
26a4841a8c Display the Tor plugin's log output from previous Briar processes. 2014-03-13 17:12:23 +00:00
akwizgran
814167613c Verbose logging of Tor connections, streams and circuits. 2014-03-13 09:37:30 +00:00
akwizgran
b270f0e8b1 Call Thread.currentThread().interrupt() when handling interruption. 2014-03-12 21:11:11 +00:00
akwizgran
b99a503f24 Removed unnecessary conditionals from logging statements.
Very important stuff.
2014-03-12 21:00:14 +00:00
akwizgran
375a597dd2 Removed mark read and mark unread buttons. Bug #48. 2014-03-12 13:52:20 +00:00
akwizgran
9f34150585 Added padding to layout. 2014-03-12 13:50:07 +00:00
akwizgran
28ac6ced05 Bumped the expiry date of the alpha to 31 March 2014. 2014-03-11 09:58:51 +00:00
akwizgran
5d20c80d71 Bumped the version number to 0.5. 2014-03-11 09:58:27 +00:00