Commit Graph

6158 Commits (8fff98d94eb6fc0259f06a6ec6a02851cfc39f11)

Author SHA1 Message Date
Michael Kirk ab91fedc3e sync translations 6 years ago
Michael Kirk 58d99a480f Notify iOS9 users occasionally that iOS10 will soon be required 6 years ago
Matthew Chen 3ce3f9faaa Add accessibilityIdentifiers to conversation settings view. 6 years ago
Matthew Chen f073dd9a52 Add accessibilityIdentifiers to conversation settings view. 6 years ago
Matthew Chen d253c5aa91 Add accessibilityIdentifiers to conversation view. 6 years ago
Matthew Chen 50888b20d2 Add accessibilityIdentifiers to 'new group thread' view. 6 years ago
Matthew Chen 4188993fc5 Add accessibilityIdentifiers to 'new contact thread' view. 6 years ago
Matthew Chen 95e125d55e Simplify usage of accessibilityIdentifiers. 6 years ago
Matthew Chen 2d854406a1 Add accessibilityIdentifiers to home view. 6 years ago
Michael Kirk 2464fe230d sync translations 6 years ago
Michael Kirk ed6b461662 search icon 6 years ago
Michael Kirk c37fb42c7a "Bump build to 2.38.0.7." 6 years ago
Matthew Chen a6e00c8fec Respond to CR. 6 years ago
Matthew Chen a7ae79aaad Ignore keyboard notifications while the view is disappearing or has disappeared. 6 years ago
Matthew Chen 8c345d0878 "Bump build to 2.38.0.6." 6 years ago
Matthew Chen 85d58d3396 Improve handling of call intents. 6 years ago
Michael Kirk e3cc8bb101 Keep results bar visible when dismissing keyboard or returning to view. 6 years ago
Michael Kirk 3850ca29b0 Bigger hack to fix problem with lesser hack.
There were two symptoms to this bad "leave app while dismissing keyboard"
state...

The first, most noticeable symptom was that the main window no longer respected
the device orientation. This was caused by UIKit temporarily disabling
autorotate during an interactive keyboard dismissal, and not cleaning up after
itself when we hid the window mid dismissal due to our screen protection
feature. This was solved previously in: ca0a555f8

The second symptom remained, and is solved by this commit. Wherein after
getting in this bad state, the interactive keyboard dismiss function behaves
oddly. Normally when interactively dismissing the keyboard in a scroll view,
the keyboard top follows your finger, until you lift up your finger, at which
point, depending on how close you are to the bottom, the keyboard should
completely dismiss, or cancel and return to its fully popped position. In the
degraded state, the keyboard would follow your finger, but when you lifted your
finger, it would stay where your finger left it, it would not complete/cancel
the dismiss.

The solution is, instead of only re-enabling autorotate, to use a higher level
private method which is called upon complete/cancellation of the interactive
dismissal. The method, `UIScrollToDismissSupport#finishScrollViewTransition`,
as well as re-enabling autorotate, does some other work to restore the UI to
it's normal post interactive-keyboard-dismiss gesture state.

For posterity here's the decompiled pseudocode:

