Commit Graph

5179 Commits

Author SHA1 Message Date
Matthew Chen
21773fb47e Feature flags for .qa. 2020-09-14 16:13:06 -03:00
Matthew Chen
781daf01e1 Feature flags for .production. 2020-09-14 16:12:29 -03:00
Matthew Chen
dd6393a44b Feature flags for .beta. 2020-09-14 16:11:03 -03:00
Matthew Chen
12032990e7 Respond to CR. 2020-09-14 16:09:34 -03:00
Matthew Chen
6339ff5f24 Fix spurious warnings around missing updater info when removed from the group. 2020-09-14 15:47:23 -03:00
Matthew Chen
e56e3fe916 Clean up "not in gv2 group" code path. 2020-09-14 15:47:23 -03:00
Matthew Chen
34edebd669 Tweak capabilities for gv2. 2020-09-14 15:13:50 -03:00
Nora Trapp
fbd25eb687 Feature flags for .qa. 2020-09-10 18:50:37 -07:00
Nora Trapp
a47c6aeace Feature flags for .production. 2020-09-10 18:50:28 -07:00
Nora Trapp
a2a5108901 Feature flags for .qa. 2020-09-10 16:09:16 -07:00
Nora Trapp
53121528b2 Feature flags for .production. 2020-09-10 16:09:10 -07:00
Michelle Linington
56f3f3d3d8 IOS-832: Device transfer flow should handle missing folders
A user hit an issue on an iPhone 5s. Device transfer would fail because
their app group was missing the ProfileAvatars directory.

This directory is lazily created as a post-launch job at background QoS.
It's not too big of a deal and it'll be created on demand if necessary.
The 5s was probably CPU constrained enough to never have a chance to run
any background jobs.

The fix is to just have our recursive filesystem traversal ignore any
unknown directory errors. This is only used in a couple places and the
behavior makes sense in each place.
2020-09-10 15:27:10 -07:00
Matthew Chen
2af468c533 Use serial queues for attachment upload and download. 2020-09-10 15:17:24 -07:00
Matthew Chen
be96209bfe Use serial queues for attachment upload and download. 2020-09-10 15:17:24 -07:00
Matthew Chen
9a40501bee Add autorelease pools around attachment upload and download. 2020-09-10 15:17:24 -07:00
Nora Trapp
3ac8696da3 Delete mentions megaphone 2020-09-10 15:02:50 -07:00
Nora Trapp
d01d25ffa0 Feature flags for .qa. 2020-09-09 14:59:34 -07:00
Nora Trapp
2c1e6047f0 Feature flags for .production. 2020-09-09 14:59:28 -07:00
Nora Trapp
3709f4ff4b Feature flags for .beta. 2020-09-09 14:59:19 -07:00
Nora Trapp
172125ca3c New CDS enclave 2020-09-09 14:20:10 -07:00
Nora Trapp
53f3e3a728 Feature flags for .qa. 2020-09-08 20:13:26 -07:00
Nora Trapp
13af8f1d63 Feature flags for .beta. 2020-09-08 20:12:45 -07:00
Nora Trapp
f49e099f5e Rev gv2 feature flags 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
Michelle Linington
904f85449b IOS-829: Link Previews: Better handling of cancelled requests
OWSLinkPreviewManager's network fetches have a size cap. Any requests
that go over this cap are cancelled. By default, PromiseKit will not
catch/recover any cancellation errors. This would leave our link preview
promises in a sort of dangling state, not a success but not a failure.

Introduces a convenience wrapper around catching and rethrowing a
cancellation error. This is adopted in OWSLinkPreviewManager to rethrow
any cancelled requests. This makes sense, because anything up the chain
shouldn't really care whether or not the underlying request was cancelled.
2020-09-08 15:55:10 -07:00
Nora Trapp
789f7f887f Remote expiration date is not sticky before expiration 2020-09-08 15:46:10 -07:00
Nora Trapp
e88903a408 Allow app to be remotely expired 2020-09-08 15:11:03 -07:00
Michelle Linington
5437527e10 IOS-831: Link Preview 1970 date
Some android devices will set the date field in the proto to zero, even
if a date is available. Currently, iOS devices will display a date if
there's ever one set.

The fix is to just ignore date values of zero.
2020-09-08 14:10:58 -07:00
Matthew Chen
b6ace5a3f6 Fix bug in link preview view measurement. 2020-09-08 17:54:43 -03:00
Matthew Chen
a09a4eca58 Clean up codebase. 2020-09-08 17:53:46 -03:00
Matthew Chen
b3d9fb7854 Improve flow for sharing a group invite link to a single conversation. Add UI Database snapshot flush promise. 2020-09-08 17:52:12 -03:00
Matthew Chen
02cd90db5f Improve handling of group invite link edge cases. 2020-09-08 17:44:56 -03:00
Matthew Chen
0c0109ee5c Improve handling of group invite link edge cases. 2020-09-08 17:44:56 -03:00
Matthew Chen
b7ee677d14 Improve handling of cancelled requests. 2020-09-08 17:44:56 -03:00
Matthew Chen
701c1659bd Fix copy when cancelling a group request. 2020-09-08 17:44:55 -03:00
Matthew Chen
6135e3c482 Update link previews for group invite links. 2020-09-08 17:33:50 -03:00
Matthew Chen
1bbbe2d968 Update copy around member requests. 2020-09-04 17:36:20 -03:00
Matthew Chen
ad60924ad1 Add UI for pending member requests and ability to cancel. 2020-09-04 17:36:20 -03:00
Matthew Chen
888351bf4e Fix download of non-body attachments for sync transcripts. 2020-09-04 15:56:40 -03:00
Matthew Chen
7fe869de41 Fix race in "protect temporary file" logic. 2020-09-04 15:56:07 -03:00
Matthew Chen
e89d23f520 Fix user-agent header for v2 POST uploads. 2020-09-04 15:24:57 -03:00
Matthew Chen
7b47f79e96 Refine group invite link UI. 2020-09-04 08:45:06 -03:00
Nora Trapp
f71469cbc4 Feature flags for .qa. 2020-09-03 18:57:34 -07:00
Nora Trapp
898155b794 Merge branch 'release/3.16.0' 2020-09-03 18:56:52 -07:00
Nora Trapp
38154f0971 Feature flags for .production. 2020-09-03 18:39:43 -07:00
Nora Trapp
b7e3a66ff7 Feature flags for .beta. 2020-09-03 18:38:48 -07:00
Michelle Linington
7e01f9a2c5 IOS-824: Link preview UI tweaks
Makes some minor adjustments to the link preview UI in preparation for
release.
2020-09-03 18:25:05 -07:00
Michelle Linington
be9b96bf4b PR Feedback: align proto definition 2020-09-03 18:19:20 -07:00
Michelle Linington
1405e46e62 IOS-823: Add description/date to link preview model
Updates the proto definition to add a preview description and date
field. Date and description metadata from fetched content will be sent
over the wire. We can't render it locally yet, but at least this will
allow supporting recipients to display the content.

Also, made some minor changes to HTMLMetadata to better handle article
publish/modified date tags.
2020-09-03 18:19:20 -07:00
Matthew Chen
2b70538665 Handle expired group invite links. 2020-09-03 18:33:43 -03:00