Commit Graph

2653 Commits (bdee76c8c2d4dec8cf715876132a56e033a36040)

Author SHA1 Message Date
Matthew Chen dc8b8ca0bd Add per-thread custom notification sounds. 8 years ago
Matthew Chen 9aa02489b8 Custom notification sounds in local notifications. 8 years ago
Matthew Chen a837c5d41b Custom notification sounds. 8 years ago
Matthew Chen 5c3f6b0ee5 Custom notification sounds. 8 years ago
Matthew Chen 5235f97953 Use background task while migrating. 8 years ago
Matthew Chen 81629a87df Fix build break. 8 years ago
Matthew Chen 152c570900 Respond to CR. 8 years ago
Matthew Chen 03670b4868 Rename the view horizon. 8 years ago
Matthew Chen fabbe46114 Clean up ahead of PR. 8 years ago
Matthew Chen 4e1e232825 Flush writes from other processes. 8 years ago
Matthew Chen 1ff4f85247 Improve handling of db modifications while conversation view is not observing. 8 years ago
Matthew Chen 5444fc73b0 Improve handling of db modifications while conversation view is not observing. 8 years ago
Matthew Chen 2ac7716771 Improve handling of db modifications while conversation view is not observing. 8 years ago
Michael Kirk e43d0b1b5a Fix "Share" for attachment with caption
// FREEBIE
8 years ago
Michael Kirk 5ba5d3f524 Remove "Share" from edit menu
Showing the share UI conflicts with the conversation views
inputAccessory toolbar.

Specifically:

- the long press menu acquires first responder
- tapping share presents the activity view
- at this point, the input toolbar is hidden
- launching a share extension hides the activity view, presents the
  share extension (could be the Signal share extension or another app's
  share extension)
- the conversation view (which is rendered behind the share extension)
  regains first responder, causing the input toolbar to appear above the
  share extension

One fix would be to re-implement an interface similar UIMenuController,
which does not require mucking with the responder chain, but that's
going to be more involved.

// FREEBIE
8 years ago
Michael Kirk d7f8c3e9d3 Ensure inputAccessory doesn't obscure the SN alert
This affects iOS 8, 9, and to a lesser degree iOS10.
On iOS11, presenting an alert causes the keyboard/inputAccessoryView to
temporarily dismiss.

// FREEBIE
8 years ago
Michael Kirk 7040437ca6 Handle nil date when formatting
// FREEBIE
8 years ago
Matthew Chen a4855acf44 Don't clear legacy db password until conversion completes. 8 years ago
Matthew Chen d91507d897 Improve the robustness of the migration logic. 8 years ago
Matthew Chen 14122dab54 Fix the storage failure alert. 8 years ago
Michael Kirk 6eb1ce682a Debug file browser
// FREEBIE
8 years ago
Michael Kirk 8dfe06e3f2 Ensure audio session is default after call is terminated.
Previously, we were enabling PlayAndRecord when a call ended due to the
CallService observer's "updateVideoTrack" callbacks.

// FREEBIE
8 years ago
Michael Kirk 6eb1951ee6 Don't stop audio until after CallKit audio session is deactivated
// FREEBIE
8 years ago
Michael Kirk 707ab5f5a8 Minimize changes around call audio activity
// FREEBIE
8 years ago
Michael Kirk 4dd1c7813a Instrument calls to ensure audio session is maintained
// FREEBIE
8 years ago
Michael Kirk abb51b565a Don't de-activate audio sesion when other audio activities are happening
// FREEBIE
8 years ago
Matthew Chen 6935298f6f Improve handling of the not migrated case. 8 years ago
Matthew Chen ceaf028445 Always scroll to bottom after sending attachments. 8 years ago
Matthew Chen d648a258d1 Merge branch 'hotfix/2.19.7' 8 years ago
Matthew Chen abfd333a17 Address Indic script crash. 8 years ago
Matthew Chen 8fdc61c726 Fix failed status messages in message detail view. 8 years ago
Matthew Chen 6f28c75257 Fix glitch in batch processing of incoming messages. 8 years ago
Matthew Chen 4b62faf2f8 Aggressively nag iOS 8 users to upgrade iOS. 8 years ago
Michael Kirk 3d5f7e6bf3 Clean up logging
- tag all log lines for easier filtering
- use up-to-date database path

// FREEBIE
8 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
8 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
8 years ago
Matthew Chen 0944c2661e Respond to CR. 8 years ago
Matthew Chen 48b6c3dafb Refine message date/time formatting. 8 years ago
Michael Kirk a23f1b86ef nullability annotations for TSGroupModel
- add readonly where possible
- group members needn't be a mutable array

