signal-desktop/js/views
Lilia 52cc8355a6 Feature: Blue check marks for read messages if opted in (#1489)
* Refactor delivery receipt event handler

* Rename the delivery receipt event

For less ambiguity with read receipts.

* Rename synced read event

For less ambiguity with read receipts from other Signal users.

* Add support for incoming receipt messages

Handle ReceiptMessages, which may include encrypted delivery receipts or read
receipts from recipients of our sent messages.

// FREEBIE

* Rename ReadReceipts to ReadSyncs

* Render read messages with blue double checks

* Send read receipts to senders of incoming messages

// FREEBIE

* Move ReadSyncs to their own file

// FREEBIE

* Fixup old comments on read receipts (now read syncs)

And some variable renaming for extra clarity.

// FREEBIE

* Add global setting for read receipts

Don't send read receipt messages unless the setting is enabled.
Don't process read receipts if the setting is disabled.

// FREEBIE

* Sync read receipt setting from mobile

Toggling this setting on your mobile device should sync it to Desktop. When
linking, use the setting in the provisioning message.

// FREEBIE

* Send receipt messages silently

Avoid generating phantom messages on ios

// FREEBIE

* Save recipients on the outgoing message models

For accurate tracking and display of sent/delivered/read state, even if group
membership changes later.

// FREEBIE

* Fix conversation type in profile key update handling

// FREEBIE

* Set recipients on synced sent messages

* Render saved recipients in message detail if available

For older messages, where we did not save the intended set of recipients at the
time of sending, fall back to the current group membership.

// FREEBIE

* Record who has been successfully sent to

// FREEBIE

* Record who a message has been delivered to

* Invert the not-clickable class

* Fix readReceipt setting sync when linking

* Render per recipient sent/delivered/read status

In the message detail view for outgoing messages, render each recipient's
individual sent/delivered/read status with respect to this message, as long as
there are no errors associated with the recipient (ie, safety number changes,
user not registered, etc...) since the error icon is displayed in that case.

*Messages sent before this change may not have per-recipient status lists
and will simply show no status icon.

// FREEBIE

* Add configuration sync request

Send these requests in a one-off fashion when:
  1. We have just setup from a chrome app import
  2. We have just upgraded to read-receipt support

// FREEBIE

* Expose sendRequestConfigurationSyncMessage

// FREEBIE

* Fix handling of incoming delivery receipts - union with array

FREEBIE
2017-10-04 15:28:43 -07:00
..
app_view.js Move app theming from index to app view (#1479) 2017-09-14 17:48:15 -07:00
attachment_preview_view.js Normalize views' template fetching pattern 2015-12-09 18:58:52 -08:00
attachment_view.js Fix saving attachments 2017-09-14 16:53:39 -07:00
banner_view.js Confirmaton on send, banner when 'unverified' 2017-08-04 12:03:25 -07:00
confirmation_dialog_view.js ConfirmationDialogView: Make showCancel an explicit option 2017-08-04 12:03:25 -07:00
contact_list_view.js Feature: Blue check marks for read messages if opted in (#1489) 2017-10-04 15:28:43 -07:00
conversation_list_item_view.js Profiles (#1453) 2017-09-14 17:04:00 -07:00
conversation_list_view.js Remove log message 2016-10-05 19:09:21 +09:00
conversation_search_view.js Fetch conversations once, clean up ConversationController API (#1420) 2017-09-01 09:10:41 -07:00
conversation_view.js Feature: Blue check marks for read messages if opted in (#1489) 2017-10-04 15:28:43 -07:00
debug_log_view.js Load debug log dialog immediately, then populate log data (#1540) 2017-10-04 14:40:35 -07:00
error_view.js Remove all concept of 'key conflict' from the app 2017-08-04 12:03:25 -07:00
file_input_view.js Fix relative paths 2017-09-14 16:53:46 -07:00
group_member_list_view.js Show call to action on group member list when verifying 2017-08-04 12:03:25 -07:00
group_update_view.js Remove erroneous license file and headers 2015-09-07 14:58:42 -07:00
hint_view.js Add hint for users with no groups or contacts 2015-11-27 22:26:56 -08:00
identicon_svg_view.js Fix svg icon colors 2016-08-30 18:31:02 -07:00
identity_key_send_error_view.js Eliminate $name$ in two places (#1520) 2017-09-29 09:09:40 -07:00
import_view.js Import: Wait until db writes resolve before saying we're done (#1401) 2017-09-14 17:03:17 -07:00
inbox_view.js Move app theming from index to app view (#1479) 2017-09-14 17:48:15 -07:00
install_choice_view.js Import: choice on first startup, workflow, ported to Node.js fs API 2017-09-14 17:02:43 -07:00
install_view.js Better install view error handling (#1472) 2017-09-14 17:04:03 -07:00
key_verification_view.js Eliminate $name$ in two places (#1520) 2017-09-29 09:09:40 -07:00
last_seen_indicator_view.js Preserve lastSeenIndicator location when not focused 2017-06-01 16:09:27 -07:00
list_view.js Object.assign -> _.extend(), for to make Chrome 45 and below work 2017-08-04 12:03:25 -07:00
message_detail_view.js Feature: Blue check marks for read messages if opted in (#1489) 2017-10-04 15:28:43 -07:00
message_list_view.js Scroll to bottom when adding a new message (#1450) 2017-09-14 17:03:18 -07:00
message_view.js Feature: Blue check marks for read messages if opted in (#1489) 2017-10-04 15:28:43 -07:00
network_status_view.js More refactoring to reduce global event dependencies 2017-09-14 16:53:41 -07:00
new_group_update_view.js Remove comments after NewGroupUpdateView investigation 2017-08-04 12:03:25 -07:00
phone-input-view.js Get standalone registration working in development 2017-09-14 16:53:39 -07:00
recipients_input_view.js Simplify event arguments 2015-09-21 10:32:35 -07:00
recorder_view.js Use error.stack instead of error for console log 2017-06-20 16:57:11 -07:00
scroll_down_button_view.js Scroll down button: when scrolled up, or new non-visible message 2017-05-23 11:08:23 -07:00
settings_view.js Remove 'safety number approval' option from settings dialog 2017-08-04 12:03:25 -07:00
standalone_registration_view.js Import: choice on first startup, workflow, ported to Node.js fs API 2017-09-14 17:02:43 -07:00
timestamp_view.js Fixed bubble timestamp update timer breakdown 2016-10-28 14:26:51 +09:00
toast_view.js Generalize toast view template 2016-09-07 13:04:45 -07:00
whisper_view.js Full export, migration banner, and full migration workflow - behind flag (#1342) 2017-08-28 13:06:10 -07:00