Commit Graph

270 Commits (bbf099894c7b3653598cc6b617712a2903273959)

Author SHA1 Message Date
Matthew Chen bbf099894c [SSK] Fix a hotspot in the phone number parsing logic.
// FREEBIE
7 years ago
Matthew Chen 057bb76e66 [SSK] Rework handling of phone number names.
// FREEBIE
7 years ago
Matthew Chen 0c4351a908 Use SignalAccount class to sync contacts.
// FREEBIE
7 years ago
Michael Kirk 835ab3dd93 [SSK] fix some compiler warnings
// FREEBIE
7 years ago
Michael Kirk 83a089f429 [SSK] better sender logs
// FREEBIE
7 years ago
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
7 years ago
Matthew Chen 931b6b4200 [SSK] Minor cleanup.
// FREEBIE
7 years ago
Matthew Chen 563ccf671e [SSK] Temporary change to improve read receipt logging.
// FREEBIE
7 years ago
Matthew Chen c2cdeb3bcd Remove SCWaveformView.
// FREEBIE
7 years ago
Michael Kirk 4b6bfa4c4c "home", "other" and "work" instead of "Unknown" phone label
// FREEBIE
7 years ago
Matthew Chen cb293f286a [SSK] Add SignalAccount class, Extract labels for phone numbers.
// FREEBIE
7 years ago
Matthew Chen 42768294ee Extract labels for phone numbers.
// FREEBIE
7 years ago
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
7 years ago
Matthew Chen 788ec4ce01 Respond to CR.
// FREEBIE
7 years ago
Matthew Chen 8bf4cb83a5 [SSK] Improve handling of whitespace in contacts.
// FREEBIE
7 years ago
Matthew Chen d248f6117f [SSK] Ignore oversize messages.
// FREEBIE
7 years ago
Michael Kirk b3fc16b0ba [SSK] handle synced reset-session messages
// FREEBIE
7 years ago
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
7 years ago
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
7 years ago
Matthew Chen 67e94e2b55 [SSK] Do not try to resend unsaved outgoing messages when accepting a safety number change.
// FREEBIE
7 years ago
Matthew Chen 3c8635c352 [SSK] Add muting of threads.
// FREEBIE
7 years ago
Matthew Chen ea848f31e6 [SSK] Fix outgoing message status for messages sent from linked devices.
// FREEBIE
7 years ago
Matthew Chen dd807f676c [SSK] Rework outgoing message state & refine error handling for outgoing group messages.
// FREEBIE
7 years ago
Matthew Chen f41762c316 [SSK] Avoid lost messages.
// FREEBIE
7 years ago
Matthew Chen f9b51c01f4 [SSK] De-bounce the prekey checks.
// FREEBIE
7 years ago
Michael Kirk 0743722782 [SSK] ensure accepted SPKs are marked
// FREEBIE
7 years ago
Matthew Chen 9c6f76253a [SSK] Honor attachment filenames.
// FREEBIE
7 years ago
Matthew Chen dc3a382c23 Respond to CR.
// FREEBIE
7 years ago
Matthew Chen f38f3d8887 [SSK] Update SignalAttachment to allow arbitrary attachments.
// FREEBIE
7 years ago
Matthew Chen 33593921f6 [SSK] Rework socket manager.
// FREEBIE
7 years ago
Michael Kirk 1d9de09429 [SSK] Make sure we can return multiple recipients matches
// FREEBIE
7 years ago
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
7 years ago
Matthew Chen 1d2e5d218d [SSK] Create block offer when non-contacts send you a message.
// FREEBIE
7 years ago
Matthew Chen 8490be6ed9 [SSK] Remove the properties related to Redphone and WebRTC support.
// FREEBIE
7 years ago
Matthew Chen 2fd8a13a3c [SSK] Improve attachment upload progress indicator.
// FREEBIE
7 years ago
Michael Kirk 2af89c9a2e [SSK][SPK] only assert dispatch in DEBUG
// FREEBIE
7 years ago
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
7 years ago
Michael Kirk 398ee22f50 [SSK] rename cipher queue to sessionStoreQueue
// FREEBIE
7 years ago
Michael Kirk a951d11d97 [SSK] move iOSVersion to SSK
// FREEBIE
7 years ago
Michael Kirk 4494a95a62 Block list is two words. Update code/comments/constants
// FREEBIE
7 years ago
Michael Kirk f46080519e [SSK] Don't retry terminal sending failures
* Causing prekey request rate-limit when sending to someone who's
  reregistered.
* Unnecessarily printing "unregistered user" multiple times.
* etc.

// FREEBIE
7 years ago
Matthew Chen 3537518268 [SSK] Don’t block outgoing group messages.
// FREEBIE
7 years ago
Matthew Chen f604cfb553 Apply assert to ensure singletons are only created once & filter incoming messages using the blacklist.
// FREEBIE
7 years ago
Matthew Chen 5ff454fd90 Fix double creation of NotificationsManager singleton.
// FREEBIE
7 years ago
Matthew Chen d00c892158 Apply assert to ensure singletons are only created once.
// FREEBIE
7 years ago
Michael Kirk 7153994929 [SSK] [SPK] Update SignalProtocolKit and SignalServiceKit
// FREEBIE
7 years ago
Michael Kirk 7f239c8040 [SSK] + Enforce singleton access for MessagesManager and MessageSender
// FREEBIE
7 years ago
Michael Kirk 4c0242ee17 [spk] Update SignalProtocolKit
// FREEBIE
7 years ago
Matthew Chen 5138539d99 [SSK] Fix sharing of oversize text messages.
// FREEBIE
7 years ago
Matthew Chen 306895ea6d [SSK] Improve support for arbitrary attachments.
// FREEBIE
7 years ago