Matthew Chen
5edec99fd6
Adapt number formatting to RTL.
...
// FREEBIE
2017-07-21 14:49:12 -04:00
Matthew Chen
b7c2512eac
Respond to CR.
...
// FREEBIE
2017-07-12 13:47:29 -04:00
Matthew Chen
81555d1225
Add “new contact” and “add to existing contact” buttons in 1:1 conversation settings view.
...
// FREEBIE
2017-07-12 13:18:14 -04:00
Matthew Chen
d639d6557e
Add owsFail free function for swift.
...
// FREEBIE
2017-07-11 16:20:20 -04:00
Michael Kirk
5223104566
respect system sort order for contacts
...
// FREEBIE
2017-07-10 13:08:40 -05:00
Michael Kirk
f681712ea0
Code Cleanup
...
- make some logging clearer
- remove noisy unhelpful logging
- clearer method names
// FREEBIE
2017-07-10 11:09:39 -05:00
Matthew Chen
7135895c1c
Modify TSStorageManager to use separate shared read and write connections.
...
// FREEBIE
2017-07-05 17:01:28 -04:00
Matthew Chen
bd7b7f3d11
Cache the displayable text for messages.
...
// FREEBIE
2017-05-30 10:05:21 -04:00
Matthew Chen
c871e2de3e
Respond to CR.
...
// FREEBIE
2017-05-30 09:50:17 -04:00
Matthew Chen
86fb083079
Rationalize the attributed and unattributed display name formatting and caching.
...
// FREEBIE
2017-05-30 09:41:28 -04:00
Matthew Chen
dd3394be1b
Cache display names for accounts.
...
// FREEBIE
2017-05-30 09:41:28 -04:00
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
2017-05-24 18:01:24 -07:00
Matthew Chen
b3948f27d7
Add debug functions to generate and delete random contacts.
...
// FREEBIE
2017-05-19 18:06:42 -04:00
Michael Kirk
35a6dc7636
Show Contact name, not number, of unregistered user
...
// FREEBIE
2017-05-18 10:53:22 -04:00
Michael Kirk
14b6294d6f
code cleanup pre CR
...
// FREEBIE
2017-05-18 10:05:39 -04:00
Michael Kirk
4adaaa605f
Hide contact editing features on iOS8
...
// FREEBIE
2017-05-18 10:05:39 -04:00
Michael Kirk
05d70a76df
iOS8 contact store adaptee
...
// FREEBIE
2017-05-18 10:05:39 -04:00
Michael Kirk
889ad0bc67
Extract code incompatible with iOS8 into adapter
...
// FREEBIE
2017-05-18 10:05:39 -04:00
Michael Kirk
c31fd0dfcc
Fix flicker of "no contacts" screen on message compose
...
// FREEBIE
2017-05-17 09:24:59 -04:00
Michael Kirk
e2b1cbb154
Don't show "no signal accounts" until contact intersection has completed
...
at least once
// FREEBIE
2017-05-15 16:19:50 -04:00
Michael Kirk
90de4edeef
return contact parsing to background thread
...
inadvertently moved it to main thread with
354d46e3f4
// FREEBIE
2017-05-12 10:23:18 -04:00
Michael Kirk
0a7996ffbc
Perform contact intersection ~every 6 hours even if no contacts changed
...
// FREEBIE
2017-05-12 09:57:02 -04:00
Michael Kirk
9131cd83fb
update contacts only when changed
...
otherwise we're spamming contact intersection all the time
// FREEBIE
2017-05-12 09:57:02 -04:00
Michael Kirk
7bdd732870
remove contact name from production log
...
// FREEBIE
2017-05-10 13:03:45 -04:00
Michael Kirk
073c0d6639
Add/Edit contacts in group list
...
* properly populate phone fields
* Fix appearence for CNContactViewController
* "Add Contact" vs "Show Contact"
// FREEBIE
2017-05-09 16:59:31 -04:00
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
2017-05-09 16:38:47 -04:00
Michael Kirk
3040c4a341
include missing return
...
// FREEBIE
2017-05-09 16:21:30 -04:00
Michael Kirk
fee47efbea
Avoid repaint by requestng contacts before Compose
...
This entailed passing callback params through the contact request.
// FREEBIE
2017-05-09 16:21:30 -04:00
Michael Kirk
dc75e592c1
ensure contact callback on proper thread
...
// FREEBIE
2017-05-09 16:21:30 -04:00
Michael Kirk
64bcc94589
Instead of alert we're providing in context reminders - no need for
...
these TODOs
// FREEBIE
2017-05-09 16:21:30 -04:00
Matthew Chen
d0e26a58c3
Show “invite by SMS” offer for matching non-Signal contacts when searching in “new 1:1: conversation” view.
...
// FREEBIE
2017-05-05 21:18:21 -04:00
Matthew Chen
3f7d23e043
Fix two hotspots in contact parsing and contact syncing.
...
// FREEBIE
2017-05-05 21:09:06 -04:00
Matthew Chen
535fc566a5
Rework handling of phone number names.
...
// FREEBIE
2017-05-05 21:00:41 -04:00
Matthew Chen
0c4351a908
Use SignalAccount class to sync contacts.
...
// FREEBIE
2017-05-05 20:57:35 -04:00
Matthew Chen
1b99671e0e
Clean up ahead of PR.
...
// FREEBIE
2017-05-05 10:42:42 -04:00
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
2017-05-04 09:47:04 -04:00
Michael Kirk
364f416a69
Block editing contact if user has denied contact permissions
...
// FREEBIE
2017-05-04 09:47:04 -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
Michael Kirk
93801e8d29
only show count when there is more than 1 of the same type
...
// FREEBIE
2017-05-03 16:50:49 -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
147107d76c
Fix database deadlock in contacts manager.
...
// FREEBIE
2017-05-02 13:59:35 -04:00
Matthew Chen
26f69b0063
Respond to CR.
...
// FREEBIE
2017-05-02 12:30:53 -04:00
Matthew Chen
f71ec9f7cb
Respond to CR.
...
// FREEBIE
2017-05-02 11:16:34 -04:00
Matthew Chen
ad11c50c1b
Reworking observation of Contact and SignalAccount changes.
...
// FREEBIE
2017-05-02 09:28:50 -04:00
Matthew Chen
994aec0d86
Add SignalAccount class.
...
// FREEBIE
2017-05-02 09:28:50 -04:00
Matthew Chen
6801963a1b
Add SignalAccount class.
...
// FREEBIE
2017-05-02 09:28:50 -04:00
Matthew Chen
93700f1044
Extract labels for phone numbers.
...
// FREEBIE
2017-05-02 09:28:50 -04:00
Matthew Chen
42768294ee
Extract labels for phone numbers.
...
// FREEBIE
2017-05-02 09:28:50 -04:00
Matthew Chen
61f59067b6
Improve contact-related views.
...
* Add support for contacts with more than one Signal account using ContactAccount class.
* Use OWSTableViewController in contact-related views.
* Let users add non-contacts to groups.
* Improve the "new group" and "edit group" views.
* Add utility methods for displaying alerts.
* Warn users before discarding unsaved changes in "edit group" view.
* Pull out "contact view helper" to de-duplicate common logic among contact-related views.
* Pull out "group view helper" to de-duplicate common logic among group-related views.
* Pull out new base class for view used to add accounts to groups or the block list.
// FREEBIE
2017-05-02 09:28:02 -04:00
Michael Kirk
94b95367f1
Actually *use* the delay time to enqueu the retry
...
Also, use a consistent type (double) rather than a mishmash of float and
CGFloat.
// FREEBIE
2017-04-27 17:42:08 -04:00