Commit Graph

828 Commits

Author SHA1 Message Date
Nora Trapp
450870de44 Design feedback 2021-03-04 18:32:24 -08:00
Matthew Chen
3c9dfe46be Refine new table style. 2021-03-04 17:17:04 -03:00
Nora Trapp
5f1435113e Re-style privacy settings, group creation, compose, and other miscellany 2021-03-03 20:32:36 -08:00
Nora Trapp
87720bc22d Notification settings restyle 2021-03-03 20:29:41 -08:00
Nora Trapp
19cb5dc27b Add chats settings 2021-03-03 20:29:41 -08:00
Nora Trapp
d1845e753d Update wallpaper stylings 2021-03-03 20:29:40 -08:00
Nora Trapp
88d7821b60 Update profile settings view styles 2021-03-03 20:29:40 -08:00
Nora Trapp
232bb2f8af Change over a bunch of tables and design feedback 2021-03-03 20:29:40 -08:00
Nora Trapp
325f87a1cb Initial App settings restyling 2021-03-03 20:29:40 -08:00
Michelle Linington
5341d59ba1 Lint 2021-02-12 14:03:16 -08:00
Michelle Linington
a039d2875a Updated Profile management UI 2021-02-12 13:14:48 -08:00
Michelle Linington
0a621535a5 A whole bunch of autolayout prioritization for iPhone 5s/SE
Also improvements to animations around keyboard offset changes
2021-02-12 13:14:13 -08:00
Michelle Linington
b4d36dcf31 Design changes for onboarding 2021-02-12 13:14:13 -08:00
Matthew Chen
5172b5fbdb Respond to CR. 2021-02-12 17:30:31 -03:00
Matthew Chen
3a9f0a6fc2 Refine new table style. 2021-02-12 17:30:31 -03:00
Matthew Chen
07b0a9f694 Refine headers and footers in the new table view. 2021-02-12 17:30:31 -03:00
Matthew Chen
a076503c2d Add new table view controller with new style. 2021-02-12 17:30:31 -03:00
Matthew Chen
b6e2560c43 Add new table view controller with new style. 2021-02-12 17:30:31 -03:00
Matthew Chen
11afd26f0a Add new table view controller with new style. 2021-02-12 17:30:30 -03:00
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
Matthew Chen
686aee752c Rename OWSMessageSender -> MessageSender. 2020-09-17 21:35:35 -03:00
Matthew Chen
7befd00429 Rewrite linked devices view. 2020-09-17 21:26:09 -03:00
Matthew Chen
d188e403e1 Rewrite linked devices view. 2020-09-17 21:26:06 -03:00
Matthew Chen
ca6203b44f Reduce modal activity indicator display delay. 2020-09-17 21:25:03 -03:00
Matthew Chen
c6f3f8eba6 Fix rebase breakage. 2020-09-17 21:18:35 -03:00
Matthew Chen
66510bc18f DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
239fbbc8ba DRY singleton accessors. 2020-09-17 21:13:14 -03:00
Matthew Chen
8c50ffcc30 Rename singleton accessors. 2020-09-17 21:13:12 -03:00
Matthew Chen
819321e4ef Rename singleton accessors. 2020-09-17 21:11:09 -03:00
Matthew Chen
c017e76aab Rename singleton accessors. 2020-09-17 21:11:09 -03:00
Matthew Chen
ad6bda8a44 Rename singleton accessors. 2020-09-17 21:11:07 -03:00
Nora Trapp
0c50994da5 Fix text approval view keyboard animation 2020-09-09 14:50:31 -07:00
Nora Trapp
e0e784e9ce Fix ordering of pinned threads when sharing 2020-09-08 19:59:16 -07:00
Nora Trapp
f67bffd637 Add link preview support to share extension and forwarding 2020-09-08 19:58:29 -07:00
Nora Trapp
7da0a9fc66 Sort pinned threads to the top of the 'recent items' section when sharing 2020-09-04 15:27:09 -07:00
Matthew Chen
1f01bc709e Apply design updates to group links UI. 2020-09-03 18:33:43 -03:00
Matthew Chen
c464a2efac Respond to CR. 2020-09-02 17:14:52 -03:00
Matthew Chen
2d8d52c7e9 Allow user to cancel attachment preparation in the send media flow. 2020-09-02 17:05:14 -03:00
Matthew Chen
7d4db98ccb Reduce sticker change event frequency. 2020-09-02 16:33:35 -03:00
Matthew Chen
dcb4d09269 Fix de-bouncing of sticker pack data source change events. 2020-09-02 16:32:22 -03:00
Matthew Chen
4841a9eefb Add possible support for animated lottie, webp, apng. 2020-09-02 13:44:14 -03:00
Matthew Chen
95c52e21b6 Add support for animated stickers. 2020-09-02 13:44:14 -03:00
Matthew Chen
a7aeba72b4 Add support for animated stickers. 2020-09-02 13:44:13 -03:00
Matthew Chen
fc47aa83b4 Add support for animated stickers. 2020-09-02 13:44:13 -03:00
Matthew Chen
1708087a76 Add support for animated stickers. 2020-09-02 13:44:13 -03:00
Matthew Chen
f80059f8e9 Add support for animated stickers. 2020-09-02 13:44:13 -03:00
Matthew Chen
b2e9111ddd Add group invite link action sheet. 2020-09-01 17:25:02 -03:00
Matthew Chen
ed6ec5362d Add group link view. 2020-09-01 17:11:09 -03:00
Michelle Linington
a0cfcc87f0 Pull request feedback and removing unnecessary code
- Rename URL -> Url to follow convention
- Remove some duplicated/unnecessary code
- Parse the returned image Data with ImageData
2020-08-26 16:49:22 -07:00
Michelle Linington
1f9b6906df IOS-807: Fetch link preview content directly
This change updates the link preview fetch flow to fetch content
directly rather than through the proxy. This means we can remove the
allowed domain list and fetch content from most provided domains.

This almost moves HTML content parsing outside of OWSLinkPreview.
Currently we'll still only fetch the same content, but it's extensible
enough to fetch all sorts of different opengraph tags.

AFHTTPSessionManager will no longer faildebug on a request failure.
Since we're going to be firing opportunistic fetch requests as we parse
a URL, it's expected that some will fail.
2020-08-26 16:47:49 -07:00
Nora Trapp
1e7a3384c9 Add a donate link to settings 2020-08-25 17:42:46 -07:00