Commit Graph

404 Commits

Author SHA1 Message Date
Matthew Chen
b986db808d Add filename to attachment streams. 2017-04-26 11:07:42 -04:00
Matthew Chen
5d4b96924d Merge branch 'charlesmchen/utiTypeForFileExtension' 2017-04-25 16:59:29 -04:00
Matthew Chen
19754bacb9 Add a "UTI type for file extension" method.
// FREEBIE
2017-04-24 22:31:13 -04:00
Matthew Chen
c77ad7f77d Merge branch 'charlesmchen/whitespaceVsContactCells' 2017-04-20 20:25:21 -04:00
Matthew Chen
72730c06a6 Improve handling of whitespace in contacts.
// FREEBIE
2017-04-20 18:04:00 -04:00
Matthew Chen
476047e24a Merge branch 'charlesmchen/ignoreOversizeMessages' 2017-04-20 17:36:11 -04:00
Matthew Chen
6686167cc3 Ignore oversize messages.
// FREEBIE
2017-04-20 17:20:39 -04:00
Michael Kirk
8251f1e67b Merge branch 'mkirk/sync-session-reset' 2017-04-19 19:37:04 -04:00
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
2017-04-19 19:18:25 -04:00
Michael Kirk
a21108db5c Log message type in prod
// FREEBIE
2017-04-19 19:04:25 -04:00
Michael Kirk
0bbe73e110 Merge branch 'charlesmchen/messageSendFatalErrors' 2017-04-19 18:52:35 -04:00
Matthew Chen
b40ec508b6 Do not retry fatal message send errors.
// FREEBIE
2017-04-19 18:52:28 -04:00
Michael Kirk
1fe0930740 Merge branch 'mkirk/download-progress' 2017-04-19 18:36:27 -04:00
Michael Kirk
68476a51dc Download service emits progress notifications
// FREEBIE
2017-04-19 18:36:17 -04:00
Matthew Chen
1032588da1 Merge branch 'charlesmchen/groupMessagesVsSafetyNumberChanges' 2017-04-19 18:18:27 -04:00
Matthew Chen
9b24ad7f14 Do not try to resend unsaved outgoing messages when accepting a safety number change.
// FREEBIE
2017-04-19 15:17:56 -04:00
Matthew Chen
b9eeb408c3 Merge branch 'charlesmchen/muteThreads' 2017-04-19 10:00:06 -04:00
Matthew Chen
f0ca468839 Respond to CR.
// FREEBIE
2017-04-19 09:59:49 -04:00
Matthew Chen
0e9da39c6b Add muting of threads.
// FREEBIE
2017-04-19 09:57:05 -04:00
Matthew Chen
51689b3341 Merge branch 'charlesmchen/fixMessagesFromLinkedDevices' 2017-04-19 09:49:43 -04:00
Matthew Chen
a3db112c50 Fix outgoing message status for messages sent from linked devices.
// FREEBIE
2017-04-18 21:45:33 -04:00
Matthew Chen
bb24ffc917 Merge branch 'charlesmchen/outgoingMessageState' 2017-04-17 18:05:22 -04:00
Matthew Chen
6341905c9b Respond to CR.
// FREEBIE
2017-04-17 16:45:22 -04:00
Matthew Chen
ced9d6f460 Retry group sends if any of its errors are re-tryable.
// FREEBIE
2017-04-17 16:11:51 -04:00
Matthew Chen
f191d6b096 Respond to CR.
// FREEBIE
2017-04-17 16:11:51 -04:00
Matthew Chen
aa70ada399 Refine error handling for outgoing group messages.
// FREEBIE
2017-04-17 16:11:51 -04:00
Matthew Chen
db051b3b3e Consider group send a failure if sending to any member in the group fails.
// FREEBIE
2017-04-17 16:11:51 -04:00
Matthew Chen
1023eeb8a0 Rework outgoing message state.
// FREEBIE
2017-04-17 16:11:51 -04:00
Matthew Chen
1404d0d7eb Rework outgoing message state.
// FREEBIE
2017-04-17 16:11:51 -04:00
Matthew Chen
bf18b1f286 Rework outgoing message state.
// FREEBIE
2017-04-17 16:11:51 -04:00
Matthew Chen
654ef89049 Rework outgoing message state.
// FREEBIE
2017-04-17 16:11:51 -04:00
Matthew Chen
04dc930e0c Rework outgoing message state.
// FREEBIE
2017-04-17 16:11:51 -04:00
Matthew Chen
0ab6bcd080 Rework outgoing message state.
// FREEBIE
2017-04-17 16:11:51 -04:00
Matthew Chen
91aeddf383 Merge branch 'charlesmchen/lostMessages' 2017-04-17 16:06:14 -04:00
Matthew Chen
42e005a498 Avoid lost messages by acknowledges message receipt after the message is processed.
// FREEBIE
2017-04-17 16:05:59 -04:00
Matthew Chen
2367ab7439 Merge branch 'charlesmchen/prekeyDoubleUpdate_' 2017-04-14 14:34:31 -04:00
Matthew Chen
406e2d862b De-bounce the prekey checks.
// FREEBIE
2017-04-14 14:31:28 -04:00
Matthew Chen
0224af7465 De-bounce the prekey checks.
// FREEBIE
2017-04-14 14:31:28 -04:00
Michael Kirk
a715ed0794 Merge branch 'mkirk/mark-as-accepted' 2017-04-14 10:56:26 -04:00
Michael Kirk
522c191fd1 Persist when signed pre key was 'acceptedByService'
// FREEBIE
2017-04-14 10:56:20 -04:00
Matthew Chen
238fd0d9f1 Merge branch 'charlesmchen/honorAttachmentFilenames' 2017-04-13 16:08:37 -04:00
Matthew Chen
fa2ff8158c Respond to CR.
// FREEBIE
2017-04-13 16:05:59 -04:00
Matthew Chen
40dcc7c873 Honor attachment filenames.
// FREEBIE
2017-04-13 15:41:39 -04:00
Matthew Chen
bc10aea202 Honor attachment filenames.
// FREEBIE
2017-04-13 15:41:39 -04:00
Matthew Chen
b09f7e5e52 Honor attachment filenames.
// FREEBIE
2017-04-13 15:41:39 -04:00
Matthew Chen
173823e3ad Merge branch 'feature/contactsIntersectionAudit' 2017-04-13 15:37:07 -04:00
Matthew Chen
715e9e85ff Respond to CR.
// FREEBIE
2017-04-13 15:36:59 -04:00
Matthew Chen
00f1b53e61 Reduce usage of contacts intersection endpoint.
// FREEBIE
2017-04-13 15:28:45 -04:00
Matthew Chen
1d946ccfed Merge branch 'charlesmchen/arbitraryAttachments' 2017-04-13 15:26:14 -04:00
Matthew Chen
06a56ccede Update SignalAttachment to allow arbitrary attachments.
// FREEBIE
2017-04-13 15:25:28 -04:00