Commit Graph

831 Commits

Author SHA1 Message Date
Matthew Chen
f68e40f7d8 Add animated gif UTI types to attachment.
// FREEBIE
2017-03-23 17:18:15 -04:00
Matthew Chen
d320cef1a9 Fix play button for incoming video attachments.
// FREEBIE
2017-03-23 17:16:13 -04:00
Michael Kirk
6466e9f41f [SSK] Better logging for envelopes
Leave last 3 digits of recipientId when scrubbing logs.

This is in line with other Signal clients, and makes it possible to
trace interactions.

// FREEBIE
2017-03-23 17:10:26 -04:00
Matthew Chen
58eb77e073 Use “stop” not “cancel” buttons.
// FREEBIE
2017-03-23 13:46:41 -04:00
Michael Kirk
cebfc479f8 Fixup acf3a6e syntax
// FREEBIE
2017-03-22 22:25:23 -04:00
Michael Kirk
ab2bfb3a67 Fix spacing of custom back button
...and use it (only) in Messages VC

Otherwise we'd have to do lots of manual handling of
interactivePopGesture

// FREEBIE
2017-03-22 21:56:45 -04:00
Michael Kirk
c182a05961 Fix swipe-back-to-pop gesture.
The interactivePopGestureRecognizer machinery doesn't work when you have
a custom back button.

// FREEBIE
2017-03-22 21:56:45 -04:00
Michael Kirk
0a09330d35 Delete unused code
// FREEBIE
2017-03-22 21:56:45 -04:00
Matthew Chen
e724acc978 Respond to CR.
// FREEBIE
2017-03-22 17:02:42 -04:00
Matthew Chen
c6a280e005 Only initiate WebRTC calls, not RedPhone calls.
// FREEBIE
2017-03-22 17:02:42 -04:00
Matthew Chen
814c6d2505 Only initiate WebRTC calls, not RedPhone calls.
// FREEBIE
2017-03-22 17:02:42 -04:00
Michael Kirk
8973881d3d Fix switches for those who like to "slide"
There's more than one way to flip a switch.

// FREEBIE
2017-03-22 15:38:00 -04:00
Michael Kirk
d76d04b8e8 Fixup 4814edf3d3
// FREEBIE
2017-03-22 15:27:55 -04:00
Michael Kirk
0b81523597 Clearer logging and added an assert per CR
// FREEBIE
2017-03-22 15:03:04 -04:00
Michael Kirk
6036e20079 Filter high diacritical text, regardless of length
// FREEBIE
2017-03-22 14:59:29 -04:00
Michael Kirk
eb0399f040 Fix "Call failed" due to deadlock when immediately terminating call
It's not clear why we were ever dispatching `sync` here.

Before this:

Place a call
See "connecting..."
Hang up
UI hangs for ~5 seconds
See "call failed" on CallKit screen
Press "cancel" on CallKit screen
returned to responsive app.

// FREEBIE
2017-03-22 10:48:37 -04:00
Matthew Chen
81ed045718 Disable the "scroll to new message" animation.
// FREEBIE
2017-03-22 09:46:25 -04:00
Matthew Chen
b9b81ca8ef Honor call privacy settings in call notifications.
// FREEBIE
2017-03-22 09:41:08 -04:00
Michael Kirk
da32570dc6 [SSK] remove convoluted dependency
Moved query method to PhoneNumberUtil since that's they only caller.
Moved corresponding tests to SSK

