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/libtextsecure
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
..
storage Cache messages on receipt, remove from cache when processed 8 years ago
test Profiles (#1453) 8 years ago
ProvisioningCipher.js Feature: Blue check marks for read messages if opted in (#1489) 8 years ago
account_manager.js Feature: Blue check marks for read messages if opted in (#1489) 8 years ago
api.js Feature: Blue check marks for read messages if opted in (#1489) 8 years ago
components.js Move jquery from libtextsecure components 10 years ago
contacts_parser.js Profiles (#1453) 8 years ago
crypto.js Profiles (#1453) 8 years ago
errors.js Decrypt any IncomingIdentityKeyError still sticking around 8 years ago
event_target.js Animated loading screens on startup and first conversation load 8 years ago
helpers.js Move, rename, and simplify toArrayBuffer helper 9 years ago
key_worker.js Remove erroneous license file and headers 10 years ago
libsignal-protocol.js Set messageKeysLimit to unlimited if communicating with our devices (#1348) 8 years ago
message_receiver.js Feature: Blue check marks for read messages if opted in (#1489) 8 years ago
outgoing_message.js Feature: Blue check marks for read messages if opted in (#1489) 8 years ago
protobufs.js Protobufs: More logging on failure to load protobufs, fix tests 8 years ago
protocol_wrapper.js Update libsignal-protocol v0.9.0 9 years ago
sendmessage.js Feature: Blue check marks for read messages if opted in (#1489) 8 years ago
storage.js Remove erroneous license file and headers 10 years ago
stringview.js Remove erroneous license file and headers 10 years ago
sync_request.js Add logging to help track down problems with Sync 8 years ago
task_with_timeout.js createTaskWithTimeout: Don't log expiration if task threw (#1412) 8 years ago
websocket-resources.js Additional logging to help track down socket disconnect problems (#1469) 8 years ago