Commit Graph

302 Commits

Author SHA1 Message Date
Michelle Linington
51f3a58a61 Message send log recording and resend responses 2021-07-21 22:58:51 -07:00
Michelle Linington
6a0bfa7836 Make SignalServiceAddress optional for message building
SenderKey requires that building a message is agnostic from a single
recipient. This makes the recipient argument when building an outgoing
message optional.

Currently this is used to determine if a profile key should be appended
to the message. A different solution will be required for SenderKey
messages.
2021-07-21 22:58:50 -07:00
Matthew Chen
c3ec68b9d0 Respond to CR. 2021-07-21 16:50:50 -07:00
Matthew Chen
428f8a7605 Refresh groups on launch. 2021-07-21 16:50:50 -07:00
Matthew Chen
4986b8e439 Fix conflict when updating group profile keys vs. local user not in group. 2021-07-21 16:48:09 -07:00
Matthew Chen
33fc258c0a Respond to CR. 2021-07-13 15:28:29 -03:00
Matthew Chen
f49e941474 Announcement-only groups. 2021-07-13 11:42:52 -03:00
Matthew Chen
84ce81bc3c 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
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
666cd8fab3 Make reachability thread-safe. 2021-07-07 09:49:45 -03:00
Matthew Chen
3f07db9e37 Clean up async completions. 2021-07-07 09:49:44 -03:00
Matthew Chen
94ef153b84 Evacuate some LRUCaches when app enters the background. 2021-07-01 09:53:03 -03:00
Matthew Chen
2df3b2120c Apply LRU cache to group v2 updates throttling. 2021-06-30 16:11:55 -03:00
Matthew Chen
fc78bc6d06 Apply LRUCache everywhere. 2021-06-30 16:01:08 -03:00
Matthew Chen
b9bc35e74b Apply LRUCache everywhere. 2021-06-30 16:01:08 -03:00
Matthew Chen
82aab5ea12 Apply count limits to all NSCache, clean up caching. 2021-06-23 09:39:43 -03:00
Matthew Chen
50c3b2fa7b Allow user to reset device data when re-linking to a new primary with a different phone number or uuid. 2021-05-25 17:41:56 -03:00
Nora Trapp
1e40ec144d Add support for group descriptions 2021-05-17 09:58:35 -03:00
Nora Trapp
a0d542657b Streaming encryption and decryption of attachments 2021-04-08 13:30:36 -07:00
Matthew Chen
235eb5d119 Payments changes in SignalMessaging. 2021-04-06 13:57:07 -03:00
Matthew Chen
e552062be8 Refine error handling in group profile fetching. 2021-04-05 16:22:26 -03:00
Matthew Chen
6ecd2c2299 Merge branch 'release/5.8.1' 2021-03-31 00:10:49 -03:00
Nora Trapp
5b66cc4a7a Fix groups v2 bug 2021-03-30 23:12:36 -03:00
Matthew Chen
7270771927 Ensure local profile key credentials are updated in lockstep with local profile key. 2021-03-25 16:35:21 -03:00
Matthew Chen
d0cbf8cfd0 Rework dependency access. 2021-03-25 09:24:27 -03:00
Matthew Chen
d60ca9f7f4 Improve logging around malformed group attribute blobs. 2021-03-19 22:11:13 -03:00
Matthew Chen
4a6d6db8e9 Fix "required revision" checks. 2021-03-19 22:07:57 -03:00
Matthew Chen
f3f7eb3386 Fix issue around profile key updates for groups with stale group state. 2021-03-17 19:18:38 -03:00
Matthew Chen
6f737748e9 Avoid profile key conflicts. 2021-03-12 17:05:02 -08:00
Matthew Chen
aaf492f809 Improve group change logging. 2021-03-09 09:25:28 -03:00
Matthew Chen
8678d45733 Respond to CR. 2021-03-03 17:21:47 -03:00
Matthew Chen
54bbc64e0b Add logging around profile key rotation. 2021-03-03 17:20:02 -03:00
Matthew Chen
dab3994b3a Add logging around profile key rotation. 2021-03-03 17:20:02 -03:00
Matthew Chen
be3e88427a Add logging around profile key rotation. 2021-03-03 17:20:02 -03:00
Jordan Rose
461f9edf1d Remove the last use of HKDFKit outside of AxolotlKit
...in favor of SignalClient.
2021-02-23 14:15:42 -08:00
Nora Trapp
ec1a1bb9ae Simplify MessageProcessing promises 2021-02-23 10:45:50 -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
645bd76bd5 Rework app readiness. 2021-02-04 09:55:39 -03:00
Matthew Chen
d78daae895 Improve handling of missing group change protos. 2021-02-04 09:54:30 -03:00
Matthew Chen
6c578e816f Improve internal logging around manual migrations. 2021-01-29 11:18:13 -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
b890fdeed8 Fix build warnings. 2021-01-23 22:45:33 -03:00
Matthew Chen
aeb94d48c1 Improve attachment progress indicators. 2021-01-21 20:40:23 -03:00
Matthew Chen
edf5c32eb6 Group link promotion. 2021-01-12 15:51:38 -03:00
Matthew Chen
c0c6683c61 Merge branch 'release/5.1.0' 2021-01-07 16:44:04 -03:00
Matthew Chen
55ba8dd403 Improve handling of missing profiles in group migrations. 2021-01-07 14:18:50 -03:00