Commit Graph

309 Commits (c5a48edf5aa012e7989ea30e998d2d45084e77e8)

Author SHA1 Message Date
Matthew Chen 706006539f Improve the robustness of the migration logic. 7 years ago
Matthew Chen d91507d897 Improve the robustness of the migration logic. 7 years ago
Matthew Chen 7132179c5c Fix handling of HEIF/HEIC when attaching image "as document." 7 years ago
Michael Kirk 707ab5f5a8 Minimize changes around call audio activity
// FREEBIE
7 years ago
Michael Kirk 4dd1c7813a Instrument calls to ensure audio session is maintained
// FREEBIE
7 years ago
Michael Kirk abb51b565a Don't de-activate audio sesion when other audio activities are happening
// FREEBIE
7 years ago
Matthew Chen 283fe17649 Apply Indic script fixes to SAE and master. 7 years ago
Matthew Chen 6935298f6f Improve handling of the not migrated case. 7 years ago
Matthew Chen 03f6d473a3 Fix issues around profile updates. 7 years ago
Matthew Chen d648a258d1 Merge branch 'hotfix/2.19.7' 7 years ago
Matthew Chen 3ab33b997e Respond to CR. 7 years ago
Matthew Chen 33cb8b7e4c Revert "Surface error messages in SAE as alerts."
This reverts commit bd51ae1646.
7 years ago
Matthew Chen bd51ae1646 Surface error messages in SAE as alerts. 7 years ago
Matthew Chen 9508761f09 Respond to CR. 7 years ago
Matthew Chen 4b62faf2f8 Aggressively nag iOS 8 users to upgrade iOS. 7 years ago
Michael Kirk 3d5f7e6bf3 Clean up logging
- tag all log lines for easier filtering
- use up-to-date database path

// FREEBIE
7 years ago
Matthew Chen 48b6c3dafb Refine message date/time formatting. 7 years ago
Michael Kirk 44678e3951 CR: weak capture and clearer comments
// FREEBIE
7 years ago
Michael Kirk debd556e09 Fix notification % escaping, debug UI
Consolidated the notifications debug UI (and fixed it) to make testing
this a bit easier.

// FREEBIE
7 years ago
Joshua Lund 2c18a75d12 Update to the new GitHub organization name 7 years ago
Matthew Chen ba42ac73d8 Revisit TODOs in the SAE work. 7 years ago
Matthew Chen d54f6aba0a Refine SAE UI. 7 years ago
Matthew Chen 114df18372 Refine SAE UI. 7 years ago
Michael Kirk 5e95c90606 Fix "caption toolbar not showing" for RTL
// FREEBIE
7 years ago
Matthew Chen 862172072c Respond to CR. 7 years ago
Matthew Chen 6b357f9445 Respond to CR. 7 years ago
Matthew Chen 43765ef3b5 Respond to CR. 7 years ago
Matthew Chen d3e16583eb Add protocol context to protocol kit. 7 years ago
Matthew Chen 074046b98e Add protocol context to protocol kit. 7 years ago
Matthew Chen 39e353503f Add protocol context to protocol kit. 7 years ago
Michael Kirk a1d3073705 Cannot open settings from share extension
// FREEBIE
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 0f9dd46b91 Fix attachment approval layout on iPhoneX
convert captioning toolbar to autolayout in the process

// FREEBIE
7 years ago
Matthew Chen 4bfdef520a Respond to CR. 7 years ago
Matthew Chen be1fde905c Don't mark app as ready until all version migrations are done. 7 years ago
Matthew Chen aeeef43416 Register all database views asynchronously. 7 years ago
Matthew Chen b21f793756 Register all database views asynchronously. 7 years ago
Matthew Chen 5cf89a0f3d Register all database views asynchronously. 7 years ago
Matthew Chen 9c84bdb105 Add support for images as documents. 7 years ago
Michael Kirk 456a931b9f Fix block handling for ContactThreads, previously it only worked for
recipients without a thread.

