Commit Graph

467 Commits

Author SHA1 Message Date
Matthew Chen
492aee79ef Merge branch 'charlesmchen/onlyReplyToGroupInfoRequester' 2017-05-12 16:09:39 -04:00
Matthew Chen
0936dd936b Don’t reply to “request group info” messages from non-members of the group in question.
// FREEBIE
2017-05-12 12:39:36 -04:00
Matthew Chen
8d10d19f8f Only reply to group info requester.
// FREEBIE
2017-05-12 11:38:24 -04:00
Matthew Chen
85ccf2db78 Merge branch 'charlesmchen/voiceMessagesUI' 2017-05-12 09:49:59 -04:00
Matthew Chen
a0c13490ca Clean up ahead of PR.
// FREEBIE
2017-05-12 09:49:51 -04:00
Matthew Chen
f3ed7697db Move filename property to TSAttachment.
// FREEBIE
2017-05-12 09:49:51 -04:00
Michael Kirk
dd1591689c Merge branch 'mkirk/polite-intersection' 2017-05-12 09:33:01 -04:00
Michael Kirk
772b3a6ba1 thumbnail hash without allocating big string.
// FREEBIE
2017-05-12 09:22:45 -04:00
Michael Kirk
873d8ff2bc include emails in contat hash
// FREEBIE
2017-05-11 17:56:28 -04:00
Michael Kirk
5ac08dfeb4 hashable method to detect when contact has changed
// FREEBIE
2017-05-11 12:59:03 -04:00
Matthew Chen
2dc7c7cf29 Merge branch 'charlesmchen/examplePhoneNumbers' 2017-05-10 16:11:41 -04:00
Matthew Chen
150c166a60 Show example phone numbers.
// FREEBIE
2017-05-10 16:11:34 -04:00
Matthew Chen
fb3e2557e0 Show example phone numbers.
// FREEBIE
2017-05-10 16:11:34 -04:00
Matthew Chen
2bb7459303 Merge branch 'charlesmchen/phoneNumberParsing' 2017-05-10 14:59:04 -04:00
Matthew Chen
587d035019 Don’t ignore “unnamed” phone numbers.
// FREEBIE
2017-05-10 14:58:57 -04:00
Matthew Chen
279e25c1df Merge branch 'charlesmchen/disappearingMessages' 2017-05-10 14:54:24 -04:00
Matthew Chen
77dbf6480c Respond to CR.
// FREEBIE
2017-05-10 14:54:15 -04:00
Matthew Chen
c89b9fb0bf Disable “disappearing messages” job when inactive.
// FREEBIE
2017-05-10 14:54:15 -04:00
Matthew Chen
6e52009ff0 Rework the “disappearing messages” logic.
// FREEBIE
2017-05-10 14:54:15 -04:00
Matthew Chen
9f569d376c Merge branch 'charlesmchen/autoRejoinGroups' 2017-05-10 10:05:16 -04:00
Matthew Chen
d5118273b8 Respond to CR.
// FREEBIE
2017-05-10 10:05:01 -04:00
Matthew Chen
315775ff23 Auto-rejoin groups by emitting and responding to “request group info” messages.
// FREEBIE
2017-05-10 09:42:26 -04:00
Michael Kirk
311206918f Merge branch 'mkirk/safer-key-delete' 2017-05-09 19:05:58 -04:00
Michael Kirk
e9c0c46a23 Always keep at least 3 old signed prekeys (accepted or otherwise).
If the keys weren't marked as accepted, we risk deleting keys which are
still probably relevant.

// FREEBIE
2017-05-09 19:05:54 -04:00
Matthew Chen
4e08b8092d Merge branch 'charlesmchen/flagVoiceMessages' 2017-05-09 11:43:46 -04:00
Matthew Chen
e56e9434ab Respond to CR.
// FREEBIE
2017-05-09 11:43:25 -04:00
Matthew Chen
b846532351 Flag voice messages as such in protos.
// FREEBIE
2017-05-09 11:42:21 -04:00
Matthew Chen
92de9a5e72 Merge branch 'charlesmchen/attachmentMimeTypes' 2017-05-09 11:28:58 -04:00
Matthew Chen
3e9fbb1bec Prefer to deduce the MIME type from the file extension using lookup, not the UTI type.
// FREEBIE
2017-05-08 15:49:28 -04:00
Matthew Chen
cb6de93a83 Try to deduce attachment MIME type from the file extension if possible.
// FREEBIE
2017-05-08 15:17:06 -04:00
Matthew Chen
955c4d8a02 Merge branch 'charlesmchen/phoneNumberParsingPerf' 2017-05-05 21:06:49 -04:00
Matthew Chen
6c2de6ed56 Fix a hotspot in the phone number parsing logic.
// FREEBIE
2017-05-05 21:06:32 -04:00
Matthew Chen
71a304f84f Merge branch 'charlesmchen/multipleAccounts' 2017-05-05 21:00:23 -04:00
Matthew Chen
1b93cd29c2 Rework handling of phone number names.
// FREEBIE
2017-05-05 21:00:14 -04:00
Matthew Chen
d82afb8bb7 Merge branch 'charlesmchen/contactsSync' 2017-05-05 20:55:25 -04:00
Matthew Chen
9bfcc8e38b Add “is complete” flag to contacts sync proto.
// FREEBIE
2017-05-05 20:53:09 -04:00
Matthew Chen
41e564db47 Use SignalAccount class to sync contacts.
// FREEBIE
2017-05-05 20:53:09 -04:00
Matthew Chen
741e5c02ac Add “is complete” flag to contacts sync proto.
// FREEBIE
2017-05-05 20:53:09 -04:00
Michael Kirk
f078f8adc2 Merge branch 'mkirk/compiler-warnings' 2017-05-05 14:26:14 -04:00
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
2017-05-04 17:56:55 -04:00
Michael Kirk
50df5b682b nullability annotations for TSInteraction
Compiler warnings: 343 -> 337

// FREEBIE
2017-05-04 17:49:44 -04:00
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
2017-05-04 17:48:00 -04:00
Michael Kirk
1754ad25d2 nullability annotations
Compiler Warnings: 387 -> 364

// FREEBIE
2017-05-04 17:19:04 -04:00
Michael Kirk
24c84cbbad Merge branch 'mkirk/better-send-logs' 2017-05-04 09:48:08 -04:00
Michael Kirk
a92129a0ee better sending logs
// FREEBIE
2017-05-04 09:43:13 -04:00
Michael Kirk
e336e0b34a Merge branch 'mkirk/delay-contact-access' 2017-05-04 09:41:55 -04:00
Michael Kirk
4338c59356 disambiguate contact param
// FREEBIE
2017-05-04 09:41:40 -04:00
Matthew Chen
d25a934039 Merge branch 'charlesmchen/cleanup' 2017-05-03 18:02:29 -04:00
Matthew Chen
9b8d6bd87d Minor cleanup.
// FREEBIE
2017-05-03 18:02:19 -04:00
Matthew Chen
25e086c221 Merge branch 'charlesmchen/autoMarkAsRead' 2017-05-03 17:59:57 -04:00