Commit graph

280 commits

Author SHA1 Message Date
Matthew Chen 96e155c75e Rework appearance of voice messages and audio attachments.
// FREEBIE
2017-05-12 09:46:54 -04:00
Matthew Chen c7777bcb13 [SSK] Show example phone numbers.
// FREEBIE
2017-05-10 16:15:15 -04:00
Matthew Chen 0adcd157da [SSK] Don’t ignore “unnamed” phone numbers.
// FREEBIE
2017-05-10 14:59:41 -04:00
Matthew Chen eb385f1e97 [SSK] Rework the “disappearing messages” logic.
// FREEBIE
2017-05-10 14:55:31 -04:00
Matthew Chen 8871331cfa [SPK] Update license.
// FREEBIE
2017-05-10 10:26:08 -04:00
Matthew Chen 387f1018f5 [SSK] Auto-rejoin groups by emitting and responding to “request group info” messages.
// FREEBIE
2017-05-10 10:06:19 -04:00
Michael Kirk e295f92943 [SSK] Safer SignedPreKey deletion policy
// FREEBIE
2017-05-09 19:09:46 -04:00
Matthew Chen d535ce3155 [SSK] Flag voice messages as such in protos.
// FREEBIE
2017-05-09 11:45:16 -04:00
Matthew Chen 560122067c [SSK] Prefer to deduce the MIME type from the file extension using lookup, not the UTI type.
[SSK] Try to deduce attachment MIME type from the file extension if possible.

// FREEBIE
2017-05-09 11:30:32 -04:00
Matthew Chen 0137e01aff Try to deduce attachment MIME type from the file extension if possible.
// FREEBIE
2017-05-09 11:29:33 -04:00
Matthew Chen bbf099894c [SSK] Fix a hotspot in the phone number parsing logic.
// FREEBIE
2017-05-05 21:07:32 -04:00
Matthew Chen 057bb76e66 [SSK] Rework handling of phone number names.
// FREEBIE
2017-05-05 21:01:51 -04:00
Matthew Chen 0c4351a908 Use SignalAccount class to sync contacts.
// FREEBIE
2017-05-05 20:57:35 -04:00
Michael Kirk 835ab3dd93 [SSK] fix some compiler warnings
// FREEBIE
2017-05-05 14:28:24 -04:00
Michael Kirk 83a089f429 [SSK] better sender logs
// FREEBIE
2017-05-04 09:48:45 -04:00
Michael Kirk b24cf29189 don't request contacts until necessary
Most commonly this will be after hitting the "compose" button

But also we'll do it in the SignalViewController once you've received a
message.

- get rid blocking contacts nag
- use Contacts framework simplifies logic
- remove dead AB code

// FREEBIE
2017-05-04 09:47:04 -04:00
Matthew Chen 931b6b4200 [SSK] Minor cleanup.
// FREEBIE
2017-05-03 18:02:59 -04:00
Matthew Chen 563ccf671e [SSK] Temporary change to improve read receipt logging.
// FREEBIE
2017-05-03 18:01:09 -04:00
Matthew Chen c2cdeb3bcd Remove SCWaveformView.
// FREEBIE
2017-05-03 17:05:27 -04:00
Michael Kirk 4b6bfa4c4c "home", "other" and "work" instead of "Unknown" phone label
// FREEBIE
2017-05-03 16:50:49 -04:00
Matthew Chen cb293f286a [SSK] Add SignalAccount class, Extract labels for phone numbers.
// FREEBIE
2017-05-02 12:40:51 -04:00
Matthew Chen 42768294ee Extract labels for phone numbers.
// FREEBIE
2017-05-02 09:28:50 -04:00
Michael Kirk e1162fa641 [SSK] Better debugging information
- explicitly log type of received message vs. just "encrypted message"
  for better call debugging
- debug tool to print signed prekey report

// FREEBIE
2017-05-01 10:28:54 -04:00
Matthew Chen 788ec4ce01 Respond to CR.
// FREEBIE
2017-04-26 13:27:24 -04:00
Matthew Chen 8bf4cb83a5 [SSK] Improve handling of whitespace in contacts.
// FREEBIE
2017-04-20 20:26:51 -04:00
Matthew Chen d248f6117f [SSK] Ignore oversize messages.
// FREEBIE
2017-04-20 17:37:57 -04:00
Michael Kirk b3fc16b0ba [SSK] handle synced reset-session messages
// FREEBIE
2017-04-19 19:40:21 -04:00
Michael Kirk 5bbcc23da5 [SSK] Do not retry fatal message send errors.
e.g. don't retry group sends when someone had a SN change

