Matthew Chen
1beac56989
Merge branch 'charlesmchen/fixArbitraryAttachmentDownloads'
2017-04-11 15:42:47 -04:00
Matthew Chen
f08d779f4d
Fix file extensions for arbitrary file types.
...
// FREEBIE
2017-04-11 13:18:56 -04:00
Matthew Chen
7f2ce61424
Merge branch 'charlesmchen/fixAudioPlayback'
2017-04-11 10:23:41 -04:00
Matthew Chen
e6cd3d0712
Fix audio playback.
...
// FREEBIE
2017-04-11 09:15:25 -04:00
Matthew Chen
d4e0c49ff9
Merge branch 'charlesmchen/attachmentRetryVsFailure'
2017-04-10 12:35:51 -04:00
Matthew Chen
004a952bc0
Respond to CR.
...
// FREEBIE
2017-04-10 12:35:30 -04:00
Matthew Chen
8258f26aec
Don’t mark messages as failed until all retries are exhausted.
...
// FREEBIE
2017-04-10 10:35:43 -04:00
Michael Kirk
19d8a32022
Merge pull request #163 from WhisperSystems/mkirk/debug-asserts
...
only assert queues in debug
2017-04-07 13:02:42 -04:00
Michael Kirk
97f93eef7e
only assert queues in debug
...
// FREEBIE
2017-04-07 12:46:42 -04:00
Michael Kirk
45b8dc9c96
Merge pull request #162 from WhisperSystems/mkirk/session-corruption
...
ensure all session access happens on the sessionStoreQueue
2017-04-06 21:05:38 -04:00
Michael Kirk
513c275107
Log when we delete sessions
...
// FREEBIE
2017-04-06 20:30:07 -04:00
Michael Kirk
bb38fce54e
Ensure that deleting sessions happens on session queue
...
// FREEBIE
2017-04-06 19:24:16 -04:00
Michael Kirk
2d93b8c6ec
Handle mismatched/stale devices on session queue
...
The session state should never be manipulated concurrently.
// FREEBIE
2017-04-06 19:11:04 -04:00
Michael Kirk
773b09b015
Inspect session store on serial queue
...
// FREEBIE
2017-04-06 18:55:10 -04:00
Michael Kirk
9e74f38095
deprecate unused method
...
I'd want to spend time validating correctness if we ever wanted to use
this.
// FREEBIE
2017-04-06 18:54:03 -04:00
Michael Kirk
9a444f4288
Assert that session mutation occurs on serial queue
...
// FREEBIE
2017-04-06 17:32:15 -04:00
Michael Kirk
7578176e37
rename sessionCipher to sessionStoreQueue
...
// FREEBIE
2017-04-06 16:29:12 -04:00
Michael Kirk
60dcadb0d7
Move iOS Versions from Signal-iOS
...
// FREEBIE
2017-04-06 16:26:19 -04:00
Michael Kirk
4f9e053248
Merge branch 'mkirk/consistent-copy'
2017-04-05 17:35:36 -04:00
Michael Kirk
fcf271f08b
Block list is two words
...
// FREEBIE
2017-04-05 17:34:47 -04:00
Michael Kirk
694088ee98
Merge branch 'mkirk/terminal-sending-failures'
2017-04-05 11:30:55 -04:00
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
2017-04-05 11:30:41 -04:00
Matthew Chen
bb1a749c49
Merge branch 'charlesmchen/dontBlockOutgoingGroupMessages'
2017-04-05 11:16:03 -04:00
Matthew Chen
b12e93076e
Don’t block outgoing group messages.
...
// FREEBIE
2017-04-03 14:45:09 -04:00
Matthew Chen
e4ec729844
Merge branch 'charlesmchen/blocking4'
2017-04-03 14:42:28 -04:00
Matthew Chen
723174e14e
Respond to CR.
...
// FREEBIE
2017-04-03 14:42:04 -04:00
Matthew Chen
d47ddd112d
Filter outgoing messages using the blacklist.
...
// FREEBIE
2017-04-03 14:30:15 -04:00
Matthew Chen
af4faaa601
Filter incoming messages using the blacklist.
...
// FREEBIE
2017-04-03 14:29:53 -04:00
Matthew Chen
d1189e5b03
Merge branch 'charlesmchen/singletonAssert'
2017-04-03 14:23:45 -04:00
Matthew Chen
f1e770fa0a
Respond to CR.
...
// FREEBIE
2017-04-03 14:23:25 -04:00
Matthew Chen
e038d24103
Apply assert to ensure singletons are only created once.
...
// FREEBIE
2017-03-31 18:45:46 -04:00
Matthew Chen
cd4134c9da
Apply assert to ensure singletons are only created once.
...
// FREEBIE
2017-03-31 18:36:08 -04:00
Matthew Chen
ec7a796b71
Merge branch 'charlesmchen/blocking1'
2017-03-31 13:44:26 -04:00
Matthew Chen
02004a75f9
Respond to CR.
...
// FREEBIE
2017-03-31 13:43:18 -04:00
Matthew Chen
2a2ad7d679
Improve logging in TSBlockingManager.
...
// FREEBIE
2017-03-31 13:43:18 -04:00
Matthew Chen
a40c09e268
Improve comments in TSBlockingManager.
...
// FREEBIE
2017-03-31 13:43:18 -04:00
Matthew Chen
f036d75fcb
Avoid redundant "block list changed" sync messages in TSBlockingManager.
...
// FREEBIE
2017-03-31 13:43:18 -04:00
Matthew Chen
f5237ef5d1
Add TSBlockingManager.
...
// FREEBIE
2017-03-31 13:43:18 -04:00
Michael Kirk
8b5f82eb6d
Merge branch 'mkirk/mark-unfresh'
2017-03-31 12:37:15 -04:00
Michael Kirk
2dbcfed3ba
Mark a stored session as unfresh
...
in case of YapDB object cache.
// FREEBIE
2017-03-31 12:37:06 -04:00
Michael Kirk
f4dfd65840
Debug method to print stored sessions
...
// FREEBIE
2017-03-31 12:37:06 -04:00
Michael Kirk
bdd0241a94
Merge pull request #155 from WhisperSystems/mkirk/enforce-singleton
...
enforce singleton usage for MessagesManager and MessageSender
2017-03-31 10:27:04 -04:00
Michael Kirk
61fe71f0ca
MessageSender should be accessed as singleton
...
// FREEBIE
2017-03-30 12:48:36 -04:00
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
2017-03-30 12:11:38 -04:00
Matthew Chen
718164fbe5
Merge branch 'charlesmchen/sharingOfOversizeTextMessages'
2017-03-30 11:18:12 -04:00
Matthew Chen
e9d6a3747c
Fix sharing of oversize text messages.
...
// FREEBIE
2017-03-30 10:23:36 -04:00
Matthew Chen
80266856e1
Merge branch 'charlesmchen/arbitraryAttachments2'
2017-03-30 09:09:01 -04:00
Matthew Chen
12635c65c2
Improve support for arbitrary attachments.
...
// FREEBIE
2017-03-29 17:54:14 -04:00
Matthew Chen
da3c4bbac7
Merge branch 'feature/acceptArbitraryIncomingAttachments'
2017-03-29 12:56:35 -04:00
Matthew Chen
53623adae8
Accept arbitrary incoming attachments.
...
// FREEBIE
2017-03-29 12:56:25 -04:00