Commit Graph

227 Commits

Author SHA1 Message Date
Matthew Chen 5ff454fd90 Fix double creation of NotificationsManager singleton.
// FREEBIE
2017-03-31 23:25:30 -04:00
Matthew Chen d00c892158 Apply assert to ensure singletons are only created once.
// FREEBIE
2017-03-31 18:36:30 -04:00
Michael Kirk 7153994929 [SSK] [SPK] Update SignalProtocolKit and SignalServiceKit
// FREEBIE
2017-03-31 12:42:59 -04:00
Michael Kirk 7f239c8040 [SSK] + Enforce singleton access for MessagesManager and MessageSender
// FREEBIE
2017-03-31 10:41:46 -04:00
Michael Kirk 4c0242ee17 [spk] Update SignalProtocolKit
// FREEBIE
2017-03-30 13:36:05 -04:00
Matthew Chen 5138539d99 [SSK] Fix sharing of oversize text messages.
// FREEBIE
2017-03-30 11:20:45 -04:00
Matthew Chen 306895ea6d [SSK] Improve support for arbitrary attachments.
// FREEBIE
2017-03-30 09:13:48 -04:00
Matthew Chen 630fcedff0 [SSK] Accept arbitrary incoming attachments.
// FREEBIE
2017-03-29 12:59:29 -04:00
Matthew Chen 32d856ff2d [SSK] Improve handling of incomplete and failed attachment downloads.
// FREEBIE
2017-03-29 12:41:36 -04:00
Matthew Chen 5250d327e4 [SSK] Remove RedPhone code.
// FREEBIE
2017-03-29 12:36:20 -04:00
Matthew Chen faf75e25c2 [SSK] Remove RedPhone code.
// FREEBIE
2017-03-29 12:30:31 -04:00
Matthew Chen 74f939b520 Remove RedPhone code.
// FREEBIE
2017-03-29 12:26:08 -04:00
Matthew Chen 9db33a9651 Remove RedPhone code.
// FREEBIE
2017-03-29 12:25:33 -04:00
Matthew Chen 00a29dea4d [SSK] Filter out country codes properly.
// FREEBIE
2017-03-27 09:21:21 -04:00
Michael Kirk ea62e21611 [SSK] fix attachment crash on iOS9
// FREEBIE
2017-03-24 16:39:17 -04:00
Michael Kirk f29ca7851f Move PureLayout back to cocoapods for now
This introduced some unexpected crashes related to frameworks in Swift.

// FREEBIE
2017-03-23 21:48:59 -04:00
Michael Kirk 0d52a18458 Update dependencies
Also moved PureLayout to Carthage for faster incremental builds

// FREEBIE
2017-03-23 20:35:21 -04:00
Matthew Chen eb8d4388c6 [SSK] Avoid YapDatabase deadlock in OWSMessageSender.
// FREEBIE
2017-03-23 17:15:31 -04:00
Michael Kirk 6466e9f41f [SSK] Better logging for envelopes
Leave last 3 digits of recipientId when scrubbing logs.

This is in line with other Signal clients, and makes it possible to
trace interactions.

// FREEBIE
2017-03-23 17:10:26 -04:00
Matthew Chen fe18cb9a39 [SSK] Use a separate sending queue for each conversation & Fix “send to self operations never complete” issue.
// FREEBIE
2017-03-23 15:59:01 -04:00
Michael Kirk 34831ea105 [SPK][SSK] Ensure old sessions removed when identity changes
// FREEBIE
2017-03-22 22:25:23 -04:00
Matthew Chen 949a7cd9a2 [SSK] Further refinements to phone number parsing.
// FREEBIE
2017-03-22 09:56:39 -04:00
Matthew Chen 95de36d671 [SSK] Improve logging around decryption exceptions.
// FREEBIE
2017-03-22 09:55:09 -04:00
Matthew Chen 50ad6e4f62 [SSK] Update SSK pod to reflect websocket lifecycle edge cases.
// FREEBIE
2017-03-22 09:40:33 -04:00
Matthew Chen 5797cb1093 [SSK] Update SSK to reflect cancel oversize attachment downloads. 2017-03-21 13:10:14 -04:00
Michael Kirk 49da1aea1e [SSK] Only send messages on main thread
// FREEBIE
2017-03-20 16:10:46 -04:00
Michael Kirk da32570dc6 [SSK] remove convoluted dependency
Moved query method to PhoneNumberUtil since that's they only caller.
Moved corresponding tests to SSK

