Commit Graph

213 Commits

Author SHA1 Message Date
Elaine
1d715beb58
Format phone numbers when used as display names 2025-03-11 11:01:25 -06:00
Max Radermacher
6abe506cb0
Asyncify fetchLocalUsersProfile 2025-03-10 13:51:00 -05:00
Max Radermacher
cde9754575
Use GSEs as a fallback when fetching profiles 2025-03-05 17:37:01 -06:00
Max Radermacher
5c0a8a734c
Exclude local ACI from some “leave group” checks 2025-03-05 17:30:52 -06:00
Pete Walters
27440a9fcc
Properly fall back to setting the master key during provisioning 2025-03-04 17:19:52 -06:00
Jordan Rose
3d0963cfbf Use new libsignal connect logic for CDS (again)
This was turned on implicitly in libsignal v0.65.3, but was discovered
to have issues. Those issues should now be fixed, but this time we
have a RemoteConfig kill switch in case there are more. That kill
switch also needs to control the use of system proxies (cf. 1f6fea1a).
2025-02-25 11:30:52 -08:00
Jordan Rose
dba402a275 CDS: Treat more kinds of libsignal error as retryable 2025-02-25 11:30:52 -08:00
Pete Walters
1b7caa8ce9
Split out various key managment methods into AccountKeyStore 2025-02-24 10:12:47 -06:00
Pete Walters
dc6e869fab
Add non-registration AEP changes 2025-02-24 08:53:06 -06:00
Pete Walters
00d04ff8c6
Update API for storing master key from provisioning & sync messages 2025-02-24 08:17:12 -06:00
Pete Walters
fe00738f67
Consolidate MBRK/BackupKey/AEP/MasterKey management into one place. 2025-02-24 07:41:40 -06:00
Elaine
f008634c06
Update message request safety section 2025-02-21 11:35:07 -07:00
Pete Walters
515b5f1a28
Add support for supplying explicit credentials to storage service request 2025-02-11 10:26:52 -06:00
Pete Walters
9c84b751d3
Split SVRKeyDeriver pieces into MasterKey + SVRLocalStorage 2025-02-11 09:25:00 -06:00
Ehren Kret
f442b19395 remove unused objc compat code on OWSSyncManager 2025-02-10 10:39:43 -06:00
Ehren Kret
83b37e74a3 remove unused objc compat 2025-02-07 05:30:56 -06:00
Ehren Kret
0a5677997e
remove NSDate OWS objc category 2025-02-05 11:06:42 -06:00
Ehren Kret
94e3e8825a shrink NSObject OWS category 2025-02-05 08:37:40 -06:00
Max Radermacher
b1eb4c65b2
Update AuthorMergeHelper when importing 2025-02-05 02:21:42 -06:00
Sasha Weiss
e776d9e633
Retain group avatar URLs, even if the avatar data is missing 2025-01-31 12:31:37 -08:00
Max Radermacher
56d6df44bc
Inline simple address methods with confusing names 2025-01-31 11:48:15 -06:00
Max Radermacher
243fc80b8b
Improve sync message naming & type enforcement 2025-01-28 17:13:43 -06:00
Max Radermacher
41d3f6b1fb
Add & use database table for GSEs 2025-01-22 20:04:36 -06:00
Max Radermacher
8162f9551f
Add debug-only support for GSEs 2025-01-22 19:20:41 -06:00
Max Radermacher
daca0d94ec
Migrate blocked groups to a dedicated table 2025-01-21 10:54:28 -06:00
Max Radermacher
9cc46a4171
Remove unused droppedMembers field 2025-01-16 18:16:52 -06:00
Max Radermacher
b91f921d60
Fix some warnings when building for prod 2025-01-15 11:59:21 -06:00
Max Radermacher
b7dedf2c0d
Remove last remnants of OWSUserProfile caching 2025-01-08 21:15:10 -06:00
Max Radermacher
823d966c2e
Clean up some deepCopy codegen 2025-01-08 11:41:58 -06:00
Harry
45389b0c60
Clean up zombie SVR code 2025-01-07 15:31:05 -08:00
Max Radermacher
4c3b4e3a83
Remove anyReload methods from codegen 2025-01-07 16:41:42 -06:00
Max Radermacher
60dc4a8dc0
Don’t pass around TSGroupThread in group calls 2025-01-07 16:40:13 -06:00
Sasha Weiss
33189a6d95
Use info from WhoAmI to decide if we need to redeem our subscription 2025-01-03 11:17:40 -08:00
Max Radermacher
4b3092661b
Remove unnecessary SwiftValues types 2025-01-02 13:17:16 -06:00
Max Radermacher
8320c13887
Fix Mexico number contraction handling 2024-12-11 15:14:27 -06:00
Max Radermacher
650f1fdc59
Look up both Argentinian number formats 2024-12-11 15:13:32 -06:00
Max Radermacher
bccde24b7b
Look up both Benin phone number formats 2024-12-11 15:12:43 -06:00
Max Radermacher
41b863ebaa
Update libPhoneNumber metadata to 8.13.51 2024-12-11 15:11:24 -06:00
Max Radermacher
67e5ed7907
Simplify & consolidate example phone numbers 2024-12-11 14:56:58 -06:00
Max Radermacher
5c38ebf6a1
Update libPhoneNumber-unsupported country codes 2024-12-11 14:56:06 -06:00
Max Radermacher
f4e8ccd3bd
Parse phone numbers using country codes
Co-authored-by: Harry <109690906+harry-signal@users.noreply.github.com>
2024-12-11 14:52:27 -06:00
Max Radermacher
04dd202878
Use libPhoneNumber to parse calling codes 2024-12-11 14:26:36 -06:00
Max Radermacher
039149618a
Improve default country code selection logic
Co-authored-by: Harry <109690906+harry-signal@users.noreply.github.com>
2024-12-11 14:24:26 -06:00
Max Radermacher
de677ee7b2
Reuse registration parsing logic for change number 2024-12-11 14:13:47 -06:00
Max Radermacher
fafec28429
Remove duplicate dual-country parsing logic 2024-12-11 14:12:29 -06:00
Max Radermacher
6fa84d3f2b
Make the raw phone number parsing method private 2024-12-10 16:32:01 -06:00
Max Radermacher
25651588ad
Rename callingCode method 2024-12-10 16:29:43 -06:00
Max Radermacher
beeee9baf4
Fix some countryCode/callingCode confusion 2024-12-10 16:28:46 -06:00
Max Radermacher
965447291c
Clean up some more phone number parsing code 2024-12-10 16:27:05 -06:00
Harry
7916859ee3
Thread merge MessageAttachmentReferences 2024-12-04 14:27:16 -08:00