Commit Graph

319 Commits (60dcadb0d704458728d2b96f24eefc803bd80c92)
 

Author SHA1 Message Date
Michael Kirk 452110b687 Include digest in attachments
- constant time compare
- free buffer passed to NSData

// FREEBIE
9 years ago
Matthew Chen 32ac0fb7c9 Merge branch 'charlesmchen/paste' 9 years ago
Matthew Chen e05b687438 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 270a10a62a Add UTIType methods to MIMETypeUtil.
// FREEBIE
9 years ago
Michael Kirk 1e6925ebc1 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
9 years ago
Michael Kirk 0393e4f0b4 fix tests
// FREEBIE
9 years ago
Michael Kirk 168639597f Merge branch 'mkirk/dedupe-incoming-messages' 9 years ago
Michael Kirk a92158ef16 CR: fix register `async` where specified
* fix thread test
* add IncomingMessageFinder test
* use constants
* clearer comments

// FREEBIE
9 years ago
Michael Kirk b389bb3bb8 Code cleanup.
No need to use contactThread method to get recipient ID since we still
have the envelope.

And with that, it's pretty easy to justify getting rid of one of our now
barely used IncomingMessage initializers.

// FREEBIE
9 years ago
Michael Kirk 975726e022 Dedupe incoming messags
// FREEBIE
9 years ago
Matthew Chen d6e1e81a8a Merge branch 'charlesmchen/callkitPrivacy' 9 years ago
Matthew Chen 52bb939fc1 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 71b804ba52 Add and honor the “CallKit Privacy” setting.
// FREEBIE
9 years ago
Matthew Chen 286f72d273 Merge branch 'charlesmchen/webrtcByDefault' 9 years ago
Matthew Chen 2741fd4bdc Enable WebRTC-based audio and video calls by default.
// FREEBIE
9 years ago
Matthew Chen 254a247ba0 Revert "Add WebRTC setting."
This reverts commit 0f45f292a1.

// FREEBIE
9 years ago
Michael Kirk 14a104b1b2 fix tests, and off by one in keeping old, accepted keys
// FREEBIE
9 years ago
Matthew Chen c72e8f8e2f Merge remote-tracking branch 'origin/release/2.7.1'
// FREEBIE
9 years ago
Matthew Chen 427f225df9 Merge branch 'feature/messageSortingRevisited' 9 years ago
Matthew Chen 686fe679bd Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 7bd4d26532 Add “received at” timestamp to all TSMessages so that they may be sorted properly.
// FREEBIE
9 years ago
Matthew Chen f974706396 Clean up the prekeys.
// FREEBIE
9 years ago
Matthew Chen 8acc496a39 Clean up the prekeys.
// FREEBIE
9 years ago
Matthew Chen 54736426f9 Avoid crashes when signed prekey lookup fails.
// FREEBIE
9 years ago
Matthew Chen 5ed95c4782 Merge branch 'charlesmchen/prekey2' 9 years ago
Matthew Chen 351a010fe0 Clean up prekey usage.
// FREEBIE
9 years ago
Matthew Chen 7c55d559d3 Merge branch 'charlesmchen/markUnsentMessages' 9 years ago
Matthew Chen 821c96cc6b Mark "attempting out" messages as "unsent" on app launch.
// FREEBIE
9 years ago
Matthew Chen 12027152f4 Merge branch 'charlesmchen/rateLimitingErrorMessage' 9 years ago
Matthew Chen df4b0616e8 Improve rate-limiting error message in registration and code verification views.
// FREEBIE
9 years ago
Matthew Chen 93219e4d23 Merge branch 'charlesmchen/prekey_' 9 years ago
Michael Kirk e0688e16a7 Clean up prekey logic.
// FREEBIE
9 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
9 years ago
Matthew Chen 4d055757de Fix the .pch used by this pod to reflect the changes from the last PR.
// FREEBIE
9 years ago
Matthew Chen 0252797734 Merge branch 'charlesmchen/callStatusMessages' 9 years ago
Matthew Chen 284212b3fe Move OWSDispatch.h to the PCH.
// FREEBIE
9 years ago
Matthew Chen 90b85c0605 Improve the call status messages in conversation view.
// FREEBIE
9 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
9 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
9 years ago
Matthew Chen 653727ae9f Merge branch 'charlesmchen/messagesFromMeAreAlreadyAutoRead' 9 years ago
Matthew Chen df1b3418d2 Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 6d356e4b67 Automatically mark as read any messages sent by current user from another device.
// FREEBIE
9 years ago
Michael Kirk 4e8ab21c41 Merge pull request #105 from WhisperSystems/mkirk/webrtc
Support for WebRTC calling
9 years ago
Michael Kirk 92a69e8e65 Repsond to CR w/ @cmchen.
* Added docs
* added asserts to TSEnv accessors

// FREEBIE
9 years ago
Michael Kirk 80fb58231e Merge remote-tracking branch 'origin/master' into mkirk/webrtc
// FREEBIE
9 years ago
Michael Kirk c68073fdb1 proper error code for NOTFOUND
// FREEBIE
9 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
9 years ago
Matthew Chen 7ca1d5e8a6 Merge branch 'charlesmchen/webrtc/threadSafety' into mkirk/webrtc 9 years ago
Matthew Chen 18e144f8bd Respond to CR.
// FREEBIE
9 years ago
Matthew Chen ddbc4819f1 Rework concurrency in the signaling logic.
// FREEBIE
9 years ago