Commit Graph

6079 Commits

Author SHA1 Message Date
Nora Trapp
0dee0cb3d9 Initial ApplePay donation support 2021-05-12 18:31:53 -07:00
Matthew Chen
936b64b959 Add feature flag for data detection. 2021-05-11 10:12:58 -03:00
Nora Trapp
3b084ed62d "Feature flags for .qa." 2021-05-10 13:08:14 -07:00
Nora Trapp
c3b661c0df "Feature flags for .beta." 2021-05-10 13:08:07 -07:00
Matthew Chen
9ce2c0ed3a Fix bio appearance. 2021-05-09 21:59:57 -03:00
Michelle Linington
098cdf00c2 "Feature flags for .qa." 2021-05-07 17:54:02 -07:00
Michelle Linington
ecb662f8f3 "Feature flags for .beta." 2021-05-07 17:53:54 -07:00
Michelle Linington
b0f0051942 Declare more captcha things public and rename one more class
I'm not sure why Xcode isn't flagging this locally. Apologies for the
commit spam.
2021-05-07 17:53:25 -07:00
Michelle Linington
c6979359ad "Feature flags for .qa." 2021-05-07 17:20:46 -07:00
Michelle Linington
4b92be1830 "Feature flags for .beta." 2021-05-07 17:20:23 -07:00
Michelle Linington
9d32cfd6f6 "Feature flags for .qa." 2021-05-07 16:57:37 -07:00
Michelle Linington
b58be4515a "Feature flags for .beta." 2021-05-07 16:56:53 -07:00
Michelle Linington
af4ad5e607 "Feature flags for .qa." 2021-05-07 15:53:22 -07:00
Michelle Linington
72895962ff "Feature flags for .beta." 2021-05-07 15:53:04 -07:00
Michelle Linington
2c0963d5d1 Rename server push challenge flag 2021-05-07 15:42:42 -07:00
Nora Trapp
b551c70b9b Fix compilation 2021-05-07 12:51:53 -07:00
Nora Trapp
9a6a45d597 Allow waveforms for longer messages. 2021-05-07 12:32:02 -07:00
Michelle Linington
b2f2ebf583 PR Feedback: Remove unused code 2021-05-07 12:13:39 -07:00
Michelle Linington
d5a7ef2b35 More linting 2021-05-07 12:13:38 -07:00
Michelle Linington
0bd6d11c8e lint 2021-05-07 12:13:38 -07:00
Michelle Linington
0760a762a3 Clean up leftover testing code 2021-05-07 12:13:38 -07:00
Michelle Linington
c5fcb7d889 Localize strings, UI tweaks 2021-05-07 12:13:38 -07:00
Michelle Linington
5d00f6a94a Spam UI work 2021-05-07 12:13:37 -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
6db6f5c024 PR Feedback 2021-05-07 12:13:36 -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
Matthew Chen
79308e642e Cache profile bio filtering. 2021-05-07 11:51:33 -03:00
Michelle Linington
21f0fcb2ff Fixes broken tests related to the GroupMembers table
The TSGroupMember table is updated after every inserted interaction. It
asserts that the sender of the interaction is in the group membership.

Before, our tests would construct groups with mock membership and then
construct outgoing messages with the local address as the sender. This
would fail this new requirement.

The fix is to make sure that the local address is in the test group
membership if we'd like to "send" any messages.
2021-05-06 15:45:42 -07:00
Matthew Chen
2b9afbdd8e Cull stale interactions. 2021-05-06 10:32:42 -03:00
Michelle Linington
5fb1d26515 "Feature flags for .qa." 2021-05-05 15:20:49 -07:00
Michelle Linington
8d7d9f3979 "Feature flags for .beta." 2021-05-05 15:20:13 -07:00
Nora Trapp
f6a36e8b9f Clip audio waveforms 2021-05-05 15:25:55 -03:00
Nora Trapp
9afd7bada4 Automatically mark voice messages to note-to-self as viewed 2021-05-05 15:25:55 -03:00
Nora Trapp
6e360bf637 Add voice memo draft UI 2021-05-05 15:25:54 -03:00
Nora Trapp
a978e453bc Preserve voice message drafts 2021-05-05 15:25:54 -03:00
Matthew Chen
ea3ef98c69 Scale avatar thumbnails to render size. 2021-05-04 21:45:16 -03:00
Matthew Chen
0241fd25e8 Convert contact cells to Swift, clean up configuration, reduce transaction count. 2021-05-04 21:45:15 -03:00
Matthew Chen
40fa336cd2 Improve thumbnail quality. 2021-05-04 17:39:20 -03:00
Matthew Chen
112ebbcd71 Improve thumbnail quality. 2021-05-04 17:39:20 -03:00
Matthew Chen
10e637cfb3 Use GCDQueueCluster to place upper bound on profile fetch concurrency. 2021-05-04 17:37:49 -03:00
Matthew Chen
b7bbd08244 Refine profile fetch concurrency. 2021-05-04 17:37:48 -03:00
Matthew Chen
08b648df8a Use UnfairLock in SignalServiceAddressCache. 2021-05-04 17:19:09 -03:00
Matthew Chen
8a48473ee0 Never retry sending read receipts to blocked users. 2021-05-04 17:17:59 -03:00
Matthew Chen
d3391afc83 "Feature flags for .qa." 2021-05-04 10:31:06 -03:00
Matthew Chen
38bacd5e44 "Feature flags for .beta." 2021-05-04 10:31:00 -03:00
Matthew Chen
0597296620 "Feature flags for .qa." 2021-05-03 15:36:54 -03:00
Matthew Chen
34d3aeb1c8 Merge branch 'release/5.11.1' 2021-05-03 15:36:47 -03:00
Matthew Chen
a27ead29d1 "Feature flags for .production." 2021-05-03 15:34:34 -03:00
Matthew Chen
a5af56bd2d Improve handling of db corruption. 2021-05-03 15:05:58 -03:00
Matthew Chen
10778e915c Improve handling of db corruption. 2021-05-03 15:00:33 -03:00