Commit Graph

52 Commits

Author SHA1 Message Date
akwizgran b6c9544373 Layout tweaks for ConversationActivity. 2015-12-15 17:08:23 +00:00
Torsten Grote 327073f514 Put conversation view layout in XML file
and fix message divider background for lower API levels.
2015-12-15 13:11:11 -02:00
Torsten Grote 2bd53f8363 Show connection status of contact in conversation view
Closes #97
2015-12-15 13:11:11 -02:00
Torsten Grote aa7d7642bf make message status persistent and initialize it from database 2015-12-10 11:25:41 -02:00
Torsten Grote 0a8c42b939 Improve how the status of messages is indicated.
Remove the Toast that always says 'Message Sent' and show graphical
indicators instead that show either:
* message is waiting to be sent
* message was sent (or requested)
* message was delivered
2015-12-10 10:11:27 -02:00
akwizgran 027ae8340f Whitespace-only code formatting changes. 2015-11-30 09:38:25 +00:00
akwizgran 4ca83842d1 Moved ConnectionDispatcher and ConnectionRegistry to plugins package. 2014-11-05 19:40:07 +00:00
akwizgran cdb5a12156 Use the event bus to observe contacts connecting and disconnecting. 2014-10-03 10:04:02 +01:00
akwizgran 8b8df435a5 Separated event infrastructure from DB. 2014-10-03 09:44:54 +01:00
akwizgran c8cc287fa1 Delete contacts. Dev task #85. 2014-05-09 20:08:20 +01:00
akwizgran 6b79cbfc55 No need to call getResources() for getString(). 2014-05-09 20:08:20 +01:00
akwizgran 839f67dd44 Replaced last connection time with time of last private message. 2014-04-05 18:14:36 +01:00
akwizgran 3d9f5c496f Show feedback when nickname or forum name is too long. Bug #45. 2014-04-05 14:59:30 +01:00
akwizgran 1c282a8835 Show when private messages have been delivered. 2014-04-03 23:42:24 +01:00
akwizgran 3008bcc209 Sort forum messages correctly even if clocks are wrong. Bug #57. 2014-04-01 19:38:11 +01:00
akwizgran d83513c5f9 Dismiss dialogs when screen is rotated. Bug #52. 2014-03-21 14:30:54 +00:00
akwizgran abfff10f6b Contacts a forum is already shared with should be selected. Dev task #79 2014-03-17 14:49:11 +00:00
akwizgran b99a503f24 Removed unnecessary conditionals from logging statements.
Very important stuff.
2014-03-12 21:00:14 +00:00
akwizgran 375a597dd2 Removed mark read and mark unread buttons. Bug #48. 2014-03-12 13:52:20 +00:00
akwizgran a5b09a0f65 Better notifications. Development task #67. 2014-03-07 12:21:12 +00:00
akwizgran c69766fbd2 Removed redundant calls to setTextSize(14), which is the default. 2014-03-01 11:55:54 +00:00
akwizgran 86f8d97d81 Moved some boilerplate into the BriarActivity superclass. 2014-03-01 11:20:04 +00:00
akwizgran 07b4d9b5d8 Show empty list text for contact list, group list, etc. Dev task #71. 2014-02-27 23:07:26 +00:00
akwizgran c5d0f30c71 Prettier display of available forums, cleaned up list comparators. 2014-02-27 16:25:47 +00:00
akwizgran 8619f89890 Cleaned up composition screen layouts. 2014-02-27 15:34:52 +00:00
akwizgran c021bfd9aa Update unread message count when returning from conversation/group.
Fixes bug #42.
2014-02-27 11:57:51 +00:00
akwizgran 094cda8573 Brighter colours. 2014-02-27 00:10:47 +00:00
akwizgran e479bf0a4d Show private message timestamp in grey below content. 2014-02-26 20:59:18 +00:00
akwizgran 52cf47619f Layout tweaks, dark action bar, don't send empty messages. 2014-02-26 18:36:51 +00:00
akwizgran b10827d84b Layout tweaks: outline StrengthMeter, indent EditTexts. 2014-02-11 11:40:08 +00:00
akwizgran 55492dd448 Pad the top and bottom of the list 2014-02-10 11:23:30 +00:00
akwizgran e582e1d59f Use a briefer date format (9 Feb instead of 09/02/2014, for example). 2014-02-10 11:19:05 +00:00
akwizgran 209b1bdf1f Compose messages directly from ConversationActivity. Bug #32. 2014-02-09 22:44:51 +00:00
akwizgran 269eef57e9 Speech bubble layout for private conversations. 2014-02-09 19:50:12 +00:00
akwizgran 1f169dd160 Refactored finishOnUiThread() into superclass. 2014-02-09 12:11:39 +00:00
akwizgran 4178353c02 Always show private messages expanded in conversation view. Bug #32.
This give a simple and usable interface; we can worry about collapsing
blocks of read messages later.
2014-02-09 11:46:42 +00:00
akwizgran 9de96553e3 Don't mark messages as read until leaving the activity. 2014-02-08 20:32:35 +00:00
akwizgran efa62f7619 Show paperclip icon for non-text messages. 2014-02-08 18:21:21 +00:00
akwizgran 97fb9c8c3e Updated group conversation view to resemble private conversation view. 2014-02-08 17:36:17 +00:00
akwizgran 8e5aacc384 Compose button doesn't need to be disabled while headers are loading. 2014-02-08 15:08:23 +00:00
akwizgran 6a10688112 Improved ConversationActivity (bug #32), but it's still not quite there.
GroupActivity needs to receive a similar treatment.
2014-02-07 22:03:29 +00:00
akwizgran 6b6b466724 Layout fixes for long nicknames and group names. 2014-02-06 18:32:33 +00:00
akwizgran f17a760805 Show notifications when messages are received. Dev task #30. 2014-02-05 17:19:24 +00:00
akwizgran cd49254559 Make all activities inherit from BriarActivity.
This will allow any activity to show the expiry warning and password
prompt, and to start and stop BriarService.

SplashScreenActivity, SetupActivity, ExpiryActivity and PasswordActivity
are special cases.
2014-02-05 15:17:17 +00:00
akwizgran 843ad55163 Distinguish request and result codes of different activities. 2014-02-05 15:03:28 +00:00
akwizgran 3842a5c70d Code cleanup. 2014-02-04 19:05:48 +00:00
akwizgran 5419a9e10c Use Adapter.notifyDataSetChanged() rather than View.invalidateViews().
This may help with bug #27, but it doesn't solve it in all cases (eg the
contact's device restarting).
2014-02-04 19:05:31 +00:00
akwizgran a45d09ef5c Show whether identities are anonymous, unknown, or verified.
Dev task #52. Known but unverified identities are also supported, but
currently unused. These will be used in future for contacts who've been
introduced but not verified face to face.
2014-02-04 12:32:51 +00:00
akwizgran db96994d5c Simplified the serialisation format. Other task #39.
The new format is simpler but less efficient for small integers, short
strings and short byte arrays.
2014-01-14 22:40:47 +00:00
akwizgran 623e7330ed Store schema version in database. Dev task #50.
If the schema of the database is incompatible with the schema expected
by the code, the database throws a DbSchemaException. LifecycleManager
indicates the error to BriarService, which uses HomeScreenActivity to
show a notification and quit the app.
2014-01-09 21:00:40 +00:00