You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-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
8 years ago
..
models Feature: Blue check marks for read messages if opted in (#1489) 8 years ago
views Feature: Blue check marks for read messages if opted in (#1489) 8 years ago
Mp3LameEncoder.min.js Copy audio-related files into js/ instead of symlinking them (#1456) 8 years ago
WebAudioRecorderMp3.js Copy audio-related files into js/ instead of symlinking them (#1456) 8 years ago
XMLHttpRequest.js Certificate pinning via node XMLHttpRequest implementation (#1394) 8 years ago
background.js Feature: Blue check marks for read messages if opted in (#1489) 8 years ago
backup.js Remove 'debug' from the list of stores we import (#1532) 8 years ago
chromium.js Remove extension.notification 8 years ago
components.js Upgrade emoji support (#1482) 8 years ago
conversation_controller.js Remove dead code 8 years ago
database.js Move logging to disk via bunyan 8 years ago
delivery_receipts.js Feature: Blue check marks for read messages if opted in (#1489) 8 years ago
emoji_util.js Upgrade emoji support (#1482) 8 years ago
expire.js Build expiration date 8 years ago
expiring_messages.js Fetch all conversations on startup of app, not on inbox load (#1437) 8 years ago
focus_listener.js Move focus listeners to their own file 8 years ago
i18n.js Use correct locale, fall back to en if we don't have translations 8 years ago
keychange_listener.js Fetch conversations once, clean up ConversationController API (#1420) 8 years ago
libphonenumber-util.js Refactor number parsing and validation 10 years ago
libsignal-protocol-worker.js Update libsignal-protocol v1.0.0 9 years ago
libtextsecure.js Feature: Blue check marks for read messages if opted in (#1489) 8 years ago
logging.js Load debug log dialog immediately, then populate log data (#1540) 8 years ago
notifications.js Fix audio notifications on linux (#1526) 8 years ago
read_receipts.js Feature: Blue check marks for read messages if opted in (#1489) 8 years ago
read_syncs.js Feature: Blue check marks for read messages if opted in (#1489) 8 years ago
registration.js Refactor registration event 9 years ago
reliable_trigger.js Apply reliable trigger to Backbone.Collection as well 8 years ago
rotate_signed_prekey_listener.js Reschedule all timers on time travel, set interval back to 1000ms 8 years ago
signal_protocol_store.js isUntrusted: Return false if firstUse is true 8 years ago
spell_check.js Merge locale-provided strings into english for failover support 8 years ago
storage.js Import: Wait until db writes resolve before saying we're done (#1401) 8 years ago
wall_clock_listener.js Reschedule all timers on time travel, set interval back to 1000ms 8 years ago