Commit graph

942 commits

Author SHA1 Message Date
Matthew Chen
71007cc3d1 Respond to CR.
// FREEBIE
2017-04-05 09:09:14 -04:00
Matthew Chen
dcb7eef3fc Respond to CR.
// FREEBIE
2017-04-05 09:09:13 -04:00
Matthew Chen
54cd8cfa3c Add blacklist controls to 1:1 conversation view.
// FREEBIE
2017-04-05 09:09:13 -04:00
Matthew Chen
5fa1a3630f Respond to CR.
// FREEBIE
2017-04-04 09:32:26 -04:00
Matthew Chen
8dadc3ba22 Don’t update contacts in the blacklist views.
// FREEBIE
2017-04-04 09:12:11 -04:00
Matthew Chen
6c1d46c4d7 Use contact names where possible in the block list view.
// FREEBIE
2017-04-04 09:12:11 -04:00
Matthew Chen
a7296db1fe Add contacts list to “add blocked number” view.
// FREEBIE
2017-04-04 09:12:11 -04:00
Matthew Chen
2e0c95c379 Respond to CR.
// FREEBIE
2017-04-03 17:49:06 -04:00
Matthew Chen
db31454320 Respond to CR.
// FREEBIE
2017-04-03 17:49:06 -04:00
Matthew Chen
89e244ee0a Update to reflect changes to SSK.
// FREEBIE
2017-04-03 17:49:06 -04:00
Matthew Chen
8578390ee9 Clean up blocklist views.
// FREEBIE
2017-04-03 17:49:06 -04:00
Matthew Chen
922d48904f Refine BlockListViewController and AddToBlockListViewController.
// FREEBIE
2017-04-03 17:49:06 -04:00
Matthew Chen
271cc6f07e Sketch out BlockListViewController and AddToBlockListViewController.
// FREEBIE
2017-04-03 17:49:06 -04:00
Matthew Chen
a155df161f Pull out OWSTableViewController.
// FREEBIE
2017-04-03 17:49:06 -04:00
Matthew Chen
5ff454fd90 Fix double creation of NotificationsManager singleton.
// FREEBIE
2017-03-31 23:25:30 -04:00
Matthew Chen
8374ca149e Apply assert to ensure singletons are only created once.
// FREEBIE
2017-03-31 18:45:51 -04:00
Matthew Chen
d00c892158 Apply assert to ensure singletons are only created once.
// FREEBIE
2017-03-31 18:36:30 -04:00
Michael Kirk
9eb746a7a0 Fix crash when viewing changed safety numbers
Instantiate fingerprintVC programmatically since MVC was not built from
the storyboard and thus doesn't have it's storyboard-defined segues.

