Commit Graph

990 Commits

Author SHA1 Message Date
akwizgran
084b83bb45 Display conversations and groups even if they're empty. 2013-04-13 16:22:12 +01:00
akwizgran
019c8163cf Launch appropriate activity when replying to a group/blog post. 2013-04-13 14:07:06 +01:00
akwizgran
32cf3e24e2 Made reference manager thread safe. 2013-04-13 14:06:26 +01:00
akwizgran
f1ebbc28f3 Separated WriteGroupMessageActivity into group and blog activities. 2013-04-12 20:17:34 +01:00
akwizgran
4f58a8aee4 UNRATED rating should have ordinal 0 so it corresponds to SQL NULL. 2013-04-12 20:16:34 +01:00
akwizgran
dae56cc573 Added an activity for creating blogs. 2013-04-12 10:44:04 +01:00
akwizgran
0715493028 Removed UncaughtExceptionHandler (doesn't work on Android). 2013-04-12 10:42:08 +01:00
akwizgran
398f752c34 Added a method for creating local groups. 2013-04-12 10:26:01 +01:00
akwizgran
2dd163c17a Wait for service to start before accessing the DB. 2013-04-11 23:30:53 +01:00
akwizgran
09ea540ca0 Added an activity for creating groups, moved some classes. 2013-04-11 23:04:48 +01:00
akwizgran
acb506b633 Added anonymous and new identity items to local author spinner. 2013-04-11 22:44:19 +01:00
akwizgran
0f63b22b34 Removed debug logging. 2013-04-11 13:15:43 +01:00
akwizgran
0c007dc4d2 Don't discard future messages within the maximum clock difference. 2013-04-11 13:13:21 +01:00
akwizgran
7549ae7990 Various minor UI changes, added logging for DB load times. 2013-04-11 12:51:36 +01:00
akwizgran
525d909d08 Avoid redundant derivation from dead secrets.
Find the newest dead secret for each endpoint, erase any others and
derive from the newest.
2013-04-11 12:09:35 +01:00
akwizgran
57624d79a8 Secrets referenced by the recogniser must not be erased by the manager.
This bug was causing crashes at shutdown when the connection recogniser
tried to derive tags from secrets that had been erased by the key
manager - the derived tags were not present in the recogniser's maps.
2013-04-11 11:48:54 +01:00
akwizgran
6f8982f3fd Don't clone secrets until they're needed. 2013-04-11 11:29:57 +01:00
akwizgran
72fae48aef Tests for key rotation. 2013-04-10 17:31:22 +01:00
akwizgran
5b5428bd8a Duplicate current secrets may be derived from successive dead secrets. 2013-04-10 13:31:52 +01:00
akwizgran
60dee4611c Validate key derivation inputs: always 32 bytes, never blank. 2013-04-10 12:48:25 +01:00
akwizgran
f7c8274944 Removed the 'new identity' item from the spinner - find a better way.
Returning null from getItem() was causing too many problems, and the
item was triggering onItemSelected() before the other items had been
loaded.
2013-04-10 10:00:25 +01:00
akwizgran
f1e12c630f Several bug fixes for DuplexConnection, logging for ConnectionRegistry.
Some packet types weren't being generated or handled, connections
weren't properly disposed of when exceptions occurred.
2013-04-10 00:11:22 +01:00
akwizgran
0d0a0d3463 Minor logging changes for TCP plugins. 2013-04-10 00:06:25 +01:00
akwizgran
2daf2bf9d6 Documented the return value of incrementConnectionCounter(). 2013-04-10 00:03:38 +01:00
akwizgran
12d28433de Transport updates only contained one property per transport. 2013-04-10 00:01:50 +01:00
akwizgran
0958570405 Fixed invalid column indices - unit tests would have caught them. 2013-04-09 21:02:37 +01:00
akwizgran
84b34048ba Don't make empty offers. 2013-04-09 20:13:59 +01:00
akwizgran
c3d193f398 Erase tag key after use. 2013-04-09 20:11:16 +01:00
akwizgran
d6ffe9b3d0 Incorrect key derivation flag was stored during invitation process. 2013-04-09 20:06:10 +01:00
akwizgran
433fe94e61 Fixed an ambiguous column name, removed some logging. 2013-04-09 17:24:16 +01:00
akwizgran
657ae2e7c3 Pad spinner items with Holo Light theme but not Light theme (SDK < 11). 2013-04-09 14:04:41 +01:00
akwizgran
6a280944ba Don't set socket timeout unless timeouts are expected. 2013-04-09 14:03:12 +01:00
akwizgran
c8201c3eb0 Pad spinner items on Holo Light theme (SDK >= 11) but not Light theme. 2013-04-09 12:19:32 +01:00
akwizgran
24c4aee47d Show a dialog if the compose button is pressed with no contacts/groups. 2013-04-08 17:23:23 +01:00
akwizgran
de472ba2a6 Create an identity at startup if the database doesn't exist. 2013-04-08 16:01:52 +01:00
akwizgran
ce7e9e73c9 Fixed a wrong argument number in a prepared statement. 2013-04-07 21:10:08 +01:00
akwizgran
8c4ba716ff Temporarily disabled IPv6 support.
Some devices don't support IPv6, so we'll need to bind separate IPv4 and
IPv6 sockets and advertise both addresses.
2013-04-07 20:38:49 +01:00
akwizgran
2de3160c90 Strip interface name from host address if present. 2013-04-07 20:13:37 +01:00
akwizgran
5b37ff3a0e Simpler key rotation: rotation period R = C + L, retention period = 3R. 2013-04-05 21:15:24 +01:00
akwizgran
b109a94155 Added a factory method for local authors. 2013-04-05 21:13:24 +01:00
akwizgran
95484b5a00 Rewrote a query that appears to have been written while on crack. 2013-04-02 15:42:43 +01:00
akwizgran
02c23f1378 Don't erase the original password array, erase the copy. 2013-04-02 12:38:55 +01:00
akwizgran
84c07a2b9c Code cleanup: remove unnecessary annotations, moved some API constants. 2013-03-31 19:25:24 +01:00
akwizgran
a1dc154c1b Renamed some classes and methods. 2013-03-31 19:00:00 +01:00
akwizgran
5800949b26 Added spinners for selecting which identity to use.
(Although it isn't possible to create an identity yet...)
2013-03-30 19:18:34 +00:00
akwizgran
3309938467 Massive refactoring to use pseudonyms instead of nicknames for contacts.
The invitation and private messaging UIs are currently broken. Some key
rotation bugs were fixed; others may have been created (unit tests
needed). An encoding for private keys was added. Pseudonyms were moved
out of the messaging package and ratings were moved in.
2013-03-29 19:48:23 +00:00
akwizgran
4a40de957c Removed Silvertunnel-based Tor plugin.
The Tor plugin tests are consistently failing with the latest versions
of Silvertunnel and Spongy Castle; we may need to ship native Tor
binaries for Windows/Mac/Linux and use Orbot on Android.
2013-03-26 13:47:24 +00:00
akwizgran
85700dc985 Store private keys for pseudonyms and restricted groups in the DB. 2013-03-23 17:07:28 +00:00
akwizgran
4e5366509d Android UI for blogs (restricted groups). 2013-03-23 14:30:59 +00:00
akwizgran
d5879df6eb Updated javadocs. 2013-03-20 17:33:13 +00:00