Commit graph

187 commits

Author SHA1 Message Date
Michael Kirk
0b6962cdd0 contacts reminder in compose view
// FREEBIE
2017-05-09 16:21:30 -04:00
Michael Kirk
bf5b6d1e63 Invite Flow when "no contact"
TODO: we should probably just prevent people from getting to the invite
flow when their contacts aren't shared, but still it seems good to fix
these crashes.

// FREEBIE
2017-05-09 16:21:30 -04:00
Michael Kirk
40dead89e5 don't crash invite flow when contacts disabled
// FREEBIE
2017-05-09 16:21:30 -04:00
Matthew Chen
e85aa045e1 Flag voice messages as such in protos.
// FREEBIE
2017-05-09 11:44:35 -04:00
Matthew Chen
29dd62a19a Always clear message drafts after sending a text message.
// FREEBIE
2017-05-09 11:39:40 -04:00
Matthew Chen
4506064aa6 Prefer to determine an attachment’s file extension for its file name if possible.
// FREEBIE
2017-05-09 11:29:33 -04:00
Matthew Chen
0137e01aff Try to deduce attachment MIME type from the file extension if possible.
// FREEBIE
2017-05-09 11:29:33 -04:00
Matthew Chen
2f3831e04b Respond to CR.
// FREEBIE
2017-05-09 10:45:20 -04:00
Matthew Chen
dd3d63623a Pull logging into SyncPushTokensJob.
// FREEBIE
2017-05-09 10:11:19 -04:00
Matthew Chen
716aa772f6 Always sync and log push tokens. Apply OWSAlerts in more places.
// FREEBIE
2017-05-09 10:04:48 -04:00
Matthew Chen
aba29ac5ce Improve logging around SyncPushTokensJob.
// FREEBIE
2017-05-08 17:01:50 -04:00
Matthew Chen
b47337c0ba Respond to CR.
// FREEBIE
2017-05-08 14:24:32 -04:00
Matthew Chen
34a7f9cba5 Respond to CR.
// FREEBIE
2017-05-08 14:24:32 -04:00
Matthew Chen
b21e5c3248 Respond to CR.
// FREEBIE
2017-05-08 14:22:28 -04:00
Matthew Chen
7f92b5a96b Respond to CR.
// FREEBIE
2017-05-08 14:22:28 -04:00
Matthew Chen
7a37de28e5 Clean up ahead of PR.
// FREEBIE
2017-05-08 14:22:28 -04:00
Matthew Chen
bf6d8ec141 Clean up ahead of PR.
// FREEBIE
2017-05-08 14:22:27 -04:00
Matthew Chen
8ecdc8a2eb Move voice memo button to send button.
// FREEBIE
2017-05-08 14:22:27 -04:00
Matthew Chen
c34d61b93f Add cancel-by-swipe of voice memo recording.
// FREEBIE
2017-05-08 14:22:27 -04:00
Matthew Chen
608cb70a3b Add voice memo recording.
// FREEBIE
2017-05-08 14:22:27 -04:00
Matthew Chen
45c8695ab4 Sketch out the voice memo UI.
// FREEBIE
2017-05-08 14:22:27 -04:00
Michael Kirk
fbcda40400 rename class, extract color
per code review

// FREEBIE
2017-05-08 11:15:45 -04:00
Michael Kirk
a58a71f8f4 no contacts banner -> system settings 2017-05-08 11:15:45 -04:00
Matthew Chen
9f4b8d3b0f Slightly reduce the non-contact cell heights in “new 1:1 conversation” view.
// FREEBIE
2017-05-05 21:18:21 -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
1e6fd385b5 Fix assert in conversation settings view.
// FREEBIE
2017-05-05 21:12:36 -04:00
Matthew Chen
0c4351a908 Use SignalAccount class to sync contacts.
// FREEBIE
2017-05-05 20:57:35 -04:00
Michael Kirk
d7c7fff679 Fix some compiler warnings
* explicit optional usage in strings
* remove some unused StringUtil code
* swiftlint affected files
* more concise optional casting (and avoid a `!`)

Compiler warnings: 343 -> 318

(Actually most of these are in external libs, but 115 remain in Signal/SSK)

// FREEBIE
2017-05-05 14:26:29 -04:00
Matthew Chen
45ae8fb067 Respond to CR.
// FREEBIE
2017-05-05 10:42:42 -04:00
Matthew Chen
2bc1d44cd2 Respond to CR.
// FREEBIE
2017-05-05 10:42:42 -04:00
Matthew Chen
1b99671e0e Clean up ahead of PR.
// FREEBIE
2017-05-05 10:42:42 -04:00
Matthew Chen
325134c6e8 Clean up ahead of PR.
// FREEBIE
2017-05-05 10:42:42 -04:00
Matthew Chen
363d84fd2d Update “new conversation” view to use OWSTableView, contacts view helper, etc.
// FREEBIE
2017-05-05 10:42:42 -04:00
Matthew Chen
1444cfc630 Merge remote-tracking branch 'origin/hotfix/2.11.2' 2017-05-04 10:45:12 -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
Matthew Chen
33415eaa0f Respond to CR.
// FREEBIE
2017-05-03 17:05:27 -04:00
Matthew Chen
ae7934c117 Update appearance of audio and generic attachment adapters.
// FREEBIE
2017-05-03 17:05:27 -04:00
Matthew Chen
800715a5e0 Remove waveform from audio message bubbles.
// FREEBIE
2017-05-03 17:05:27 -04:00
Michael Kirk
2f05dcc2c5 fix crash when viewing undisplayable text
(can't init attributed string with nil)

// FREEBIE
2017-05-03 10:22:53 -04:00
Matthew Chen
0f85284b82 Fix speakerphone vs. WebRTC AND Fix CallService edge cases.
// FREEBIE
2017-05-03 09:34:39 -04:00
Matthew Chen
4bc98dba58 Rework the scaling and cropping of group avatars.
// FREEBIE
2017-05-02 12:56:13 -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
2bec1db541 Respond to CR.
// FREEBIE
2017-05-02 10:54:07 -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