```
/* @class UIScrollToDismissSupport */
-(void)finishScrollViewTransition {
    *(int8_t *)&self->_scrollViewTransitionFinishing = 0x0;
    [self->_controller setInterfaceAutorotationDisabled:0x0];
    [self hideScrollViewHorizontalScrollIndicator:0x0];
    ebx = *ivar_offset(_scrollViewNotificationInfo);
    [*(self + ebx) release];
    *(self + ebx) = 0x0;
    esi = *ivar_offset(_scrollViewForTransition);
    [*(self + esi) release];
    *(self + esi) = 0x0;
    return;
}
```
6 years ago
Matthew Chen 1b9eb3c572 Ensure Callkit is enabled for locale. 6 years ago
Matthew Chen 40c9c196aa Fix memory leaks. 6 years ago
Matthew Chen 882dd16d7c Apply presentAlert() throughout codebase. 6 years ago
Matthew Chen c9d62f47cc Respond to CR. 6 years ago
Matthew Chen 1a80f0c293 Add accessibility identifiers to privacy popups and subviews. 6 years ago
Matthew Chen cb5ce42e76 Add accessibility identifiers to privacy popups and subviews. 6 years ago
Matthew Chen f37a3059fa Add accessibility identifiers to debug log popups. 6 years ago
Matthew Chen 81508e9d02 Add accessibility identifiers to settings popups. 6 years ago
Matthew Chen f1520d760e Add accessibility identifiers to other settings views. 6 years ago
Matthew Chen b48e204b90 Add accessibility identifiers to notification settings views. 6 years ago
Matthew Chen 02340864f8 Add accessibility identifiers to blocklist view. 6 years ago
Matthew Chen f7d86028da Add accessibility identifiers to profile view. 6 years ago
Matthew Chen c619f815b5 Add accessibility identifiers to app settings view. 6 years ago
Matthew Chen 6ee4317590 Add "track" to attachment download progress indicator. 6 years ago
Matthew Chen c2c08d0712 Remove overzealous valid media asserts. 6 years ago
Matthew Chen 31b4612746 Rework attachment download progress for generic attachments. 6 years ago
Matthew Chen 5df4a0bc17 Rework attachment download progress for audio files. 6 years ago
Michael Kirk 93c9c83ac5 Haptic feedback when remote enables video 6 years ago
Michael Kirk 179dec299f Show hint when other party enables video 6 years ago
Michael Kirk 6ccd73837c rename haptic classes, no change in functionality 6 years ago
Michael Kirk 7d72244315 autogenstrings 6 years ago
Michael Kirk 96dda0cacf "Bump build to 2.38.0.5." 6 years ago
Matthew Chen 9fe3aa06ed Respond to CR. 6 years ago
Matthew Chen 6ab8ea9b6e Respond to CR. 6 years ago
Matthew Chen a8e9b87f03 Rework menu actions focus item layout. 6 years ago
Matthew Chen 4f06e6dd6e Conversation view always observes view model. 6 years ago
Michael Kirk 0b638f4831 link checks 6 years ago
Michael Kirk 134cade52c fix longtext layout: though text content should be inset from the edges, the
scrollbar should abut the edge of the screen.
6 years ago
Michael Kirk 78ce3583ed fix rotation issue 6 years ago
Matthew Chen 6cc28bdf8f Redraw message bubbles when corner state changes. 6 years ago
Matthew Chen e66b45f6ce Fix spurious 'now' labels in date formatting. 6 years ago
Matthew Chen df4cf5c09e Respond to CR. 6 years ago
Matthew Chen b6724ee181 Clean up ahead of PR. 6 years ago
Matthew Chen 936aa5842d Clean up ahead of PR. 6 years ago
Matthew Chen 4bfa251321 Ensure constant bubble sizes for oversize text. 6 years ago
Matthew Chen 67c89cb4e3 Ensure constant bubble sizes for oversize text. 6 years ago
Matthew Chen dc168270c2 Ensure constant bubble sizes for generic attachments. 6 years ago
Matthew Chen 3702dfa198 Rework "upload progress", "download progress" and "tap to retry" states. 6 years ago
Matthew Chen d1447d0730 Ensure constant bubble sizes for audio media. 6 years ago
Matthew Chen 14e7274c3d Ensure constant bubble sizes for visual media. 6 years ago
Matthew Chen c180d20dcd Store media size from attachment pointer protos. 6 years ago
Matthew Chen 991974ee35 Add accessibility identifiers in the onboarding views. 6 years ago
Matthew Chen 79d6384bc9 Add accessibility identifiers to privacy settings view. 6 years ago
Matthew Chen 99cd3f9b26 Use accessibility identifier macros in UIUtil.h. 6 years ago
Nancy Mast 189bbb9f16 added accessibility ids to HomeViewController and ProfileViewController 6 years ago
Matthew Chen d76fac1096 Add accessibility identifiers in the onboarding views. 6 years ago
Matthew Chen c37f425d5f Reduce logging. 6 years ago
Matthew Chen 6c6e516a3a "Bump build to 2.38.0.4." 6 years ago
Michael Kirk 89dce94986 "Bump build to 2.38.0.3." 6 years ago
Michael Kirk 9d5d120e69 recording button design changes 6 years ago
Michael Kirk d26c47ceba grow button as recording starts 6 years ago
Matthew Chen 3b008ad963 Fix conversation view content offset and scroll down button layout. 6 years ago
Michael Kirk 284357137f Photo/Movie Capture 6 years ago
Michael Kirk 95b11ddf8c Merge tag '2.37.2.0' 6 years ago
Matthew Chen b7d3a99f39 Update "crop lock" assets. 6 years ago
Matthew Chen d80f086f31 Rework attachment captioning. 6 years ago
Michael Kirk 256d308e30 pull latest translations 6 years ago
Michael Kirk a342660943 fix "none" notification tone 6 years ago
Michael Kirk d5664dae4b Change to non-crashing assert 6 years ago
Michael Kirk 72ab6507ea fix crash when presenting alerts on iOS9 6 years ago
Michael Kirk 6d6d1de782 "Bump build to 2.37.2.0." 6 years ago
Michael Kirk 268dd33e7d Change to non-crashing assert 6 years ago
Matthew Chen 745ec2adb8 Remove top gradient from attachment approval. 6 years ago
Matthew Chen 66efcb4639 Update rail icons. 6 years ago
Matthew Chen 7521b3a145 Update "attachment has caption" indicator. 6 years ago
Matthew Chen cea361705e Update asset for "add more images to album" button. 6 years ago
Matthew Chen 7a67a7b6b5 Hide the status bar in the image picker / attachment approval. 6 years ago
Matthew Chen 6e492927d1 Prevent users from selecting additional images while processing images in the image picker. 6 years ago
Matthew Chen 0aebac0d07 Fix layout of the 'scroll down' button. 6 years ago
Matthew Chen 0a1947c961 Dismiss message actions UI on orientation change. 6 years ago
Matthew Chen 41a2a954f5 Dismiss message actions UI on orientation change. 6 years ago
Matthew Chen 6fe3ce6d87 Deconflict "bottom view" layout and keyboard animations. 6 years ago
Matthew Chen d72c26796d Ensure onboarding views never reclaim layout space from dismissed keyboard. 6 years ago
Matthew Chen 3f6080765a "Bump build to 2.37.1.0." 6 years ago
Michael Kirk 1c78350f9a Clear input bar UI earlier in send process for snappier send animation. 6 years ago
Michael Kirk 60bfa7e857 Only fetch contacts if already authorized 6 years ago
Michael Kirk e2fd2c9173 CR: return immutable array 6 years ago
Matthew Chen bf4b9fa704 Merge tag '2.37.0.9' 6 years ago
Michael Kirk c5da7c67d5 "Bump build to 2.37.0.9." 6 years ago
Michael Kirk 32150fa7fb pull translations 6 years ago
Michael Kirk 913ae2b801 Show suggested contacts upon first entry into HomeView. 6 years ago
Michael Kirk 9fa0308d95 exclude self from "suggested contacts" 6 years ago
Michael Kirk 932d02b937 fixup tests 6 years ago
Michael Kirk e8dffb4a08 update translations 6 years ago
Michael Kirk be523d5fe9 Merge branch 'release/2.37.0' 6 years ago
Michael Kirk 22c78f9177 Bump build to 2.37.0.8.
Thanks to teor at The Tor Project for suggesting the improvements reflected in these commits:

daa58c2ac8
63235ec1f1
aaac445c51
6 years ago
Michael Kirk 8527283d64 "Bump build to 2.37.0.7." 6 years ago
Michael Kirk 42e6b76a9f sync translations 6 years ago
Michael Kirk 2850266d0b Only show "missed call" notification for incoming calls
Show outgoing missed and busy calls as "incomplete outgoing call - [call back]"
6 years ago
Matthew Chen aba6eb329d "Bump build to 2.38.0.2." 6 years ago
Matthew Chen 9a6c362294 "Bump build to 2.38.0.1." 6 years ago
Matthew Chen 70a163f3fa Respond to CR. 6 years ago
Matthew Chen d006f4a298 Improve cramped layouts in onboarding views. 6 years ago
Matthew Chen 4fac50be6c Remove spurious error in onboarding verification process. 6 years ago
Matthew Chen e992ff3bcf Fix glitch in presentation animations for onboarding views. 6 years ago
Matthew Chen 2112f04abb Fix layout of "first conversation" prompt. 6 years ago
Matthew Chen 14c5c21180 Fix size of "empty home view" image. 6 years ago
Matthew Chen 7912c338ab Update onboarding splash copy.
Update onboarding splash copy.
6 years ago
Matthew Chen 3b56b2fb4c "Bump build to 2.38.0.0." 6 years ago
Matthew Chen 63637af240 Clean up ahead of PR. 6 years ago
Matthew Chen dc4e174e86 Clean up ahead of PR. 6 years ago
Matthew Chen a630974e76 Use navigation bar for image editor buttons. 6 years ago
Michael Kirk 77b1a2a728 "Bump build to 2.37.0.6." 6 years ago
Michael Kirk d44a824a36 sync translations 6 years ago
Michael Kirk 72e0d2c20a Only render visual media as album
This check was enforced for AttachmentStreams, but not AttachmentPointers
6 years ago
Michael Kirk 71dd4eb151 in-conversation search
- use MediaTime for computing benchmarks
6 years ago
Matthew Chen d08445969d Generate gradient for color picker. 6 years ago
Matthew Chen e01f39e8e1 Apply image editor design. 6 years ago
Matthew Chen de27ed8728 Add color palette to image editor. 6 years ago
Michael Kirk 3be41e8c25 Unless you're on a call, all windows respect the orientation mask of the
primary app visible VC.