// FREEBIE
2017-03-20 15:35:09 -04:00
Michael Kirk
c39a26659e Merge pull request #1860 from WhisperSystems/mkirk/intern-pastelog
Intern pastelog
2017-03-20 14:38:29 -04:00
Matthew Chen
97210b4073 Respond to CR.
// FREEBIE
2017-03-20 13:37:41 -04:00
Matthew Chen
bf2db32f85 Respond to CR.
// FREEBIE
2017-03-20 12:55:35 -04:00
Matthew Chen
539e665589 Respond to CR.
// FREEBIE
2017-03-20 12:55:35 -04:00
Matthew Chen
f0e7e635f2 Respond to CR.
// FREEBIE
2017-03-20 12:55:35 -04:00
Matthew Chen
9ae047a1da Add progress & disable media views while uploading attachments.
// FREEBIE
2017-03-20 12:55:35 -04:00
Matthew Chen
3dc7f2528f Align the message state indicators with the behavior on Android and desktop.
// FREEBIE
2017-03-20 12:55:35 -04:00
Matthew Chen
442546fba8 Align the message state indicators with the behavior on Android and desktop.
// FREEBIE
2017-03-20 12:55:35 -04:00
Matthew Chen
1820fdbde8 Merge remote-tracking branch 'origin/hotfix/2.8.3' 2017-03-20 12:55:05 -04:00
Michael Kirk
42975e44e8 better debug log copy
"Email Support" and "Open a Bug Report"

// FREEBIE
2017-03-17 17:41:23 -04:00
Michael Kirk
8adba61b37 intern Pastelog back into Signal.
Not worth the cocaopods/framework/project mgmt machinery for making
changes to 1 class.

// FREEBIE
2017-03-17 17:37:32 -04:00
Matthew Chen
b9705cfe06 Fix sending attachments from the camera.
// FREEBIE
2017-03-17 08:42:21 -03:00
Michael Kirk
1e3f0fffeb Invert logging condition. (#1855)
We don't want to log here normally, only when we detect weird strings.

// FREEBIE
2017-03-16 17:17:25 -04:00
Matthew Chen
a226a4a1b3 Respond to CR.
// FREEBIE
2017-03-16 15:04:59 -03:00
Matthew Chen
e5fdaa1323 Fix filtering of country codes in registration flow.
* Filtering wasn't working; it has been fixed.
* I've added support for arbitrary partial matches and matching based on country code and calling code.

// FREEBIE
2017-03-16 15:01:46 -03:00
Matthew Chen
3440746173 Respond to CR.
// FREEBIE
2017-03-16 14:44:12 -03:00
Matthew Chen
e6e4290fa9 Limit size of outgoing text messages.
// FREEBIE
2017-03-16 14:43:18 -03:00
Matthew Chen
82179c6d47 Respond to CR.
// FREEBIE
2017-03-16 14:34:34 -03:00
Matthew Chen
3048a0146f Fix non-contact lookup for non-US users.
// FREEBIE
2017-03-16 14:34:17 -03:00
Matthew Chen
47df77f38c Only run "enable video calling" migration if user is registered.
// FREEBIE
2017-03-16 10:59:10 -03:00
Michael Kirk
62073a14a5 Maintain AR when scaling avatar
// FREEBIE
2017-03-15 16:35:38 -04:00
Matthew Chen
19aac08bec Fix thread-safety assert when sending video attachments.
// FREEBIE
2017-03-14 23:05:21 -03:00
Michael Kirk
aa268e36c2 This constructor can return nil
seeing frequent crash in the wild on this line, maybe this is why?

// FREEBIE
2017-03-14 18:59:48 -04:00
Michael Kirk
3ee1d5568c Migrate existing users to RTC calling
// FREEBIE
2017-03-14 18:59:48 -04:00
Matthew Chen
dc422f7b00 Convert "is logging enabled" methods to class methods so that they can safely be used before Environment has been initialized.
// FREEBIE
2017-03-14 17:59:36 -04:00
Matthew Chen
5a130703f9 Update conversation view title when group name changes.
// FREEBIE
2017-03-14 12:20:51 -03:00
Matthew Chen
081956c2b4 Update conversation view title when group name changes.
// FREEBIE
2017-03-14 12:20:51 -03:00
Matthew Chen
1c95eb5d51 Respond to CR.
// FREEBIE
2017-03-14 10:34:11 -03:00
Matthew Chen
43857a4c78 Respond to CR.
// FREEBIE
2017-03-14 10:25:03 -03:00
Matthew Chen
68838dbaa7 Respond to CR.
// FREEBIE
2017-03-14 10:25:03 -03:00
Matthew Chen
bcf43683f6 Respond to CR.
// FREEBIE
2017-03-14 10:25:03 -03:00