Commit Graph

6401 Commits

Author SHA1 Message Date
Matthew Chen
5de4cb26c5 Refine message send bench milestones. 2021-09-08 21:41:13 -03:00
Matthew Chen
5e7636ec62 Add metrics around rendering message sends. 2021-09-08 21:41:13 -03:00
Matthew Chen
b12b71910f Disable CVC load logging in internal builds. 2021-09-08 16:29:29 -03:00
Matthew Chen
f8765e3a0e Rework DebouncedEvent. 2021-09-08 15:04:26 -03:00
Matthew Chen
2cfa16c31c Cache display names when building CVC item models. 2021-09-08 15:04:26 -03:00
Matthew Chen
0b6d3e2ef4 Refine CVC text measurement caching. 2021-09-08 15:04:26 -03:00
Matthew Chen
7ae7510c47 Improve perf of CVC date math. 2021-09-08 15:04:26 -03:00
Matthew Chen
e2ac6b609b Fix rebase breakage. 2021-09-08 15:04:26 -03:00
Matthew Chen
5f73385216 Overlap load landings. 2021-09-08 15:04:26 -03:00
Matthew Chen
de8ac4cea1 Overlap load landings. 2021-09-08 15:04:26 -03:00
Matthew Chen
799a284478 Overlap load landings. 2021-09-08 15:04:26 -03:00
Matthew Chen
12e5b2a3fa Port OWSWebSocket to Swift. 2021-09-08 14:59:41 -03:00
Matthew Chen
85192894cb Design feedback around message forwarding flow. 2021-09-08 09:59:41 -03:00
Matthew Chen
8bc8a6b637 Design feedback around message forwarding flow. 2021-09-08 09:59:41 -03:00
Matthew Chen
47b9c36434 Fix styling in body text edge cases. 2021-09-04 23:09:53 -03:00
Michelle Linington
d4cc667f9b Additional strategies to avoid prekey ratelimit
- First, we should skip fetching prekeys for transient messages in our
  advisory call to -ensureSessionsForMessageSend:ignoreErrors:. We
  already skip transient messages in our prekey fetch where errors *do*
  matter, so this additional check should be able to skip the prekey
  fetch as well.

- OWSOutgoingReceiptManager should stop trying to send receipts to
  recipients that are untrusted. This just burns through prekey fetches
  for sends that we know will fail anyway.

- SafetyNumberConfirmationSheet should handle marking a recipient as
  trusted. Callers are hit or miss on whether they actually update the
  verification state.

- These fixes also happen to make SafetyNumberConfirmationSheet
  presentation a bit more reliable. Before, multiple confirmation sheets
  might flash in quick succession. This seems to fix that
2021-09-03 14:16:33 -07:00
Nora Trapp
cd3460337d Address rebase conflicts 2021-09-03 11:48:06 -07:00
Nora Trapp
2814ab7629 Convert to new Promise library 2021-09-03 11:41:34 -07:00
Matthew Chen
1ddbe154f9 Fix audio message layout. 2021-09-03 09:09:27 -03:00
Matthew Chen
784f95cb2f Tune the sticky header background colors. 2021-09-03 09:09:27 -03:00
Matthew Chen
7f424ea2ee Fix sticky header animations. 2021-09-03 09:09:27 -03:00
Matthew Chen
2b502ad609 Elaborate logging around missing notifications. 2021-09-02 22:51:26 -03:00
Matthew Chen
29de97ee43 Merge branch 'release/5.19.0' 2021-09-01 17:52:39 -03:00
Matthew Chen
d240d29713 Disable verbose load logging in CVC. 2021-09-01 16:46:09 -03:00
Matthew Chen
49f83b35ec Refine payments formatting. 2021-09-01 16:30:49 -03:00
Matthew Chen
c4438b866d Respond to CR. 2021-09-01 10:36:56 -03:00
Matthew Chen
52ea1c3389 Clean up ahead of PR. 2021-09-01 09:34:30 -03:00
Matthew Chen
f8a8e67150 Only use compact spacing within a cluster. 2021-09-01 09:34:30 -03:00
Matthew Chen
00a27d2f27 Add sticky headers to CVC. 2021-09-01 09:34:30 -03:00
Matthew Chen
90d0d395dd Add background bubble to date headers. 2021-09-01 09:34:30 -03:00
Matthew Chen
2005be536b Update date header and message footer date formatting. 2021-09-01 09:34:30 -03:00
Matthew Chen
2b2686b267 Add sticky headers to CVC. 2021-09-01 09:34:30 -03:00
Matthew Chen
1782b29a97 Add sticky headers to CVC. 2021-09-01 09:34:30 -03:00
Matthew Chen
84be3d5e1d Clean up CVC layout scroll continuity. 2021-09-01 09:34:30 -03:00
Matthew Chen
39a47dea11 Add logging around websocket lifecycle. 2021-08-30 21:26:49 -03:00
Matthew Chen
670d569f6f Merge branch 'release/5.19.0' 2021-08-30 17:21:43 -03:00
Matthew Chen
68e6bc4a12 Clean up ahead of PR. 2021-08-30 17:19:11 -03:00
Matthew Chen
b7b9bd6d08 Overlap landing animations. 2021-08-30 17:19:10 -03:00
Matthew Chen
ef167d2696 Interleave CVC load building & landing. 2021-08-30 17:19:10 -03:00
Matthew Chen
4c7d0f6333 Interleave CVC load building & landing. 2021-08-30 17:19:10 -03:00
Matthew Chen
15a95b9145 Remove toggleDefaultKeyboard(). 2021-08-30 17:19:07 -03:00
Matthew Chen
a57a1c1c90 Consider non-animated loads to have completed immediately. 2021-08-30 17:18:23 -03:00
Matthew Chen
9fd3b274e7 Respond to CR. 2021-08-30 17:15:56 -03:00
Matthew Chen
ca3f83ba98 Fix crash when scanning QR codes. 2021-08-30 17:15:55 -03:00
Matthew Chen
0a5ad41d04 Revert "Fix crash when scanning QR codes."
This reverts commit db89733ac02bb906649c1a076d0f503cd53439af.
2021-08-30 17:15:55 -03:00
Matthew Chen
f7771c55ac Revert "Fix crash when scanning QR codes."
This reverts commit e1d151b3bfb155c141f4375ef969014aebab2f8b.
2021-08-30 17:15:55 -03:00
Matthew Chen
ecc0d98bff Fix crash when scanning QR codes. 2021-08-30 17:15:55 -03:00
Matthew Chen
fb74cdadff Fix crash when scanning QR codes. 2021-08-30 17:15:55 -03:00
Matthew Chen
2bf974bc58 Don't restore keyboard after CVC message context menu if the menu item presented a VC. 2021-08-30 17:06:27 -03:00
Matthew Chen
c474d3f07c Ensure message actions footer updates for theme changes; fixed styling of its selection label. 2021-08-30 17:06:27 -03:00