Commit Graph

1210 Commits (528b7296d23c2ce6b758f7ca5da212d145134cbf)

Author SHA1 Message Date
Matthew Chen 9db33a9651 Remove RedPhone code.
// FREEBIE
8 years ago
Michael Kirk 4b52a90c8e Fix test
//FREEBIE
8 years ago
Michael Kirk 3957020e0d bump version
// FREEBIE
8 years ago
Michael Kirk d87492bf69 sync translations
// FREEBIE
8 years ago
Matthew Chen 06ed552257 Fix translation of “already have an account?” button.
// FREEBIE
8 years ago
Matthew Chen 90038e928b Sharpen the app icon.
// FREEBIE
8 years ago
Matthew Chen 3cb545eb08 Sharpen the app icon.
// FREEBIE
8 years ago
Matthew Chen 3fcdffb919 Only enforce CallKit privacy for missed calls if CallKit is present.
// FREEBIE
8 years ago
Matthew Chen 36ea273475 Slightly tweak the appearance of the attachment upload progress bar.
// FREEBIE
8 years ago
Matthew Chen 26371499da Slightly tweak the appearance of the attachment upload progress bar.
// FREEBIE
8 years ago
Matthew Chen e5024cfe76 Raise max GIF file size and default image upload quality.
// FREEBIE
8 years ago
Matthew Chen e031e3c389 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 7aef297a27 Cleanup copy to pasteboard of video and audio.
// FREEBIE
8 years ago
Matthew Chen 86abb43c30 Copy images to pasteboard as data, not UIImage.
// FREEBIE
8 years ago
Matthew Chen 21766732dd Respond to CR.
// FREEBIE
8 years ago
Matthew Chen b90416f472 Show alerts with relevant error messages when attachment-related errors occur.
// FREEBIE
8 years ago
Matthew Chen 1246fcd99d Rework country views in registration view.
// FREEBIE
8 years ago
Matthew Chen ca1467ef2e Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 5cab3be67d Log submission of logs.
// FREEBIE
8 years ago
Michael Kirk 8b75bd727d bump build
// FREEBIE
8 years ago
Michael Kirk f9e1b3f2e0 bump build
// FREEBIE
8 years ago
Michael Kirk 55a44c8c4e Bump build
// FREEBIE
8 years ago
Michael Kirk 0c8da2865e Fix search/replace
// FREEBIE
8 years ago
Michael Kirk 730d6419bc Bump build
// FREEBIE
8 years ago
Michael Kirk 4f51dcf2ef bump build
// FREEBIE
8 years ago
Michael Kirk 84bc5b1e67 Pull latest translations
// FREEBIE
8 years ago
Matthew Chen f68e40f7d8 Add animated gif UTI types to attachment.
// FREEBIE
8 years ago
Matthew Chen d320cef1a9 Fix play button for incoming video attachments.
// FREEBIE
8 years ago
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
8 years ago
Matthew Chen 58eb77e073 Use “stop” not “cancel” buttons.
// FREEBIE
8 years ago
Michael Kirk 2564f53060 sync translations
some were just pushed and still need translation

// FREEBIE
8 years ago
Michael Kirk 6a573b87d2 bump release target
// FREEBIE
8 years ago
Michael Kirk cebfc479f8 Fixup acf3a6e syntax
// FREEBIE
8 years ago
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
8 years ago
Michael Kirk c182a05961 Fix swipe-back-to-pop gesture.
The interactivePopGestureRecognizer machinery doesn't work when you have
a custom back button.

// FREEBIE
8 years ago
Michael Kirk 0a09330d35 Delete unused code
// FREEBIE
8 years ago
Matthew Chen e724acc978 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen c6a280e005 Only initiate WebRTC calls, not RedPhone calls.
// FREEBIE
8 years ago
Matthew Chen 814c6d2505 Only initiate WebRTC calls, not RedPhone calls.
// FREEBIE
8 years ago
Michael Kirk 8973881d3d Fix switches for those who like to "slide"
There's more than one way to flip a switch.

