Commit Graph

250 Commits (17b751d22a360fd70cbc291f7b090678f75525aa)

Author SHA1 Message Date
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
Michael Kirk 9e74f38095 deprecate unused method
I'd want to spend time validating correctness if we ever wanted to use
this.

// FREEBIE
9 years ago
Michael Kirk 9a444f4288 Assert that session mutation occurs on serial queue
// FREEBIE
9 years ago
Michael Kirk 7578176e37 rename sessionCipher to sessionStoreQueue
// FREEBIE
9 years ago
Michael Kirk 60dcadb0d7 Move iOS Versions from Signal-iOS
// FREEBIE
9 years ago
Michael Kirk fcf271f08b Block list is two words
// FREEBIE
9 years ago
Michael Kirk fa9e289892 Don't retry some failures
Motivation:

When we introduced the MessageSendingOperation, we included a new
"retry" loop. However, this had some unintended consequences when
retrying terminal failures.

Some of these are pretty benign and invisible to the user, but some,
like messaging someone who's safety number has changed, results in a
situation where we get rate-limited by the pre-key request.

Description:

This commit includes the machinery to distinguish between retryable and
terminal failures. Upon reporting a terminal failure, the MessageSender
stops retrying to send.

// FREEBIE
9 years ago
Matthew Chen b12e93076e Don’t block outgoing group messages.
// FREEBIE
9 years ago
Matthew Chen 723174e14e Respond to CR.
// FREEBIE
9 years ago
Matthew Chen d47ddd112d Filter outgoing messages using the blacklist.
// FREEBIE
9 years ago
Matthew Chen af4faaa601 Filter incoming messages using the blacklist.
// FREEBIE
9 years ago
Matthew Chen f1e770fa0a Respond to CR.
// FREEBIE
9 years ago
Matthew Chen e038d24103 Apply assert to ensure singletons are only created once.
// FREEBIE
9 years ago
Matthew Chen cd4134c9da Apply assert to ensure singletons are only created once.
// FREEBIE
9 years ago
Matthew Chen 02004a75f9 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 2a2ad7d679 Improve logging in TSBlockingManager.
// FREEBIE
9 years ago
Matthew Chen a40c09e268 Improve comments in TSBlockingManager.
// FREEBIE
9 years ago
Matthew Chen f036d75fcb Avoid redundant "block list changed" sync messages in TSBlockingManager.
// FREEBIE
9 years ago
Matthew Chen f5237ef5d1 Add TSBlockingManager.
// FREEBIE
9 years ago
Michael Kirk 2dbcfed3ba Mark a stored session as unfresh
in case of YapDB object cache.

// FREEBIE
9 years ago
Michael Kirk f4dfd65840 Debug method to print stored sessions
// FREEBIE
9 years ago
Michael Kirk 61fe71f0ca MessageSender should be accessed as singleton
// FREEBIE
9 years ago
Michael Kirk 4b0c01c961 MessagesManager should only be accessible via it's shared singleton
Testers can add the verbose init to a category for injecting
dependencies.

// FREEBIE
9 years ago
Matthew Chen e9d6a3747c Fix sharing of oversize text messages.
// FREEBIE
9 years ago
Matthew Chen 12635c65c2 Improve support for arbitrary attachments.
// FREEBIE
9 years ago
Matthew Chen 53623adae8 Accept arbitrary incoming attachments.
// FREEBIE
9 years ago
Matthew Chen 49a24a4e6a Improve handling of incomplete and failed attachment downloads.
// FREEBIE
9 years ago
Matthew Chen bdde3c73c5 Improve handling of incomplete and failed attachment downloads.
// FREEBIE
9 years ago
Matthew Chen 36485c9461 Remove RedPhone code.
// FREEBIE
9 years ago
Matthew Chen 75fabe5c25 Add support for oversize text messages sent as attachments.
// FREEBIE
9 years ago
Matthew Chen d38f6fbfd1 Filter out country codes properly.
// FREEBIE
9 years ago
Michael Kirk f005b66fa5 code review: move unnecessary __block allocation
// FREEBIE
9 years ago
Matthew Chen a730381424 Fix crash writing a "swift" NSData on iOS 9.
// FREEBIE
9 years ago
Matthew Chen 607dd9a2f2 Avoid YapDatabase deadlock in OWSMessageSender.
// FREEBIE
9 years ago
Michael Kirk b73594b234 Better envelop logging.
Previously it was basically impossible to trace recipients in debug
logs.

// FREEBIE
9 years ago
Matthew Chen 5739f71bd4 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen c3d2ea7abd Use a separate sending queue for each conversation.
// FREEBIE
9 years ago
Matthew Chen 62d52ce9a0 Fix “send to self operations never complete” issue.
// FREEBIE
9 years ago
Michael Kirk d31cfe6fd6 Ensure existing sessions are invalidated when saving new identity
// FREEBIE
9 years ago