Commit Graph

3264 Commits

Author SHA1 Message Date
Nora Trapp
ae3a6ab99e Use refresh icon for session refresh 2021-01-12 18:10:49 -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
Jordan Rose
20ba5aec0d Scale video attachments to 640px instead of AVFoundation's "medium"
The preset name is "640x480", but in practice it's "max longest
dimension of 640", as tested on a widescreen vertical video. This is
still better quality than "medium", which seems to be "longest
dimension of 480".
2021-01-12 16:43:01 -08:00
Jordan Rose
6ce5b0743c Change PhotoLibrary video attachments to match share sheet behavior
Previously: all videos exported using AVFoundation's "medium" quality,
falling back to "low" quality if that was still too big

Now: videos that are already <100MB mp4s are sent as is, others go
through SignalAttachment.compressVideoAsMp4. This is the same as the
share sheet behavior.

We don't actually /like/ this behavior, but now it's all controlled in
one place. The next commit will start changing it.
2021-01-12 16:43:01 -08:00
Nora Trapp
4c9163c740 Remotely control full intersection interval 2021-01-12 16:39:33 -08:00
Nora Trapp
05f3ae9381 Create threads for all new contacts 2021-01-12 16:39:32 -08:00
Michelle Linington
876b4ee758 PR Feedback 2021-01-12 16:29:30 -08:00
Michelle Linington
69e1963588 Precommit script 2021-01-12 16:29:30 -08:00
Michelle Linington
7694423c4d Add a preference for contact/profile avatars 2021-01-12 16:29:29 -08:00
Michelle Linington
554a24685c Revert "Revert "Merge branch 'mlin/PR/GettingStartedBanner' into release/5.2.0""
This reverts commit d810122228.
2021-01-12 16:20:39 -08:00
Michelle Linington
d810122228 Revert "Merge branch 'mlin/PR/GettingStartedBanner' into release/5.2.0"
Accidentally merged a stale local copy of this branch. Reverting...

This reverts commit 5a8c3a7bec, reversing
changes made to e8f1b4a368.
2021-01-12 16:02:55 -08:00
Matthew Chen
d5b902908a Refine the attachment download indicators. 2021-01-12 20:52:23 -03:00
Michelle Linington
d21c340706 Dark mode support. Better handling of landscape. 2021-01-12 15:44:10 -08:00
Michelle Linington
cb8de8b014 Add onboarding banner to ConversationListViewController 2021-01-12 15:44:10 -08:00
Nora Trapp
08baf57151 Allow sharing to multiple threads 2021-01-12 15:33:54 -08:00
Michelle Linington
4af5c2dbcc Rebase and lint 2021-01-12 15:06:41 -08:00
Michelle Linington
34dd4f8e73 Remove minimum activity timer 2021-01-12 15:06:41 -08:00
Michelle Linington
56caf0e361 Cleanup and bug fixing
- Better comments
- Fix issues around how cancelled promises propogate
- Opportunistic bug fixing with alert presentation
2021-01-12 15:06:41 -08:00
Michelle Linington
e5573a6f30 IOS-1014: Fail to send video attachment after scrubbing and trimming
Fixes an issue where scrubbing and trimming a video attachment will
cause the send to fail.

This was caused by an issue with how we prerender trimmed video during a
scrub gesture. This fixes this by only performing the render when
necessary.

Additionally, this changes up some of the lifecycle around rendering
trimmed videos. Replaces the NSOperation with a promise chain to avoid
unnecessary queue hopping.
2021-01-12 15:06:41 -08:00
Matthew Chen
99f630e523 Add auto-download settings for media. 2021-01-12 19:28:16 -03:00
Matthew Chen
5abf846809 Add auto-download settings for media. 2021-01-12 19:28:16 -03:00
Matthew Chen
bdabe15c31 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
edf5c32eb6 Group link promotion. 2021-01-12 15:51:38 -03:00
Matthew Chen
03c21253e4 Group link promotion. 2021-01-12 15:51:05 -03:00
Matthew Chen
dcebecfd3b Respond to CR. 2021-01-11 22:57:08 -03:00
Matthew Chen
c0c6683c61 Merge branch 'release/5.1.0' 2021-01-07 16:44:04 -03:00
Nora Trapp
9b1b171c47 Unify and localize support request emails 2021-01-07 10:59:46 -08:00
Matthew Chen
55ba8dd403 Improve handling of missing profiles in group migrations. 2021-01-07 14:18:50 -03:00
Matthew Chen
82d5d3be99 Improve handling of missing profiles in group migrations. 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
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
0111224576 Merge branch 'release/5.1.0' 2021-01-05 17:54:30 -03:00
Matthew Chen
f0b09f9470 Make sure "re-add dropped members" action sheet auto-dismisses on success. 2021-01-05 10:43:54 -03:00
Matthew Chen
12a61511ab Merge remote-tracking branch 'private/release/5.1.0' 2021-01-04 22:54:46 -03:00
Matthew Chen
d09524c3f8 Update CVC contentInset after keyboard presentation/dismissal. 2020-12-23 17:46:31 -03:00
Nora Trapp
6f096e85db Fix text measurement bug 2020-12-23 10:49:48 -08:00
Matthew Chen
d7ffe46168 Merge branch 'release/5.1.0' 2020-12-23 14:33:36 -03:00
Matthew Chen
3e9c81d394 Fix "last admin leaves group." 2020-12-23 14:19:43 -03:00
Matthew Chen
1e149fa2a2 Merge remote-tracking branch 'private/release/5.0.3' into release/5.1.0 2020-12-23 14:18:50 -03:00
Matthew Chen
475bbc05a5 Small fixes. 2020-12-22 18:04:49 -08:00
Matthew Chen
625b45f4aa Small fixes. 2020-12-22 18:04:49 -08:00
Matthew Chen
737e27d1a8 Simplify logging. 2020-12-22 21:29:47 -03:00
Michelle Linington
81b06025aa IOS-999: Issues sending/receiving still webp images on iOS
Metadata stripping relies on CoreGraphics, but CoreGraphics doesn't
support WebP. When attempting to send a static WebP, we fail to send
because we fail to strip metadata.

We should account for this by checking the destination formats
CoreGraphics supports. If it doesn't support the type we're trying to
strip, we'll fall back to just converting it to png/jpeg.
2020-12-22 14:22:34 -08:00
Nora Trapp
40d9684816 Cleanup fix for optimized builds 2020-12-22 12:27:07 -08:00
Nora Trapp
53c56d3ce6 Fix text measurement 2020-12-22 12:27:07 -08:00
Matthew Chen
ad1590dc8e Merge remote-tracking branch 'private/release/5.1.0' 2020-12-22 13:19:47 -03:00