Commit Graph

443 Commits

Author SHA1 Message Date
Max Radermacher
eaf3013a16
Use Guarantee for MessageProcessor wait method 2024-01-17 11:57:19 -06:00
Sasha Weiss
c9b814c526
Rename sourceUuid -> sourceUserId for Groups proto 2024-01-16 22:39:16 -06:00
Harry
0fb2ecc9b8
Extend PersistableGroupUpdateItem to cover all group update cases
Co-authored-by: sashaweiss-signal <sasha@signal.org>
2024-01-12 13:41:00 -08:00
Harry
ebab35b4ba
Put all necessary metadata on PersistableGroupUpdateItem, never rely on separate metadata 2024-01-12 05:46:20 -08:00
Harry
a149e83951
Update group join request approval handling to match other platforms 2024-01-09 10:04:12 -08:00
Max Radermacher
3f2836733e
Make profile update methods into instance methods 2024-01-09 11:09:14 -06:00
Sasha Weiss
ffcceff32e
Decouple inviteFriendsToNewlyCreatedGroup from wasJustCreatedByLocalUser 2024-01-08 10:20:37 -08:00
Harry
7e8bce3334
Add storage service unknown field migrator 2023-12-22 15:11:22 -08:00
Max Radermacher
4c53137fc0
Update to LibSignal v0.37.0 2023-12-18 15:39:56 -06:00
Max Radermacher
d837f6b407
Runnerify LocalUserLeaveGroupJobQueue 2023-12-18 12:45:26 -06:00
Max Radermacher
ba4034f5a7
Remove SSKJobQueues 2023-12-11 14:22:22 -06:00
Max Radermacher
a1ad3a1b96
Send messages to removed group members durably 2023-12-08 13:55:06 -06:00
Max Radermacher
072b6e35c4
Check the local ACI in GroupsV2ProfileKeyUpdater 2023-12-01 13:21:30 -06:00
Max Radermacher
e95139e935
Prefer Swift-native type over Obj-C variant 2023-11-15 19:08:22 -06:00
Marissa Le Coz
6bdac672ec
Add internal logging for chat list scroll perf 2023-10-16 22:22:26 -04:00
Harry
aa0e250cb7
[Death to TSAccountManager, long live TSAccountManager][9] Migrate usages of old TSAccountManager to new 2023-10-05 08:56:08 -07:00
Harry
a423a86c5a
[Death to TSAccountManager, long live TSAccountManager][6] Split out registration state updates from TSAccountManager into RegistrationStateChangeManager 2023-09-29 10:25:08 -07:00
Pete Walters
43b7f38ac9
Remove uses of sharedBackground queues. 2023-09-28 07:46:52 -05:00
Marissa Le Coz
38c6e05728
Do not send group update messages on pk change for internal only 2023-09-27 15:50:04 -05:00
Marissa Le Coz
23cc038afe
Consider profile key of group change author authoritative 2023-09-26 20:11:32 -04:00
Marissa Le Coz
03d29e26e3
Revert "Do not send group update messages for profile key changes" 2023-09-11 17:25:10 -07:00
Marissa Le Coz
bd43bad266
Do not send group update messages for profile key changes 2023-08-30 18:04:22 -07:00
Max Radermacher
710f4c0831
[ServiceId] Update everything that's left 2023-08-24 19:18:33 -05:00
Max Radermacher
90614ea859
Handle accepted PNI invitations for local user 2023-08-15 12:38:48 -05:00
Max Radermacher
990e9b7ff6
Adopt libsignal v0.30.2
Co-authored-by: Jordan Rose <jrose@signal.org>
2023-08-14 14:10:58 -05:00
Max Radermacher
ec18653994
[ServiceId] Update the groups code 2023-08-14 14:05:49 -05:00
Max Radermacher
b60e7c24f1
[ServiceId] Update ProfileFetcherJob 2023-08-02 17:54:32 -05:00
Max Radermacher
07fc0b5706 [ServiceId] Update LocalIdentifiers 2023-08-01 14:36:06 -05:00
Sasha Weiss
8bd39bf8d5
Consolidate network error methods 2023-07-26 17:23:40 -07:00
Max Radermacher
17a2fb4093
Rename ServiceId -> UntypedServiceId 2023-07-26 16:56:19 -05:00
Jordan Rose
5d183bf9cc Groups: one last fix to prefer 'userId' field over 'presentation'
In the past, certain group change actions only contained the
"presentation" of a ProfileKeyCredential rather than separate 'userId'
and 'profileKey' fields, but this has long been corrected. Most of
these are now handled using the HasAciAndProfileKey protocol, but this
one was missed because it doesn't need the profile key (and shouldn't
waste time decrypting it).
2023-07-13 16:19:11 -07:00
Max Radermacher
ca3b018734
Add & use DisappearingMessagesConfigurationStore 2023-06-05 11:00:38 -05:00
Igor Solomennikov
f65d8e267d
Remove ObjC cruft from some classes. 2023-06-02 21:36:36 -07:00
Harry
4580b9ee66
Don't rely on TSAccountManager global state to load groups from storageService 2023-06-02 09:15:52 -07:00
Sasha Weiss
2845d60e13
Remove lots of GV1-related code 2023-06-01 11:47:43 -07:00
Sasha Weiss
3ac8917bc6
Skip sending group update messages for PNI invite declines 2023-05-30 10:59:07 -07:00
Sasha Weiss
e70dab1a68
Remove entrypoints for GV1 -> GV2 migration 2023-05-30 08:50:11 -07:00
Sasha Weiss
9d16dd49e0
Support PNI invites in groups 2023-05-23 15:40:58 -07:00
Igor Solomennikov
7790837eb5
Remove unnecessary "@objc" in SignalMessaging. 2023-05-16 16:41:49 -07:00
Sasha Weiss
eff9291c89
Make sure to apply group model options when creating a thread 2023-05-05 11:43:51 -07:00
Sasha Weiss
3c5cefa07c
Clean up GroupMembership 2023-04-21 12:09:14 -07:00
Harry
290f83f8ab
Don't require pni used exclusively for logging 2023-04-19 18:22:04 -07:00
Max Radermacher
a8511014cb
Use LocalIdentifiers in Storage Service 2023-04-14 10:20:58 -07:00
Max Radermacher
b4c77035d9
Swiftify registered url handling
Co-authored-by: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com>
2023-04-10 13:37:46 -07:00
Sasha Weiss
e46307f989
Fall back to snapshot if group change proto has incompatible revision 2023-03-28 12:10:26 -07:00
Harry
a146e18aaf
Set up account state and exit registration
* Go to chat list view after registration

* sync system contacts during registration

* Use explicit local credentials for storage service operations during registration

* fix tests

* Quick hack to get through double pin confirmation

* Finishing touches

* lint

* fix build

* reload phone number discoverability after storage service sync

* fix tests again

* Take chat auth on account and contact record initializers

* Change around branches for clarity in OWSUserProfile

* pr comments

* Split ChatServiceAuth into the same and AuthedAccount

* fix tests

* merge woes
2023-03-09 21:54:51 -08:00
Max Radermacher
898fd2c4d5
Clean up queue names 2023-02-27 14:16:09 -08:00
Max Radermacher
59593c3c97
Add ServiceId & E164 types
* Use the new E164 type in a few places
* Use the new ServiceId type in a few places
2023-02-21 23:13:46 -08:00
Max Radermacher
c13ebc7482
Consolidate storage service code 2023-02-10 17:58:51 -08:00
Harry
003cc19e62
Update SignalCoreKit. Use explicit DispatchQueue instead of relying on the implicit type on promise 'on' params
* Use explicit DispatchQueue instead of relying on the implicit type on promise 'on' params

* Update SignalCoreKit
2023-02-07 16:14:39 -08:00