Commit Graph

363 Commits

Author SHA1 Message Date
Matthew Chen
fa2ff8158c Respond to CR.
// FREEBIE
2017-04-13 16:05:59 -04:00
Matthew Chen
40dcc7c873 Honor attachment filenames.
// FREEBIE
2017-04-13 15:41:39 -04:00
Matthew Chen
bc10aea202 Honor attachment filenames.
// FREEBIE
2017-04-13 15:41:39 -04:00
Matthew Chen
b09f7e5e52 Honor attachment filenames.
// FREEBIE
2017-04-13 15:41:39 -04:00
Matthew Chen
173823e3ad Merge branch 'feature/contactsIntersectionAudit' 2017-04-13 15:37:07 -04:00
Matthew Chen
715e9e85ff Respond to CR.
// FREEBIE
2017-04-13 15:36:59 -04:00
Matthew Chen
00f1b53e61 Reduce usage of contacts intersection endpoint.
// FREEBIE
2017-04-13 15:28:45 -04:00
Matthew Chen
1d946ccfed Merge branch 'charlesmchen/arbitraryAttachments' 2017-04-13 15:26:14 -04:00
Matthew Chen
06a56ccede Update SignalAttachment to allow arbitrary attachments.
// FREEBIE
2017-04-13 15:25:28 -04:00
Michael Kirk
5e40162fde Merge pull request #176 from WhisperSystems/mkirk/protobuf-docs
up to date protobuf building documentation
2017-04-13 11:32:41 -04:00
Michael Kirk
9c8350701d up to date protobuf building documentation
// FREEBIE
2017-04-13 10:58:43 -04:00
Matthew Chen
6649b1a12f Merge branch 'charlesmchen/socketLifecycle' 2017-04-12 11:59:31 -04:00
Matthew Chen
aa3402b535 Respond to CR.
// FREEBIE
2017-04-12 11:59:16 -04:00
Matthew Chen
04b3166b85 Rework socket manager.
// FREEBIE
2017-04-12 11:59:16 -04:00
Matthew Chen
b7e24c664b Rework socket manager.
// FREEBIE
2017-04-12 11:59:16 -04:00
Matthew Chen
3d46f8e835 Rework socket manager.
// FREEBIE
2017-04-12 11:59:16 -04:00
Michael Kirk
f94021df9d Merge branch 'mkirk/multiple-recipient' 2017-04-12 10:53:54 -04:00
Michael Kirk
edc556b106 Fix multiple match for SignalRecipient
when searching for contacts by phone number

// FREEBIE
2017-04-12 10:53:39 -04:00
Matthew Chen
0ee09323f6 Merge branch 'charlesmchen/blockOffer' 2017-04-12 08:40:27 -04:00
Matthew Chen
daa832bbca Respond to CR.
// FREEBIE
2017-04-12 08:38:46 -04:00
Matthew Chen
17b751d22a Create block offer when non-contacts send you a message.
// FREEBIE
2017-04-12 08:38:46 -04:00
Matthew Chen
adee71ba9b Merge branch 'charlesmchen/voiceAndWebrtcDefaults' 2017-04-11 17:23:31 -04:00
Matthew Chen
d89d4dea8a Remove the properties related to Redphone and WebRTC support.
// FREEBIE
2017-04-11 17:23:20 -04:00
Matthew Chen
59a7b02de3 Merge branch 'charlesmchen/refineUploadIndicator' 2017-04-11 17:18:19 -04:00
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
2017-04-11 17:18:07 -04:00
Matthew Chen
74ade28173 Merge branch 'charlesmchen/license' 2017-04-11 17:16:52 -04:00
Matthew Chen
009dac0b5d Update license.
// FREEBIE
2017-04-11 17:16:04 -04:00
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