Commit Graph

331 Commits (004a952bc03b8e17bf2acf496929383c7e2c5cff)
 

Author SHA1 Message Date
Matthew Chen 004a952bc0 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 8258f26aec Don’t mark messages as failed until all retries are exhausted.
// FREEBIE
8 years ago
Michael Kirk 19d8a32022 Merge pull request #163 from WhisperSystems/mkirk/debug-asserts
only assert queues in debug
8 years ago
Michael Kirk 97f93eef7e only assert queues in debug
// FREEBIE
8 years ago
Michael Kirk 45b8dc9c96 Merge pull request #162 from WhisperSystems/mkirk/session-corruption
ensure all session access happens on the sessionStoreQueue
8 years ago
Michael Kirk 513c275107 Log when we delete sessions
// FREEBIE
8 years ago
Michael Kirk bb38fce54e Ensure that deleting sessions happens on session queue
// FREEBIE
8 years ago
Michael Kirk 2d93b8c6ec Handle mismatched/stale devices on session queue
The session state should never be manipulated concurrently.

// FREEBIE
8 years ago
Michael Kirk 773b09b015 Inspect session store on serial queue
// FREEBIE
8 years ago
Michael Kirk 9e74f38095 deprecate unused method
I'd want to spend time validating correctness if we ever wanted to use
this.

// FREEBIE
8 years ago
Michael Kirk 9a444f4288 Assert that session mutation occurs on serial queue
// FREEBIE
8 years ago
Michael Kirk 7578176e37 rename sessionCipher to sessionStoreQueue
// FREEBIE
8 years ago
Michael Kirk 60dcadb0d7 Move iOS Versions from Signal-iOS
// FREEBIE
8 years ago
Michael Kirk 4f9e053248 Merge branch 'mkirk/consistent-copy' 8 years ago
Michael Kirk fcf271f08b Block list is two words
// FREEBIE
8 years ago
Michael Kirk 694088ee98 Merge branch 'mkirk/terminal-sending-failures' 8 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
8 years ago
Matthew Chen bb1a749c49 Merge branch 'charlesmchen/dontBlockOutgoingGroupMessages' 8 years ago
Matthew Chen b12e93076e Don’t block outgoing group messages.
// FREEBIE
8 years ago
Matthew Chen e4ec729844 Merge branch 'charlesmchen/blocking4' 8 years ago
Matthew Chen 723174e14e Respond to CR.
// FREEBIE
8 years ago
Matthew Chen d47ddd112d Filter outgoing messages using the blacklist.
// FREEBIE
8 years ago
Matthew Chen af4faaa601 Filter incoming messages using the blacklist.
// FREEBIE
8 years ago
Matthew Chen d1189e5b03 Merge branch 'charlesmchen/singletonAssert' 8 years ago
Matthew Chen f1e770fa0a Respond to CR.
// FREEBIE
8 years ago
Matthew Chen e038d24103 Apply assert to ensure singletons are only created once.
// FREEBIE
8 years ago
Matthew Chen cd4134c9da Apply assert to ensure singletons are only created once.
// FREEBIE
8 years ago
Matthew Chen ec7a796b71 Merge branch 'charlesmchen/blocking1' 8 years ago
Matthew Chen 02004a75f9 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 2a2ad7d679 Improve logging in TSBlockingManager.
// FREEBIE
8 years ago
Matthew Chen a40c09e268 Improve comments in TSBlockingManager.
// FREEBIE
8 years ago
Matthew Chen f036d75fcb Avoid redundant "block list changed" sync messages in TSBlockingManager.
// FREEBIE
8 years ago
Matthew Chen f5237ef5d1 Add TSBlockingManager.
// FREEBIE
8 years ago
Michael Kirk 8b5f82eb6d Merge branch 'mkirk/mark-unfresh' 8 years ago
Michael Kirk 2dbcfed3ba Mark a stored session as unfresh
in case of YapDB object cache.

// FREEBIE
8 years ago
Michael Kirk f4dfd65840 Debug method to print stored sessions
// FREEBIE
8 years ago
Michael Kirk bdd0241a94 Merge pull request #155 from WhisperSystems/mkirk/enforce-singleton
enforce singleton usage for MessagesManager and MessageSender
8 years ago
Michael Kirk 61fe71f0ca MessageSender should be accessed as singleton
// FREEBIE
8 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
8 years ago
Matthew Chen 718164fbe5 Merge branch 'charlesmchen/sharingOfOversizeTextMessages' 8 years ago
Matthew Chen e9d6a3747c Fix sharing of oversize text messages.
// FREEBIE
8 years ago
Matthew Chen 80266856e1 Merge branch 'charlesmchen/arbitraryAttachments2' 8 years ago
Matthew Chen 12635c65c2 Improve support for arbitrary attachments.
// FREEBIE
8 years ago
Matthew Chen da3c4bbac7 Merge branch 'feature/acceptArbitraryIncomingAttachments' 8 years ago
Matthew Chen 53623adae8 Accept arbitrary incoming attachments.
// FREEBIE
8 years ago
Matthew Chen 7bbbd2fb9d Merge branch 'charlesmchen/failedAttachmentDownloads' 8 years ago
Matthew Chen 49a24a4e6a Improve handling of incomplete and failed attachment downloads.
// FREEBIE
8 years ago
Matthew Chen bdde3c73c5 Improve handling of incomplete and failed attachment downloads.
// FREEBIE
8 years ago
Matthew Chen fbd3859a85 Merge branch 'charlesmchen/removeRedPhoneCode' 8 years ago
Matthew Chen 36485c9461 Remove RedPhone code.
// FREEBIE
8 years ago