Commit Graph

759 Commits

Author SHA1 Message Date
Nora Trapp
dac30cf4db Don't store group threads in memory when sharing 2021-02-05 11:22:15 -08:00
Matthew Chen
b890fdeed8 Fix build warnings. 2021-01-23 22:45:33 -03:00
Nora Trapp
06f2657cac Improve sticker horizontal list view reuse 2021-01-23 15:33:48 -08:00
Nora Trapp
a73fde4676 Improve sticker loading behavior 2021-01-23 14:40:01 -08:00
Nora Trapp
7230dabbc8 Add support for sharing suggestions 2021-01-21 20:00:29 -08:00
Nora Trapp
875296c44f Contain ConversationPicker footer to the bounds of its view controller 2021-01-21 20:00:29 -08:00
Nora Trapp
c073d8e204 Speed up presentation of conversation picker, eliminate 'loading' state 2021-01-21 20:00:29 -08:00
Michelle Linington
e06d9d1f6e PR Feedback 2021-01-21 16:20:40 -08:00
Michelle Linington
8fa45c7df9 Reduce unnecessary table loads in ManageStickersViewController 2021-01-21 16:20:35 -08:00
Matthew Chen
ea72437af2 Don't allow keyboard to occlude content in profile views. 2021-01-21 20:50:16 -03:00
Matthew Chen
bd5340b8a4 Rework sticker sharing flow. 2021-01-21 20:19:43 -03:00
Matthew Chen
daf6534d7d Rework sticker sharing flow. 2021-01-21 20:19:43 -03:00
Matthew Chen
d1d660d274 Sticker refinements. 2021-01-21 20:17:59 -03:00
Matthew Chen
f9686689e2 Limit message send flows to max 5 recipients. 2021-01-21 17:45:28 -03: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
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
bdabe15c31 Add auto-download settings for media. 2021-01-12 19:28:15 -03:00
Michelle Linington
49193889d2 Run precommit. Happy new year! 2021-01-05 14:28:32 -08:00
Michelle Linington
3a224687f9 Hook up collision resolution actions 2021-01-05 14:28:28 -08:00
Matthew Chen
d09524c3f8 Update CVC contentInset after keyboard presentation/dismissal. 2020-12-23 17:46:31 -03:00
Matthew Chen
8e1ed4d307 Fix the body media dismiss animations. 2020-12-11 16:49:14 -03:00
Nora Trapp
3f1ea63d7a Merge branch 'release/5.0.1' into release/5.1.0 2020-12-10 14:33:49 -08:00
Michelle Linington
c6004c9fc5 PR Feedback. Adopt similar behavior in AttachmentTextView 2020-12-10 14:23:30 -08:00
Matthew Chen
111338b59d Rewrite conversation view. 2020-12-10 12:44:13 -03:00
Michelle Linington
37a9ce213f Add darkTranslucent styling option for SafetyNumberConfirmationSheet 2020-12-08 11:16:25 -08:00
Michelle Linington
bbe7399841 PR feedback and bug fixes
Most significantly, corner masking wasn't working correctly pre-iOS 14.
This is because UIStackView's backing layer doesn't support
-cornerRadius. To work around this, we add the stack view to a wrapper
view. The corner radius is applied to that instead with masksToBounds
set true.
2020-12-07 15:13:31 -08:00
Michelle Linington
a2117a58fb Add new translucentDark style for ActionSheets
Adopted in GroupCallViewController. This changes how
ActionSheetController is built to have a single backdrop view. In the
translucentDark style, this backdrop is a UIVisualEffectView.

Creates a new enum, Theme.ActionSheet, to track different color
behaviors for action sheet themes.
2020-12-07 15:13:31 -08:00
Michelle Linington
6a8e602825 Return to call action support
Also, tweaks how we notify error messages to muted threads.
2020-11-19 16:04:22 -08:00
Matthew Chen
58fa3c3f3a Block message sends in groups with blocking migrations. 2020-11-12 17:26:44 -03:00
Nora Trapp
1bc6da36fe PR Feedback 2020-11-05 12:25:49 -08:00
Matthew Chen
bcc7995a7b Migrate groups from v1 to v2, part 3.
* Pull out GroupMigrationActionSheet.
* Add group migration action sheets.
* Make changes to enable testing migrations.
* Rewrite banners in Swift.
* Refine group migration logic; add support for testability.
2020-10-30 09:06:40 -03:00
Matthew Chen
a66f2cfc56 Migrate groups from v1 to v2, part 2.
* Add legacy group upgrade action sheet.
* Add 'group update info messages' around migrations.
* Add new limits around group size.
* Rename migration modes to "manual", "auto-migration."
* Add legacy groups action sheets.
* Try to fill in missing UUIDs before migrating groups.
* Ignore "known unregistered" users during group migrations.
2020-10-30 09:05:13 -03:00
Nora Trapp
17892d716c Group Calling 2020-10-15 14:49:20 -07:00
Matthew Chen
de405a2470 Update feature flags and remote config for v3.20. 2020-10-15 14:06:56 -03:00
Matthew Chen
3be512b648 Fix issues around large type in conversation settings. 2020-10-15 13:58:46 -03:00
Matthew Chen
05eb881632 Avoid assert around gif stickers. 2020-10-15 13:57:39 -03:00
Matthew Chen
096ed67bb9 Convert font style convenience methods to properties. 2020-10-06 13:09:45 -03:00
Nora Trapp
6ca4bfeff9 Add backwards compatible support for new photo library APIs 2020-10-05 14:32:07 -07:00
Nora Trapp
413aa689f0 Fix compilation with Xcode 12 2020-10-05 14:32:06 -07:00
Matthew Chen
7b21df6036 Merge branch 'release/3.18.0' 2020-10-01 21:12:18 -03:00
Nora Trapp
1acebc947f PR Feedback 2020-10-01 11:37:00 -07:00
Nora Trapp
abf556fb7a Fix select photos dialog when screen security is enabled. Fixes #4569 2020-10-01 11:37:00 -07:00
Nora Trapp
9f667b55a5 Fix mute button on CallKit screen in iOS 14. Fixes #4567 2020-10-01 11:37:00 -07:00
Matthew Chen
1470557610 Merge branch 'release/3.18.0' 2020-09-29 18:33:50 -03:00
Nora Trapp
bfada1c784 Fix action sheet max-width on smaller displays 2020-09-29 11:35:56 -07:00
Matthew Chen
3480af38e4 Fix build warnings. 2020-09-25 15:16:19 -03:00
Nora Trapp
9e958ca972 PR Feedback 2020-09-23 15:04:48 -07:00
Fumiaki Yoshimatsu
7cae74e432 Increase the vertical insets of placeholders and text inputs to keep them vertically aligned when the system is set to use smaller font and it contains only a line of text. Fixes #4273 2020-09-23 14:54:23 -07:00