// FREEBIE
7 years ago
Matthew Chen 41b7a8dd75 Fix build breakage. 7 years ago
Matthew Chen e2fa695fc4 Fix build break. 7 years ago
Matthew Chen 79ee6fa318 Add Debug UI around sharing UIImage. 7 years ago
Matthew Chen 6a7f06f940 Respond to CR. 7 years ago
Matthew Chen 56ef293ed1 Clean up ahead of PR. 7 years ago
Matthew Chen b61c716ea7 Clean up ahead of PR. 7 years ago
Matthew Chen d1c17167c6 Don't send text files as text messgaes. 7 years ago
Matthew Chen 64e4f054b8 Add message approval view. 7 years ago
Matthew Chen e905098fb1 Add message approval view. 7 years ago
Matthew Chen 069587b150 Add message approval view. 7 years ago
Matthew Chen 9845ef6dac Add message approval view. 7 years ago
Matthew Chen 3cfc778358 Add message approval view. 7 years ago
Matthew Chen 2af858c529 Add message approval view. 7 years ago
Matthew Chen 979386ee9e Improve handling of text and url shares. 7 years ago
Matthew Chen 5770a18b08 Handle text shares like URLs. 7 years ago
Matthew Chen 9718387af5 Send URLs as text messages. 7 years ago
Matthew Chen 085975ebe9 Prepopulate caption field with URL. 7 years ago
Matthew Chen 2e8a53b4a5 Don't add captions to text messages. 7 years ago
Matthew Chen 992e926142 Unpack oversize text messages if possible. 7 years ago
Matthew Chen b9bd21e73f Improve presentation of text attachments in attachment approval view. 7 years ago
Matthew Chen 6a80db7844 Enable support for sharing urls in SAE. 7 years ago
Matthew Chen d8f72dbec5 Clean up ahead of PR. 7 years ago
Matthew Chen 0cc7f3e00e Clean up ahead of PR. 7 years ago
Matthew Chen 2375cc2f76 Add support for key specs. 7 years ago
Matthew Chen 5d422e03d1 Add support for key specs. 7 years ago
Matthew Chen c5079ed3d7 Add support for key specs. 7 years ago
Matthew Chen 224c24e685 Use key spec for databases. 7 years ago
Matthew Chen a05acd0174 Add protocol context to protocol kit. 7 years ago
Matthew Chen d0f1706a49 Modify YapDatabase to read converted database. 7 years ago
Michael Kirk 3cd1b2c96c WIP comment 7 years ago
Michael Kirk acc97b197b Properly force checkpoint at end of conversion
// FREEBIE
7 years ago
Matthew Chen eadb64b75a Elaborate test suite around database conversion. 7 years ago
Matthew Chen 9801689c0e Modify YapDatabase to read converted database. 7 years ago
Michael Kirk 0a2439937b cleanup
// FREEBIE
7 years ago
Matthew Chen 45e44ca085 Modify YapDatabase to read converted database, part 3. 7 years ago
Matthew Chen d7a43d00d7 Modify YapDatabase to read converted database, part 2. 7 years ago
Matthew Chen 173da64bc4 Modify YapDatabase to read converted database, part 1. 7 years ago
Matthew Chen 3b681aba36 Successfully convert database. 7 years ago
Matthew Chen cc15092eb7 Resolve issues around database conversion. 7 years ago
Michael Kirk 11a709a621 WIP: set plaintext header length
Fix test to try to convert test db, previously it was using the
non-existent TSStorage database.

// FREEBIE
7 years ago
Michael Kirk 71dc7f55d3 Copy DB setup / keying from Yap into conversion
// FREEBIE
7 years ago
Matthew Chen 1bff0f2b0e Incomplete commit starting work on loading databases for conversion. 7 years ago
Matthew Chen 5ba5b763e4 Add tests around database conversion. 7 years ago
Matthew Chen dc73342573 Convert databases if necessary. 7 years ago
Michael Kirk 886c0174a8 Rename color per code review
// FREEBIE
7 years ago
Michael Kirk baa312f449 Timer button with duration label
// FREEBIE
7 years ago
Michael Kirk 5c2075cdb6 Show disappearing messages timer in share extension
// 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 94d58b88b8 Play video inline in approval view
Previously we launched the MPMoviePlayerController

// 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 2b528ad894 Don't use mainApplicationState in business logic. 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
Matthew Chen 980b3d25a7 Rework "export backup" UI. 7 years ago
Matthew Chen 58e9252689 Let users send to non-contacts, non-threads in SAE. 7 years ago
Matthew Chen 4d6ee9e2de Let users send to non-contacts, non-threads in SAE. 7 years ago
Matthew Chen 9e89502fdb Let users send to non-contacts, non-threads in SAE. 7 years ago
Matthew Chen e77c3e6717 Retain changes from session database branch. 7 years ago
sdkjfhsdkjhfsdlkjhfsdf 3a6ddd4bf8 CR: cleanup
// FREEBIE
7 years ago
sdkjfhsdkjhfsdlkjhfsdf 6e2d9c8141 identity change vs. share extension
// FREEBIE
7 years ago
sdkjfhsdkjhfsdlkjhfsdf 6b5883dc10 Don't resize attachment view when switching between alerts.
// FREEBIE
7 years ago
sdkjfhsdkjhfsdlkjhfsdf 4e6816ec5e Code cleanup
// FREEBIE
7 years ago
sdkjfhsdkjhfsdlkjhfsdf 14723f3e7f Fix profile avatar flicker
- We were clobbering our saved avatar filepath.
- Our "should notify" check was too aggressive.
- Only fetch profiles when entering a conversation.
- Only fetch profiles in main app

Also added (a little) debounce time to debug profile fetching.

// FREEBIE
7 years ago
sdkjfhsdkjhfsdlkjhfsdf 01fa3c89cc CR: cleanup comments, extract callback into method
// FREEBIE
7 years ago
sdkjfhsdkjhfsdlkjhfsdf b87079d4b4 Sharing attachment shows progress / retry dialog
// FREEBIE
7 years ago
sdkjfhsdkjhfsdlkjhfsdf 42ea1dfbbe CR: more margin, match button size to default text field, fix layout
when rotated.