// FREEBIE
2017-03-31 14:53:28 -04:00
Michael Kirk
d2732751ad New debug action: print sessions
// FREEBIE
2017-03-31 13:51:38 -04:00
Matthew Chen
7306803ae7 Add explicit calling code state to registration view.
// FREEBIE
2017-03-31 13:25:03 -04:00
Matthew Chen
d12a582ee3 Rename source directories with a space in their name.
// FREEBIE
2017-03-31 11:58:52 -04:00
Michael Kirk
7f239c8040 [SSK] + Enforce singleton access for MessagesManager and MessageSender
// FREEBIE
2017-03-31 10:41:46 -04:00
Matthew Chen
7058a58d2e Bump maximum animated GIF file size to 25mb.
// FREEBIE
2017-03-30 16:30:13 -04:00
Michael Kirk
0b49037179 Remove some more RP related code
// FREEBIE
2017-03-30 11:00:28 -04:00
Matthew Chen
3765d28da9 Respond to CR.
// FREEBIE
2017-03-30 10:01:52 -04:00
Matthew Chen
4649fcfd20 Add "oversize test message" view.
// FREEBIE
2017-03-30 09:51:49 -04:00
Matthew Chen
5a2d4ce625 Hide keyboard when scrolling in country code view.
// FREEBIE
2017-03-30 09:29:06 -04:00
Matthew Chen
a9f2382e85 Change alignment of image view’s share button.
// FREEBIE
2017-03-30 09:25:55 -04:00
Matthew Chen
bc2e292a63 Add share button to image view.
// FREEBIE
2017-03-30 09:24:05 -04:00
Matthew Chen
d85dfb8a4e Improve support for arbitrary attachments.
// FREEBIE
2017-03-30 09:20:45 -04:00
Matthew Chen
7c9c4668fe Fix typo that causes crash.
// FREEBIE
2017-03-29 16:55:56 -04:00
Matthew Chen
7b84019251 Respond to CR.
// FREEBIE
2017-03-29 14:49:26 -04:00
Matthew Chen
3d451846a6 Fix build break.
// FREEBIE
2017-03-29 14:37:14 -04:00
Matthew Chen
b0aa71fd40 Apply DisplayableTextFilter to oversize text messages.
// FREEBIE
2017-03-29 14:34:42 -04:00
Matthew Chen
80fbc093d9 Handle oversize text messages and arbitrary attachments.
// FREEBIE
2017-03-29 14:34:21 -04:00
Matthew Chen
0dfe020997 Hide new group button if user has no contacts.
// FREEBIE
2017-03-29 12:59:48 -04:00
Matthew Chen
47ae6ccf76 Don't show the "no contacts" mode of new conversation view again after it has been dismissed.
// FREEBIE
2017-03-29 12:59:48 -04:00
Matthew Chen
ff89d07ddb Fix presentation animation of "no contacts" mode of new conversation view.
// FREEBIE
2017-03-29 12:59:48 -04:00
Matthew Chen
b8a7204cd1 Remove "refresh contacts" button; always show "new group conversation" button.
// FREEBIE
2017-03-29 12:59:48 -04:00
Matthew Chen
4694ae8458 Ensure "close new conversation view" always works.
// FREEBIE
2017-03-29 12:59:48 -04:00
Matthew Chen
210bd704e0 Hide keyboard when scrolling the contacts list in new/edit group view.
// FREEBIE
2017-03-29 12:53:47 -04:00
Matthew Chen
77a775bbce Respond to CR.
// FREEBIE
2017-03-29 12:48:50 -04:00
Matthew Chen
6b8d4ea7ae Sketch out debug UI.
// FREEBIE
2017-03-29 12:44:32 -04:00
Matthew Chen
3cb02fcd60 Improve handling of incomplete and failed attachment downloads.
// FREEBIE
2017-03-29 12:36:40 -04:00
Matthew Chen
8a9206d7e7 Improve handling of incomplete and failed attachment downloads.
// FREEBIE
2017-03-29 12:36:40 -04:00
Matthew Chen
9db33a9651 Remove RedPhone code.
// FREEBIE
2017-03-29 12:25:33 -04:00
Michael Kirk
4b52a90c8e Fix test
//FREEBIE
2017-03-28 20:46:34 -04:00
Matthew Chen
06ed552257 Fix translation of “already have an account?” button.
// FREEBIE
2017-03-27 17:21:21 -04:00
Matthew Chen
3fcdffb919 Only enforce CallKit privacy for missed calls if CallKit is present.
// FREEBIE
2017-03-27 12:01:16 -04:00
Matthew Chen
36ea273475 Slightly tweak the appearance of the attachment upload progress bar.
// FREEBIE
2017-03-27 11:59:59 -04:00
Matthew Chen
26371499da Slightly tweak the appearance of the attachment upload progress bar.
// FREEBIE
2017-03-27 11:59:59 -04:00
Matthew Chen
e5024cfe76 Raise max GIF file size and default image upload quality.
// FREEBIE
2017-03-27 11:56:44 -04:00
Matthew Chen
e031e3c389 Respond to CR.
// FREEBIE
2017-03-27 11:54:40 -04:00
Matthew Chen
7aef297a27 Cleanup copy to pasteboard of video and audio.
// FREEBIE
2017-03-27 11:51:51 -04:00
Matthew Chen
86abb43c30 Copy images to pasteboard as data, not UIImage.
// FREEBIE
2017-03-27 11:51:51 -04:00
Matthew Chen
21766732dd Respond to CR.
// FREEBIE
2017-03-27 11:02:28 -04:00
Matthew Chen
b90416f472 Show alerts with relevant error messages when attachment-related errors occur.
// FREEBIE
2017-03-27 09:22:12 -04:00
Matthew Chen
1246fcd99d Rework country views in registration view.
// FREEBIE
2017-03-27 09:13:25 -04:00
Matthew Chen
ca1467ef2e Respond to CR.
// FREEBIE
2017-03-27 09:12:39 -04:00
Matthew Chen
5cab3be67d Log submission of logs.
// FREEBIE
2017-03-26 14:27:46 -04:00
Michael Kirk
0c8da2865e Fix search/replace
// FREEBIE
2017-03-23 20:52:42 -04:00
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