Commit Graph

479 Commits (2f7e76f82c98a43e8f6f57e6bd8c2783cdb73edf)
 

Author SHA1 Message Date
Matthew Chen 88f343a0aa Attempt to fix the "frequent attachment download errors with low server ids".
// FREEBIE
8 years ago
Matthew Chen 7867ce27a8 Merge branch 'charlesmchen/messageStateIndicators' 8 years ago
Matthew Chen 25ab52caf2 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 865d9d7b96 Add "is uploaded" property to attachment streams.
// FREEBIE
8 years ago
Matthew Chen 27fb0dd34c Merge branch 'charlesmchen/websocketState' 8 years ago
Matthew Chen e4636e8336 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 958dbd199b Minor clean up.
// FREEBIE
8 years ago
Matthew Chen f40629ffa0 Improve alignment between socket state and socket manager state.
// FREEBIE
8 years ago
Michael Kirk b21c628d56 Merge branch 'mkirk/attachment-digest'
// FREEBIE
8 years ago
Michael Kirk 8f1412d502 comment constant time compare per code review
// FREEBIE
8 years ago
Michael Kirk 452110b687 Include digest in attachments
- constant time compare
- free buffer passed to NSData

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

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

// FREEBIE
8 years ago
Michael Kirk 14a104b1b2 fix tests, and off by one in keeping old, accepted keys
// FREEBIE
8 years ago
Matthew Chen c72e8f8e2f Merge remote-tracking branch 'origin/release/2.7.1'
// FREEBIE
8 years ago
Matthew Chen 427f225df9 Merge branch 'feature/messageSortingRevisited' 8 years ago
Matthew Chen 686fe679bd Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 7bd4d26532 Add “received at” timestamp to all TSMessages so that they may be sorted properly.
// FREEBIE
8 years ago
Matthew Chen f974706396 Clean up the prekeys.
// FREEBIE
8 years ago
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