Commit Graph

237 Commits

Author SHA1 Message Date
Matthew Chen 8490be6ed9 [SSK] Remove the properties related to Redphone and WebRTC support.
// FREEBIE
2017-04-11 17:39:57 -04:00
Matthew Chen 2fd8a13a3c [SSK] Improve attachment upload progress indicator.
// FREEBIE
2017-04-11 17:39:49 -04:00
Michael Kirk 2af89c9a2e [SSK][SPK] only assert dispatch in DEBUG
// FREEBIE
2017-04-07 14:20:35 -04:00
Michael Kirk 87845525b6 [SSK] serialize all read/write to sessionStore
Attempt to avoid session corruption happening due to an inconsistent
view of the session store by ensuring all access to the session store
happens on a serialized queue

// FREEBIE
2017-04-06 21:07:11 -04:00
Michael Kirk 398ee22f50 [SSK] rename cipher queue to sessionStoreQueue
// FREEBIE
2017-04-06 21:06:13 -04:00
Michael Kirk a951d11d97 [SSK] move iOSVersion to SSK
// FREEBIE
2017-04-06 21:06:13 -04:00
Michael Kirk 4494a95a62 Block list is two words. Update code/comments/constants
// FREEBIE
2017-04-05 17:37:08 -04:00
Michael Kirk f46080519e [SSK] Don't retry terminal sending failures
* Causing prekey request rate-limit when sending to someone who's
  reregistered.
* Unnecessarily printing "unregistered user" multiple times.
* etc.

// FREEBIE
2017-04-05 11:36:43 -04:00
Matthew Chen 3537518268 [SSK] Don’t block outgoing group messages.
// FREEBIE
2017-04-05 11:20:57 -04:00
Matthew Chen f604cfb553 Apply assert to ensure singletons are only created once & filter incoming messages using the blacklist.
// FREEBIE
2017-04-03 14:53:23 -04:00
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