Commit Graph

247 Commits (c8fa47d9c96c81474efc5e37c1469f767f68603c)
 

Author SHA1 Message Date
Matthew Chen 8acc496a39 Clean up the prekeys.
// FREEBIE
8 years ago
Matthew Chen 54736426f9 Avoid crashes when signed prekey lookup fails.
// FREEBIE
8 years ago
Matthew Chen 5ed95c4782 Merge branch 'charlesmchen/prekey2' 8 years ago
Matthew Chen 351a010fe0 Clean up prekey usage.
// FREEBIE
8 years ago
Matthew Chen 7c55d559d3 Merge branch 'charlesmchen/markUnsentMessages' 8 years ago
Matthew Chen 821c96cc6b Mark "attempting out" messages as "unsent" on app launch.
// FREEBIE
8 years ago
Matthew Chen 12027152f4 Merge branch 'charlesmchen/rateLimitingErrorMessage' 8 years ago
Matthew Chen df4b0616e8 Improve rate-limiting error message in registration and code verification views.
// FREEBIE
8 years ago
Matthew Chen 93219e4d23 Merge branch 'charlesmchen/prekey_' 8 years ago
Michael Kirk e0688e16a7 Clean up prekey logic.
// FREEBIE
8 years ago
Michael Kirk e1949893f2 Avoid deadlock when marking self-sent messages as read.
Fetching the localNumber invokes another transaction, which can
result in deadlock if called during an existing transaction.

// FREEBIE
8 years ago
Matthew Chen 4d055757de Fix the .pch used by this pod to reflect the changes from the last PR.
// FREEBIE
8 years ago
Matthew Chen 0252797734 Merge branch 'charlesmchen/callStatusMessages' 8 years ago
Matthew Chen 284212b3fe Move OWSDispatch.h to the PCH.
// FREEBIE
8 years ago
Matthew Chen 90b85c0605 Improve the call status messages in conversation view.
// FREEBIE
8 years ago
Michael Kirk bc1af80733 Log when we mark a message as read locally
This is in pursuit of some now (for me) un-reproducible behavior where
messages on some clients were being immediately marked as read.

// FREEBIE
8 years ago
Michael Kirk 311d80fb2e Missed calls increment unread counter/badge
This affects:
- per-thread badge in the inbox view
- app badge when viewed from springboard.

// FREEBIE
8 years ago
Matthew Chen 653727ae9f Merge branch 'charlesmchen/messagesFromMeAreAlreadyAutoRead' 8 years ago
Matthew Chen df1b3418d2 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 6d356e4b67 Automatically mark as read any messages sent by current user from another device.
// FREEBIE
8 years ago
Michael Kirk 4e8ab21c41 Merge pull request #105 from WhisperSystems/mkirk/webrtc
Support for WebRTC calling
8 years ago
Michael Kirk 92a69e8e65 Repsond to CR w/ @cmchen.
* Added docs
* added asserts to TSEnv accessors

// FREEBIE
8 years ago
Michael Kirk 80fb58231e Merge remote-tracking branch 'origin/master' into mkirk/webrtc
// FREEBIE
8 years ago
Michael Kirk c68073fdb1 proper error code for NOTFOUND
// FREEBIE
8 years ago
Michael Kirk 7b1b706e2a Include reusable localized text in recipient-not-found error
This way we can use it for calls as well.

// FREEBIE
8 years ago
Matthew Chen 7ca1d5e8a6 Merge branch 'charlesmchen/webrtc/threadSafety' into mkirk/webrtc 8 years ago
Matthew Chen 18e144f8bd Respond to CR.
// FREEBIE
8 years ago
Matthew Chen ddbc4819f1 Rework concurrency in the signaling logic.
// FREEBIE
8 years ago
Michael Kirk 104645f97b Safely pass exception across dispatch bounds
// FREEBIE
8 years ago
Michael Kirk 6521a80c44 Lookup methods yield SignalRecipient (#102)
Let's us remove some otherwise redundant code to look up the recipient
from their ID.

// FREEBIE
8 years ago
Michael Kirk fe3ec457fa Disable resetting unreadable storage
Until we have better data on why this occurs, we don't want to risk
blowing users message archive.

// FREEBIE
8 years ago
Matthew Chen 9fdbbb7f8b Merge branch 'charlesmchen/webrtc/video2' into mkirk/webrtc 8 years ago
Matthew Chen 5da4b3d122 Add assert macro that can be used in free functions.
// FREEBIE
8 years ago
Michael Kirk cf6f107f1e Merge remote-tracking branch 'origin/master' into mkirk/webrtc
Get session corruption fixes

// FREEBIE
8 years ago
Michael Kirk 32aad85a78 Merge pull request #98 from WhisperSystems/mkirk/session-corruption
Prevent session corruption by using same queue for encrypt vs. decrypt
8 years ago
Michael Kirk f4a46fce08 Merge remote-tracking branch 'origin/master' into mkirk/webrtc 8 years ago
Michael Kirk 5d863418ea Narrow the scope of code run on SessionCipher queue
And run all non-cipher code on the main thread.

Note: Running encryption on the sessionCipher queue is more about
serializing access to session mutations than it is about any performance
gains.

// FREEBIE
8 years ago
Michael Kirk 3216fd3714 Prevent session corruption by using same queue for encrypt vs. decrypt
// FREEBIE
8 years ago
Michael Kirk a112930277 Merge branch 'mkirk/dont-reset-storage-before-first-unlock' 8 years ago
Michael Kirk b5429595ac Better logging per CR
// FREEBIE
8 years ago
Michael Kirk a45ab9fe40 We need to know if the DB password is accessible *before* we init the db
So method can't be *on* the instance.

// FREEBIE
8 years ago
Michael Kirk dd1aa26827 Prevent destroying user database after resetting device.
// FREEBIE
8 years ago
Matthew Chen 275a0dc62e Fix typo.
// FREEBIE.
8 years ago
Matthew Chen d640a4155c Merge branch 'feature/swallowSwiftLintErrors' into mkirk/webrtc 8 years ago
Matthew Chen 65128d5f54 Swallow errors returned by swift lint.
// FREEBIE
8 years ago
Michael Kirk 8f81015730 Remove Cuba from domain fronting.
Google hosted domain fronting doesn't work in Cuba due to export
restrictions. OTOH there are reports of Signal working just fine without
domain fronting in Cuba.

// FREEBIE
8 years ago
Michael Kirk 7c62097d0c Fix up tests
// FREEBIE
8 years ago
Matthew Chen 305541d03b Merge branch 'feature/fixWebsocket2' into mkirk/webrtc 8 years ago
Matthew Chen 45391cadd3 Merge branch 'feature/fixWebsocket2' 8 years ago
Matthew Chen 79095ecfb8 Fix web socket issue.
// FREEBIE
8 years ago