Commit Graph

248 Commits (8fe289feec87763cd774f6796f3848bb1c28a66d)

Author SHA1 Message Date
Matthew Chen bbd689bfd0 Add protocol context to protocol kit. 7 years ago
Matthew Chen d3e16583eb Add protocol context to protocol kit. 7 years ago
Michael Kirk c646f76335 Garther audio concerns, clean up session when done
- sync speakerphone state manipulated from system call screen
  - Revert audio session after call failure, ensures media plays out of
    speaker after placing a failing call.
  - Replace notification with delegate pattern since we're already using
    delegate pattern here.
- Fixes voiceover accessibility after voice memo
- Avoid audio blip after pressing hangup
- Rename CallAudioSession -> OWSAudioSession
  Going to start using it for other non-call things since we want to
  gather all our audio session concerns.
- Resume background audio when done playing video
  - Extract OWSVideoPlayer which ensures audio is in proper state before
    playback
  - Move recording session logic to shared OWSAudioSession
  - Deactivate audio session when complete

// FREEBIE
7 years ago
Michael Kirk e39ca59eeb Merge tag '2.19.5.0' 7 years ago
Matthew Chen fa76e524c4 Respond to CR. 7 years ago
Matthew Chen 9c84bdb105 Add support for images as documents. 7 years ago
Matthew Chen 3609275c20 Handle malformed row updates. 7 years ago
Matthew Chen 069587b150 Add message approval view. 7 years ago
Matthew Chen 992e926142 Unpack oversize text messages if possible. 7 years ago
Michael Kirk baa312f449 Timer button with duration label
// FREEBIE
7 years ago
Michael Kirk f41dfa509c Re-aquire first responder when necessary.
// FREEBIE
7 years ago
Michael Kirk 3ca5ec2726 Ensure media-library permissions when accessing media library
// FREEBIE
7 years ago
Michael Kirk 5dde17d939 Show approval/caption view in app.
ApprovalView/Captioning is shown for:
- Images/Videos from Library
- Images/Video from Camera
- Document Picker
- GIFs

Voice notes are intentionally not captionable.

Also, in main app, hide status bar when ApprovalView is presented

// FREEBIE
7 years ago
Michael Kirk 0c6a42003f clang-format after RI
// FREEBIE
7 years ago
Michael Kirk a423fe8a0e WIP Merge tag '2.19.4.4'
- restore video playback in fullscreen

This was a large merge, so I'm opting to make some changes in separate
commits.
7 years ago
Matthew Chen 17907dca10 Clean up ahead of PR. 7 years ago
Matthew Chen 15b8e58324 Retain changes from session database branch. 7 years ago
Michael Kirk 63c23b77d0 Cleanup presentation view, feels less blurry
// FREEBIE
7 years ago
Michael Kirk 74e03aad01 Fix intermittent content offset problem
Using the CollectionView's frame to determine if we're at the bottom
doesn't make sense unless the collection view is correctly layed out.

// FREEBIE
7 years ago
Matthew Chen e77c3e6717 Retain changes from session database branch. 7 years ago
Michael Kirk 74019b2ae4 Fix keyboard animation glitch after sending
// FREEBIE
7 years ago
Michael Kirk 1ec409ad2b CR: re-enable default keyboard toggle
// FREEBIE
7 years ago
Michael Kirk 8d2934d86e CR: remove unnecessary code, comments
// FREEBIE
7 years ago
Michael Kirk 412fe2735e Rename FullImageViewController -> MediaDetailViewController
// FREEBIE
7 years ago
Michael Kirk 918e3f7dfe Videos play in full-screen media view controller, use modern movie
player.

// FREEBIE
7 years ago
Michael Kirk 81268012e5 Better keyboard management.
- fixes problems on iOS11.2 where emoji keyboard sometimes obscures text
  input.
- better animation for interactive pan gesture when viewing message
  details
- more intuitive swipe-to-dismiss keyboard in conversation view
- converge on one mnethod for dismissing keyboard in conversation view

- [ ] Pop keyboard, then hit attachment, dismisses keyboard, which is
      fine, but the content should immediately scroll down with the
      keyboard, instead it stays up, and scrolls down only once the
      attachment action sheet has been dismissed.