Fixes:
- Avoid flicker when forgrounding onboarding while in landscape
- Fix status bar in landscape while fingerprint is portrait, same with device linker
6 years ago
Michael Kirk 530a07f8ca sync translations 6 years ago
Michael Kirk c48679abfd "Bump build to 2.37.0.5." 6 years ago
Michael Kirk b11308b2f8 Return to conversation after deleting long text 6 years ago
Michael Kirk 5361720b19 log token in debug 6 years ago
Michael Kirk 5bd3cec6dc Merge tag '2.36.1.0' 6 years ago
Michael Kirk 13154fb828 allow long text with non-durable sends (SAE) 6 years ago
Matthew Chen 7711ee92a7 Revert "Conversation view always observes view model."
This reverts commit 9d39e829a44f28f324f79e0b74a6c8692678d788.
6 years ago
Matthew Chen 6ed4045fbe Conversation view always observes view model. 6 years ago
Matthew Chen 56e5feca46 Introduce ConversationSnapshot. 6 years ago
Matthew Chen 586b362b89 Introduce ConversationSnapshot. 6 years ago
Matthew Chen 5eaeeff838 Use content proxy to configure all proxied content requests. 6 years ago
Michael Kirk 91e83da440 reflect new build params in plist 6 years ago
Michael Kirk 2c961380c0 update translations 6 years ago
Matthew Chen 72082edad8 Fix a visual bug that would sometimes occur while rendering settings switches. Thanks to Gunnar C. Pope for the bug report. 6 years ago
Michael Kirk c15084c6f4 "Bump build to 2.36.1.0." 6 years ago
Michael Kirk 233bc3858b dismiss menu actions when selected item is deleted 6 years ago
Michael Kirk 7b174e9b02 correct constants.
This test appears to be testing real-world iPhone dimensions, but the expected
results were all based on the previous test which tests convenient "round"
numbers.
6 years ago
Michael Kirk c6a3772a5e clearer constant names 6 years ago
Michael Kirk 7e5256856c render media+longText message 6 years ago
Michael Kirk bc4260b444 Send long-text with other attachments 6 years ago
Michael Kirk a218d6c465 Send first chars of longtext in protobuf 6 years ago
Michael Kirk 59cd140477 "Bump build to 2.37.0.4." 6 years ago
Michael Kirk 680b844f3c Allow all windows to do landscape, fixes:
1. Remove undesirable animation from portrait->landscape when minimizizing in
   landscape and relaunching in landscape.

2. This also seems to fix the intermittently misplaced toolbar when launching
   in landscape. I believe this is a consequence of fix #1
