Commit graph

1166 commits

Author SHA1 Message Date
Matthew Chen
48b6c3dafb Refine message date/time formatting. 2018-02-13 15:02:29 -05:00
Michael Kirk
a23f1b86ef nullability annotations for TSGroupModel
- add readonly where possible
- group members needn't be a mutable array

// FREEBIE
2018-02-13 09:50:01 -08:00
Michael Kirk
44678e3951 CR: weak capture and clearer comments
// FREEBIE
2018-02-13 08:29:58 -08:00
Michael Kirk
debd556e09 Fix notification % escaping, debug UI
Consolidated the notifications debug UI (and fixed it) to make testing
this a bit easier.

// FREEBIE
2018-02-13 08:29:58 -08:00
Matthew Chen
e3776015bb Respond to CR. 2018-02-13 10:49:54 -05:00
Matthew Chen
246a56e925 Respond to CR. 2018-02-13 10:49:54 -05:00
Matthew Chen
33686594e9 Tweak debug logging. 2018-02-13 10:49:54 -05:00
Matthew Chen
ba42ac73d8 Revisit TODOs in the SAE work. 2018-02-12 22:33:26 -05:00
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
2018-02-09 18:00:29 -08:00
Matthew Chen
862172072c Respond to CR. 2018-02-09 10:31:29 -05:00
Matthew Chen
bd0f601792 Respond to CR. 2018-02-09 10:31:29 -05:00
Matthew Chen
6b357f9445 Respond to CR. 2018-02-09 10:31:29 -05:00
Matthew Chen
43765ef3b5 Respond to CR. 2018-02-09 10:31:29 -05:00
Matthew Chen
bbd689bfd0 Add protocol context to protocol kit. 2018-02-09 10:31:29 -05:00
Matthew Chen
d3e16583eb Add protocol context to protocol kit. 2018-02-09 10:31:29 -05:00
Matthew Chen
074046b98e Add protocol context to protocol kit. 2018-02-09 10:31:29 -05:00
Matthew Chen
71782e0369 Add protocol context to protocol kit. 2018-02-09 10:31:29 -05:00
Matthew Chen
122ef91e57 Add protocol context to protocol kit. 2018-02-09 10:31:29 -05:00
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
2018-02-06 18:45:51 -08:00
Michael Kirk
7734958eec Make "swipe for info" RTL compatible
// FREEBIE
2018-02-02 11:18:12 -08:00
Michael Kirk
54f7c298b7 Only initiate "show details" pan gesture when swiping back
// FREEBIE
2018-02-02 11:18:12 -08:00
Matthew Chen
11cdd2790e Fix layout of experience upgrade view on iPhone X. 2018-02-02 10:58:55 -05:00
Matthew Chen
c67c46217f Fix layout of experience upgrade view on iPhone X. 2018-02-02 10:58:55 -05:00
Michael Kirk
e39ca59eeb Merge tag '2.19.5.0' 2018-02-01 14:03:43 -08:00
Matthew Chen
fa76e524c4 Respond to CR. 2018-01-30 10:15:15 -05:00
Matthew Chen
9c84bdb105 Add support for images as documents. 2018-01-30 10:12:08 -05:00
Matthew Chen
7ebeeda5f9 Clean up ahead of PR. 2018-01-30 10:06:46 -05:00
Matthew Chen
3609275c20 Handle malformed row updates. 2018-01-30 10:06:46 -05:00
Matthew Chen
6f7f1b3b08 Improve pre-migration testing tools. 2018-01-30 10:06:46 -05:00
Matthew Chen
9d101c3f53 Elaborate Debug & Internal UI. 2018-01-30 10:06:46 -05:00
Matthew Chen
32b3e89c54 Elaborate Debug & Internal UI. 2018-01-30 10:06:46 -05:00
Matthew Chen
b3e6278a45 Clean up ahead of PR. 2018-01-25 15:24:21 -05:00
Matthew Chen
79ee6fa318 Add Debug UI around sharing UIImage. 2018-01-25 15:17:30 -05:00
Matthew Chen
069587b150 Add message approval view. 2018-01-25 13:27:16 -05:00
Matthew Chen
992e926142 Unpack oversize text messages if possible. 2018-01-25 13:26:10 -05:00
Matthew Chen
b9bd21e73f Improve presentation of text attachments in attachment approval view. 2018-01-25 13:24:22 -05:00
Matthew Chen
0cc7f3e00e Clean up ahead of PR. 2018-01-25 11:00:38 -05:00
Michael Kirk
05035e40a6 Fixup tests
// FREEBIE
2018-01-25 11:00:38 -05:00
Michael Kirk
6491bb8956 Fix timer offset
// FREEBIE
2018-01-22 16:55:09 -05:00
Michael Kirk
886c0174a8 Rename color per code review
// FREEBIE
2018-01-22 16:53:55 -05:00
Michael Kirk
baa312f449 Timer button with duration label
// FREEBIE
2018-01-22 10:28:51 -05:00
Michael Kirk
5c76d4c99c Stopwatch Asset instead of hourglass
// FREEBIE
2018-01-21 20:31:41 -05:00
Michael Kirk
3a5fa63cd6 Fix confirmation preview
// FREEBIE
2018-01-19 15:34:11 -05:00
Michael Kirk
f41dfa509c Re-aquire first responder when necessary.
// FREEBIE
2018-01-19 15:05:50 -05:00
Michael Kirk
3ca5ec2726 Ensure media-library permissions when accessing media library
// FREEBIE
2018-01-18 13:37:11 -05:00
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
2018-01-17 18:19:48 -05:00
Michael Kirk
58558b36de Add clarifying comment.
// FREEBIE
2018-01-17 18:11:48 -05:00
Michael Kirk
94d58b88b8 Play video inline in approval view
Previously we launched the MPMoviePlayerController

// FREEBIE
2018-01-16 17:57:14 -05:00
Michael Kirk
0c6a42003f clang-format after RI
// FREEBIE
2018-01-16 15:27:53 -05:00
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.
2018-01-16 15:25:58 -05:00