// FREEBIE
8 years ago
Michael Kirk d76d04b8e8 Fixup 4814edf3d3
// FREEBIE
8 years ago
Michael Kirk 0b81523597 Clearer logging and added an assert per CR
// FREEBIE
8 years ago
Michael Kirk 6036e20079 Filter high diacritical text, regardless of length
// FREEBIE
8 years ago
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
8 years ago
Matthew Chen 81ed045718 Disable the "scroll to new message" animation.
// FREEBIE
8 years ago
Matthew Chen b9b81ca8ef Honor call privacy settings in call notifications.
// FREEBIE
8 years ago
Michael Kirk da32570dc6 [SSK] remove convoluted dependency
Moved query method to PhoneNumberUtil since that's they only caller.
Moved corresponding tests to SSK

// FREEBIE
8 years ago
Michael Kirk c39a26659e Merge pull request #1860 from WhisperSystems/mkirk/intern-pastelog
Intern pastelog
8 years ago
Matthew Chen 97210b4073 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen bf2db32f85 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 539e665589 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen f0e7e635f2 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 9ae047a1da Add progress & disable media views while uploading attachments.
// FREEBIE
8 years ago
Matthew Chen 3dc7f2528f Align the message state indicators with the behavior on Android and desktop.
// FREEBIE
8 years ago
Matthew Chen 029ae00bb2 Align the message state indicators with the behavior on Android and desktop.
// FREEBIE
8 years ago
Matthew Chen 442546fba8 Align the message state indicators with the behavior on Android and desktop.
// FREEBIE
8 years ago
Matthew Chen 1820fdbde8 Merge remote-tracking branch 'origin/hotfix/2.8.3' 8 years ago
Michael Kirk 42975e44e8 better debug log copy
"Email Support" and "Open a Bug Report"

// FREEBIE
8 years ago
Michael Kirk 8adba61b37 intern Pastelog back into Signal.
Not worth the cocaopods/framework/project mgmt machinery for making
changes to 1 class.

