Commit Graph

3228 Commits (58d84b6d68c8d06c1b51dfc7f3ca43170ef9fb7c)

Author SHA1 Message Date
Matthew Chen 9b73ff14ba "Bump build to 2.20.0.27." 7 years ago
Matthew Chen ef40f08212 "Bump build to 2.20.0.26." 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 6935298f6f Improve handling of the not migrated case. 7 years ago
Matthew Chen ceaf028445 Always scroll to bottom after sending attachments. 7 years ago
Matthew Chen d648a258d1 Merge branch 'hotfix/2.19.7' 7 years ago
Matthew Chen 4c8c40ca21 Bump build to 2.19.7.4.
// FREEBIE
7 years ago
Matthew Chen abfd333a17 Address Indic script crash. 7 years ago
Matthew Chen a4906b2788 Update l10n strings. 7 years ago
Matthew Chen 87233490d3 "Bump build to 2.20.0.25." 7 years ago
Matthew Chen 8fdc61c726 Fix failed status messages in message detail view. 7 years ago
Matthew Chen 53eb9d07e8 "Bump build to 2.20.0.24." 7 years ago
matthew chen 1259851f72 "Bump build to 2.20.0.23." 7 years ago
Matthew Chen da8da29215 "Bump build to 2.20.0.22." 7 years ago
Matthew Chen 4262a83e00 "Bump build to 2.20.0.21." 7 years ago
Matthew Chen d374e6ab86 "Bump build to 2.20.0.20." 7 years ago
Matthew Chen 0522f33a86 "Bump build to 2.20.0.19." 7 years ago
Matthew Chen 6f28c75257 Fix glitch in batch processing of incoming messages. 7 years ago
Matthew Chen 4b62faf2f8 Aggressively nag iOS 8 users to upgrade iOS. 7 years ago
Matthew Chen 132bf81c08 Update l10n strings. 7 years ago
Matthew Chen 09665973a0 "Bump build to 2.20.0.18." 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
Michael Kirk c6e5d4369b Don't adjust inset when fully zoomed in.
On iOS11, when looking at the full-screen media details, if you'd zoomed
far enough that the media content is behind the status bar, tapping to
hide the status bar would cause an undesirable change in content offset.

// FREEBIE
7 years ago
Michael Kirk 19eb17b469 Fix bubble layout in message details
TextView size depends on the VC.view size, so it must be updated when
view is done laying out.

// FREEBIE
7 years ago
Matthew Chen 6c357e8228 "Bump build to 2.20.0.17." 7 years ago
Matthew Chen 0944c2661e Respond to CR. 7 years ago
Matthew Chen 48b6c3dafb Refine message date/time formatting. 7 years ago
Matthew Chen 3e14e9602c update l10n strings. 7 years ago
Michael Kirk a23f1b86ef nullability annotations for TSGroupModel
- add readonly where possible
- group members needn't be a mutable array

// FREEBIE
7 years ago
Michael Kirk cb8767d19e CR: duplicate comments, DRY
// FREEBIE
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
Matthew Chen e3776015bb Respond to CR. 7 years ago
Matthew Chen 246a56e925 Respond to CR. 7 years ago
Matthew Chen 33686594e9 Tweak debug logging. 7 years ago
Matthew Chen 44cbf142a1 Respond to CR. 7 years ago
Matthew Chen 3e8b08e19b Defer handling app delegate hooks until app is ready. 7 years ago
Matthew Chen ba42ac73d8 Revisit TODOs in the SAE work. 7 years ago
Matthew Chen 9c8178653d Revisit TODOs in the SAE work. 7 years ago
Matthew Chen d54f6aba0a Refine SAE UI. 7 years ago
Matthew Chen 7c199faf8f Respond to CR. 7 years ago
Matthew Chen 98843cd45c Let users submit debug logs if app launch fails. 7 years ago
Matthew Chen 4aaae856d0 "Bump build to 2.20.0.16." 7 years ago
Michael Kirk 5793211a0a Fix "bubble disappears" when receiving read receipt
We re-create some constraints when `updateContent` is called, so
we need to ensure those constraints are configured by calling
`updateTextLayout`

// FREEBIE
7 years ago
Matthew Chen 11ad4e7882 "Bump build to 2.20.0.15." 7 years ago
Matthew Chen 862172072c Respond to CR. 7 years ago
Matthew Chen bd0f601792 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 bbd689bfd0 Add protocol context to protocol kit. 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 71782e0369 Add protocol context to protocol kit. 7 years ago
Matthew Chen 122ef91e57 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 7734958eec Make "swipe for info" RTL compatible
// FREEBIE
7 years ago
Michael Kirk 54f7c298b7 Only initiate "show details" pan gesture when swiping back
// FREEBIE
7 years ago
Michael Kirk 76d1b9dad5 proper title case 7 years ago
Michael Kirk e3469649f7 Fix receiving calls
// FREEBIE
7 years ago
Matthew Chen c0bf3d57c2 "Bump build to 2.20.0.14." 7 years ago
Matthew Chen 11cdd2790e Fix layout of experience upgrade view on iPhone X. 7 years ago
Matthew Chen c67c46217f Fix layout of experience upgrade view on iPhone X. 7 years ago
Michael Kirk e39ca59eeb Merge tag '2.19.5.0' 7 years ago
Michael Kirk 6f959ff292 CR: be more conservative about deriving key spec, clear old passphrase
after deriving key spec.