// FREEBIE
8 years ago
Michael Kirk cb8767d19e CR: duplicate comments, DRY
// FREEBIE
8 years ago
Michael Kirk 44678e3951 CR: weak capture and clearer comments
// FREEBIE
8 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
8 years ago
Matthew Chen e3776015bb Respond to CR. 8 years ago
Matthew Chen 246a56e925 Respond to CR. 8 years ago
Matthew Chen 33686594e9 Tweak debug logging. 8 years ago
Matthew Chen 44cbf142a1 Respond to CR. 8 years ago
Matthew Chen 3e8b08e19b Defer handling app delegate hooks until app is ready. 8 years ago
Matthew Chen ba42ac73d8 Revisit TODOs in the SAE work. 8 years ago
Matthew Chen 9c8178653d Revisit TODOs in the SAE work. 8 years ago
Matthew Chen 7c199faf8f Respond to CR. 8 years ago
Matthew Chen 98843cd45c Let users submit debug logs if app launch fails. 8 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
8 years ago
Matthew Chen 862172072c Respond to CR. 8 years ago
Matthew Chen bd0f601792 Respond to CR. 8 years ago
Matthew Chen 6b357f9445 Respond to CR. 8 years ago
Matthew Chen 43765ef3b5 Respond to CR. 8 years ago
Matthew Chen bbd689bfd0 Add protocol context to protocol kit. 8 years ago
Matthew Chen d3e16583eb Add protocol context to protocol kit. 8 years ago
Matthew Chen 074046b98e Add protocol context to protocol kit. 8 years ago
Matthew Chen 71782e0369 Add protocol context to protocol kit. 8 years ago
Matthew Chen 122ef91e57 Add protocol context to protocol kit. 8 years ago
Michael Kirk a1d3073705 Cannot open settings from share extension
// FREEBIE
8 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
8 years ago
Michael Kirk 7734958eec Make "swipe for info" RTL compatible
// FREEBIE
8 years ago
Michael Kirk 54f7c298b7 Only initiate "show details" pan gesture when swiping back
// FREEBIE
8 years ago
Michael Kirk e3469649f7 Fix receiving calls
// FREEBIE
8 years ago
Matthew Chen 11cdd2790e Fix layout of experience upgrade view on iPhone X. 8 years ago
Matthew Chen c67c46217f Fix layout of experience upgrade view on iPhone X. 8 years ago
Michael Kirk e39ca59eeb Merge tag '2.19.5.0' 8 years ago
Michael Kirk 6f959ff292 CR: be more conservative about deriving key spec, clear old passphrase
after deriving key spec.

// FREEBIE
8 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
8 years ago
Michael Kirk 938b9c85b8 Don't crash on clean install
Otherwise we'll error when retrieving non-existent password.

// FREEBIE
8 years ago
Matthew Chen 4bfdef520a Respond to CR. 8 years ago
Matthew Chen a30170b3b2 Prefer "app is ready" flag to "storage is ready" flag. 8 years ago
Matthew Chen be1fde905c Don't mark app as ready until all version migrations are done. 8 years ago
Matthew Chen 963d0547ad Clean up ahead of PR. 8 years ago
Matthew Chen 8e427111ef Clean up ahead of PR. 8 years ago
Matthew Chen ebbe96a5d5 Clean up ahead of PR. 8 years ago
Matthew Chen f9f60bc14f Ensure app delegate hooks are ignored until app is ready. 8 years ago
Matthew Chen 6eddfae214 Improve post-migration testing tools. 8 years ago
Matthew Chen 02a972c9dc Improve logging in database conversion; disable orphan cleanup. 8 years ago
Matthew Chen b21f793756 Register all database views asynchronously. 8 years ago
Matthew Chen 100adae245 Register all database views asynchronously. 8 years ago
Matthew Chen 5cf89a0f3d Register all database views asynchronously. 8 years ago
Matthew Chen fa76e524c4 Respond to CR. 8 years ago
Matthew Chen 9c84bdb105 Add support for images as documents. 8 years ago
Matthew Chen 7ebeeda5f9 Clean up ahead of PR. 8 years ago
Matthew Chen 3609275c20 Handle malformed row updates. 8 years ago
Matthew Chen 6f7f1b3b08 Improve pre-migration testing tools. 8 years ago
Matthew Chen 9d101c3f53 Elaborate Debug & Internal UI. 8 years ago
Matthew Chen 32b3e89c54 Elaborate Debug & Internal UI. 8 years ago
Matthew Chen b3e6278a45 Clean up ahead of PR. 8 years ago
Matthew Chen 79ee6fa318 Add Debug UI around sharing UIImage. 8 years ago
Matthew Chen 069587b150 Add message approval view. 8 years ago
Matthew Chen 992e926142 Unpack oversize text messages if possible. 8 years ago
Matthew Chen b9bd21e73f Improve presentation of text attachments in attachment approval view. 8 years ago
Matthew Chen 0cc7f3e00e Clean up ahead of PR. 8 years ago
Matthew Chen 5d422e03d1 Add support for key specs. 8 years ago
Michael Kirk 05035e40a6 Fixup tests
// FREEBIE
8 years ago
Michael Kirk c6cc497eaf Don't migrate database until verifying keychain is accessible
// FREEBIE
8 years ago