Commit graph

308 commits

Author SHA1 Message Date
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
Matthew Chen
7bbbd2fb9d Merge branch 'charlesmchen/failedAttachmentDownloads' 2017-03-29 12:40:52 -04:00
Matthew Chen
49a24a4e6a Improve handling of incomplete and failed attachment downloads.
// FREEBIE
2017-03-29 12:33:17 -04:00
Matthew Chen
bdde3c73c5 Improve handling of incomplete and failed attachment downloads.
// FREEBIE
2017-03-29 12:33:17 -04:00
Matthew Chen
fbd3859a85 Merge branch 'charlesmchen/removeRedPhoneCode' 2017-03-29 12:28:35 -04:00
Matthew Chen
36485c9461 Remove RedPhone code.
// FREEBIE
2017-03-29 12:23:05 -04:00
Michael Kirk
968066eff6 Merge pull request #151 from WhisperSystems/mkirk/freebie-check-script
post commit which double checks for freebie presence
2017-03-29 09:51:46 -04:00
Michael Kirk
708dca282e post commit which double checks for freebie presence
// FREEBIE
2017-03-28 21:09:19 -04:00
Matthew Chen
9e0f777556 Merge branch 'charlesmchen/oversizeTextMessages' 2017-03-27 18:18:02 -04:00
Matthew Chen
75fabe5c25 Add support for oversize text messages sent as attachments.
// FREEBIE
2017-03-27 18:06:25 -04:00
Matthew Chen
334912a48f Merge branch 'charlesmchen/filterCountryCodes' 2017-03-27 09:17:43 -04:00
Matthew Chen
d38f6fbfd1 Filter out country codes properly.
// FREEBIE
2017-03-26 15:12:19 -04:00
Michael Kirk
28e2639dc5 Merge branch 'charlesmchen/swiftDataWriteCrash' 2017-03-24 16:33:01 -04:00
Michael Kirk
f005b66fa5 code review: move unnecessary __block allocation
// FREEBIE
2017-03-24 16:29:58 -04:00
Matthew Chen
a730381424 Fix crash writing a "swift" NSData on iOS 9.
// FREEBIE
2017-03-24 14:39:10 -04:00
Matthew Chen
97a66f30f2 Merge branch 'charlesmchen/messageSenderDeadlock' 2017-03-23 17:14:24 -04:00
Matthew Chen
607dd9a2f2 Avoid YapDatabase deadlock in OWSMessageSender.
// FREEBIE
2017-03-23 17:14:16 -04:00
Michael Kirk
63cc0328b5 Merge branch 'mkirk/better-envelope-logging' 2017-03-23 17:08:45 -04:00
Michael Kirk
b73594b234 Better envelop logging.
Previously it was basically impossible to trace recipients in debug
logs.

// FREEBIE
2017-03-23 17:08:31 -04:00
Matthew Chen
1fd7627daf Merge branch 'charlesmchen/sendQueuePerConvo' 2017-03-23 14:35:49 -04:00
Matthew Chen
5739f71bd4 Respond to CR.
// FREEBIE
2017-03-23 14:35:30 -04:00
Matthew Chen
c3d2ea7abd Use a separate sending queue for each conversation.
// FREEBIE
2017-03-23 12:45:02 -04:00
Matthew Chen
289d0df064 Merge branch 'charlesmchen/sendToSelfVsIncompleteOperation' 2017-03-23 12:44:26 -04:00
Matthew Chen
62d52ce9a0 Fix “send to self operations never complete” issue.
// FREEBIE
2017-03-23 11:05:49 -04:00
Michael Kirk
d31cfe6fd6 Ensure existing sessions are invalidated when saving new identity
// FREEBIE
2017-03-22 22:02:30 -04:00
Matthew Chen
4dc18f2f03 Merge branch 'charlesmchen/phoneNumberParsingTweaks' 2017-03-22 09:55:34 -04:00
Matthew Chen
5846131976 Further refinements to phone number parsing.
// FREEBIE
2017-03-22 09:53:59 -04:00
Matthew Chen
5dc4938746 Merge branch 'charlesmchen/decryptionExceptionLogging' 2017-03-22 09:52:29 -04:00
Matthew Chen
7f681e964b Improve logging around decryption exceptions.
// FREEBIE
2017-03-22 09:52:12 -04:00