// FREEBIE
8 years ago
Matthew Chen b9705cfe06 Fix sending attachments from the camera.
// FREEBIE
8 years ago
Michael Kirk 1e3f0fffeb Invert logging condition. (#1855)
We don't want to log here normally, only when we detect weird strings.

// FREEBIE
8 years ago
Matthew Chen a264d9aa9b Responding to CR.
// FREEBIE
8 years ago
Matthew Chen a226a4a1b3 Respond to CR.
// FREEBIE
8 years ago
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
8 years ago
Matthew Chen 3440746173 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen e6e4290fa9 Limit size of outgoing text messages.
// FREEBIE
8 years ago
Matthew Chen 82179c6d47 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 3048a0146f Fix non-contact lookup for non-US users.
// FREEBIE
8 years ago
Matthew Chen 47df77f38c Only run "enable video calling" migration if user is registered.
// FREEBIE
8 years ago
Matthew Chen e00449172d bump build
// FREEBIE
8 years ago
Michael Kirk 62073a14a5 Maintain AR when scaling avatar
// FREEBIE
8 years ago
Michael Kirk 861e074c15 clarify call integration copy
// FREEBIE
8 years ago
Matthew Chen 19aac08bec Fix thread-safety assert when sending video attachments.
// FREEBIE
8 years ago
Michael Kirk 8c81b4c82e update translations
// FREEBIE
8 years ago
Michael Kirk fed7569366 bump build
// FREEBIE
8 years ago
Michael Kirk aa268e36c2 This constructor can return nil
seeing frequent crash in the wild on this line, maybe this is why?

// FREEBIE
8 years ago
Michael Kirk 3ee1d5568c Migrate existing users to RTC calling
// FREEBIE
8 years ago
Matthew Chen dc422f7b00 Convert "is logging enabled" methods to class methods so that they can safely be used before Environment has been initialized.
// FREEBIE
8 years ago
Matthew Chen 5a130703f9 Update conversation view title when group name changes.
// FREEBIE
8 years ago
Matthew Chen 081956c2b4 Update conversation view title when group name changes.
// FREEBIE
8 years ago
Matthew Chen 1c95eb5d51 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 43857a4c78 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 68838dbaa7 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen bcf43683f6 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 58e273b1a3 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen bdc729ad29 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 164db41c29 Move TSImageQuality enum.
// FREEBIE
8 years ago
Matthew Chen 27b515ea45 Add AttachmentApprovalViewController.
// FREEBIE
8 years ago
Matthew Chen cd928cd9be Update MessagesViewController to use SignalAttachment.
// FREEBIE
8 years ago
Matthew Chen 7f2810af3f Update MessagesViewController to use SignalAttachment.
// FREEBIE
8 years ago
Matthew Chen ec595f53d0 Gather attachment-related logic in SignalAttachment class.
// FREEBIE
8 years ago
Ian Henderson 58f1a71ce2 Separate safety number camera image into a separate image view so it can be properly centered.
Insted of using fixed image and text insets to try to center this image,
split the image out into a separate view and center it properly using a
constraint.  Touches still pass through to the button underneath.

Fixes #1622.  FREEBIE
8 years ago
Kevin Beaulieu bc1b2fe473 Restrict default avatars to alphanumeric initials (#1519) (#1563) 8 years ago
christophhagen 9178b69f97 Issue1602 + small bug fix FREEBIE (#1799)
- Dismiss Fingerprint View Controller after successful verification
- Restore Fingerprint View Controller layout after failed verification
8 years ago
Kamal Nath Narayanan 153d4addb9 requestAccessForMediaType completionHandler to be called in UI thread. This leads to inconsistent behaviour once the permission is given 8 years ago
Michael Kirk d8c4558c80 [SSK] Attachment digests
// FREEBIE
8 years ago
Matthew Chen 15e14a9b5c Convert "is logging enabled" methods to class methods so that they can safely be used before Environment has been initialized.
// FREEBIE
8 years ago
Michael Kirk fb474a2a1a Bump version
// FREEBIE
8 years ago
Michael Kirk 3b1c5214c7 pull latest translations
// FREEBIE
8 years ago
Michael Kirk 28bcf0fc31 bump build
// FREEBIE
8 years ago
Michael Kirk 3e651fb8df filter undisplayable text
// FREEBIE
8 years ago
Michael Kirk a9b722ae16 bump build
// FREEBIE
8 years ago
Michael Kirk 6e46571627 Fix type error, cast to proper type
// FREEBIE
8 years ago
Michael Kirk 5ec8a24d34 Turn off screen when held to ear
// FREEBIE
8 years ago
Michael Kirk 61a3765cf7 bump build
// FREEBIE
8 years ago
Michael Kirk e3eca4db7b stop videoCapture until video track is enabled to save some battery
Instruments showed a reduction from ~65% -> ~45% while on audio only
call on iPhone5c.

// FREEBIE
8 years ago
Michael Kirk 337c408810 pull latest translations
// FREEBIE
8 years ago
Michael Kirk 3cfcdb8aba Bump build
// FREEBIE
8 years ago
Matthew Chen a26afdbca9 Refine icons and spacing.
// FREEBIE
8 years ago
Michael Kirk f9cb5d4243 bump build
// FREEBIE
8 years ago
Michael Kirk 505aaa3795 tweak copy
// FREEBIE
8 years ago
Michael Kirk bb9d96efc3 pull latest translations
// FREEBIE
8 years ago
Michael Kirk 28af9d33a2 bump build
// FREEBIE
8 years ago
Michael Kirk 9b2eb80392 Code review on new-features
* use page view controller
* UIPageControl instead of arrows for idiomatic swiping
* Nudge title lower
* better hit area for dismiss
* use darker blue for text
* Open privacy settings from callkit update screen
* tweak copy
* latest translations

// FREEBIE
8 years ago
Michael Kirk 6aa6f4895b Combine callkit sections
// FREEBIE
8 years ago
Michael Kirk b371e627c4 one-time carousel of changes
// FREEBIE
8 years ago
Matthew Chen d49d6077da Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 5db7a79356 Fix calling codes in registration flow.
// FREEBIE
8 years ago
Michael Kirk f37b8bac0f Fix test to use updated PeerConnectionClient API
// FREEBIE
8 years ago
Matthew Chen e96692d702 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 012dd3d192 Add “nag” to call settings view that prods the user to change their privacy settings after calls.
// FREEBIE
8 years ago
Matthew Chen ad3b3f924d Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 5d60b7caad Fix back button in “new conversation” view.
// FREEBIE
8 years ago
Matthew Chen c1aea91d1b Fix build break.
// FREEBIE
8 years ago
Michael Kirk b5403175f1 Call sounds - connecting, outgoing ring, busy sound.
Also add vibration for remote hangup so you're not talking to dead air.

// FREEBIE
8 years ago
Matthew Chen 4515b7fbc0 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen a20a21867e Respond to CR.
// FREEBIE
8 years ago
Matthew Chen c35c118dcd Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 01d2582074 Add and honor the “CallKit Privacy” setting.
// FREEBIE
8 years ago
Matthew Chen f5004b27ab Add and honor the “CallKit Privacy” setting.
// FREEBIE
8 years ago
Matthew Chen 065d383c15 Add and honor the “CallKit Privacy” setting.
// FREEBIE
8 years ago
Michael Kirk 4b8a5f8ccb TURN-only option, and for unknown caller
Now, by default, we only use TURN for incoming calls from unknown
contacts. We will potentially directly connect for outgoing calls and
for incoming calls from known contacts.

Optionally, the user can disable direct connection altogether, at the
cost of some call quality.

// FREEBIE
8 years ago
Michael Kirk 7a3da3fa68 Bump release target
// FREEBIE
8 years ago
Matthew Chen f4453eb995 Enable WebRTC-based audio and video calls by default.
// FREEBIE
8 years ago
Matthew Chen 165e5238cf Simplify the prekey check on app launch and activation.
// FREEBIE
8 years ago
Darren W bf3a673443 Add accessibility labels for the Create New Group and Settings navigation bar buttons. FREEBIE. 8 years ago
Michael Kirk e5c6d0db9a fix potential deadlock
// FREEBIE
8 years ago
Matthew Chen a4093a5f7f Respond to CR.
// FREEBIE
8 years ago
Matthew Chen b1744c2b4a Refine the settings button of the home view.
// FREEBIE
8 years ago
Matthew Chen 29b30099a0 Refine icons sizes and layout again.
// FREEBIE
8 years ago
Matthew Chen 353fa57544 Rework messages view's navigation bar.
// FREEBIE
8 years ago
Matthew Chen daa87974dc Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 57c60deda2 Further refine the registration and verification views.
// FREEBIE
8 years ago
Matthew Chen 04409e0cd3 Improve image scaling quality.
// FREEBIE
8 years ago
Matthew Chen 2fb89ae8b4 Merge remote-tracking branch 'origin/release/2.7.1'
// FREEBIE
8 years ago
Matthew Chen ed0c16855d Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 5bd44673ea Add sharing of attachments.
// FREEBIE
8 years ago
Matthew Chen 5d48b126e9 Don’t ignore WebRTC setting changes if user dismisses settings before success.
// FREEBIE
8 years ago
Matthew Chen 927eed7a15 Remove “beta” copy from WebRTC calling setting UI.
// FREEBIE
8 years ago
Matthew Chen 6b2af9ca87 Bump build number to 2.7.1.2.
// FREEBIE
8 years ago
Matthew Chen 34d4d6520a Bump build number.
// FREEBIE
8 years ago
Matthew Chen c7d08fba46 Avoid checking prekeys twice on app launch.
// FREEBIE
8 years ago
Michael Kirk cfecb03968 Update translations
// FREEBIE
8 years ago
Matthew Chen 2b15deaa7a Flush logs before submitting logs.
// FREEBIE
8 years ago
Matthew Chen 89c7bc74ce Bump version and build number.
// FREEBIE
8 years ago
Matthew Chen 49ba0ff942 Flush logs before exiting the app.
// FREEBIE
8 years ago
Matthew Chen dde8132f0e Flush logs before submitting logs.
// FREEBIE
8 years ago
Matthew Chen 6b3fabc0c1 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 1a7425d63d Fix auto-formatting and filtering issues in code verification view.
// FREEBIE
8 years ago
Matthew Chen 3c3f782e7d Clean up prekey usage.
// FREEBIE
8 years ago
Matthew Chen 21e55d3be5 Mark "attempting out" messages as "unsent" on app launch.
// FREEBIE
8 years ago
Matthew Chen a52771e286 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen e48efe01c9 Improve formatting of message view controller.
// FREEBIE
8 years ago
Matthew Chen 3b1cc0dfa2 Fix present & dismiss animations for video attachment view & ensure this view is cleaned up.
// FREEBIE
8 years ago
Matthew Chen 593c3d53d4 Clean up present & dismiss animations for image attachment view.
// FREEBIE
8 years ago
Matthew Chen 6a3b462541 Add save/copy menu to the image attachment view.
// FREEBIE
8 years ago
Matthew Chen 6cf454b3b4 Improve rate-limiting error message in registration and code verification views.
// FREEBIE
8 years ago
Matthew Chen ef8735e238 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen cf828dc1cf Rework “verify code” view.
* Ensure all controls visible at all times, on all form factors, even with keyboard active.
* Improve focus (i.e. auto-focus textfield on arrival and after errors).
* Move to programmatic view creation and layout.
* Improve spacing and sizing.
* Replace “change number” button with “back” button.
* Submit code with return key.
* Improve copy for clarity.

// FREEBIE
8 years ago
Michael Kirk 2791b9551e bump build
// FREEBIE
8 years ago
Michael Kirk 4a8cfde6b3 Sync translations
// FREEBIE
8 years ago
Matthew Chen 97001018ae Clean up prekey logic.
// FREEBIE
8 years ago
Michael Kirk da2cb228ab bump build
// FREEBIE
8 years ago
Michael Kirk b3ce705541 sync translations
// FREEBIE
8 years ago
Michael Kirk 447590ac06 bump build
// FREEBIE
8 years ago
Matthew Chen dea37b422b Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 06a775b41a Improve the call status messages in conversation view.
// FREEBIE
8 years ago
Michael Kirk 3ab65a2c88 Prevent CallKit timeout when placing outgoing call
More fallout from the outbound call timeout which was causing all
CallKit calls not promptly answered to show "Call Failed"

Inserting the timeout exacerbated an existing issue: We can't wait for
long before choosing to fulfill/fail an action without CallKit falling
over and assuming the call failed.

We don't actually need to consider the case where we "fail to initiate"
the outgoing call. Instead we say it started "successfully, and if there
is an error, the existing promise error handling will fail the call at
that time.

// FREEBIE
8 years ago
Michael Kirk 6cdf13ea5f Only time out the intended call
previously a followup call could get clobbered by the previous calls
timeout

// FREEBIE
8 years ago
Matthew Chen 192264e45b Respond to CR.
// FREEBIE
8 years ago
Matthew Chen adfbcc3e27 Update views that show contacts to reflect updates.
// FREEBIE
8 years ago
Michael Kirk c087c56b0c Fix call timeout
- Previously only incoming calls had their timeout promise fulfilled
- Previously we'd stop the timeout once ringing started, but we
should continue the timeout clock until the users are speaking.

// FREEBIE
8 years ago
Michael Kirk 31378d4d9a sync translations
// FREEBIE
8 years ago
Michael Kirk b82584f22c bump build
// FREEBIE
8 years ago
Michael Kirk 2f6bf0e551 Code cleanup per CR
// FREEBIE
8 years ago
Michael Kirk 108720c2e7 End outgoing call with "No Answer" after 2 minutes
// FREEBIE
8 years ago
Michael Kirk 59059bc06c Remove unused code
A couple of weird things left after the CallInitiator refactor:

removed unused segue

confusingly, call direction was *always* incoming, even for outgoing
calls. But we weren't using it anyway.

// FREEBIE
8 years ago
Michael Kirk bf1ed9a277 Don't show callkit description pre-iOS10 (#1722)
// FREEBIE
8 years ago
Michael Kirk 633e4a157e sync latest translations
// FREEBIE
8 years ago
Michael Kirk c3971934fb bump build
// FREEBIE
8 years ago
Matthew Chen 734dec12e9 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen c43063e1d6 Add “interstitial call view” that is shown during lengthy “webrtc supported” check.
// FREEBIE
8 years ago
Matthew Chen fc6035e3ff Fix layout issue with inbox unread count on home view.
// FREEBIE
8 years ago
Michael Kirk c621e3a000 [SSK] Missed calls increment unread counter
Avoid deadlock by moving unrelated DB work out of transaction

// FREEBIE
8 years ago
Michael Kirk dc9ffe40e5 Better translation comments
in response to some confusion received from translators

// FREEBIE
8 years ago
Matthew Chen ce9d9befb3 Prevent device lock during calls.
// FREEBIE
8 years ago
Matthew Chen 7eeac0c6f1 Fix bad frames in remote video.
// FREEBIE
8 years ago
Michael Kirk 6e7c18bbdd sync translations
// FREEBIE
8 years ago
Michael Kirk 31abe1178e bump build
// FREEBIE
8 years ago
Matthew Chen c6a55ee2a5 Refine video icons. 8 years ago