// FREEBIE
7 years ago
Michael Kirk d22fc664f2 more granular key access
// FREEBIE
7 years ago
Michael Kirk 426c9baa16 Key material changes
- For new installs, generate raw key-spec rather than derive it
- Adapt to separated concerns of the key derivation migration from the unencrypted header migration
- Reduce number of places where we delete/generate keying information
- Only store relevant keying material

// FREEBIE
7 years ago
Michael Kirk 938b9c85b8 Don't crash on clean install
Otherwise we'll error when retrieving non-existent password.

// FREEBIE
7 years ago
Michael Kirk 44bbaeef5a fixup test 7 years ago
Matthew Chen 9605d80e97 "Bump build to 2.20.0.13." 7 years ago
Michael Kirk c4edb0b534 Fixup some tests
// FREEBIE
7 years ago
Matthew Chen 4bfdef520a Respond to CR. 7 years ago
Matthew Chen a30170b3b2 Prefer "app is ready" flag to "storage is ready" flag. 7 years ago
Matthew Chen be1fde905c Don't mark app as ready until all version migrations are done. 7 years ago
Matthew Chen 1c4b321a95 "Bump build to 2.20.0.12." 7 years ago
Matthew Chen 963d0547ad Clean up ahead of PR. 7 years ago
Matthew Chen 8e427111ef Clean up ahead of PR. 7 years ago
Matthew Chen ebbe96a5d5 Clean up ahead of PR. 7 years ago
Matthew Chen f9f60bc14f Ensure app delegate hooks are ignored until app is ready. 7 years ago
Matthew Chen d46914831c "Bump build to 2.20.0.11." 7 years ago
Matthew Chen 6eddfae214 Improve post-migration testing tools. 7 years ago
Matthew Chen bb44def8b7 "Bump build to 2.20.0.10." 7 years ago
Matthew Chen 769c1ce24f "Bump build to 2.20.0.9." 7 years ago
Matthew Chen 02a972c9dc Improve logging in database conversion; disable orphan cleanup. 7 years ago
Matthew Chen b21f793756 Register all database views asynchronously. 7 years ago
Matthew Chen 100adae245 Register all database views asynchronously. 7 years ago
Matthew Chen 5cf89a0f3d Register all database views asynchronously. 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 7ebeeda5f9 Clean up ahead of PR. 7 years ago
Matthew Chen 3609275c20 Handle malformed row updates. 7 years ago
Matthew Chen 6f7f1b3b08 Improve pre-migration testing tools. 7 years ago
Matthew Chen 9d101c3f53 Elaborate Debug & Internal UI. 7 years ago
Matthew Chen 32b3e89c54 Elaborate Debug & Internal UI. 7 years ago
Matthew Chen eb440c1c84 "Bump build to 2.20.0.8." 7 years ago
Matthew Chen d9bec1db5e "Bump build to 2.20.0.7." 7 years ago
Matthew Chen 639fdb937a "Bump build to 2.20.0.6." 7 years ago
Matthew Chen 867451266f "Bump build to 2.20.0.5." 7 years ago
Matthew Chen 2003c68885 "Bump build to 2.20.0.4." 7 years ago
Matthew Chen b3e6278a45 Clean up ahead of PR. 7 years ago
Matthew Chen 79ee6fa318 Add Debug UI around sharing UIImage. 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
Matthew Chen b9bd21e73f Improve presentation of text attachments in attachment approval view. 7 years ago
Matthew Chen 0cc7f3e00e Clean up ahead of PR. 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 2773fcb5d9 Clean up ahead of PR. 7 years ago
Matthew Chen 149199138c Clean up ahead of PR. 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 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 45e44ca085 Modify YapDatabase to read converted database, part 3. 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
Michael Kirk 05035e40a6 Fixup tests
// FREEBIE
7 years ago
Michael Kirk c6cc497eaf Don't migrate database until verifying keychain is accessible
// 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 6491bb8956 Fix timer offset
// FREEBIE
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 5c76d4c99c Stopwatch Asset instead of hourglass
// FREEBIE
7 years ago
Michael Kirk c60422e921 bump version
// FREEBIE
7 years ago
Michael Kirk 3a5fa63cd6 Fix confirmation preview
// 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 58558b36de Add clarifying comment.
// 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 0d5b5bc44c Respond to CR. 7 years ago
Matthew Chen 3de9a4ea55 Add debug UI actions around clearing and snapshotting session state. 7 years ago
Matthew Chen 05b034e925 Clear out NSUserDefaults during backup restore. 7 years ago
Matthew Chen 67197ddf15 Rename any existing files and directories in restored directories. 7 years ago
Michael Kirk 56112e79be bump build
// FREEBIE
7 years ago
Matthew Chen 2b528ad894 Don't use mainApplicationState in business logic. 7 years ago
Matthew Chen d81d85c386 Respond to CR. 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 a4cadfecfa bump build
// FREEBIE
7 years ago
Michael Kirk 764b815356 bump build
// FREEBIE
7 years ago