Commit Graph

280 Commits

Author SHA1 Message Date
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
Matthew Chen
82d5d3be99 Improve handling of missing profiles in group migrations. 2021-01-07 14:18:50 -03:00
Matthew Chen
0111224576 Merge branch 'release/5.1.0' 2021-01-05 17:54:30 -03:00
Matthew Chen
f0b09f9470 Make sure "re-add dropped members" action sheet auto-dismisses on success. 2021-01-05 10:43:54 -03:00
Matthew Chen
d7ffe46168 Merge branch 'release/5.1.0' 2020-12-23 14:33:36 -03:00
Matthew Chen
3e9c81d394 Fix "last admin leaves group." 2020-12-23 14:19:43 -03:00
Matthew Chen
ad1590dc8e Merge remote-tracking branch 'private/release/5.1.0' 2020-12-22 13:19:47 -03:00
Nora Trapp
a0992b9857 Eliminate usage of unsaved SignalRecipients 2020-12-18 19:15:07 -08:00
Matthew Chen
cb3624b612 DRY up handling of network failures. 2020-12-18 11:20:49 -03:00
Matthew Chen
d3d7ce5209 Remove spurious assert in group migration logic. 2020-11-20 17:27:38 -03:00
Matthew Chen
783d8560c9 Fix group migration edge cases. 2020-11-20 15:32:15 -03:00
Matthew Chen
52d6000e4a Skip group auto-migrations if not registered. 2020-11-20 15:32:15 -03:00
Jordan Rose
87c6355222 Protobuf: Regenerate wrappers for Swift-only protos
And update clients to match (mostly let -> var, but some dropping of
@objc and Equatable as well)
2020-11-17 12:46:26 -08:00
Matthew Chen
11368d5b28 Only prepare group members for migration just before the migration. 2020-10-30 15:51:24 -03:00
Matthew Chen
ec143d4098 Only prepare group members for migration just before the migration. 2020-10-30 15:51:24 -03:00
Matthew Chen
f43f40b98c Only prepare group members for migration just before the migration. 2020-10-30 15:51:24 -03:00
Matthew Chen
0a3cd4b502 Only prepare group members for migration just before the migration. 2020-10-30 15:51:24 -03:00
Matthew Chen
78895f0932 Only prepare group members for migration just before the migration. 2020-10-30 15:51:24 -03:00
Matthew Chen
4503e295e7 Refine group migrations. 2020-10-30 15:51:23 -03:00
Matthew Chen
5cee24cef9 Refine group migrations. 2020-10-30 09:20:51 -03:00
Matthew Chen
c01edb080e Refine group migrations.
* Finalize group migration flags.
* Refine group migration failure copy.
* Improve copy warning about members invited and dropped by a migration.
2020-10-30 09:13:06 -03:00
Matthew Chen
0c578d37de Clean up ahead of PR. 2020-10-30 09:07:38 -03:00
Matthew Chen
f332639890 Fill in missing UUIDs for group migrations on launch. 2020-10-30 09:07:38 -03:00