signal-desktop/js
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
..
models Feature: Blue check marks for read messages if opted in (#1489) 2017-10-04 15:28:43 -07:00
views Feature: Blue check marks for read messages if opted in (#1489) 2017-10-04 15:28:43 -07:00
background.js Feature: Blue check marks for read messages if opted in (#1489) 2017-10-04 15:28:43 -07:00
backup.js Remove 'debug' from the list of stores we import (#1532) 2017-10-03 11:06:47 -07:00
chromium.js Remove extension.notification 2017-09-14 16:53:45 -07:00
components.js Upgrade emoji support (#1482) 2017-09-15 13:22:11 -07:00
conversation_controller.js Remove dead code 2017-09-14 16:53:45 -07:00
database.js Move logging to disk via bunyan 2017-09-25 15:00:34 -07:00
delivery_receipts.js Feature: Blue check marks for read messages if opted in (#1489) 2017-10-04 15:28:43 -07:00
emoji_util.js Upgrade emoji support (#1482) 2017-09-15 13:22:11 -07:00
expire.js Build expiration date 2017-09-14 16:53:38 -07:00
expiring_messages.js Fetch all conversations on startup of app, not on inbox load (#1437) 2017-09-06 18:18:46 -07:00
focus_listener.js Move focus listeners to their own file 2017-09-14 16:53:37 -07:00
i18n.js Use correct locale, fall back to en if we don't have translations 2017-09-14 16:53:47 -07:00
keychange_listener.js Fetch conversations once, clean up ConversationController API (#1420) 2017-09-01 09:10:41 -07:00
libphonenumber-util.js Refactor number parsing and validation 2015-12-09 18:58:51 -08:00
libsignal-protocol-worker.js Update libsignal-protocol v1.0.0 2016-06-14 16:27:34 -07:00
libtextsecure.js Feature: Blue check marks for read messages if opted in (#1489) 2017-10-04 15:28:43 -07:00
logging.js Load debug log dialog immediately, then populate log data (#1540) 2017-10-04 14:40:35 -07:00
Mp3LameEncoder.min.js Copy audio-related files into js/ instead of symlinking them (#1456) 2017-09-14 17:03:18 -07:00
notifications.js Fix audio notifications on linux (#1526) 2017-10-03 11:08:14 -07:00
read_receipts.js Feature: Blue check marks for read messages if opted in (#1489) 2017-10-04 15:28:43 -07:00
read_syncs.js Feature: Blue check marks for read messages if opted in (#1489) 2017-10-04 15:28:43 -07:00
registration.js Refactor registration event 2016-09-20 13:42:33 -07:00
reliable_trigger.js Apply reliable trigger to Backbone.Collection as well 2017-08-04 12:03:25 -07:00
rotate_signed_prekey_listener.js Reschedule all timers on time travel, set interval back to 1000ms 2017-09-14 16:53:53 -07:00
signal_protocol_store.js isUntrusted: Return false if firstUse is true 2017-08-04 12:03:25 -07:00
spell_check.js Merge locale-provided strings into english for failover support 2017-09-14 17:03:17 -07:00
storage.js Import: Wait until db writes resolve before saying we're done (#1401) 2017-09-14 17:03:17 -07:00
wall_clock_listener.js Reschedule all timers on time travel, set interval back to 1000ms 2017-09-14 16:53:53 -07:00
WebAudioRecorderMp3.js Copy audio-related files into js/ instead of symlinking them (#1456) 2017-09-14 17:03:18 -07:00
XMLHttpRequest.js Certificate pinning via node XMLHttpRequest implementation (#1394) 2017-09-14 17:03:17 -07:00