Commit Graph

1411 Commits

Author SHA1 Message Date
akwizgran
12eeb11901 Removed non-Android classes from jsocks to fix lint warning. 2014-05-01 15:13:00 +01:00
akwizgran
d8db5806ca Suppress lint warning: abstract Activity not registered in manifest. 2014-05-01 15:13:00 +01:00
akwizgran
d5bf5871a9 Suppress lint warning: NewApi. 2014-05-01 15:13:00 +01:00
akwizgran
ff059ef72e Check API version before accessing MemoryInfo.totalMem. 2014-05-01 15:13:00 +01:00
akwizgran
4e24dc55bf Suppress lint warning: NewApi. 2014-05-01 15:13:00 +01:00
akwizgran
97af24cb08 Fixed lint warning: case converstion without a locale. 2014-05-01 15:13:00 +01:00
akwizgran
4aae062ea7 Created switches for disabling alpha/beta testing code. 2014-04-30 13:41:09 +01:00
akwizgran
7ce5903c17 Use SortJar for deterministic builds. 2014-04-24 13:38:41 +01:00
akwizgran
b7b619d348 Bumped the expiry date to 10 May 2014. 2014-04-24 13:33:42 +01:00
akwizgran
4dd631a997 Bumped the expiry date to 26 April 2014. 2014-04-18 19:59:36 +01:00
akwizgran
0eaf46209c Show more debugging info: system memory, VM memory and disk space. 2014-04-10 15:48:15 +01:00
akwizgran
ab76b4a9e3 Print stdout and stderr of unit tests to track down test failures. 2014-04-10 13:21:26 +01:00
akwizgran
7aa836c683 Skip tests that can't be run on the present machine. 2014-04-10 13:15:54 +01:00
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