Commit Graph

172 Commits (c68073fdb13e917b2977dc17b928dd515123c21b)
 

Author SHA1 Message Date
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 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
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
Matthew Chen 25695677d6 Merge branch 'charlesmchen/webrtcSetting2' into mkirk/webrtc 8 years ago
Matthew Chen ffb199bcd1 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 08ba42c563 Update SignalRecipient with “is WebRTC enabled” property from service.
// FREEBIE
8 years ago
Matthew Chen 6791875ebc Merge branch 'feature/precommitClangFormatSwiftLint2' into mkirk/webrtc 8 years ago
Matthew Chen 6e9ae615ca Tweak commit script.
// FREEBIE
8 years ago
Matthew Chen db27f22c6a Merge branch 'feature/precommitClangFormatSwiftLint' into mkirk/webrtc 8 years ago
Matthew Chen b1c86d1a34 Modify precommit script to "swiftlint" and "git clang-format" files.
// FREEBIE
8 years ago
Matthew Chen 0f3391ad04 Merge branch 'feature/webrtcSetting' into mkirk/webrtc 8 years ago
Matthew Chen 0f45f292a1 Add WebRTC setting.
// FREEBIE
8 years ago
Michael Kirk d1aa253f87 WebRTC calling
* Stun server request
* settable TextSecureEnv
* nullability annotations for TSCall
* Better debug logging for message sending
* fixup tests and expiration time

// FREEBIE
8 years ago
Michael Kirk d7149c60dd unique error code for rate-limit
// FREEBIE
8 years ago
Matthew Chen 7b7b338075 Merge branch 'feature/databaseErrors' 8 years ago
Matthew Chen c5cf79c399 Detect, warn about and try to recover from database password retrieval and database load errors.
// FREEBIE
8 years ago
Matthew Chen 87719a3bfb Merge branch 'charlesmchen/analyticsStub' 8 years ago
Matthew Chen 2a55075e6c Add stub for analytics.
// FREEBIE
8 years ago
Matthew Chen ed98cf2627 Merge branch 'charlesmchen/iranVsDomainFronting' 8 years ago
Matthew Chen 6192351725 Remove Iran from censorship circumvention. Current approach isn't sufficient.
// FREEBIE
8 years ago
Matthew Chen 4e123e41d2 Merge branch 'charlesmchen/appVersion' 8 years ago
Matthew Chen c22085c1ab Add class to track app version.
// FREEBIE
8 years ago
Matthew Chen 19e4b2c3a2 Revert "Remove Iran from censorship circumvention. Current approach isn't sufficient."
This reverts commit 374b45146d.
8 years ago
Matthew Chen 374b45146d Remove Iran from censorship circumvention. Current approach isn't sufficient.
// FREEBIE
8 years ago
Matthew Chen 7bee4523c0 Merge branch 'charlesmchen/assertsVsPch' 8 years ago
Matthew Chen f470979434 Add asserts to .pch.
// FREEBIE
8 years ago
Matthew Chen a9340b06fd Merge branch 'charlesmchen/censorship-circumvention-2' 8 years ago
Matthew Chen 5b87af9bc6 Respond to CR, fix build break.
// FREEBIE
8 years ago