Commit Graph

11661 Commits

Author SHA1 Message Date
Jordan Rose
14e4552633 Remove OWSChatConnectionWithLibSignalShadowing 2025-03-04 17:05:15 -08:00
Pete Walters
27440a9fcc
Properly fall back to setting the master key during provisioning 2025-03-04 17:19:52 -06:00
Max Radermacher
fc2d15e297
Stop using MonotonicDate.distantPast 2025-03-04 16:11:43 -06:00
Max Radermacher
b34314b295
Fix UUID v7 version/variant bits 2025-03-04 16:09:56 -06:00
Jordan Rose
0b4d71668c
Turn on libsignal-based chat connections for beta users
This can be forced on or off using the new RemoteConfig setting:
`ios.useLibsignalForChat`.

The change will take place the *next* time the app is launched, since
the prior value of these settings (including the default, previously
always false) is recorded in UserDefaults for use during app startup.
2025-03-04 13:54:03 -08:00
Sasha Weiss
866c5707a2
Use Date, not MonotonicDate, to seed sequential UUIDv7s 2025-03-04 13:38:12 -08:00
Sasha Weiss
4984439039
Avoid chat list update for non-latest-interaction-in-thread touches 2025-03-03 13:40:06 -08:00
Ehren Kret
30aaca1d47 create an UncooperativeTimeout for async world as a migration assist from promises 2025-03-03 11:13:53 -06:00
Ehren Kret
b69f785944 remove last firstly for Guarantee 2025-03-03 11:13:26 -06:00
Elaine
65289d1875
Update RTL note-to-self icon 2025-02-28 17:44:53 -07:00
Jordan Rose
70f5d2897f Treat kCFProxyTypeHTTPS as "proxy for https" rather than "using https" 2025-02-26 10:08:44 -08:00
Ehren Kret
0eac9a39e3
convert promises to async/await in BadgeGiftingConfirmationViewController+Paypal.swift 2025-02-25 15:38:26 -06:00
Sasha Weiss
12d6ac4e53
Truly always set a bubble color on chat style protos 2025-02-25 11:57:40 -08: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
Jordan Rose
c536cfe2f9 Update to libsignal v0.67.0 2025-02-25 11:30:52 -08:00
Sasha Weiss
2954d34687
Separately report progress for recreating indexes during Backup import 2025-02-25 09:51:15 -08:00
Sasha Weiss
3a77c216d0
MessageBackup*Progress cleanup 2025-02-25 09:35:58 -08:00
Ehren Kret
0119d54c34 reduce usages of firstly 2025-02-25 07:16:12 -06:00
Jordan Rose
1f6fea1a77 For now, don't pass system proxy settings to libsignal 2025-02-24 13:30:00 -08:00
Pete Walters
62bfc6e440
Enable AEP for dev builds 2025-02-24 13:21:29 -08:00
Pete Walters
d8d1183d03
Small AEP cleanup 2025-02-24 10:35:49 -06:00
Pete Walters
876f30eb69
Attempt SVR backup on startup if needed 2025-02-24 10:23:14 -06:00
Pete Walters
1b7caa8ce9
Split out various key managment methods into AccountKeyStore 2025-02-24 10:12:47 -06:00
Pete Walters
4f8c9200db
Simplify key storage 2025-02-24 09:58:20 -06:00
Pete Walters
ecc084de55
Remove AEP & MasterKey protocols 2025-02-24 09:42:03 -06:00
Pete Walters
2b88f4c6fd
Cleanup after AEP changes 2025-02-24 09:21:17 -06:00
Pete Walters
e9863fcb4d
Bulk of AEP registration changes. 2025-02-24 09:04:55 -06:00
Pete Walters
dc6e869fab
Add non-registration AEP changes 2025-02-24 08:53:06 -06:00
Pete Walters
87d5efb0e3
Add AEP class & update SVR API 2025-02-24 08:43:12 -06:00
Pete Walters
114e2344d0
Update SVR API to take explicit keys vs generating 2025-02-24 08:29:54 -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
Pete Walters
df8405349a
Update SVR to be more fine-grained with restore/backup/expose side effects. 2025-02-24 07:40:41 -06:00
Sasha Weiss
18f793d104
Fix AvatarDataState initializer 2025-02-21 13:03:06 -08:00
Elaine
f008634c06
Update message request safety section 2025-02-21 11:35:07 -07:00
Sasha Weiss
afdbab9845
Drop logging related to individual-frame thresholds 2025-02-21 10:29:56 -08:00
Sasha Weiss
48322ed001
Separate Bencher into archive/restore benchers 2025-02-21 10:29:22 -08:00
Sasha Weiss
3cb8f9658e
Make Bencher wrapEnumeration take a tx as input 2025-02-21 10:28:36 -08:00
Sasha Weiss
9417f60a52
Backup benching improvements 2025-02-20 16:48:59 -08:00
Pete Walters
d9fcea3476
Remove old enclave 2025-02-20 15:59:57 -06:00
Sasha Weiss
263d0121ad
Put interaction-index manipulations inside a Bencher 2025-02-19 16:43:50 -08:00
Sasha Weiss
96a76065df
Performance improvements to import performance for messages 2025-02-19 11:48:25 -08:00
Sasha Weiss
ebabb78339
Tidying in Backup import 2025-02-19 11:38:34 -08:00
Pete Walters
4af636e7bb
Add OWI header to AccountAttributes request 2025-02-14 15:26:10 -06:00
Pete Walters
1bfd579dd3
Asyncify device linking
Co-authored-by: Max Radermacher <max@signal.org>
2025-02-14 13:04:50 -06:00
Ehren Kret
3ec357d2a8
convert LocalUsernameManager from promises to async-await 2025-02-14 09:48:50 -06:00
Max Radermacher
8bd156fbfe
Use a smaller index when loading conversations 2025-02-14 02:13:10 -06:00
Max Radermacher
c94a40bdaf
Avoid SELECT EXISTS in InteractionFinder 2025-02-14 01:59:52 -06:00
Max Radermacher
7ac32526e4
Remove unused message request epoch property 2025-02-14 01:53:38 -06:00