Commit Graph

180 Commits (56df9f92403c150b3ec17fb67b7721a0702560c7)

Author SHA1 Message Date
Matthew Chen 3c3f782e7d Clean up prekey usage.
// FREEBIE
8 years ago
Matthew Chen c0f52d1de9 [SSK] Mark "attempting out" messages as "unsent" on app launch
// FREEBIE
8 years ago
Matthew Chen 21e55d3be5 Mark "attempting out" messages as "unsent" on app launch.
// FREEBIE
8 years ago
Matthew Chen fcf1d7af97 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 2b64d94bad Update SignalServiceKit pod.
// FREEBIE
8 years ago
Matthew Chen 97001018ae Clean up prekey logic.
// FREEBIE
8 years ago
Michael Kirk 2675a724ce [SSK] avoid intermittent YAP deadlock when receiving message
// FREEBIE
8 years ago
Matthew Chen e798964308 Update SignalServiceKit pod.
// FREEBIE
8 years ago
Matthew Chen 06a775b41a Improve the call status messages in conversation view.
// FREEBIE
8 years ago
Matthew Chen 8e2ac368a0 Update SignalServiceKit pod.
// FREEBIE
8 years ago
Michael Kirk 420d717580 [SSK] log when messages are marked as read locally
// FREEBIE
8 years ago
Michael Kirk c621e3a000 [SSK] Missed calls increment unread counter
Avoid deadlock by moving unrelated DB work out of transaction

// FREEBIE
8 years ago
Matthew Chen 72ef6e6007 Update SSK to reflect charlesmchen/messagesFromMeAreAlreadyAutoRead.
// FREEBIE
8 years ago
Michael Kirk 947d345837 SSK update to include latest master (which now includes CallKit)
// FREEBIE
8 years ago
Michael Kirk 7361418274 Merge remote-tracking branch 'origin/master' into feature/webrtc 8 years ago
Michael Kirk 7e825648ef Show alert when trying to call a non-signal contact from Contacts.
// FREEBIE
8 years ago
Matthew Chen 49bb3d942d Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen d294557bdd Rework concurrency in the signaling logic.
// FREEBIE
8 years ago
Michael Kirk feb5a9ed3a [SSK] fix crash when messaging newly unregistered
// FREEBIE
8 years ago
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
8 years ago
Michael Kirk ff7ae4f81b [SSK] Disable resetting unreadable storage (#1643)
// FREEBIE
8 years ago
Michael Kirk d3e6747499 Merge remote-tracking branch 'origin/master' into feature/webrtc 8 years ago
Michael Kirk 4e72ab92c8 Prevent session corruption by using a single serial queue for encrypt and decrypt
coordinate SignalProtocol encryption/decryption on a single serial
queue. Previously message sending encrypted on the sending thread, while
message receiving decrypted on the main thread.

// FREEBIE
8 years ago
Michael Kirk a6029f2545 Merge remote-tracking branch 'origin/master' into feature/webrtc 8 years ago
Michael Kirk c2fae986f2 [SSK] better logging when we fail to get DB keys
// FREEBIE
8 years ago
Michael Kirk 9516ab1106 Bail on startup if DB password is inaccessible
Most likely this would be  because the user hasn't unlocked their device
since last restart.

This behavior existed once before, but the startup ordering is pretty
delicate. So, we're now redundantly checking in SSK in case this
delicate startup logic gets mis-ordered again.

Also fixed the AppDelegate method to check for the proper
applicationState, since it will never be "active" in didFinishLaunching.

fixes https://github.com/WhisperSystems/Signal-iOS/issues/1627

// FREEBIE
8 years ago
Michael Kirk 0e7083ed4e [SSK] remove Cuba from domain fronting
Current implementation is blocked in Cuba, plus there are reports of
Signal working w/o domain fronting anyway.

// FREEBIE
8 years ago
Matthew Chen 1898b9fa19 Merge branch 'charlesmchen/fixWebsocket' into feature/webrtc 8 years ago
Matthew Chen ec16016386 Update to reflect merged SSK branch. 8 years ago
Matthew Chen a023d02ae2 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 9c4eda54f1 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen cb3f564446 Fix web socket issue.
// FREEBIE
8 years ago
Matthew Chen 773080b11b Update SSK pod to reflect merge of corresponding charlesmchen/webrtcSetting2 branch into mkirk/webrtc.
This branch updates SignalRecipient in ContactsUpdater.

// FREEBIE
8 years ago
Matthew Chen 654bdb1a85 Add WebRTC setting.
// FREEBIE
8 years ago
Matthew Chen 4a65a88512 Rework new call view.
// FREEBIE
8 years ago
Matthew Chen 26a6e391b3 Fix pod.
// FREEBIE
8 years ago
Michael Kirk a17873291b Fix up tests
// FREEBIE
8 years ago
Michael Kirk 647b2b37e9 WIP: WebRTC calling
* Ensure NotificationsManager has dependencies
    Otherwise it's easy to mess up the order of the required dependencies.
* move AccountManager into Environment, it's heavy to construct

// FREEBIE
8 years ago
Matthew Chen ee63e9116c Update to reflect changes in SSK https://github.com/WhisperSystems/SignalServiceKit/pull/85.
// FREEBIE
8 years ago
Matthew Chen 6106326b34 Update to reflect changes in SSK https://github.com/WhisperSystems/SignalServiceKit/pull/85.
// FREEBIE
8 years ago
Matthew Chen a70d5f88ba Fix build break related to SignalServiceKit pod.
// FREEBIE
8 years ago
Matthew Chen 2ce4d39f9e Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 2dac6c888a Update SignalServiceKit pod.
* Fetch messages when app becomes active.
8 years ago
Michael Kirk ddba843d44 Censorship circumvention in Egypt and UAE
* domain fronting
* non-websocket message fetching

// FREEBIE
8 years ago
Michael Kirk c4baf5a625 [SSK] Avoid bricking signal if a key is temporarily unreadable
// FREEBIE
8 years ago
Michael Kirk c3a22d7da6 [SSK] Fix contact sync when no thread to self exists
fixes #1497

// FREEBIE
8 years ago
Michael Kirk 32a05dabce [SPK] Update SignalProtocolKit (AxolotlKit) (#1549)
// FREEBIE
8 years ago
Michael Kirk e2d725a041 [SSK] Ignore messages with unknown Content
Most like it would indicate a new feature that this old client doesn't
understand. Otherwise we'd print an empty bubble.

// FREEBIE
8 years ago
Michael Kirk 753c445bfc [SSK] Update libphonenumber
// FREEBIE
8 years ago
Russ Shanahan e7126f8c60 Less confusing "#" avatar for unknown Contact instead of "+"
For consistency with the Android and Desktop client behavior.

* Show a placeholder avatar when no image, initials (#1512)

  If all we know about the user is their phone number, their avatar image
  is rendered as a placeholder. Previously, it would render the first few
  characters of their phone number as if they were initials (eg. "+")

* Rename, extend OWSContactsManager methods (#1512)

  Rename from: nameStringForPhoneIdentifier
           to: displayNameForPhoneIdentifier

  Also, add:
  - (BOOL)nameExistsForPhoneIdentifier:(NSString *)identifier;

  Which reports whether there's any "name" for a contact.

* Remove unused typedefs

  These aren't used in the project anymore, and they were causing
  compiling warnings due to a lack of nullability indication.

* Resolve some OWSContactsManager nullability warnings

  Did a pass through all of the existing nullability warnings in
  OWSContactsManager. Tried to pick descriptors that best reflected the
  behavior of the methods.

// FREEBIE
8 years ago