Matthew Chen
66927f206d
Cache display names for accounts.
...
// FREEBIE
2017-05-30 09:40:47 -04:00
Michael Kirk
33a2b05dca
Merge branch 'mkirk/remove-unnecessary-notifications'
2017-05-26 15:43:47 -07:00
Michael Kirk
42b35bb897
Don't notify for some error messages
...
Specifically:
- Don't play alert when building block offer
- Don't play/show redundant alert/lockscreen notifications for id changes
e.g.: if you share 100 groups with Bob, and Bob's SN change, you only
need *one* notification, even though we display the message in 100
group threads + 1 contact thread.
// FREEBIE
2017-05-26 15:43:35 -07:00
Michael Kirk
0eef7ccb8f
Merge branch 'mkirk/confirm-send'
2017-05-26 15:34:01 -07:00
Michael Kirk
09d7d8c027
Given a recipient id, returns any unconfirmed identity
...
// FREEBIE
2017-05-26 15:32:09 -07:00
Michael Kirk
0201fa34ce
Merge branch 'mkirk/profile-request'
2017-05-26 09:47:59 -07:00
Michael Kirk
5df67c8e5c
move constant per code review
...
// FREEBIE
2017-05-26 09:47:55 -07:00
Michael Kirk
fe075d2f77
Support for profile fetching so we can display SN changes upon entering
...
a thread
// FREEBIE
2017-05-26 09:47:55 -07:00
Matthew Chen
b89d16ea90
Merge branch 'charlesmchen/messageViewPerf2_'
2017-05-26 11:18:11 -04:00
Matthew Chen
ef9303dd03
Rename audio duration and image size methods in TSAttachmentStream.
...
// FREEBIE
2017-05-26 11:18:02 -04:00
Michael Kirk
12c45b8a47
Merge branch 'mkirk/log-error-on-send-failure'
2017-05-25 08:36:57 -07:00
Michael Kirk
3be70e9719
log error on failure
...
// FREEBIE
2017-05-25 08:36:45 -07:00
Michael Kirk
d782904d15
Merge branch 'mkirk/safety-numbers'
2017-05-24 18:05:36 -07:00
Michael Kirk
4a6a02c009
Ensure updates don't clobber
...
// FREEBIE
2017-05-24 18:01:48 -07:00
Michael Kirk
8ee57d9132
save identity to legacy identity store so we can switch versions while
...
testing
// FREEBIE
2017-05-24 18:01:48 -07:00
Michael Kirk
0001b6c493
Code style per code review, no functional changes
...
// FREEBIE
2017-05-24 18:01:48 -07:00
Michael Kirk
f2f3acb897
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
2017-05-24 18:01:48 -07:00
Matthew Chen
0a8c4203ea
Merge branch 'charlesmchen/socketManagerAssert'
2017-05-24 17:44:38 -04:00
Matthew Chen
07bf3b9af5
Remove invalid assert in socket manager.
...
// FREEBIE
2017-05-24 15:03:36 -04:00
Matthew Chen
289fd4f0cc
Merge branch 'charlesmchen/messageViewPerf2'
2017-05-24 09:59:03 -04:00
Matthew Chen
fe796d6c52
Cache image size and audio duration on attachments.
...
// FREEBIE
2017-05-23 09:39:54 -04:00
Matthew Chen
d612358256
Merge branch 'charlesmchen/manualCensorshipCircumvention'
2017-05-23 09:26:23 -04:00
Matthew Chen
58edbdfbd9
Let users manually specify the domain fronting country.
...
// FREEBIE
2017-05-22 20:33:26 -04:00
Matthew Chen
98ff7e5aba
Add support for manually activating censorship circumvention.
...
// FREEBIE
2017-05-22 20:33:26 -04:00
Matthew Chen
d3fc5e4ab8
Rework how the views observe socket state.
...
// FREEBIE
2017-05-22 20:33:26 -04:00
Matthew Chen
45b947dc04
Rework how the views observe socket state.
...
// FREEBIE
2017-05-22 20:33:26 -04:00
Matthew Chen
2171cd1d96
Add support for manually activating censorship circumvention.
...
// FREEBIE
2017-05-22 20:33:26 -04:00
Matthew Chen
cbeafac20e
Merge branch 'charlesmchen/addToContactsOffer'
2017-05-22 18:24:55 -04:00
Matthew Chen
66b8d54015
“Add to contacts” offer.
...
// FREEBIE
2017-05-22 18:19:56 -04:00
Matthew Chen
485af7e817
Merge branch 'charlesmchen/localPhoneNumberCountryVsContactParsing'
2017-05-22 18:15:58 -04:00
Matthew Chen
fcc7eb6565
Try the country code for the local phone number when parsing phone numbers.
...
// FREEBIE
2017-05-19 22:30:49 -04:00
Matthew Chen
dd14510355
Merge branch 'charlesmchen/pinYapDatabase'
2017-05-19 18:04:36 -04:00
Matthew Chen
4837a9d371
Pin YapDatabase to v2.9.3 to avoid v.3.x.
...
// FREEBIE
2017-05-19 17:56:14 -04:00
Matthew Chen
2439752c20
Merge branch 'charlesmchen/attachmentFilenames'
2017-05-19 17:33:53 -04:00
Matthew Chen
df17403ec9
Respond to CR.
...
// FREEBIE
2017-05-19 17:33:17 -04:00
Matthew Chen
c955b189f7
Respond to CR.
...
// FREEBIE
2017-05-19 17:20:58 -04:00
Matthew Chen
9fb1012c6e
Persist attachment file paths.
...
// FREEBIE
2017-05-19 17:20:58 -04:00
Matthew Chen
c75769d407
Rename attachment source filename property.
...
// FREEBIE
2017-05-19 17:20:58 -04:00
Michael Kirk
52097864f1
Merge branch 'mkirk/show-name-in-sn-change'
2017-05-19 16:38:09 -04:00
Michael Kirk
92d72b3fc8
make nonatomic per code review
...
// FREEBIE
2017-05-19 16:37:16 -04:00
Michael Kirk
47b1c31b50
Contact Name in SN changed notifications
...
// FREEBIE
2017-05-19 11:44:05 -04:00
Michael Kirk
e212fdf2cf
Merge branch 'mkirk/group-sn-changes'
2017-05-19 11:40:56 -04:00
Michael Kirk
fcbfde3874
nonblocking SN change notifications don't percolate group threads to the
...
top unless there is a message in that thread.
Otherwise the user is overwhelmed by a bunch of group threads with
redundant notifications. The notifications will be there if the user
later enters the threads. The affect is that only the thread with the
relevant message will pop to the top.
// FREEBIE
2017-05-19 11:40:44 -04:00
Michael Kirk
4becd43973
"Bob's SN changed" displayed in every group containing Bob
...
// FREEBIE
2017-05-19 11:40:44 -04:00
Matthew Chen
2f7e76f82c
Merge branch 'charlesmchen/searchLocalCallingCode'
2017-05-18 09:52:11 -04:00
Matthew Chen
5bf3a80935
Honor the local calling code in select recipient view.
...
// FREEBIE
2017-05-18 09:52:04 -04:00
Matthew Chen
cd4cb1709c
Merge branch 'charlesmchen/retryPushTokenRegistration'
2017-05-17 15:51:57 -04:00
Matthew Chen
09712f0b7b
Retry push token registration.
...
// FREEBIE
2017-05-17 14:26:51 -04:00
Michael Kirk
145b4ee570
Merge branch 'mkirk/faster-contact-parsing'
2017-05-15 16:25:32 -04:00
Michael Kirk
e585b9052e
remove checks for other country codes since it's expensive
...
Unfortunately calls to `NBPhoneNumberUtil parse:defaultRegion:error` are
not cheap, calling it with a bunch of permutations on every contact is
too expensive to justify it's incremental value unless we can get
upstream optimized.
e.g. for US numbers this was 26 extra calls per phone number
// FREEBIE
2017-05-15 16:12:39 -04:00