6 years ago
Michael Kirk fabd3996c2 pop view if message is deleted
- use global ui database connection
6 years ago
Matthew Chen d14386430a Update camera asset in onboarding profile view. 6 years ago
Matthew Chen 9402e088b2 Apply design feedback from Myles. 6 years ago
Matthew Chen 93e09be18e Apply design feedback from Myles. 6 years ago
Matthew Chen aa8fd9e69c Remove old registration views. 6 years ago
Matthew Chen 88dcd83852 Merge branch 'charlesmchen/conversationSnapshotBuild' 6 years ago
Matthew Chen 67632a48e6 Revert "Introduce ConversationSnapshot."
This reverts commit 9471f24cf3.
6 years ago
Matthew Chen 3f1312da6b Revert "Introduce ConversationSnapshot."
This reverts commit 8b3d08c7e3.
6 years ago
Michael Kirk cdb8663c81 fix up selecting after url case 6 years ago
Michael Kirk 467dde2bc9 Try to avoid generating link previews while user is actively editing the URL 6 years ago
Matthew Chen dd1d02593a Fix "first conversation cue" visibility. 6 years ago
Matthew Chen 01cc5cb36a "Bump build to 2.37.0.3." 6 years ago
Matthew Chen 8b3d08c7e3 Introduce ConversationSnapshot. 6 years ago
Matthew Chen 9471f24cf3 Introduce ConversationSnapshot. 6 years ago
Matthew Chen a6ee64fe75 "Bump build to 2.37.0.2." 6 years ago
Matthew Chen 29b49d6f43 Enable new onboarding in production. 6 years ago
Matthew Chen 8ecad88674 Move the accessibility identifier macros into UIUtil.h. 6 years ago
Nancy Mast d0e4e081ef added accessibility ids to HomeViewController and ProfileViewController 6 years ago
Matthew Chen a02531d224 Add accessibility identifiers to registration view. 6 years ago
Michael Kirk 0dc0ef6448 "Bump build to 2.37.0.1." 6 years ago
Michael Kirk 247eab22ca reenable UNUserNotifications 6 years ago
Michael Kirk 4b38653ee5 "Bump build to 2.37.0.0." 6 years ago
Michael Kirk d26c095fe7 Merge remote-tracking branch 'origin/release/2.36.0' 6 years ago
Matthew Chen 4d4b840787 Respond to CR. 6 years ago
Matthew Chen ef5cd5344e Fix the auto-format of phone numbers in the onboarding views. 6 years ago
Matthew Chen f7d659bdef Clean up onboarding changes. 6 years ago
Matthew Chen 850b369076 Clean up onboarding changes. 6 years ago
Matthew Chen 3bb49e7d76 Respond to CR. 6 years ago
Matthew Chen d5944b4b9d Add first conversation prompt. 6 years ago
Matthew Chen c4cc5f5744 Rework 'empty inbox' state of home view. 6 years ago
Matthew Chen edf09c92f4 Rework "empty inbox" state. 6 years ago
Matthew Chen 0b55ecc682 Sketch out the 'onboarding 2FA' view. 6 years ago
Matthew Chen 3ac77e5b01 Sketch out the 'onboarding profile' view. 6 years ago
Matthew Chen ab3b79cfe5 Sketch out the 'onboarding profile' view. 6 years ago
Matthew Chen afcacbb55c Sketch out the 'onboarding profile' view. 6 years ago
Matthew Chen e3946e5779 Sketch out the 'onboarding code verification' view. 6 years ago
Matthew Chen e1dc534fe6 Respond to CR. 6 years ago
Michael Kirk 35f79c1e9f "Bump build to 2.36.0.7." 6 years ago
Michael Kirk 4aaac90d31 sync translations 6 years ago
Michael Kirk 0d5f9e0103 Disable UserNotifications for this release 6 years ago
Michael Kirk 6c08f98fbb replying to notification marks thread as read 6 years ago
Matthew Chen b4aec58795 Sketch out the 'onboarding code verification' view. 6 years ago
Matthew Chen 854a75ae65 Sketch out the 'onboarding code verification' view. 6 years ago
Matthew Chen c2b2d38f24 Sketch out the 'onboarding code verification' view. 6 years ago
Matthew Chen efe5513c4e Sketch out the 'onboarding code verification' view. 6 years ago
Matthew Chen 1f922aa478 Sketch out the 'onboarding code verification' view. 6 years ago
Matthew Chen d193eec371 Sketch out the 'onboarding code verification' view. 6 years ago
Matthew Chen ead71d436e Clean up ahead of PR. 6 years ago
Matthew Chen ee200aaed8 Add validation warnings to 'onboarding phone number' view. 6 years ago