Commit Graph

392 Commits

Author SHA1 Message Date
Michelle Linington
5eea70f408 Adjust sender key capabilities
- Always on for internal installs
- On for internal population running beta builds
2021-08-09 21:37:38 -03:00
Matthew Chen
7acce7d9fd Respond to CR. 2021-08-09 15:50:03 -03:00
Matthew Chen
9931525be4 Fix issue around device linking before remote config is downloaded. 2021-08-09 15:50:03 -03:00
Michelle Linington
75359cedbb Disable sender key in beta builds 2021-08-04 22:10:39 -07:00
Michelle Linington
5742e72315 Update feature flags in preparation for SenderKey beta
- Capabilities should be enabled universally
- No remote feature flag to enable
- Two remote feature flags to disable SenderKey and MessageResend
  respectively.
2021-08-04 22:10:39 -07:00
Matthew Chen
d2a7d3e757 Merge branch 'release/5.17.0' 2021-07-28 12:29:30 -03:00
Matthew Chen
088c1e1d34 Refine announcement-only capability. 2021-07-28 11:49:07 -03:00
Michelle Linington
b3315bca86 Add SenderKey remote config flag 2021-07-23 12:33:20 -07:00
Michelle Linington
2b92590908 Sender key send 2021-07-21 22:58:50 -07:00
Michelle Linington
8278af0475 Sender key capability 2021-07-21 22:58:50 -07:00
Nora Trapp
2bd8d28f51 Merge branch 'release/5.16.0' 2021-07-13 13:30:27 -07:00
Nora Trapp
2face21e34 Add remote config flag for the NSE 2021-07-13 11:59:27 -07:00
Matthew Chen
79d5046f29 Announcement-only groups. 2021-07-13 11:42:52 -03:00
Matthew Chen
7a0ce480fc Announcement-only groups. 2021-07-13 11:42:52 -03:00
Matthew Chen
5f42726df5 Announcement-only groups. 2021-07-13 11:42:52 -03:00
Matthew Chen
5426e91bd5 Announcement-only groups. 2021-07-13 11:42:52 -03:00
Matthew Chen
d5e35b42d9 Announcement-only groups. 2021-07-13 11:42:52 -03:00
Matthew Chen
857c9f43b0 Announcement-only groups. 2021-07-13 11:42:52 -03:00
Matthew Chen
b8ce3c7b90 Reduce peak memory usage in NSE. 2021-07-01 15:53:59 -07:00
Matthew Chen
48c06d4b52 Reduce network manager's pool sizes in NSE. 2021-06-30 16:11:54 -03:00
Nora Trapp
80bb849f5b Add message request flow to report spam 2021-06-30 09:54:26 -07:00
Matthew Chen
37052a302a Fix build warnings around imports. 2021-06-07 11:11:30 -04:00
Nora Trapp
12d67d25da Use vanilla push for preauth challenge 2021-06-03 08:38:29 -07:00
Nora Trapp
5227fd64dc Don't set voip token on service if using NSE 2021-06-03 08:38:29 -07:00
Nora Trapp
5bf94de2a6 little fixes 2021-05-13 09:32:21 -07:00
Nora Trapp
0dee0cb3d9 Initial ApplePay donation support 2021-05-12 18:31:53 -07:00
Michelle Linington
0bd6d11c8e lint 2021-05-07 12:13:38 -07:00
Michelle Linington
02c9ef4ef7 Most of the remainder of the spam work:
- Updates to the message send flow
- Presents basic captcha UI when needed
- Auto-resend when captcha is complete

What's left:
- Bits of UI to communicate the sending state to the user
- Some cleanup of how we talk to the server
- Localizations
2021-05-07 12:13:37 -07:00
Michelle Linington
fb1bc08bbd Spam challenge solving infrastructure
Most of this is hidden behind a feature flag and untested. Still waiting
on server support to exercise these endpoints.

