Commit Graph

288 Commits (c77ad7f77d636911f42595975bb47cdff8526f4d)

Author SHA1 Message Date
Matthew Chen 72730c06a6 Improve handling of whitespace in contacts.
// FREEBIE
9 years ago
Matthew Chen 6686167cc3 Ignore oversize messages.
// FREEBIE
9 years ago
Michael Kirk e1055c26a3 Sync EndSession messages to linked devices
Alternatively, I considered deleting *only* the session with the device
which sent the message, but since other clients are deleting *all*
sessions associated with the contact, it will be less disruptive to get
in line with their behavior.

Fixes the scenario wherein:

* Alice.1 has a session with Bob.1 and Bob.2
* Bob.1 sends an EndSession to Alice
* Thus Alice.1 deletes her sessions with Bob.1 and Bob.2
* Bob.2 sends Alice1 "hi" (with the existing session - as a regular WM,
not a PKWM)
* Alice has no session with Bob.2 so cannot decrypt the message.

// FREEBIE
9 years ago
Michael Kirk a21108db5c Log message type in prod
// FREEBIE
9 years ago
Matthew Chen b40ec508b6 Do not retry fatal message send errors.
// FREEBIE
9 years ago
Michael Kirk 68476a51dc Download service emits progress notifications
// FREEBIE
9 years ago
Matthew Chen 9b24ad7f14 Do not try to resend unsaved outgoing messages when accepting a safety number change.
// FREEBIE
9 years ago
Matthew Chen f0ca468839 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 0e9da39c6b Add muting of threads.
// FREEBIE
9 years ago
Matthew Chen a3db112c50 Fix outgoing message status for messages sent from linked devices.
// FREEBIE
9 years ago
Matthew Chen 6341905c9b Respond to CR.
// FREEBIE
9 years ago
Matthew Chen ced9d6f460 Retry group sends if any of its errors are re-tryable.
// FREEBIE
9 years ago
Matthew Chen f191d6b096 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen aa70ada399 Refine error handling for outgoing group messages.
// FREEBIE
9 years ago
Matthew Chen db051b3b3e Consider group send a failure if sending to any member in the group fails.
// FREEBIE
9 years ago
Matthew Chen 1023eeb8a0 Rework outgoing message state.
// FREEBIE
9 years ago
Matthew Chen 1404d0d7eb Rework outgoing message state.
// FREEBIE
9 years ago
Matthew Chen bf18b1f286 Rework outgoing message state.
// FREEBIE
9 years ago
Matthew Chen 654ef89049 Rework outgoing message state.
// FREEBIE
9 years ago
Matthew Chen 04dc930e0c Rework outgoing message state.
// FREEBIE
9 years ago
Matthew Chen 0ab6bcd080 Rework outgoing message state.
// FREEBIE
9 years ago
Matthew Chen 42e005a498 Avoid lost messages by acknowledges message receipt after the message is processed.
// FREEBIE
9 years ago
Matthew Chen 406e2d862b De-bounce the prekey checks.
// FREEBIE
9 years ago
Matthew Chen 0224af7465 De-bounce the prekey checks.
// FREEBIE
9 years ago
Michael Kirk 522c191fd1 Persist when signed pre key was 'acceptedByService'
// FREEBIE
9 years ago
Matthew Chen fa2ff8158c Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 40dcc7c873 Honor attachment filenames.
// FREEBIE
9 years ago
Matthew Chen bc10aea202 Honor attachment filenames.
// FREEBIE
9 years ago
Matthew Chen b09f7e5e52 Honor attachment filenames.
// FREEBIE
9 years ago
Matthew Chen 715e9e85ff Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 00f1b53e61 Reduce usage of contacts intersection endpoint.
// FREEBIE
9 years ago
Matthew Chen 06a56ccede Update SignalAttachment to allow arbitrary attachments.
// FREEBIE
9 years ago
Matthew Chen aa3402b535 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 04b3166b85 Rework socket manager.
// FREEBIE
9 years ago
Matthew Chen b7e24c664b Rework socket manager.
// FREEBIE
9 years ago
Matthew Chen 3d46f8e835 Rework socket manager.
// FREEBIE
9 years ago
Michael Kirk edc556b106 Fix multiple match for SignalRecipient
when searching for contacts by phone number

// FREEBIE
9 years ago
Matthew Chen daa832bbca Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 17b751d22a Create block offer when non-contacts send you a message.
// FREEBIE
9 years ago
Matthew Chen d89d4dea8a Remove the properties related to Redphone and WebRTC support.
// FREEBIE
9 years ago
Matthew Chen e28a81e6ad Improve attachment upload progress indicator.
* Should never show up for attachments in the failed state.
* Show show up without delay for attachments being sent.
* Show disappear when attachment upload fails in any way.

// FREEBIE
9 years ago
Matthew Chen f08d779f4d Fix file extensions for arbitrary file types.
// FREEBIE
9 years ago
Matthew Chen e6cd3d0712 Fix audio playback.
// FREEBIE
9 years ago
Matthew Chen 004a952bc0 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 8258f26aec Don’t mark messages as failed until all retries are exhausted.
// FREEBIE
9 years ago
Michael Kirk 97f93eef7e only assert queues in debug
// FREEBIE
9 years ago
Michael Kirk 513c275107 Log when we delete sessions
// FREEBIE
9 years ago
Michael Kirk bb38fce54e Ensure that deleting sessions happens on session queue
// FREEBIE
9 years ago
Michael Kirk 2d93b8c6ec Handle mismatched/stale devices on session queue
The session state should never be manipulated concurrently.

// FREEBIE
9 years ago
Michael Kirk 773b09b015 Inspect session store on serial queue
// FREEBIE
9 years ago