Commit Graph

437 Commits (955c4d8a0281ea5a53da751044ba818032bb72d1)
 

Author SHA1 Message Date
Matthew Chen 955c4d8a02 Merge branch 'charlesmchen/phoneNumberParsingPerf' 8 years ago
Matthew Chen 6c2de6ed56 Fix a hotspot in the phone number parsing logic.
// FREEBIE
8 years ago
Matthew Chen 71a304f84f Merge branch 'charlesmchen/multipleAccounts' 8 years ago
Matthew Chen 1b93cd29c2 Rework handling of phone number names.
// FREEBIE
8 years ago
Matthew Chen d82afb8bb7 Merge branch 'charlesmchen/contactsSync' 8 years ago
Matthew Chen 9bfcc8e38b Add “is complete” flag to contacts sync proto.
// FREEBIE
8 years ago
Matthew Chen 41e564db47 Use SignalAccount class to sync contacts.
// FREEBIE
8 years ago
Matthew Chen 741e5c02ac Add “is complete” flag to contacts sync proto.
// FREEBIE
8 years ago
Michael Kirk f078f8adc2 Merge branch 'mkirk/compiler-warnings' 8 years ago
Michael Kirk ad31c75e88 fix more compiler warnings
* initWithCoder is a designated initializer for *any* TSYapDatabase model
* doc fixes
* cast log param appropriately

Compiler Warnings: 337 -> 331

// FREEBIE
8 years ago
Michael Kirk 50df5b682b nullability annotations for TSInteraction
Compiler warnings: 343 -> 337

// FREEBIE
8 years ago
Michael Kirk c9f397d590 nullability audit for MimeTypeUtil
* added missing nullability annotations
* guard against insterting nil into set
* remove unused code

Compiler Warnings: 364 -> 343

// FREEBIE
8 years ago
Michael Kirk 1754ad25d2 nullability annotations
Compiler Warnings: 387 -> 364

// FREEBIE
8 years ago
Michael Kirk 24c84cbbad Merge branch 'mkirk/better-send-logs' 8 years ago
Michael Kirk a92129a0ee better sending logs
// FREEBIE
8 years ago
Michael Kirk e336e0b34a Merge branch 'mkirk/delay-contact-access' 8 years ago
Michael Kirk 4338c59356 disambiguate contact param
// FREEBIE
8 years ago
Matthew Chen d25a934039 Merge branch 'charlesmchen/cleanup' 8 years ago
Matthew Chen 9b8d6bd87d Minor cleanup.
// FREEBIE
8 years ago
Matthew Chen 25e086c221 Merge branch 'charlesmchen/autoMarkAsRead' 8 years ago
Matthew Chen 2a64ff29e5 Temporary change to improve read receipt logging. 8 years ago
Michael Kirk 77833e727a Merge pull request #196 from WhisperSystems/mkirk/contact-fixup
Properly handle "work", "home", and "other" labels
8 years ago
Michael Kirk f4dd01e300 Properly handle "work", "home", and "other" labels
// FREEBIE
8 years ago
Matthew Chen 4431fa3356 Merge branch 'charlesmchen/signalAccount' 8 years ago
Matthew Chen 5058eb837e Add SignalAccount class.
// FREEBIE
8 years ago
Matthew Chen cd9e1fb574 Add SignalAccount class.
// FREEBIE
8 years ago
Matthew Chen e3c9598122 Extract labels for phone numbers.
// FREEBIE
8 years ago
Matthew Chen 9dc6014850 Extract labels for phone numbers.
// FREEBIE
8 years ago
Michael Kirk 608852898a Merge branch 'mkirk/debug-call-messages' 8 years ago
Michael Kirk 52b19a9118 better debug messages about what *kind* of encrypted message we received
Uniform logging, removing redundant logging wherever possible, to add
details about what kind of message was received.

In particular, with calls, when there are lots of messages going back
and forth, this makes it easier to make sense of what's being exchanged.

// FREEBIE
8 years ago
Michael Kirk c47e766c10 Merge branch 'mkirk/debug-spk' 8 years ago
Michael Kirk bf6f013153 debug tool: print signed prekey report
Example output:

    SignedPreKeys Report:
      currentId: 111111111
      firstPrekeyUpdateFailureDate: (null)
      prekeyUpdateFailureCount: 0
      All Keys (count: 2):
        #1 <SignedPreKeyRecord: id: 111111111, generatedAt: 2017-04-24 19:23:55 +0000, wasAcceptedByService:YES, signature: <abcdefgh ..>
        #2 <SignedPreKeyRecord: id: 222222222, generatedAt: 2017-04-20 19:23:55 +0000, wasAcceptedByService:YES, signature: <12345678 ..>

// FREEBIE
8 years ago
Matthew Chen cc055f034a Merge branch 'charlesmchen/genericAttachmentAppearance' 8 years ago
Matthew Chen b986db808d Add filename to attachment streams. 8 years ago
Matthew Chen 5d4b96924d Merge branch 'charlesmchen/utiTypeForFileExtension' 8 years ago
Matthew Chen 19754bacb9 Add a "UTI type for file extension" method.
// FREEBIE
8 years ago
Matthew Chen c77ad7f77d Merge branch 'charlesmchen/whitespaceVsContactCells' 8 years ago
Matthew Chen 72730c06a6 Improve handling of whitespace in contacts.
// FREEBIE
8 years ago
Matthew Chen 476047e24a Merge branch 'charlesmchen/ignoreOversizeMessages' 8 years ago
Matthew Chen 6686167cc3 Ignore oversize messages.
// FREEBIE
8 years ago
Michael Kirk 8251f1e67b Merge branch 'mkirk/sync-session-reset' 8 years ago
Michael Kirk e1055c26a3 Sync EndSession messages to linked devices
Alternatively, I considered deleting *only* the session with the device
which sent the message, but since other clients are deleting *all*
sessions associated with the contact, it will be less disruptive to get
in line with their behavior.

Fixes the scenario wherein:

* Alice.1 has a session with Bob.1 and Bob.2
* Bob.1 sends an EndSession to Alice
* Thus Alice.1 deletes her sessions with Bob.1 and Bob.2
* Bob.2 sends Alice1 "hi" (with the existing session - as a regular WM,
not a PKWM)
* Alice has no session with Bob.2 so cannot decrypt the message.

// FREEBIE
8 years ago
Michael Kirk a21108db5c Log message type in prod
// FREEBIE
8 years ago
Michael Kirk 0bbe73e110 Merge branch 'charlesmchen/messageSendFatalErrors' 8 years ago
Matthew Chen b40ec508b6 Do not retry fatal message send errors.
// FREEBIE
8 years ago
Michael Kirk 1fe0930740 Merge branch 'mkirk/download-progress' 8 years ago
Michael Kirk 68476a51dc Download service emits progress notifications
// FREEBIE
8 years ago
Matthew Chen 1032588da1 Merge branch 'charlesmchen/groupMessagesVsSafetyNumberChanges' 8 years ago
Matthew Chen 9b24ad7f14 Do not try to resend unsaved outgoing messages when accepting a safety number change.
// FREEBIE
8 years ago
Matthew Chen b9eeb408c3 Merge branch 'charlesmchen/muteThreads' 8 years ago