// FREEBIE
7 years ago
sdkjfhsdkjhfsdlkjhfsdf b87079d4b4 Sharing attachment shows progress / retry dialog
// FREEBIE
8 years ago
Matthew Chen 6b0e3508a5 Respond to CR. 8 years ago
Matthew Chen 9258b0883e Clean up TSStorageManager usage. 8 years ago
Matthew Chen 9a990b58e8 Respond to CR. 8 years ago
Matthew Chen 3643414da1 Respond to CR. 8 years ago
Matthew Chen e45d63e862 Clean up ahead of PR. 8 years ago
Matthew Chen 0c9d9ba679 Fix issues around cross process db changes. 8 years ago
Michael Kirk 8996741277 DocumentPicker converts to mp4 when necessary
// FREEBIE
8 years ago
Michael Kirk 031e40d090 Use SignalAttachment logic in conversation view too
// FREEBIE
8 years ago
Matthew Chen 74efcb9041 Rework thread safety in profile manager. 8 years ago
Matthew Chen 80ae5e0fcf Respond to CR. 8 years ago
Matthew Chen 11b4848530 Respond to CR. 8 years ago
Matthew Chen 84061cca9f Change image resizing/quality behavior, preferring smaller images in the common case. 8 years ago
Matthew Chen 125aabb0a3 Change image resizing/quality behavior, preferring smaller images in the common case. 8 years ago
Michael Kirk d9cca77e23 update header references
// FREEBIE
8 years ago
Matthew Chen b4e8df79da Migrate environment to SignalMessaging. 8 years ago
Matthew Chen 6d87df88aa Migrate environment to SignalMessaging. 8 years ago
Matthew Chen bf21d0c0ed Enable logging in SAE; rework log file management to include multiple log directories. 8 years ago
Matthew Chen 64762eb427 Observe YapDatabaseModifiedExternallyNotification. 8 years ago
Michael Kirk fd829ba575 Merge branch 'hotfix/2.19.1' 8 years ago
Michael Kirk a11d83187b WIP: Framework-friendly - compiles but crashes on launch
// FREEBIE
8 years ago
Michael Kirk 9d1e3dc223 We need to change file extensions when converting data
// FREEBIE
8 years ago
Michael Kirk a542471bbe center "Loading More Messages" label
// FREEBIE
8 years ago
Matthew Chen 35bdc86ab5 Reload adjacent rows using original indices, not final indices. 8 years ago
Matthew Chen 71f5ef5940 Improve handling of unread indicator edge cases. 8 years ago
Matthew Chen 2ec1e7e925 Respond to CR. 8 years ago
Matthew Chen 2d241623b7 Improve handling of edge cases around unread indicator delimiting deleted message(s). 8 years ago
Matthew Chen 5ef9d53c91 Update conversation view UI to reflect unread state. 8 years ago
Michael Kirk 370364c936 Scroll down button scrolls to unread
// FREEBIE
8 years ago
Matthew Chen b0c9add29c Update layout of "scroll down button" to reflect RTL. 8 years ago
Matthew Chen 92ef507810 Make swipe-for-details RTL-safe. 8 years ago
Matthew Chen aea2bf3e00 Fix scroll state insets in conversation view. 8 years ago
Matthew Chen 5cfa7e35f4 Respond to CR. 8 years ago
Michael Kirk 34811a635b Fixes: "connected call" showing as "unconnected outgoing" call.
Expire viewItem cache when resetting mappings

// FREEBIE
8 years ago
Matthew Chen 45c7d80d97 Improving handling of edge cases in conversation view. 8 years ago
Matthew Chen 6d4a05bbea Improving handling of edge cases in conversation view. 8 years ago
Matthew Chen 658746093d Use finalIndex in row changes. 8 years ago
Michael Kirk 8ee030bea1 Don't dismiss keyboard when view appears
// FREEBIE
8 years ago
Matthew Chen 937ac5830d Skip animations in conversation view. 8 years ago
Matthew Chen b67179b45d Skip animations in conversation view. 8 years ago
Matthew Chen 0ccddb696a Add workaround for bug in iOS 11.1 beta around hit area of custom back buttons.
// FREEBIE
8 years ago
Matthew Chen 96274a60a9 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 7aae47b021 Reduce font size of "load more" indicator. 8 years ago
Matthew Chen ddf4bf28cc Load attachments for conversation view items using long-lived db connection. 8 years ago
Matthew Chen df5aa5ef67 Update UI to reflect changes to disappearing messages configuration. 8 years ago
Michael Kirk 9675cbb1e1 Scroll only as far as necessary
// FREEBIE
8 years ago
Matthew Chen cc90f4cb80 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 86fdd6dea2 Fix edge cases in conversation view. 8 years ago
Matthew Chen 6413bc8e4c Evacuate the view item cache. 8 years ago
Matthew Chen 19ba564f80 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen c6160a5a1e Rework the "update with..." methods to avoid re-saving deleted models. 8 years ago
Michael Kirk 8c69e00a3f Adapt ConversationViewController to iPhoneX
// FREEBIE
8 years ago
Matthew Chen bf0f33e4b0 Temporarily alter animations in conversation view. 8 years ago
Matthew Chen af6a7c103c Add a comment. 8 years ago
Matthew Chen 42a70e0def Revert "Temporarily make logging around conversation view row updates more verbose."
This reverts commit 105b033761.
8 years ago
Matthew Chen f0a8e08df9 Temporarily alter animations in conversation view. 8 years ago
Matthew Chen b5f7a4746f Temporarily alter animations in conversation view. 8 years ago
Matthew Chen 105b033761 Temporarily make logging around conversation view row updates more verbose. 8 years ago
Matthew Chen 87b0692af0 Fixes for scrolling in conversation view. 8 years ago
Matthew Chen 5cc292fb6c Don't ask for camera permissions if app is not active.
// FREEBIE
8 years ago
Matthew Chen 5e61307ce3 Don't ask for microphone permissions if app is not active.
// FREEBIE
8 years ago
Matthew Chen 6e840ff956 Fix build warnings from XCode 9. 8 years ago
Matthew Chen 2d21e2ae2c Fix build warnings from XCode 9. 8 years ago
Matthew Chen af5489952c Don't animate message sends.
// FREEBIE
8 years ago
Matthew Chen 40e04ffb92 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 5df4ac92b7 Don't animate message sends.
// FREEBIE
8 years ago
Matthew Chen d52b19a69e Let users with external keyboards send messages using modifier-return (shift, command, option).
// FREEBIE
8 years ago
Matthew Chen 0c92850d38 Log voice memo durations.
// FREEBIE
8 years ago
Matthew Chen 89dbcb0fe8 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen f95e599c55 Don't overwrite draft after GIF send.
// FREEBIE
8 years ago
Matthew Chen a0ddb2a06d Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 5ac2f16ebc Skip redundant relayout.
// FREEBIE
8 years ago
Matthew Chen 9cc4521d07 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen bcf83a4c8e Rework handling of oversize text messages.
// FREEBIE
8 years ago