- Builds out skeleton for tracking arbitrary spam challenges
- Records a push challenge in response to a server push
- Records a captcha challenge in response to a server precondition
  rejection when fetching prekeys or sending messages

Push challenges should be good to go (once tested). Captcha challenges
still require some work to pause sending and present the captcha to the
user. Server communication for captcha challenges is complete.
2021-05-07 12:13:36 -07:00
Michelle Linington
ba2a45b21a IOS-1325: Stop fetching still gif preview images
Also, a whole bunch of improvements to looping video perf:
- Schedule all sorts of AVKit loading off the main thread
- Avoid rebuilding GIF picker cells if it can be avoided
- Only play AVAssets once they're loaded and ready to go
2021-04-29 16:19:26 -07:00
Michelle Linington
6f5a6ad6df PR Feedback 2021-04-22 14:53:49 -07:00
Michelle Linington
054c7a0b0c MP4 looping media support
- Fetch mp4s from Giphy for showing previews
- Fetch mp4s from Giphy for sending (behind featuree flag)
- A new flag on attachments to tag a video as "looping media"
- Videos tagged with this flag will be shown on repeat
2021-04-22 14:53:47 -07:00
Nora Trapp
a0d542657b Streaming encryption and decryption of attachments 2021-04-08 13:30:36 -07:00
Matthew Chen
532976bd76 Fix rebase breakage. 2021-04-06 13:57:10 -03:00
Matthew Chen
04be73bfc8 Avoid overzealous assert. 2021-04-06 13:57:09 -03:00
Matthew Chen
ce84309224 Small improvements around payments. 2021-04-06 13:57:06 -03:00
Matthew Chen
70f3675585 Clean up ahead of PR. 2021-04-06 13:57:06 -03:00
Matthew Chen
02fbe33779 Payments: SSK Business Logic 2021-04-06 13:57:06 -03:00
Matthew Chen
d0cbf8cfd0 Rework dependency access. 2021-03-25 09:24:27 -03:00
Jordan Rose
68a27a76e2 Move AxolotlKit model classes into SSK and remove the dependency
We still need the AxolotlKit model classes to migrate old sessions,
but we don't need any of the actual protocol support. This also
means we can drop HKDFKit.

Additionally, we do still use some utilities from AxolotlKit:

- AxolotlExceptions.h: NSException names, should eventually be
  replaced by NSErrors everywhere

- NSData+keyVersionByte.h: prepend/remove public key type byte,
  should eventually be replaced by strong types (ECPublicKey)

- SPKProtocolContext.h: defines the SPKProtocol{Read,Write}Context
  marker protocols, should be replaced by direct use of
  SDSAny{Read,Write}Transaction
2021-03-22 16:17:47 -07:00
Nora Trapp
49c17f2af8 Add new delete account flow 2021-03-09 12:17:32 -08:00
Michelle Linington
5341d59ba1 Lint 2021-02-12 14:03:16 -08:00
Michelle Linington
3c7e96fcd4 PR Feedback 2021-02-12 13:14:48 -08:00
Michelle Linington
b4d36dcf31 Design changes for onboarding 2021-02-12 13:14:13 -08:00
Nora Trapp
5a415e004d Remove OWSMessageServiceParams 2021-02-12 12:02:15 -08:00
Nora Trapp
514b803fdb Fix 'online' flag for message sending 2021-02-12 11:59:34 -08:00
Matthew Chen
e359de0aad Merge branch 'release/5.3.3' 2021-02-04 10:57:26 -03:00
Matthew Chen
fe1f6d64f4 Enforce max attachment upload sizes more strictly. 2021-02-04 10:45:12 -03:00
Matthew Chen
cb43be6e60 Enforce max attachment upload sizes more strictly. 2021-02-04 10:45:12 -03:00
Matthew Chen
3f3574f3fe Respond to CR. 2021-02-03 09:47:34 -03:00