Commit graph

209 commits

Author SHA1 Message Date
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
Matthew Chen
fcf1d7af97 Respond to CR.
// FREEBIE
2017-02-13 16:07:33 -05:00
Matthew Chen
2b64d94bad Update SignalServiceKit pod.
// FREEBIE
2017-02-13 15:59:07 -05:00
Matthew Chen
97001018ae Clean up prekey logic.
// FREEBIE
2017-02-10 16:35:16 -05:00
Michael Kirk
2675a724ce [SSK] avoid intermittent YAP deadlock when receiving message
// FREEBIE
2017-02-08 18:36:31 -05:00
Matthew Chen
e798964308 Update SignalServiceKit pod.
// FREEBIE
2017-02-08 17:22:49 -05:00
Matthew Chen
06a775b41a Improve the call status messages in conversation view.
// FREEBIE
2017-02-08 16:47:09 -05:00
Matthew Chen
8e2ac368a0 Update SignalServiceKit pod.
// FREEBIE
2017-02-08 16:45:37 -05:00
Michael Kirk
420d717580 [SSK] log when messages are marked as read locally
// FREEBIE
2017-02-08 10:39:41 -05:00
Michael Kirk
c621e3a000 [SSK] Missed calls increment unread counter
Avoid deadlock by moving unrelated DB work out of transaction

// FREEBIE
2017-02-07 17:02:17 -05:00
Matthew Chen
72ef6e6007 Update SSK to reflect charlesmchen/messagesFromMeAreAlreadyAutoRead.
// FREEBIE
2017-02-06 15:48:31 -05:00
Michael Kirk
947d345837 SSK update to include latest master (which now includes CallKit)
// FREEBIE
2017-02-02 17:13:53 -05:00
Michael Kirk
7361418274 Merge remote-tracking branch 'origin/master' into feature/webrtc 2017-02-01 20:10:13 -05:00
Michael Kirk
7e825648ef Show alert when trying to call a non-signal contact from Contacts.
// FREEBIE
2017-02-01 19:22:25 -05:00
Matthew Chen
49bb3d942d Clean up ahead of PR.
// FREEBIE
2017-02-01 10:44:29 -05:00
Matthew Chen
d294557bdd Rework concurrency in the signaling logic.
// FREEBIE
2017-02-01 10:24:23 -05:00
Michael Kirk
feb5a9ed3a [SSK] fix crash when messaging newly unregistered
// FREEBIE
2017-01-31 12:46:22 -05:00
Michael Kirk
fff061ff3f Make sure WebRTC preferences are synced *every* call
This slows the UI, but only for people who have locally opted into
WebRTC calls, and the alternative is that users are likely to have stale
settings the first time a pair of people opt-in.

// FREEBIE
2017-01-27 14:33:12 -05:00
Michael Kirk
ff7ae4f81b [SSK] Disable resetting unreadable storage (#1643)
// FREEBIE
2017-01-25 16:45:50 -05:00