Commit Graph

119 Commits

Author SHA1 Message Date
akwizgran
3939ae6d60 Tor plugin for Android using native Tor binary, jtorctl and jsocks.
Only the ARM binary is included at present. Better control of the Tor
process is needed - it's possible for it to be left running when Briar
exits, and if the cookie file is deleted it's no longer possible to stop
the process.
2013-04-25 05:09:25 +01:00
akwizgran
1e5e78cc44 Use Integer.parseInt(String) to get a primitive int. 2013-04-25 05:07:26 +01:00
akwizgran
178c486a4a Put Android plugins and Java SE plugins in separate modules. 2013-04-24 21:09:38 +01:00
akwizgran
79233a47ba Throw an exception if BriarService is (re)created without a password. 2013-04-22 16:00:08 +01:00
akwizgran
371cdf0f90 Show a placeholder if the list of available blogs/groups is empty. 2013-04-21 18:35:43 +01:00
akwizgran
c184458d9b Added app sharing button to contact list activity. 2013-04-19 00:33:21 +01:00
akwizgran
a2b3af8718 Make groups/blogs visible to all contacts by default. 2013-04-18 22:30:15 +01:00
akwizgran
cc32b000a7 Fixed some broken format strings. 2013-04-18 22:23:42 +01:00
akwizgran
0e681b9416 Removed padding between text entry fields and their labels. 2013-04-18 22:22:15 +01:00
akwizgran
6b5229a390 Don't try to load a group before subscribing to it. 2013-04-18 22:21:50 +01:00
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
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
c5fa3d1841 Removed last connection time from Contact class, tightened up layouts. 2013-04-15 14:51:59 +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
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
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
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
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
03af1d359d Choose the visibility of blogs and groups when creating them. 2013-04-13 23:08:51 +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
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
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
7549ae7990 Various minor UI changes, added logging for DB load times. 2013-04-11 12:51:36 +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
657ae2e7c3 Pad spinner items with Holo Light theme but not Light theme (SDK < 11). 2013-04-09 14:04:41 +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
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
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
e32698db6b Use a single thread for DB access from the UI.
The UI may access the DB in response to UI or DB events; to maintain a
consistent view of the DB's contents, the tasks performing these
accesses must be prevented from overlapping, and must produce consistent
results if reordered. A single-threaded executor and latches are used to
prevent tasks from overlapping, without blocking non-UI access to the
DB.
2013-03-18 22:13:21 +00:00