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
Matthew Chen
40447928a1
Respond to CR.
2021-01-07 14:22:59 -03:00
Matthew Chen
a30fca9aaa
Fix spurious assert around comparing group models with dropped members.
2021-01-07 14:18:50 -03:00
Matthew Chen
3e9c81d394
Fix "last admin leaves group."
2020-12-23 14:19:43 -03:00
Michelle Linington
80c6a4e6be
Add support for lightweight generics in ObjC functional utilities
...
NSArray supports lightweight generics in ObjC. Our extension on NSArray
for map/filter/reduce does not. This change tweaks the interface to
better support generics.
Also, fixes some tests that weren't compiling.
2020-12-11 12:30:44 -08:00
Matthew Chen
111338b59d
Rewrite conversation view.
2020-12-10 12:44:13 -03:00
Matthew Chen
783d8560c9
Fix group migration edge cases.
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
2cb2aa3ebd
Fix broken test.
2020-11-05 14:00:31 -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
8d8c66e71a
Refine group migrations & related UI.
2020-10-30 09:07:38 -03:00
Matthew Chen
bcc7995a7b
Migrate groups from v1 to v2, part 3.
...
* Pull out GroupMigrationActionSheet.
* Add group migration action sheets.
* Make changes to enable testing migrations.
* Rewrite banners in Swift.
* Refine group migration logic; add support for testability.
2020-10-30 09:06:40 -03:00
Matthew Chen
a66f2cfc56
Migrate groups from v1 to v2, part 2.
...
* Add legacy group upgrade action sheet.
* Add 'group update info messages' around migrations.
* Add new limits around group size.
* Rename migration modes to "manual", "auto-migration."
* Add legacy groups action sheets.
* Try to fill in missing UUIDs before migrating groups.
* Ignore "known unregistered" users during group migrations.
2020-10-30 09:05:13 -03:00
Matthew Chen
ed9ae2ec9f
Migrate groups from v1 to v2.
2020-10-30 09:04:12 -03:00
Matthew Chen
f65ab5b375
Merge branch 'release/3.20.0'
2020-10-16 21:50:05 -03:00
Matthew Chen
8eda631a7c
Refine gv2 UI.
2020-10-16 11:41:32 -03:00
Nora Trapp
bf8508c30b
Add logic for fetching real group credentials
2020-10-15 14:49:48 -07:00
Matthew Chen
1861d4f496
Merge remote-tracking branch 'private/release/3.20.0'
2020-10-15 14:49:59 -03:00
Matthew Chen
0fccb910a5
Rework how groups are auto-whitelisted.
2020-10-15 14:15:48 -03:00
Matthew Chen
0c85314545
Rework how groups are auto-whitelisted.
2020-10-15 14:15:48 -03:00
Matthew Chen
98f7b2cfbf
Rework how groups are auto-whitelisted.
2020-10-15 14:15:47 -03:00
Matthew Chen
ba65c97e7f
Update feature flags and remote config for v3.20.
2020-10-15 14:06:56 -03:00
Matthew Chen
d37e9b6b2b
Fix broken tests.
2020-10-08 18:04:54 -03:00
Matthew Chen
2beeb38e23
Merge remote-tracking branch 'private/release/3.19.0'
2020-10-08 17:51:35 -03:00
Matthew Chen
d364796d9d
Remote obsolete remote config & feature flags around gv2.
2020-10-08 17:24:11 -03:00
Matthew Chen
fe0eaca992
Tweak asserts around disappearing messages configuration.
2020-10-08 17:04:47 -03:00
Matthew Chen
39872e98f0
Add logging gv2 insertion.
2020-10-07 17:37:14 -03:00
Matthew Chen
05c4332f77
Display who added you to a v2 group more often.
2020-10-07 17:28:20 -03:00
Matthew Chen
58af85269a
Simplify disappearing message configuration in CVC. Report gv2-3 capability.
2020-09-29 15:14:24 -03:00