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
akwizgran
165b5c533d
Show attachment icon if newest message in group is not plain text.
2013-03-15 17:36:07 +00:00
akwizgran
3fcb30c207
Database executor parameters were causing performance problems.
2013-03-15 17:28:09 +00:00
akwizgran
61cf16b808
Forgot to call super.onPause().
2013-03-15 16:48:37 +00:00
akwizgran
e63555123a
Added logging for DB events.
2013-03-15 16:42:33 +00:00
akwizgran
b8e97b0bc1
Removed complex premature optimisations from DB/UI interaction.
2013-03-15 16:35:14 +00:00
akwizgran
f076a65e0a
Removed unused message header constructors.
2013-03-15 00:55:00 +00:00
akwizgran
5151fc3824
Cache ratings to avoid hitting the DB.
2013-03-15 00:46:00 +00:00
akwizgran
23ab23a931
Attached data to DB events to avoid DB lookups; refactored UI code.
...
Fields in Android UI objects that are accessed from background threads
must be declared volatile. UI objects use data attached to DB events to
avoid DB lookups, which complicates the UI code but should improve
performance.
2013-03-14 22:46:57 +00:00
akwizgran
c783958d94
Minor layout and colour changes.
2013-03-13 10:41:07 +00:00
akwizgran
c02ce6cb12
Preserve alignment by making rating icons INVISIBLE rather than GONE.
2013-03-12 18:10:55 +00:00
akwizgran
0280ea2aa9
Android UI for peer moderation.
2013-03-12 18:02:21 +00:00
akwizgran
747a06d1ad
Android UI for group messages (anonymous text only, no moderation yet).
2013-03-12 15:55:41 +00:00
akwizgran
127ed22c40
Show number of unread messages rather than total number of messages.
2013-03-12 11:26:46 +00:00
akwizgran
4c56f8d027
Removed commented-out layout code.
2013-03-11 16:15:21 +00:00
akwizgran
21dfa6be84
Sort headers on the UI thread as the sorted list will be accessed there.
2013-03-11 16:12:47 +00:00
akwizgran
a75dd3a79a
Removed unnecessary final modifier.
2013-03-11 16:11:59 +00:00
akwizgran
035fb2ca9a
Make final copies of non-volatile fields when passing to other threads.
2013-03-11 15:58:22 +00:00
akwizgran
7f71c1d5e7
Show a spinner while Guice is initialising.
2013-03-11 14:24:43 +00:00
akwizgran
78ccebf357
If Bluetooth is enabled but not discoverable, warn but continue.
2013-03-11 13:56:12 +00:00
akwizgran
787c428874
Added contact name dropdown to message composition screen.
2013-03-11 13:35:38 +00:00
akwizgran
aa4f1cdfdd
Minor layout changes: padding and text size.
2013-03-11 12:33:09 +00:00
akwizgran
19a6178b54
Removed star icons, added padding around text, renamed boards -> groups.
2013-03-11 10:57:44 +00:00
akwizgran
4d590f4533
Accept any six-digit invitation/confirmation code.
...
Rejecting codes greater than 2^19 - 1 creates a confusing user
experience.
2013-03-11 10:30:20 +00:00
akwizgran
91a068c4bd
Created some utility classes for commonly used layouts.
2013-03-05 18:37:09 +00:00
akwizgran
050f2094cf
Added a border to separate the button bar from the content area.
2013-03-05 15:31:10 +00:00
akwizgran
c83b1b74e5
Previous message and next message buttons.
2013-03-05 15:02:21 +00:00