Commit Graph

2989 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
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
d240d29713 Disable verbose load logging in CVC. 2021-09-01 16:46:09 -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
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
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
0957a5df49 Merge branch 'release/5.19.0' 2021-08-27 22:15:56 -03:00
Michelle Linington
94f3d297a4 Fixes a few final sender key issues:
- The excludePlaceholders parameter was inverted, but the DebugFlag
  wasn't
- Fix an issue with how we detect content-less sync messages
2021-08-27 16:12:24 -07:00
Nora Trapp
15cb0a5730 Add benchmarks around various message sending milestones 2021-08-27 12:55:57 -07:00
Matthew Chen
6f21ce52ce Tweak sender name size. 2021-08-27 14:22:01 -03:00
Michelle Linington
436acf2694 Various bug fixes and improvements
Most significant here is better handling of quoted reply content without
an attachment. Or with an attachment without a thumbnail
2021-08-26 22:32:30 -07:00
Michelle Linington
9a49c3b64c Bug fixes 2021-08-26 22:32:30 -07:00
Michelle Linington
60fdb8280e Better handling of undownloaded media in quoted replies 2021-08-26 22:32:29 -07:00
Michelle Linington
c7444cb01d Remove isHidden column, use recordType instead 2021-08-26 20:57:06 -07:00
Michelle Linington
276837b62e Bug fixes around cleanup scheduling 2021-08-26 20:29:21 -07:00
Michelle Linington
ee85ecc965 Migrations, renames, more aggressive scheduling of cleanup 2021-08-26 20:29:21 -07:00
Michelle Linington
86310a1855 Handling of invisible interactions 2021-08-26 20:29:21 -07:00
Matthew Chen
52c5d23abf Fix handling of RTL text. 2021-08-26 21:18:08 -03:00
Matthew Chen
bed217262c "One-line" text message layout, overlapping body text with footers. 2021-08-26 21:18:08 -03:00
Matthew Chen
8d108efd1c "One-line" text message layout, overlapping body text with footers. 2021-08-26 21:18:08 -03:00