// FREEBIE
2017-04-19 18:54:24 -04:00
Michael Kirk d9e3e87735 New downloading progress view (#2006)
Replace previous "scary" warning-style attachment notifications with
something less alarming.

Includes file name and file type emoji when discernable.

// FREEBIE
2017-04-19 18:50:27 -04:00
Matthew Chen 67e94e2b55 [SSK] Do not try to resend unsaved outgoing messages when accepting a safety number change.
// FREEBIE
2017-04-19 18:21:09 -04:00
Matthew Chen 3c8635c352 [SSK] Add muting of threads.
// FREEBIE
2017-04-19 10:01:29 -04:00
Matthew Chen ea848f31e6 [SSK] Fix outgoing message status for messages sent from linked devices.
// FREEBIE
2017-04-19 09:53:34 -04:00
Matthew Chen dd807f676c [SSK] Rework outgoing message state & refine error handling for outgoing group messages.
// FREEBIE
2017-04-17 18:07:37 -04:00
Matthew Chen f41762c316 [SSK] Avoid lost messages.
// FREEBIE
2017-04-17 16:08:25 -04:00
Matthew Chen f9b51c01f4 [SSK] De-bounce the prekey checks.
// FREEBIE
2017-04-14 14:35:32 -04:00
Michael Kirk 0743722782 [SSK] ensure accepted SPKs are marked
// FREEBIE
2017-04-14 10:58:15 -04:00
Matthew Chen 9c6f76253a [SSK] Honor attachment filenames.
// FREEBIE
2017-04-13 16:09:51 -04:00
Matthew Chen dc3a382c23 Respond to CR.
// FREEBIE
2017-04-13 15:38:32 -04:00
Matthew Chen f38f3d8887 [SSK] Update SignalAttachment to allow arbitrary attachments.
// FREEBIE
2017-04-13 15:27:55 -04:00
Matthew Chen 33593921f6 [SSK] Rework socket manager.
// FREEBIE
2017-04-12 12:01:38 -04:00
Michael Kirk 1d9de09429 [SSK] Make sure we can return multiple recipients matches
// FREEBIE
2017-04-12 11:00:35 -04:00
Michael Kirk 5d604a796c [JSQMVC] Fixes "floating" edit menu for narrow media items
previously, edit menu was only positioned correctly for text bubbles,
and centered for media bubbles.

It wasn't that noticable for images/videos since those usually extended
to the middle of the conversation view, but with narrower media bubbles
(like arbitrary attachments) this became a bigger problem.

// FREEBIE
2017-04-12 10:24:29 -04:00
Matthew Chen 1d2e5d218d [SSK] Create block offer when non-contacts send you a message.
// FREEBIE
2017-04-12 08:42:22 -04:00
Matthew Chen 8490be6ed9 [SSK] Remove the properties related to Redphone and WebRTC support.
// FREEBIE
2017-04-11 17:39:57 -04:00
Matthew Chen 2fd8a13a3c [SSK] Improve attachment upload progress indicator.
// FREEBIE
2017-04-11 17:39:49 -04:00
Michael Kirk 2af89c9a2e [SSK][SPK] only assert dispatch in DEBUG
// FREEBIE
2017-04-07 14:20:35 -04:00
Michael Kirk 87845525b6 [SSK] serialize all read/write to sessionStore
Attempt to avoid session corruption happening due to an inconsistent
view of the session store by ensuring all access to the session store
happens on a serialized queue

// FREEBIE
2017-04-06 21:07:11 -04:00
Michael Kirk 398ee22f50 [SSK] rename cipher queue to sessionStoreQueue
// FREEBIE
2017-04-06 21:06:13 -04:00
Michael Kirk a951d11d97 [SSK] move iOSVersion to SSK
// FREEBIE
2017-04-06 21:06:13 -04:00
Michael Kirk 4494a95a62 Block list is two words. Update code/comments/constants
// FREEBIE
2017-04-05 17:37:08 -04:00