Commit Graph

12117 Commits

Author SHA1 Message Date
Sasha Weiss
57a771ddca
Rotate BackupPlan-related keys 2025-06-30 15:13:33 -07:00
kate-signal
947cc778aa
check feature flag for backup key reminder 2025-06-30 15:02:23 -07:00
kate-signal
55829a25a5
Update feature flag check for backups megaphone 2025-06-30 11:23:44 -07:00
Sasha Weiss
d65ae767ba
Add writeWithRollbackIfThrows method to DB 2025-06-30 10:15:07 -07:00
Sasha Weiss
9a48618897
Consolidate DB default arguments 2025-06-30 10:14:35 -07:00
kate-signal
36dc1213e3
Add Message Backup megaphone 2025-06-27 13:19:34 -07:00
Harry
d58d220b16
[RFC] Use a read tx for backup export 2025-06-27 12:44:14 -07:00
Max Radermacher
c17ad1468d
Include whether or not a message was urgent 2025-06-27 13:00:24 -05:00
Harry
9879eb2d9f
Make Backup list media a durable operation 2025-06-26 18:00:08 -07:00
Harry
cdb62d38ff
Clean up BackupArchiveAttachmentByteCounter 2025-06-26 16:52:19 -07:00
Harry
7a62f97536
Throw an error if we try to upload a backup on a linked device 2025-06-26 16:51:33 -07:00
Harry
81036219b7
Wait for message processing in backup BGProcessingTask 2025-06-26 16:20:52 -07:00
Harry
0018283dc6
Allow tx rollbacks on thrown errors in TimeGatedBatch 2025-06-26 16:19:41 -07:00
Harry
61b8842156
Retry backup attachment downloads as transit tier even if not 404 2025-06-26 16:19:27 -07:00
Harry
b4e3544e59
Do not cancel backup orphaning jobs if the attachment still exists 2025-06-26 16:19:12 -07:00
Sasha Weiss
88411d6d97
Split BackupAttachmentQueueStatusManager into upload/download variants 2025-06-26 16:17:57 -07:00
Harry
b71f62e500
Fix OWSProgressTest flakes 2025-06-26 15:47:15 -07:00
Harry
a72cc4ce92
Allow forwarding link previews even when fetching link previews is disabled 2025-06-26 15:46:37 -07:00
Harry
fe4b14e8ea
Use ConcurrentTaskQueue(concurrentLimit: 1) in place of SerialTaskQueue where possible 2025-06-26 15:23:13 -07:00
Max Radermacher
7bafd74f0b Verify PNI & identity key exist on linked devices 2025-06-26 13:18:42 -05:00
Max Radermacher
8906ce5eab Observe registration changes after app is ready 2025-06-26 13:18:42 -05:00
Max Radermacher
920370a2fb Don’t reach out to globals in warmCaches 2025-06-26 13:18:42 -05:00
Max Radermacher
93a4a6ec3a Prepare the connection earlier in the launch flow 2025-06-26 12:53:10 -05:00
Max Radermacher
c957cf3c01 Show “Sending…” while waiting for socket to open 2025-06-26 12:53:10 -05:00
Max Radermacher
0ea33a91aa Don’t report cancellations as sealed cert failures 2025-06-26 12:53:10 -05:00
Max Radermacher
2b140d7638 Replace inline logic with is5xxServiceResponse 2025-06-26 12:53:10 -05:00
Max Radermacher
8eff4b74d2 Add DispatchQueue-backed Monitor functions 2025-06-26 12:53:10 -05:00
Sasha Weiss
c6dd170447
Simplify BackupAttachment upload progress incrementing 2025-06-26 08:51:15 -07:00
sashaweiss-signal
974b59eecd Use non-cancellable run method in AsyncAtomic 2025-06-25 16:27:52 -07:00
Sasha Weiss
45c70880bd
Add and use BackupSettingsAttachmentUploadTracker 2025-06-25 16:21:35 -07:00
Sasha Weiss
a20cfe6048
Assorted fixes for upload progress reporting 2025-06-25 16:20:47 -07:00
Sasha Weiss
be281ae37d
Start the upload queue when setting paid BackupPlan, add UploadEraStore 2025-06-25 16:19:29 -07:00
Max Radermacher
553a04e980
Serialize local profile commitment checks 2025-06-25 17:20:08 -05:00
Max Radermacher
f1225defa7
Add cancellation support to ConcurrentTaskQueue 2025-06-25 17:19:55 -05:00
Max Radermacher
b9ea2f8a45
Use Retry.performWithBackoff for avatar downloads 2025-06-25 14:23:58 -05:00
Max Radermacher
851776fdaf
Check shouldSocketBeOpen when taking over from NSE 2025-06-24 16:38:14 -05:00
Elaine
8e5b9abce3
Fix Xcode 26 build 2025-06-24 13:14:23 -04:00
kate-signal
515ad41399
Incorporate attachment size into last backup size 2025-06-23 14:15:46 -07:00
Harry
fa80d9aca9
Add Backup overnight BGProcessingTask 2025-06-23 12:44:45 -07:00
Harry
cedd5a1604
Import/export AccountSettings.backupTier (libsignal v0.75.1) 2025-06-23 12:14:41 -07:00
Max Radermacher
8cec4dd4da
Adjust remote config “enabled” parsing logic 2025-06-23 13:13:42 -05:00
Max Radermacher
6d0d8cd291 Allow deregistered notifications when deregistered 2025-06-23 13:09:09 -05:00
Max Radermacher
bb9e51907e Allow error notifications when not registered 2025-06-23 13:09:09 -05:00
Harry
0faa8084b0
Skip list media if backupPlan is disabled 2025-06-20 14:54:20 -07:00
Pete Walters
110a4bec79
Preserve discoverability when resetting registration state 2025-06-20 15:29:53 -05:00
Harry
470acd304f
Ensure digest we use on transitTierInfo is from the appropriate encryption key 2025-06-20 13:08:37 -07:00
Max Radermacher
42df1ff6f5
Schedule unknown profile fetches synchronously 2025-06-20 11:09:10 -05:00
Max Radermacher
f2c5d99ee5
Adjust socket reconnect delays 2025-06-20 11:08:48 -05:00
Harry Sanabria
ee63d3a87f Fix inverted bool on list media check 2025-06-18 16:01:49 -07:00
Harry Sanabria
c5ad8026bc Remove unecessary owsAssertDebug; we may have uploadEra set after legacy link'n'syncs but it will be wiped in the future 2025-06-18 15:54:11 -07:00