Commit Graph

280 Commits

Author SHA1 Message Date
Michelle Linington
2eb60643b7 Sender key decryption failure handling
Most of the work for message resend requests. Includes some rudimentary
failure UI.
2021-07-21 22:58:51 -07:00
Michelle Linington
c4bbcc0243 Sender key rotation and expiration 2021-07-21 22:58:51 -07:00
Michelle Linington
8278af0475 Sender key capability 2021-07-21 22:58:50 -07:00
Matthew Chen
c3ec68b9d0 Respond to CR. 2021-07-21 16:50:50 -07:00
Matthew Chen
a1ef42e176 Refine fake group models. 2021-07-21 16:48:09 -07:00
Matthew Chen
8fd6292b15 Refine fake group models. 2021-07-21 16:48:09 -07:00
Matthew Chen
fad5d66bbb Rework blocking manager. 2021-07-21 16:37:59 -07:00
Matthew Chen
cbf38bb91b Fix merge. 2021-07-13 16:07:32 -03:00
Matthew Chen
33fc258c0a Respond to CR. 2021-07-13 15:28:29 -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
dfa65484cb Announcement-only groups. 2021-07-13 11:42:52 -03:00
Matthew Chen
f49e941474 Announcement-only groups. 2021-07-13 11:42:52 -03:00
Matthew Chen
9306f94b77 Announcement-only groups. 2021-07-13 11:42:52 -03:00
Matthew Chen
121c5500f1 Announcement-only groups. 2021-07-13 11:42:51 -03:00
Matthew Chen
3886973c02 Update groups after unblocking them. 2021-07-09 22:31:04 -03:00
Matthew Chen
ef0098523f Improve blocking of v2 groups. 2021-07-09 22:31:04 -03:00
Matthew Chen
3f07db9e37 Clean up async completions. 2021-07-07 09:49:44 -03:00
Matthew Chen
dc62dc7775 Streamline blocked group list memory usage in NSE. 2021-06-30 16:11:55 -03:00
Matthew Chen
c0f3b95ba0 Rework user profile writes. 2021-06-18 13:46:39 -03:00
Matthew Chen
02b6c1d6f0 Rework user profile writes. 2021-06-18 13:46:38 -03:00
Matthew Chen
7dafc6aa3d Rework user profile writes. 2021-06-18 13:46:38 -03:00
Matthew Chen
37052a302a Fix build warnings around imports. 2021-06-07 11:11:30 -04:00
Matthew Chen
1019fc6460 Replace ConversationColors with "avatar colors". 2021-05-25 16:22:31 -03:00
Nora Trapp
1e40ec144d Add support for group descriptions 2021-05-17 09:58:35 -03:00
Nora Trapp
a365b45522 Add support for viewed receipts 2021-04-29 18:01:18 -07:00
Nora Trapp
6783db210e Add default disappearing message timer 2021-04-29 15:46:43 -07:00
Matthew Chen
e552062be8 Refine error handling in group profile fetching. 2021-04-05 16:22:26 -03:00
Matthew Chen
d0cbf8cfd0 Rework dependency access. 2021-03-25 09:24:27 -03:00
Matthew Chen
6f737748e9 Avoid profile key conflicts. 2021-03-12 17:05:02 -08:00
Matthew Chen
dab3994b3a Add logging around profile key rotation. 2021-03-03 17:20:02 -03:00
Matthew Chen
8017d0da50 Allow group migrations to work if a member never had a versioned profile. 2021-02-23 15:57:49 -03:00
Nora Trapp
ec1a1bb9ae Simplify MessageProcessing promises 2021-02-23 10:45:50 -08:00
Matthew Chen
ee649a2cc2 Add logging around auto-whitelisting of group conversations. 2021-02-19 10:05:36 -03:00
Michelle Linington
ebdf67395e Additional PR Feedback
Our stored avatars are still PNG. Fallback to the png content type and
file extension if the underlying data is png.
2021-02-05 11:11:20 -08:00
Michelle Linington
0b8a8bf864 PR Feedback 2021-02-05 11:07:08 -08:00
Michelle Linington
34e0f99cfd Add additional validation group avatars we receive
Strengthens validation requirements for group avatars a user sets. Also,
checks these requirements on avatars we receive.

Introduces a data migration to drop any large group avatars.

This fixes an issue some users were reporting of jetsaming in the share
extension. All group avatars are stored in-memory on TSGroupModel.
Until we have a better strategy for memory management here, we'll want
to keep group avatars small.
2021-02-05 11:07:08 -08:00
Matthew Chen
d99395299e Rename group change classes. 2021-02-05 09:18:19 -03:00
Matthew Chen
82dd6446d1 Enforce max group name byte length. 2021-02-05 09:18:18 -03:00
Matthew Chen
d78daae895 Improve handling of missing group change protos. 2021-02-04 09:54:30 -03:00
Matthew Chen
f1b6c93903 Improve "group update info message" copy when joining group via group link. 2021-01-28 11:34:17 -03:00
Matthew Chen
f10cfc8533 Fix over-zealous assert around de-deduplicating group membership. 2021-01-22 10:24:36 -08:00
Michelle Linington
bfe76a3d34 Reduce profile avatar size cap
The server was rejecting 4 MB data blobs. Reduced down to something the
server handles. This is such an extreme size for a png that we'll
likely never hit it.
2021-01-21 16:17:25 -08:00
Michelle Linington
40e785cd6a Lint 2021-01-21 16:17:24 -08:00
Michelle Linington
f996a732d8 Show tapped avatar in conversation settings full screen 2021-01-21 16:17:24 -08:00
Matthew Chen
380a6895eb Tweak max group name length. 2021-01-12 19:20:49 -03:00
Matthew Chen
68b68fdf04 Group link promotion. 2021-01-12 15:51:38 -03:00
Matthew Chen
03c21253e4 Group link promotion. 2021-01-12 15:51:05 -03:00