Commit Graph

502 Commits

Author SHA1 Message Date
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
Michael Kirk
57a799ef92 Merge branch 'mkirk/cache-phone-number-parsing' 2017-05-12 19:22:58 -04:00
Michael Kirk
52be0e2ffc dont cache when parsing fails with error
// FREEBIE
2017-05-12 19:21:14 -04:00
Michael Kirk
1ee30023b9 Reduce time between editing contacts and seeing those changes in the app
* Move a couple lib methods behind our own interface
* Cache parsing phone numbers since it's expensive
* I considered caching formatting as well since it's also a bit
  expensive, but generating an appropriate cache key was actually slower
  than the raw implementation.

// FREEBIE
2017-05-12 18:31:02 -04:00
Matthew Chen
e6ff79c126 Revert "Merge branch 'charlesmchen/autoMarkAsRead'"
This reverts commit 25e086c221, reversing
changes made to 77833e727a.
2017-05-12 16:21:46 -04:00
Michael Kirk
f1f5c443f3 Merge branch 'mkirk/voice-message-snippet' 2017-05-12 16:20:10 -04:00
Michael Kirk
3cc982e65b use mic for voice message snippet
// FREEBIE
2017-05-12 16:19:40 -04:00
Matthew Chen
492aee79ef Merge branch 'charlesmchen/onlyReplyToGroupInfoRequester' 2017-05-12 16:09:39 -04:00
Matthew Chen
0936dd936b Don’t reply to “request group info” messages from non-members of the group in question.
// FREEBIE
2017-05-12 12:39:36 -04:00
Matthew Chen
8d10d19f8f Only reply to group info requester.
// FREEBIE
2017-05-12 11:38:24 -04:00
Matthew Chen
85ccf2db78 Merge branch 'charlesmchen/voiceMessagesUI' 2017-05-12 09:49:59 -04:00
Matthew Chen
a0c13490ca Clean up ahead of PR.
// FREEBIE
2017-05-12 09:49:51 -04:00
Matthew Chen
f3ed7697db Move filename property to TSAttachment.
// FREEBIE
2017-05-12 09:49:51 -04:00
Michael Kirk
dd1591689c Merge branch 'mkirk/polite-intersection' 2017-05-12 09:33:01 -04:00
Michael Kirk
772b3a6ba1 thumbnail hash without allocating big string.
// FREEBIE
2017-05-12 09:22:45 -04:00
Michael Kirk
873d8ff2bc include emails in contat hash
// FREEBIE
2017-05-11 17:56:28 -04:00
Michael Kirk
5ac08dfeb4 hashable method to detect when contact has changed
// FREEBIE
2017-05-11 12:59:03 -04:00
Matthew Chen
2dc7c7cf29 Merge branch 'charlesmchen/examplePhoneNumbers' 2017-05-10 16:11:41 -04:00
Matthew Chen
150c166a60 Show example phone numbers.
// FREEBIE
2017-05-10 16:11:34 -04:00
Matthew Chen
fb3e2557e0 Show example phone numbers.
// FREEBIE
2017-05-10 16:11:34 -04:00
Matthew Chen
2bb7459303 Merge branch 'charlesmchen/phoneNumberParsing' 2017-05-10 14:59:04 -04:00
Matthew Chen
587d035019 Don’t ignore “unnamed” phone numbers.
// FREEBIE
2017-05-10 14:58:57 -04:00