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
Matthew Chen
bf46145f7c
Improve group id mapping.
2020-10-30 09:07:38 -03:00
Matthew Chen
a1e2ecff0a
Tweak migrate-on-launch behavior.
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
Nora Trapp
4afa93153d
PR and design feedback
2020-10-15 14:49:48 -07: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
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
d364796d9d
Remote obsolete remote config & feature flags around gv2.
2020-10-08 17:24:11 -03:00
Matthew Chen
2481730e8e
Add support for "joingroup"-form group invite links.
2020-10-07 17:38:05 -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
0fe8b0e476
Support "sgnl" form of group links.
2020-10-03 10:01:41 -03:00
Matthew Chen
94f411d895
Try to record who approved your request to join a v2 group.
2020-10-02 14:35:10 -03:00
Matthew Chen
05c5ad7deb
Respond to CR.
2020-09-25 15:35:25 -03:00