Commit Graph

1174 Commits

Author SHA1 Message Date
akwizgran
49fda3bec5 Recompiled Tor with the latest libevent and OpenSSL. 2014-01-04 16:47:34 +00:00
akwizgran
c232d0ceb1 Asynchronous offers and requests for BMP.
Offered and requested message IDs are stored in the database rather than
being owned by DuplexConnections. This paves the way for moving to a
simplex transport layer.
2014-01-04 16:03:31 +00:00
akwizgran
e9d0ad97c4 Removed an unnecessary join. 2013-12-28 14:00:25 +00:00
akwizgran
6338e5959a Replaced the messagesToAck table with a flag in the statuses table. 2013-12-28 13:55:19 +00:00
akwizgran
7a57375438 Interleave samples to get a better estimate of PBKDF2 running time. 2013-12-28 13:44:26 +00:00
akwizgran
a9c46e6ed1 Upgraded Tor to 0.2.4.20. 2013-12-27 19:48:52 +00:00
akwizgran
d5beaef1e0 Rebuilt Tor binary from source (thanks to the Guardian Project). 2013-12-27 19:18:40 +00:00
akwizgran
a54e0bb812 Updated Android support jar. 2013-12-27 18:25:50 +00:00
akwizgran
88c7251ea2 Various small tweaks and optimisations to message and forum activities. 2013-12-22 01:57:56 +00:00
akwizgran
ff01b181bc Renamed a database method. 2013-12-22 01:56:11 +00:00
akwizgran
f1af27554d Removed share button, which rarely worked, and two compose buttons. 2013-12-21 23:55:22 +00:00
akwizgran
51b3a10be2 Removed public/private groups from the wire protocol.
The distinction between inbox groups and other groups can be maintained
internally, there's no need to represent it on the wire.
2013-12-20 13:32:36 +00:00
akwizgran
e8d864c004 Throw DbException if database encryption key is missing.
This can happen on Android if the app is automatically restarted after a
crash.
2013-12-19 23:33:38 +00:00
akwizgran
bd566fdb8f Moved CPU architecture check from Tor plugin to plugin factory.
This allows us to avoid instantiating the plugin on unsupported
architectures.
2013-12-19 23:23:41 +00:00
akwizgran
676ef9518b Unit tests to catch a noobish JDBC error. 2013-12-19 23:13:08 +00:00
akwizgran
17ef84c070 Reduced padding between From: and To: fields. 2013-12-19 23:12:39 +00:00
akwizgran
93151ee77b Fixed a NullPointerException when a local message triggered an event. 2013-12-19 23:06:54 +00:00
akwizgran
0a61fc40ae Fixed a SQL typo. Unit tests would've caught this. 2013-12-19 22:36:42 +00:00
akwizgran
8b44152ed4 Bumped the expiry date to 30 December 2013. 2013-12-19 22:33:42 +00:00
akwizgran
6de0c334c7 Missed a method when replacing private messages with private groups.
Unit tests would've caught this.
2013-12-19 22:28:23 +00:00
akwizgran
caec26e9cd Only allow one private group (the inbox) to be shared with each contact. 2013-12-19 22:12:49 +00:00
akwizgran
0dc869228b Replaced private messages with private groups.
Private messages are now the same as group messages, but groups can be
private or public. When a contact is added, a private group is created
and designated as the inbox for exchanging private messages with the
contact.
2013-12-19 21:53:26 +00:00
akwizgran
1d4213e9c6 When replying to a message, don't use an earlier timestamp.
This produces a saner user experience when devices have differing
clocks.
2013-12-11 16:25:00 +00:00
akwizgran
ba9ea9da1c Bumped expiry date to 15 December 2013. 2013-12-11 15:53:04 +00:00
akwizgran
47708d489d Added the ability to remove pseudonyms from the database. 2013-12-10 22:23:37 +00:00
akwizgran
667dbfdd4a Removed an unused DB method and index. 2013-12-10 21:02:11 +00:00
akwizgran
db5702d7fc Calibrate PBKDF2 iterations on first run. Fixes development issue #29. 2013-12-05 23:18:07 +00:00
akwizgran
bab2aca584 Patched Weupnp to support older Android devices.
Older devices such as the Huawei U8210 don't completely support the Java
1.6 API. Calling an unsupported method crashes the app.
2013-12-05 21:21:43 +00:00
akwizgran
290fbe4ac8 Downgraded to H2 1.3.170 again to support older Android devices.
Older devices such as the Huawei U8210 don't completely support the Java
1.6 API. Calling an unsupported method crashes the app.
2013-12-05 20:19:44 +00:00
akwizgran
3b0d8ec477 Upgraded Tor to version 0.2.4.16-rc from Orbot version 12.0.5. 2013-12-05 19:51:49 +00:00
akwizgran
d1e4631c55 Removed redundant flags from intent. 2013-12-05 19:01:09 +00:00
akwizgran
80970d3daa Touching the notification shows the home screen instead of quitting.
This allows quick access to any part of the app, including quitting (two
touches).
2013-12-05 13:28:15 +00:00
akwizgran
b7dbacb000 Replaced ContactAddedView with a toast (development task #39). 2013-12-05 12:27:45 +00:00
akwizgran
f383532ecd Merged private message activities with contact list.
This makes the contact list behave how alpha testers expected: touching
a contact shows private messages exchanged with the contact.
2013-12-05 12:17:17 +00:00
akwizgran
3e6d7ba66a Removed subject line, which won't be used in new conversation views. 2013-11-30 15:09:26 +00:00
akwizgran
d771f6c94c Merged HelloWorldModule into AndroidModule. 2013-11-29 22:52:51 +00:00
akwizgran
4445dbaa32 Bumped expiry date to 7 December 2013. 2013-11-29 22:49:07 +00:00
akwizgran
766b6f067a Use javax.inject annotations rather than the Guice versions. 2013-11-29 14:12:39 +00:00
akwizgran
418b3c9a9d Upgraded Weupnp to version 0.1.3. 2013-11-26 12:55:06 +00:00
akwizgran
222d7414d7 Upgraded H2 to version 1.3.174.
As we no longer support Java 1.5 we can stay up to date with H2
releases.
2013-11-26 12:33:55 +00:00
akwizgran
27c4306e03 Switched from NIST curve P-384 to RFC 5639 curve brainpoolP384r1. 2013-11-24 15:11:46 +00:00
akwizgran
0325bba86c Fixed some resource leak warnings in unit tests.
Four more warnings were left unfixed because quick fixes would've broken
the tests.
2013-11-22 12:56:42 +00:00
akwizgran
4a19f821bb Suppress deprecation warning. 2013-11-22 12:52:11 +00:00
akwizgran
26eebee8d9 Reverted some changes that were made for Java 1.5 compatibility.
Removed Commons IO, which we were only using as a replacement for
File.getFreeSpace() on desktop plaftorms.

Note: The Huawei U8210 (Android 2.1) doesn't have all the Java 1.6
standard library methods, and crashes if they're called. Specifically,
String.isEmpty() and NetworkInterface.supportsMulticast() are missing,
so the changes removing those methods were not reverted.
2013-11-22 12:49:20 +00:00
akwizgran
3b5769cf8a Use Java 1.6 instead of 1.5. We no longer aim to support OS X 10.4. 2013-11-22 12:00:00 +00:00
akwizgran
a2aa13051a Fixed a crash caused by trying to modify an immutable list. 2013-11-19 23:23:07 +00:00
akwizgran
cd147d7861 Pass the group's salt through to the DB when subscribing. 2013-11-19 23:13:54 +00:00
akwizgran
e73dc148c3 Avoid using a deprecated API if possible. 2013-11-19 23:13:35 +00:00
akwizgran
a56516f8a6 Changed target SDK version to 19. 2013-11-19 22:57:14 +00:00
akwizgran
1a351535be The response to a BMP Offer is now an Ack and/or a Request.
The Request packet now contains a list of message IDs, rather than a
bitmap referring to the list of messages IDs in the Offer. This allows
the Request to be understood out of context, e.g. if the Offer and
Request are sent over separate connections or a connection is replayed.
2013-11-19 22:13:26 +00:00