Commit Graph

73 Commits

Author SHA1 Message Date
Harry
1dae59e8cf
Don't periodically list media while free tier 2025-07-08 19:07:03 -05:00
Harry
b7c798cd8b
Add more backups internal settings toggles 2025-07-08 12:26:39 -07:00
Sasha Weiss
aad23ee729
Add BackupSettingsAttachmentDownloadTracker 2025-07-08 08:53:29 -07:00
Sasha Weiss
2a267bfda1
Check non-space-related DownloadQueueStatus for each download job 2025-07-08 08:51:51 -07:00
Harry
48967fb4df
Set wasNotCreatedLocally for backup-restored TSOutgoingMessages 2025-07-07 17:36:29 -07:00
Sasha Weiss
9a4029e062
Remove the concept of BackupFrequency, assume daily 2025-07-07 16:26:01 -07:00
Harry Sanabria
4906b5aba3 Fix inverted offloading timestamp check 2025-07-07 13:44:18 -07:00
Harry
3d951013c2
Drop support for legacy backup attachment locator fields 2025-07-07 13:11:06 -07:00
Max Radermacher
9f83fac5b1
Fix unit tests on Xcode 26 2025-07-03 16:32:31 -05:00
Pete Walters
35bc4d068c
Add backup version to registration message 2025-07-03 15:11:57 -05:00
Harry
3fe6f9dd98
Attachment offloading quick fixes 2025-07-02 13:59:58 -07:00
Harry
23a05fc28c
Media tier outer encryption quick fixes 2025-07-02 13:54:48 -07:00
Harry
bba618865f
Run upload queue on startup 2025-07-02 13:45:11 -07:00
Max Radermacher
c16fa016bd Require certain generic parameters to be Sendable 2025-07-02 14:33:49 -05:00
Sasha Weiss
78a243dc31
Add support for "resuming" Backup downloads paused-needing-WiFi 2025-06-30 22:36:21 -07:00
Sasha Weiss
0103dae13b
Add and use BackupPlanManager to consolidate side-effects of setting BackupPlan 2025-06-30 22:25:05 -07:00
Sasha Weiss
57a771ddca
Rotate BackupPlan-related keys 2025-06-30 15:13:33 -07:00
Harry
d58d220b16
[RFC] Use a read tx for backup export 2025-06-27 12:44:14 -07: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
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
fe4b14e8ea
Use ConcurrentTaskQueue(concurrentLimit: 1) in place of SerialTaskQueue where possible 2025-06-26 15:23:13 -07:00
Sasha Weiss
c6dd170447
Simplify BackupAttachment upload progress incrementing 2025-06-26 08:51:15 -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
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
Harry
0faa8084b0
Skip list media if backupPlan is disabled 2025-06-20 14:54:20 -07:00
Harry Sanabria
ee63d3a87f Fix inverted bool on list media check 2025-06-18 16:01:49 -07:00
Harry
e362725136
Check BackupArchive.IncludedContentFilter when enqueuing backup attachment uploads 2025-06-18 12:50:10 -07:00
Harry
e0f7619f2f
Move IncludedContentFilter to its own file 2025-06-18 12:49:29 -07:00
Harry
64eb99f288
Split BackupAttachmentUploadManager into QueueRunner + Scheduler 2025-06-18 12:48:58 -07:00
Harry
aec46306bb
Tombstone unviewed view-once messages in remote backups 2025-06-17 15:47:54 -07:00
kate-signal
704494d902
Add "Verify Backup Key" megaphone 2025-06-17 13:57:44 -07:00
Max Radermacher
bb2d89e55a
Update to LibSignal v0.75.0 2025-06-17 14:02:29 -05:00
kate-signal
b425af3c36
Store last backup date and backup size 2025-06-17 11:28:24 -07:00
Harry
07cd0842ed
Generate thumbnails before offloading attachments 2025-06-16 17:34:19 -07:00
Harry
94e291ed16
Update to LibSignal v0.74.1 (Backup.LocatorInfo.integrityCheck)
Co-authored-by: Max Radermacher <max@signal.org>
2025-06-16 16:03:35 -07:00
Harry
1255e66119
Allow Attachment plaintextHash to be set even if not a stream 2025-06-16 15:13:08 -07:00
Harry
a8b5e3f85d
Use webP for backup thumbnails 2025-06-16 15:06:52 -07:00
Harry
1083f55e99
Increase last viewed threshold for attachment offloading to 7 days 2025-06-13 18:42:42 -05:00
Harry
d04c2328db
Refactor BackupAttachmentDownloadQueue 2025-06-12 15:53:45 -07:00
Harry
87bf5fe320
Do not assume backups are enabled and set backupPlan=free when link'n'syncing 2025-06-12 09:24:27 -07:00