Commit Graph

3907 Commits

Author SHA1 Message Date
Matthew Chen
41dfbc86a0 Add debug flags around corrupt v2 group state. 2020-02-26 16:41:48 -03:00
Matthew Chen
96d4c39f0e Don't try to ensure local profile commitment until we're onboarded. 2020-02-26 16:40:56 -03:00
Matthew Chen
f2a07f1f99 Respond to CR. 2020-02-26 16:38:19 -03:00
Matthew Chen
703de8c584 Fix obsolete assert. 2020-02-26 15:36:40 -03:00
Matthew Chen
6e7a0bff5e Add support for avatars to v2 groups.
* Log upload failures.
* Finalize group avatar uploads.
* Encrypt & decrypt group avatars.
2020-02-26 15:24:35 -03:00
Matthew Chen
a960e648c1 Set feature flags for development. 2020-02-25 15:41:06 -03:00
Matthew Chen
c0547f33d2 Merge remote-tracking branch 'private/release/3.5.0' 2020-02-24 20:29:33 -03:00
Matthew Chen
c572db4886 Add TSGroupModelBuilder. 2020-02-24 16:44:48 -03:00
Matthew Chen
d90edd1891 Revert "Set feature flags for internal Groups v2 staging build."
This reverts commit 5e123306c6.
2020-02-24 15:36:16 -03:00
Matthew Chen
5e123306c6 Set feature flags for internal Groups v2 staging build. 2020-02-24 15:34:46 -03:00
Nora Trapp
0665166f13 Rotate the storage service key 2020-02-21 22:22:11 -08:00
Nora Trapp
c4960b46b3 Fix BidirectionalDictionary orphan data bug 2020-02-21 21:44:31 -08:00
Nora Trapp
6ebdb6ebf5 Clear out missing accounts from local storage records. 2020-02-21 19:35:48 -08:00
Nora Trapp
da6a0e787f feature flags for production 2020-02-21 17:21:46 -08:00
Nora Trapp
153f8cadc0 Add block+delete message request action. 2020-02-21 16:57:38 -08:00
Nora Trapp
f9ec6e3640 Add remote FF for storage service 2020-02-21 16:32:30 -08:00
Nora Trapp
556026440e Ensure we don't create / use a non-synced storage service key on a linked device. 2020-02-21 16:32:30 -08:00
Nora Trapp
16bf98848b When creating a manifest from scratch tell the service to delete all existing records for our account 2020-02-21 16:32:30 -08:00
Nora Trapp
b1286bd701 Don't do storage service syncs for avatar changes 2020-02-21 16:32:30 -08:00
Nora Trapp
f98d203f4f Avoid extraneous syncing of profile changes 2020-02-21 16:32:30 -08:00
Matthew Chen
c939562d40 Fix stale profile keys in v2 groups. 2020-02-21 13:16:30 -03:00
Matthew Chen
8ccb5f6d6e Fix stale profile keys in v2 groups. 2020-02-21 13:16:30 -03:00
Matthew Chen
7dce8a3d2f Improve support for v2 groups in update group view. 2020-02-21 13:12:40 -03:00
Matthew Chen
e216b5a615 Integrate group updates and disappearing message configuration updates. 2020-02-21 13:05:20 -03:00
Matthew Chen
e3fd515abe Add local prefix to a few more GroupManager methods. 2020-02-21 12:37:33 -03:00
Matthew Chen
9ce3a42f74 Rename GroupManager methods. 2020-02-21 12:31:45 -03:00
Matthew Chen
dec0176eb3 Overhaul message request view.
* Fix input toolbar visibility after accepting group v2 invite.
2020-02-21 10:55:40 -03:00
Nora Trapp
3f76aae74a Handle manifest item decryption failure gracefully 2020-02-20 19:56:50 -08:00
Nora Trapp
e7591df991 Sync message request response 2020-02-20 17:06:24 -08:00
Nora Trapp
d0b81ff3d4 Use a 16-byte IV for storage service encryption. 2020-02-20 13:59:58 -08:00
Michael Kirk
f198d9037d Merge tag '3.5.0.5' 2020-02-19 19:26:05 -07:00
Michael Kirk
2560b05f32 suppress some actions until onboarded 2020-02-18 18:39:15 -07:00
Michael Kirk
20a21a296d code would never be executed 2020-02-18 18:14:47 -07:00
Michael Kirk
3742976f66 remove hasPending2fa since it's redundant with onboarding flow 2020-02-18 15:37:17 -07:00
Michael Kirk
75b54f06b4 Resume onboarding if user needs profile or PIN. 2020-02-18 15:37:17 -07:00
Nora Trapp
ed2f497c2c Fix sender certificate when re-linking 2020-02-18 11:55:27 -07:00
Michael Kirk
014fc163e3 FF: don't require pins for new users 2020-02-18 11:54:17 -07:00
Nora Trapp
a28a0060d5 Fix failed attachment download job 2020-02-17 19:05:48 -08:00
Nora Trapp
6a4741bdeb Automatically download all attachments when message request is accepted. 2020-02-17 18:39:03 -08:00
Nora Trapp
ac35c96f21 Don't download attachments when there's a pending message request. 2020-02-17 18:38:57 -08:00
Nora Trapp
0b583a7df7 Add check to see if blurhash is dark 2020-02-17 18:38:50 -08:00
Michael Kirk
341b9cb9f8 move computation out of loop for perf 2020-02-17 16:27:29 -07:00
Michael Kirk
a27850d1ca CR: add clarifying comment 2020-02-17 16:27:29 -07:00
Michael Kirk
314a050b09 CR: fix misspelled index name 2020-02-17 16:26:32 -07:00
Michael Kirk
4d23a16b63 fix typo in method name 2020-02-17 16:26:31 -07:00
Michael Kirk
643b64d8a5 add asserts, decompose method, unify translation comment, remove redundant groupThread check 2020-02-17 16:23:24 -07:00
Nora Trapp
a48dbdc67c If you're not a member of a group, never show a message request. 2020-02-17 16:11:05 -07:00
Nora Trapp
e86410af4c Track pending read receipts even if we've read the message on another device. 2020-02-17 16:11:05 -07:00
Nora Trapp
41dc61042f Handle message requests in blocked threads. 2020-02-17 16:11:05 -07:00
Michael Kirk
018e29651a dont show message request if user left group 2020-02-16 13:15:13 -07:00