Commit Graph

1158 Commits

Author SHA1 Message Date
Jordan Rose
cdde07778e Make the "File" attachment directly open the file picker
...never the photo picker. This removes the notion of "attach a photo
as a file", which the previous commits have made equivalent to
attaching a photo any other way.
2021-01-14 09:31:04 -08:00
Jordan Rose
a0c3beaa06 Resize images-as-documents and pasted images as well
Having multiple entry points for this is confusing. If we ever add
back a "send full quality" option, we'll support it everywhere.
2021-01-14 09:30:10 -08:00
Nora Trapp
806dbd7257 Replace decryption errors with single 'session refresh' message 2021-01-12 16:45:35 -08:00
Jordan Rose
c799f663c8 Always re-encode video attachments
This is more consistent, results in smaller videos, and makes sure
we're stripping metadata.
2021-01-12 16:43:01 -08:00
Matthew Chen
e1b78ac0f5 Add auto-download settings for media. 2021-01-12 19:28:15 -03:00
Matthew Chen
75f6d8b60c Add auto-download settings for media. 2021-01-12 19:28:15 -03:00
Matthew Chen
6f3c92dedd Add auto-download settings for media. 2021-01-12 19:28:15 -03:00
Matthew Chen
252e8425ab Add auto-download settings for media. 2021-01-12 19:28:14 -03:00
Matthew Chen
68b68fdf04 Group link promotion. 2021-01-12 15:51:38 -03:00
Matthew Chen
ab11a98e55 Group link promotion. 2021-01-12 15:51:37 -03:00
Matthew Chen
03c21253e4 Group link promotion. 2021-01-12 15:51:05 -03:00
Jordan Rose
ce07035c62 Use Quick Look for interacting with generic attachments 2021-01-11 14:45:49 -08:00
Jordan Rose
fbcfa530df Remove camera preview from Attach menu 2021-01-11 14:42:33 -08:00
Matthew Chen
303c9ac07b Fix rebase breakage. 2021-01-07 16:49:52 -03:00
Matthew Chen
c0c6683c61 Merge branch 'release/5.1.0' 2021-01-07 16:44:04 -03:00
Matthew Chen
f61e39d59e Avoid spurious asserts during long-running scroll gestures. 2021-01-07 14:18:50 -03:00
Michelle Linington
49193889d2 Run precommit. Happy new year! 2021-01-05 14:28:32 -08:00
Michelle Linington
b152d985b0 PR Feedback
- More robust handling of large button labels in the collision view
  controller
- Fixes for VoiceOver labels and navigation
- Fixes for layout issues when rotating
- Update copy for collision banner
- Remove banner shadow for all banners
2021-01-05 14:28:28 -08:00
Michelle Linington
1de7295f39 Run linter 2021-01-05 14:28:28 -08:00
Michelle Linington
053454e817 Fix up navigation items, minor bug fixes and cleanup 2021-01-05 14:28:28 -08:00
Michelle Linington
3a224687f9 Hook up collision resolution actions 2021-01-05 14:28:28 -08:00
Michelle Linington
1cd982b269 Actionless UI 2021-01-05 14:28:28 -08:00
Matthew Chen
02cae9d43d Fix 'scroll to bottom' during keyboard animations. 2021-01-05 18:01:27 -03:00
Matthew Chen
f23199ba89 Fix "delete all messages". 2021-01-05 18:01:27 -03:00
Matthew Chen
460f7dc201 Update CVC contentInset after keyboard presentation/dismissal. 2020-12-23 17:46:31 -03:00
Michelle Linington
1c804a9b76 Adopt UIContextMenu style preview interactions
iOS 13 added support for peek/pop style interactions on non-force touch
devices. ViewControllerPreviewing has been deprecated and replaced with
UIContextMenu.

This change adopts the new API on iOS 13+ devices. iOS 12 force touch
devices will continue to support the old style behavior. This also
enables support for haptic touch/long press interactions on devices that
do not support force touch.
2020-12-22 14:24:46 -08:00
Matthew Chen
5eff2f439d Respond to CR. 2020-12-19 08:12:41 -03:00
Matthew Chen
15f6c39f3d Exit early from updateContentInsetsAnimated(). 2020-12-19 08:10:46 -03:00
Matthew Chen
387bb84f4d Fix auto-scroll issue around first message in thread. 2020-12-18 11:26:13 -03:00
Matthew Chen
9facd0ad18 Revert "Fix auto-scroll issue around first message in thread."
This reverts commit 5a3ca232489ccf454ba566d35bdf67f59f6ace86.
2020-12-18 11:26:13 -03:00
Matthew Chen
f9f4779a65 Fix auto-scroll issue around first message in thread. 2020-12-18 11:26:13 -03:00
Matthew Chen
fc003412cd Improve landing of loads. 2020-12-18 11:20:49 -03:00
Matthew Chen
c0625030c7 Respond to CR. 2020-12-18 10:53:11 -03:00
Matthew Chen
11b80cb599 Modify layout to handle performBatchUpdates(). 2020-12-18 10:49:48 -03:00
Matthew Chen
2a480d24dc Modify layout to handle performBatchUpdates(). 2020-12-18 10:49:48 -03:00
Matthew Chen
e5fe14cd32 Respond to CRs. 2020-12-18 10:49:48 -03:00
Matthew Chen
98c28a5f2f Modify layout to handle performBatchUpdates(). 2020-12-18 10:49:48 -03:00
Matthew Chen
8cfd6a4b36 Modify layout to handle performBatchUpdates(). 2020-12-18 10:49:48 -03:00
Matthew Chen
fe933c7cc3 Modify layout to handle performBatchUpdates(). 2020-12-18 10:49:48 -03:00
Michelle Linington
b6a939115f Fix peek and pop with CVC perf improvements
- Permit a nil navigation controller if we're in a preview platter
- Instead of directly pushing onto the navigation controller's stack,
  ask the split view controller to present the thread when we pop.
- Instead of hiding the input toolbar when shown in a preview platter,
  set the bottomViewType to .none. Content insets are determined by the
  bottom bar size. Even if the input toolbar is hidden, we were still
  using its height in our content inset. This fixes that.
2020-12-16 13:43:47 -08:00
Nora Trapp
b58bba4dcb fix keyboard dismissal 2020-12-15 16:04:47 -08:00
Matthew Chen
76b362ac85 Fix edge cases are collection view layout preparation. 2020-12-15 11:17:18 -03:00
Matthew Chen
087144b4a5 Ensure layout validity before access. 2020-12-14 11:35:53 -03:00
Matthew Chen
ec5d396e70 Improve scroll continuity vs. auto-scroll. 2020-12-14 11:35:53 -03:00
Nora Trapp
19a9d1414b Merge branch 'release/5.0.2' 2020-12-11 18:19:30 -08:00
Nora Trapp
059164bf7a Show a tooltip for starting a group call 2020-12-11 17:31:24 -08:00
Matthew Chen
151e1158a9 Rename CVItemViewModel, CVItemViewModelImpl. 2020-12-11 16:49:14 -03:00
Matthew Chen
200aec4d7a Merge CVItemViewModel and CVItemViewModelImpl. 2020-12-11 16:49:14 -03:00
Matthew Chen
62856840da Clean up codebase. 2020-12-10 13:17:24 -03:00
Matthew Chen
0531e44170 Clean up codebase. 2020-12-10 13:02:25 -03:00