Commit Graph

147 Commits (cf246a41cf4a0577123d13121cfa23ffc9a894ad)

Author SHA1 Message Date
Matthew Chen 563753a4cb Force contacts intersection in pull-to-refresh from new thread view.
// FREEBIE
8 years ago
Matthew Chen 9dfebb2d4b Apply OWSFail() in more places.
// FREEBIE
8 years ago
Michael Kirk bde40a1f9c Ensure avatar upates right after profile change.
// FREEBIE
8 years ago
Michael Kirk f6720f9afa properly clear all cached avatar images
// FREEBIE
8 years ago
Michael Kirk b579ea5915 Use profile name when building avatar if contact name is unavailable
// FREEBIE
8 years ago
Michael Kirk fd99354673 profile name vs. verified in ContactTableViewCell
// FREEBIE
8 years ago
Michael Kirk e54e1d11c0 show profile name snippet in inbox and conversation settings
// FREEBIE
8 years ago
Michael Kirk 7c386b1d1e CR: RTL, trim profile names, ensure not empty
- RTL support with localizable format strings
- Trim decrypted profile names
- more rigorous empty check

// FREEBIE
8 years ago
Michael Kirk 4511b4015f Clarify where we use the profile name
Add some hints to differentiate profile name usage from a name pulled
from the contacts.

// FREEBIE
8 years ago
Michael Kirk 16c646a939 Use profile name/image when available.
Refactored the ContactAvatarBuilder to clarify intent of the two
methods. One is only used for non-signal contacts in the Invite flow.
The other should be used for any signal contacts so we have a single
consistent way of generating the avatar initials.

// FREEBIE
8 years ago
Matthew Chen 6ec756de44 Move profile manager to Signal.
// FREEBIE
8 years ago
Matthew Chen 26b668cce7 Add profile key to proto schema. Send and receive profile keys. Cache profile manager state.
// FREEBIE
9 years ago
Matthew Chen 5edec99fd6 Adapt number formatting to RTL.
// FREEBIE
9 years ago
Matthew Chen b7c2512eac Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 81555d1225 Add “new contact” and “add to existing contact” buttons in 1:1 conversation settings view.
// FREEBIE
9 years ago
Matthew Chen d639d6557e Add owsFail free function for swift.
// FREEBIE
9 years ago
Michael Kirk 5223104566 respect system sort order for contacts
// FREEBIE
9 years ago
Michael Kirk f681712ea0 Code Cleanup
- make some logging clearer
- remove noisy unhelpful logging
- clearer method names

// FREEBIE
9 years ago
Matthew Chen 7135895c1c Modify TSStorageManager to use separate shared read and write connections.
// FREEBIE
9 years ago
Matthew Chen bd7b7f3d11 Cache the displayable text for messages.
// FREEBIE
9 years ago
Matthew Chen c871e2de3e Respond to CR.
// FREEBIE
9 years ago
Matthew Chen 86fb083079 Rationalize the attributed and unattributed display name formatting and caching.
// FREEBIE
9 years ago
Matthew Chen dd3394be1b Cache display names for accounts.
// FREEBIE
9 years ago
Michael Kirk bb25d2beb6 IdentityKeyStore changes
1) Always accept keys from incoming messages

2) Block sending only if it's a recent change, or if always
   block is enabled

// FREEBIE

// FREEBIE
9 years ago
Matthew Chen b3948f27d7 Add debug functions to generate and delete random contacts.
// FREEBIE
9 years ago
Michael Kirk 35a6dc7636 Show Contact name, not number, of unregistered user
// FREEBIE
9 years ago
Michael Kirk 14b6294d6f code cleanup pre CR
// FREEBIE
9 years ago
Michael Kirk 4adaaa605f Hide contact editing features on iOS8
// FREEBIE
9 years ago
Michael Kirk 05d70a76df iOS8 contact store adaptee
// FREEBIE
9 years ago
Michael Kirk 889ad0bc67 Extract code incompatible with iOS8 into adapter
// FREEBIE
9 years ago
Michael Kirk c31fd0dfcc Fix flicker of "no contacts" screen on message compose
// FREEBIE
9 years ago
Michael Kirk e2b1cbb154 Don't show "no signal accounts" until contact intersection has completed
at least once

// FREEBIE
9 years ago
Michael Kirk 90de4edeef return contact parsing to background thread
inadvertently moved it to main thread with
354d46e3f4

// FREEBIE
9 years ago
Michael Kirk 0a7996ffbc Perform contact intersection ~every 6 hours even if no contacts changed
// FREEBIE
9 years ago
Michael Kirk 9131cd83fb update contacts only when changed
otherwise we're spamming contact intersection all the time

// FREEBIE
9 years ago
Michael Kirk 7bdd732870 remove contact name from production log
// FREEBIE
9 years ago
Michael Kirk 073c0d6639 Add/Edit contacts in group list
* properly populate phone fields
* Fix appearence for CNContactViewController
* "Add Contact" vs "Show Contact"

// FREEBIE
9 years ago
Michael Kirk 8411d13ef6 show number for no-name contacts
previously if you had a contact, but no saved name
there would be a blank entry in your compose picker

// FREEBIE
9 years ago
Michael Kirk 3040c4a341 include missing return
// FREEBIE
9 years ago
Michael Kirk fee47efbea Avoid repaint by requestng contacts before Compose
This entailed passing callback params through the contact request.

// FREEBIE
9 years ago
Michael Kirk dc75e592c1 ensure contact callback on proper thread
// FREEBIE
9 years ago
Michael Kirk 64bcc94589 Instead of alert we're providing in context reminders - no need for
these TODOs

// FREEBIE
9 years ago
Matthew Chen d0e26a58c3 Show “invite by SMS” offer for matching non-Signal contacts when searching in “new 1:1: conversation” view.
// FREEBIE
9 years ago
Matthew Chen 3f7d23e043 Fix two hotspots in contact parsing and contact syncing.
// FREEBIE
9 years ago
Matthew Chen 535fc566a5 Rework handling of phone number names.
// FREEBIE
9 years ago
Matthew Chen 0c4351a908 Use SignalAccount class to sync contacts.
// FREEBIE
9 years ago
Matthew Chen 1b99671e0e Clean up ahead of PR.
// FREEBIE
9 years ago
Michael Kirk a056c1e052 Check for signalContact vs. AB setup.
Same intent as previous check but more to the point, and doesn't
require tracking additional state.

// FREEBIE
9 years ago
Michael Kirk 364f416a69 Block editing contact if user has denied contact permissions
// FREEBIE
9 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
9 years ago