There was an issue with captions changing line-count when rotated.

// FREEBIE
7 years ago
sdkjfhsdkjhfsdlkjhfsdf 7907a64dfe move gradient up with keyboard
// FREEBIE
7 years ago
sdkjfhsdkjhfsdlkjhfsdf 653a272b54 Don't obscure attachment when keyboard is popped.
// FREEBIE
7 years ago
sdkjfhsdkjhfsdlkjhfsdf 38d94952f7 Shadow for Send button, clean up color accessors
// FREEBIE
7 years ago
sdkjfhsdkjhfsdlkjhfsdf cfa147831a "Done" button for caption toolbar
// FREEBIE
7 years ago
sdkjfhsdkjhfsdlkjhfsdf 9eb4178c6f style for captioning toolbar
// FREEBIE
7 years ago
sdkjfhsdkjhfsdlkjhfsdf 513e33b0fd Cleanup before code review
// FREEBIE
7 years ago
sdkjfhsdkjhfsdlkjhfsdf 2c20cb9e7b make sure mediaview isn't too tall in detail view
// FREEBIE
7 years ago
sdkjfhsdkjhfsdlkjhfsdf 0e9c9a9bb3 Separate gestures for text/vs media
// FREEBIE
7 years ago
Michael Kirk e20f44024c WIP: Support sending attachment captions
Looks fine on other clients, but locally we don't display the caption.

// FREEBIE
7 years ago
Michael Kirk 0964c16417 cleanup, plus ill fated attempt to offset content beyond keyboard height.
Probably should just pin scrollview above initial toolbar height. I
think it's somewhat convoluted because of the scroll view zoom
functionality that we already use in this view.

// FREEBIE
7 years ago
Michael Kirk 26be69975a cleanup constraint based layout 7 years ago
Michael Kirk 3a078c831d lays out in iOS11, but doesn't resize 7 years ago
Michael Kirk 03e786a145 input toolbar looks good on iOS9/10, but totally broken on 11
// FREEBIE
7 years ago
Michael Kirk 96906440a7 remove height animation, ensure growing text area has content in proper
place.

// FREEBIE
7 years ago
Michael Kirk 562e706ec9 animate height change, but looks goofy 7 years ago
Michael Kirk a5c5dd3f96 WIP, extract subclass 7 years ago
Michael Kirk 9ee9a0efeb resizing input accessory view.
// FREEBIE
7 years ago
Michael Kirk f9524b02e2 multiline must be textview, not textfield
// FREEBIE
7 years ago
Michael Kirk 57a5e62db8 WIP - attachment caption 7 years ago
sdkjfhsdkjhfsdlkjhfsdf 76481a86a5 stabalize sort for same-named SignalAccounts
// FREEBIE
7 years ago
Matthew Chen 6b0e3508a5 Respond to CR. 7 years ago
Matthew Chen 245304116f Respond to CR. 7 years ago
Matthew Chen fe67cd924c Rework database view registration. 7 years ago
Matthew Chen 9258b0883e Clean up TSStorageManager usage. 7 years ago
Matthew Chen d52eba739d Clean up TSStorageManager usage. 7 years ago
Matthew Chen 85686d3144 Continue TSStorageManager refactor. 7 years ago
Matthew Chen 9a990b58e8 Respond to CR. 7 years ago
Matthew Chen 92b870ca12 Clean up ahead of PR. 7 years ago
Matthew Chen 5dcf4b3bbc Clean up ahead of PR. 7 years ago
Matthew Chen a29c4ce5d6 Pull out OWSStorage base class for TSStorageManager. 7 years ago
Michael Kirk 157bf00410 Merge branch 'hotfix/2.19.3' 7 years ago
Matthew Chen 0c9d9ba679 Fix issues around cross process db changes. 7 years ago
Matthew Chen 571840b1dc Update YapDatabase. 7 years ago
Michael Kirk 4f06518539 Merge tag '2.19.3.1' 7 years ago
Michael Kirk 3affb07a11 post-merge formatting fixup
// FREEBIE
7 years ago
Michael Kirk 16448e2a0b Merge tag '2.19.3.0' 7 years ago
Michael Kirk 6fb5990faa Don't zoom for audio/generic attachments
// FREEBIE
7 years ago
Michael Kirk 73b215229f Fixup approval view for audio and generic attachments
// FREEBIE
7 years ago
Michael Kirk 813f4e474e Respond to CR
// FREEBIE
7 years ago
Michael Kirk 8996741277 DocumentPicker converts to mp4 when necessary
// FREEBIE
7 years ago
Michael Kirk 031e40d090 Use SignalAttachment logic in conversation view too
// FREEBIE
7 years ago
Michael Kirk 56f1bf0305 cleanup 7 years ago