Commit Graph

35 Commits

Author SHA1 Message Date
Torsten Grote
d0036deaf7 This addresses two types of introduction corner cases:
* force decline when two of our own identities are introduced to each
  other
* throw away introduction requests to the same identity
  (impossible to trigger from UI)

Closes #284
2016-04-20 11:31:54 -03:00
akwizgran
f1a83139cf Fixed flicker when loading contact list. #297 2016-04-15 11:05:02 +01:00
Torsten Grote
f7340caec4 restructure conversation item classes 2016-04-12 17:04:52 -03:00
Torsten Grote
c5bfea2155 address issues found in final review
(except refactoring of conversation item classes)
2016-04-12 17:04:52 -03:00
Torsten Grote
5ea7ff2857 UI for introducing two contacts to each other
Show system notification for successful introductions
2016-04-12 17:04:52 -03:00
Ernir Erlingsson
5aba1d79f1 Fixes after comments, also removed the CryptoComoponent from the IdentIcons 2016-03-14 21:02:51 +01:00
str4d
90eded1421 Make identicons round
This commit renames identicons to avatars in field names, and uses an ImageView
derivative to show the identicons, which should make implementing #214 easier.
2016-01-26 20:21:35 +00:00
str4d
88d81634ca Add identicons to conversations 2016-01-26 18:34:02 +00:00
akwizgran
cdfaa39338 Update contact list when contacts are deleted. #227
Also removed unnecessary adapter notifications in various places.
2016-01-20 16:08:22 +00:00
akwizgran
5355951466 Separate the sync layer from its clients. #112 2016-01-20 10:35:09 +00:00
Torsten Grote
9aa1bbd1ed Do not show messages as unread when the conversation is open
* Only show them as unread when they arrive out of order
* Mark all messages as read when sending a message
2016-01-14 11:49:34 -02:00
Torsten Grote
880333f094 address issues found so far in code review 2015-12-28 17:04:03 -02:00
Torsten Grote
e98d4f2260 Use a RecyclerView for the ConversationView and
properly notify the view adapter of dataset changes
in order to avoid invalidating the entire dataset when not absolutely necessary.

This change also shows unread messages in a different color,
so users do not fail to notice delayed messages.
2015-12-28 14:49:03 -02:00
Torsten Grote
68cd1ff28c New Conversation View in XML
It now uses conversation bubbles in alternating colors
and vector drawables to indicate message state.

The conversation bubbles have been taken from Telegram
and can be replaced by a UX designer later.

This commit also addresses #9, because message text can
now be selected and copied. This is done by using

    android:textIsSelectable="true"

which only works for API level 11 or higher.

If we want copy and paste on lower API levels,
additional measures have to be implemented.
2015-12-28 14:49:03 -02:00
akwizgran
f899bc0c38 Facade for private message headers. #173 2015-12-17 16:56:58 +00:00
akwizgran
2ca2356ecc Moved MessageHeader to sync package. 2015-12-15 15:05:16 +00: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
1c282a8835 Show when private messages have been delivered. 2014-04-03 23:42:24 +01:00
akwizgran
c69766fbd2 Removed redundant calls to setTextSize(14), which is the default. 2014-03-01 11:55:54 +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
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
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
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
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
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
0cebc42ddb Padding now depends on screen size. Closes dev task #57. 2014-01-09 12:42:19 +00:00
akwizgran
832476412c Changed the root package from net.sf.briar to org.briarproject. 2014-01-08 16:18:30 +00:00