// FREEBIE
2017-03-20 15:35:09 -04:00
Michael Kirk 8ed10c3a9b [SSK] Don't suspend app until message sending completes.
// FREEBIE
2017-03-20 15:06:08 -04:00
Michael Kirk 55063fec63 [SSK] Serialize message sending
Most notable on shoddy networks, Signal-iOS will now make sure that
messages sent first can be delivered first.

This *does* entail that we have to wait for attachments to upload and
send before subsequent messages can be sent. Some people don't like
this, but the majority UX is improved.

// FREEBIE
2017-03-20 15:04:06 -04:00
Michael Kirk 0ecbbfaefe [SSK] backwards compatible attachment digests
// FREEBIE
2017-03-20 15:03:14 -04:00
Michael Kirk 8adba61b37 intern Pastelog back into Signal.
Not worth the cocaopods/framework/project mgmt machinery for making
changes to 1 class.

// FREEBIE
2017-03-17 17:37:32 -04:00
Matthew Chen 0993860376 [SSK] Update SSK pod to reflect corresponding changes.
// FREEBIE
2017-03-16 14:36:02 -03:00
Michael Kirk 99c982fbb2 change ZXing to framework for faster incremental compiles in xcode
// FREEBIE
2017-03-16 12:04:45 -04:00
Matthew Chen c68bfac71d [SSK] Update SSK pod to fix build break.
// FREEBIE
2017-03-15 18:20:52 -03:00
Matthew Chen bdc729ad29 Respond to CR.
// FREEBIE
2017-03-14 10:25:03 -03:00
Michael Kirk d8c4558c80 [SSK] Attachment digests
// FREEBIE
2017-03-13 12:37:56 -04:00
Michael Kirk 8f7e0a8a5b [SSK] Fix crash-on-launch for older installs
populating the de-duping index assumes authorId is always set for
incoming messages, but this was not always the case.

// FREEBIE
2017-03-03 15:33:28 -05:00
Matthew Chen e96692d702 Respond to CR.
// FREEBIE
2017-02-27 17:28:25 -05:00
Matthew Chen c35c118dcd Respond to CR.
// FREEBIE
2017-02-24 23:02:17 -05:00
Michael Kirk 8104ffa129 [SSK] Dedupe incoming messages by timestamp/device
// FREEBIE
2017-02-24 19:24:20 -08:00
Michael Kirk be9725c7ce [SSK] lost changes needed to fixup 'charlesmchen/webrtcByDefault'
Previous commit referenced no-longer existent SHA

// FREEBIE
2017-02-22 15:52:29 -08:00
Matthew Chen f4453eb995 Enable WebRTC-based audio and video calls by default.
// FREEBIE
2017-02-21 11:10:57 -05:00
Matthew Chen 92509169a6 [SSK] Update SSK pod to reflect release/2.7.1.
// FREEBIE
2017-02-17 12:37:28 -05:00
Matthew Chen 701b264188 [libPhoneNumber-iOS] update pod.
// FREEBIE
2017-02-16 21:01:43 -05:00
Matthew Chen 82c4ca04c7 [SPK] Release 2.7.1 and prekey cleanup.
// FREEBIE
2017-02-16 21:01:20 -05:00
Matthew Chen e27475f8a8 [SSK] Add “received at” timestamp to all TSMessages so that they may be sorted properly.
// FREEBIE
2017-02-16 21:00:55 -05:00
Matthew Chen e4c3fe378d Update Cocoapods and Carthage submodule.
// FREEBIE
2017-02-16 14:53:54 -05:00
Matthew Chen 3c3f782e7d Clean up prekey usage.
// FREEBIE
2017-02-14 13:46:08 -05:00
Matthew Chen c0f52d1de9 [SSK] Mark "attempting out" messages as "unsent" on app launch
// FREEBIE
2017-02-13 17:21:58 -05:00
Matthew Chen 21e55d3be5 Mark "attempting out" messages as "unsent" on app launch.
// FREEBIE
2017-02-13 17:16:32 -05:00