Commit Graph

7520 Commits

Author SHA1 Message Date
akwizgran 9e17db5db1 Added activities for managing blog and group subscriptions. 2013-04-18 21:28:04 +01:00
akwizgran 34c3776b06 Added an expiry date to prevent unsafe builds from being used long-term. 2013-04-16 15:09:23 +01:00
akwizgran 374bff2fb6 UI for setting and entering the password that encrypts the database key. 2013-04-16 14:49:14 +01:00
akwizgran e343c9f4bb Added PBKDF2 to crypto component. 2013-04-16 12:04:23 +01:00
akwizgran 0dcc1a6d54 Redraw the contact list when contacts connect or disconnect. 2013-04-15 15:19:37 +01:00
akwizgran fa38c3b6bb Use 5 pixels of padding around icons. 2013-04-15 15:19:10 +01:00
akwizgran 24ff4b61c3 Create a fresh server socket for each binding attempt. 2013-04-15 14:55:07 +01:00
akwizgran c5fa3d1841 Removed last connection time from Contact class, tightened up layouts. 2013-04-15 14:51:59 +01:00
akwizgran 2ef06f8564 Inlined constant values in SQL statements to improve readability. 2013-04-15 13:45:21 +01:00
akwizgran 42fd02d0b9 Messages in restricted groups should propagate without moderation.
If the group's owner is spamming, unsubscribe.
2013-04-15 12:22:12 +01:00
akwizgran 85875a4e6c Show rating icons in private message activities.
This keeps the visual language consistent: rating icon plus name equals
author.
2013-04-15 11:24:41 +01:00
akwizgran 5a365f6ce9 Storing a new secret can cause more than one old secret to expire.
This depends on the (unspecified) order in which new secrets are stored.
For example, if the secrets for periods 0 - 2 are loaded in period 3,
the secrets for periods 3 and 4 will be stored; the secrets for periods
0 and 1 may expire separately if the secret for period 3 is stored
before the secret for period 4, or together if the secret for period 4
is stored before the secret for period 3.
2013-04-15 11:20:59 +01:00
akwizgran da7657ff4d Include author and rating in private message headers. 2013-04-14 21:15:23 +01:00
akwizgran 4ff2b88955 Added an icon to indicate that a pseudonym is unrated. 2013-04-14 19:36:05 +01:00
akwizgran 077efbbea1 Removed an unused database method. 2013-04-14 19:34:50 +01:00
akwizgran 63121aecf9 Prevent users from trying to post to blogs that aren't theirs. 2013-04-14 17:59:08 +01:00
akwizgran c7d60166ab Added new contact item to contact spinner, fixed spinner selection bug. 2013-04-14 17:28:42 +01:00
akwizgran e83f6bbbc0 Don't use exponential backoff between multicast packets. 2013-04-14 15:37:57 +01:00
akwizgran a91f3cdf17 Added create blog/group items to blog/group spinners. 2013-04-14 15:17:54 +01:00
akwizgran 3c677a8599 Give positive ratings to own pseudonyms and contacts' known pseudonyms. 2013-04-14 15:17:11 +01:00
akwizgran 8e9517ced0 Don't broadcast events for obsolete updates. 2013-04-14 15:16:18 +01:00
akwizgran 69c55ce5f2 Fixed an NPE in SelectContactsDialog. 2013-04-14 14:44:51 +01:00
akwizgran e97b5ff783 Continue button wasn't being enabled when code length was correct. 2013-04-14 14:38:15 +01:00
akwizgran ab0917029e Use executeBatch() for a batch update, not executeUpdate(). 2013-04-14 14:37:44 +01:00
akwizgran ec64a2771b Cleaned up setRating() method. 2013-04-14 14:11:29 +01:00
akwizgran 1a8dbd1dbb Added a method to get a list of available but not subscribed groups. 2013-04-13 23:33:21 +01:00
akwizgran 03af1d359d Choose the visibility of blogs and groups when creating them. 2013-04-13 23:08:51 +01:00
akwizgran bbdfe30e78 Added a flag for making groups visible to future contacts. 2013-04-13 19:27:39 +01:00
akwizgran f2e01d88a8 Separated blog activities from group activities for more readable code. 2013-04-13 17:18:34 +01:00
akwizgran 3a4a8c4ea1 Sort group names alphabetically in composition activities. 2013-04-13 16:40:36 +01:00
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