Commit Graph

2410 Commits

Author SHA1 Message Date
Matthew Chen
7427287d37 Fix rebase breakage. 2020-02-13 10:38:26 -03:00
Matthew Chen
9e26e74435 Modify profile keys in all v2 groups when we rotate our profile key. 2020-02-13 10:26:43 -03:00
Matthew Chen
1f0ce9ea49 Modify profile keys in all v2 groups when we rotate our profile key. 2020-02-13 10:26:34 -03:00
Matthew Chen
42a3669e40 Fix rebase breakage. 2020-02-13 10:24:24 -03:00
Matthew Chen
cf7681b346 Fix group v2 update edge cases around missing signatures and group access. 2020-02-13 10:19:11 -03:00
Matthew Chen
174ab60e66 Fix handling of access control in protos; improve debug descriptions; clean up. 2020-02-13 10:15:42 -03:00
Matthew Chen
8785579899 Respond to CR. 2020-02-13 10:08:22 -03:00
Matthew Chen
17eca0d546 Remove obsolete TODOs. 2020-02-13 10:02:58 -03:00
Michael Kirk
ace5717df7 remove viewOnce feature flag 2020-02-12 15:19:56 -07:00
Michael Kirk
c62205cb75 remove sticker feature flags 2020-02-12 15:19:56 -07:00
Michael Kirk
b27bcf7fef remove preserveYdb feature flag 2020-02-12 15:19:55 -07:00
Michael Kirk
07ccc40cd6 extract DebugFlags from FeatureFlags 2020-02-12 15:19:55 -07:00
Matthew Chen
382bde1102 Modify group sync to exclude v2 groups. 2020-02-12 15:33:17 -03:00
Matthew Chen
f6d6544830 Modify group sync to exclude v2 groups. 2020-02-12 15:33:17 -03:00
Matthew Chen
644d341a05 Respond to CR. 2020-02-11 11:41:32 -03:00
Matthew Chen
d057936e28 Use TSGroupMemberRole in group membership. 2020-02-11 11:41:32 -03:00
Matthew Chen
2385f3f49a Add groupsV2forceInvites feature flag. 2020-02-11 11:41:32 -03:00
Matthew Chen
a36bdab4c5 Overhaul group model, group membership. 2020-02-11 11:41:31 -03:00
Matthew Chen
3a1bb424ea Improve group v2 service requests.
* Retry group v2 service requests.
* Fix "ensure local profile key credential" bug.
* Cache temporal credentials for group requests.
2020-02-10 14:31:37 -03:00
Matthew Chen
634ebc3e6e Clean up ahead of PR. 2020-02-10 14:24:09 -03:00
Matthew Chen
4903d313bd Add group v2 capability and improve handling of network errors. 2020-02-10 14:24:09 -03:00
Michael Kirk
e540871c85 fixup overzealous assert - e.g. if network is down 2020-02-06 21:13:34 -07:00
Matthew Chen
c95f230e8d Profiles vs. Groups v2
* Update profile whitelist to reflect v2 group membership.
* Fill in missing profile keys from group change protos.
* Ensure local profile has commitment before doing any v2 group requests.
* Fix "ensure local profile key credential" bug.
* Fix profile key parsing from group v2 member protos.
* Fix edge case around members missing uuids in temporary update group view.
2020-02-06 11:50:15 -03:00
Matthew Chen
647fb3a33f Rework "leave group", consolidate group update logic. Add groups v2 indicator. 2020-02-06 11:11:22 -03:00
Matthew Chen
fb2d4b1744 Use Groups v2 to coordinate disappearing message state. 2020-02-06 10:50:45 -03:00
Matthew Chen
17f32b1fbe Respond to CR. 2020-02-06 10:26:02 -03:00
Matthew Chen
149ead416c Clean up ahead of PR. 2020-02-06 10:26:02 -03:00
Matthew Chen
2de281658a Sketch out handling of pending members. 2020-02-06 10:26:02 -03:00
Matthew Chen
64f47e9d7a Sketch out handling of pending members. 2020-02-06 10:26:02 -03:00
Matthew Chen
740f57cad9 Add additional recipients for v2 group updates. 2020-02-06 10:26:02 -03:00
Matthew Chen
06a4cede95 Rework feature flags, profile fetches for groups v2. Sketch out handling of pending members. 2020-02-06 10:26:02 -03:00
Nora Trapp
1cf95c620b Merge branch 'release/3.4.0' 2020-02-05 12:27:48 -08:00
Michael Kirk
4c1afa18a6 secondary devices update capabilities w/ devices endpoint 2020-02-05 10:38:43 -07:00
Matthew Chen
6d17f5b646 Fix profile fetch rate limiting. 2020-02-04 23:26:33 -03:00
Nora Trapp
53495b1007 Fix a bug when receiving a reaction from a user without a thread. 2020-02-04 17:15:13 -08:00
Nora Trapp
161d4aa87d Merge branch 'release/3.4.0' 2020-02-04 14:51:09 -08:00
Nora Trapp
305ab7316a Show toasts for 4 seconds. 2020-02-04 12:05:22 -08:00
Nora Trapp
630bfdd36e Fix reaction picker on iPhone 5/SE 2020-02-04 12:05:22 -08:00
Michael Kirk
aa5043477a fix test compile 2020-01-31 20:33:57 -07:00
Michael Kirk
d024ed99c0 Use appropriate sender certificate depending on capabilities 2020-01-31 20:33:57 -07:00
Matthew Chen
ea2e5f9e8d Merge tag '3.3.0.6' 2020-01-30 20:13:47 -08:00
Matthew Chen
7a58c0c35e Address perf hotspot in orphan data cleaner around reactions. 2020-01-30 20:13:25 -08:00
Nora Trapp
c2cdf73bf1 More specific reactions notifications 2020-01-30 20:13:25 -08:00
Nora Trapp
5c78f0383e Design feedback 2020-01-30 20:13:18 -08:00
Matthew Chen
61575cbd70 Merge tag '3.3.0.5' 2020-01-30 20:13:17 -08:00
Nora Trapp
52e5f99d87 Fix vertical alignment of conversation + attachment approval textView 2020-01-30 20:13:17 -08:00
Nora Trapp
dc2e4b4e48 Preserve message text when pasting an attachment. 2020-01-30 20:13:17 -08:00
Nora Trapp
a6e84b2451 Preserve ordering of albums saved from share sheet 2020-01-30 20:13:17 -08:00
Nora Trapp
697f1545f2 Merge branch 'release/3.2.1' into release/3.3.0 2020-01-30 20:13:15 -08:00
Matthew Chen
3c0fe421bc Avoid String.prefix() crash. 2020-01-30 20:11:29 -08:00