Commit Graph

153 Commits

Author SHA1 Message Date
Harry
bb2f7e4865
Archive/Restore thread wallpaper images 2024-08-30 15:34:53 -07:00
Harry
0f69009512
Archive/Restore chat styles on threads in backup 2024-08-30 15:34:22 -07:00
Harry
a29a890adc
Archive/Restore custom chat colors in backup 2024-08-30 15:33:05 -07:00
Max Radermacher
7c59666e98
Extract common notification logic into method
Co-authored-by: Harry <109690906+harry-signal@users.noreply.github.com>
2024-08-30 16:20:07 -05:00
Ehren Kret
5d3ca7fb3c convert OWSProfileManager from objc to swift 2024-08-30 15:14:30 -05:00
Sasha Weiss
a47aeebc1b
Replace individual Backup integration test cases with auto-iteration 2024-08-28 10:10:48 -07:00
Harry
906759521a
Consolidate + clean up ChatColorSettingStore 2024-08-27 16:03:32 -07:00
Harry
096aa72133
Consolidate + clean up WallpaperStore 2024-08-27 15:57:10 -07:00
Pete Walters
7cb672c15a
Add media tier attachment uploads 2024-08-27 10:59:56 -05:00
Pete Walters
26f231a4fb
Set up proper decryption of media tier downloads 2024-08-26 17:57:48 -05:00
Pete Walters
e253c8ff9e
Cache Backup CDN credentials/backup info 2024-08-26 15:58:31 -05:00
Harry
6fe99bd69b
Add support for versioned DM expire timer updates 2024-08-22 14:02:03 -07:00
Harry
dea120a068
Delete BridgingWallpaperImageStore and LegacyWallpaperImageStore 2024-08-22 08:50:43 -07:00
Sasha Weiss
8cb25faa43
Add support for backing up outgoing message edits 2024-08-21 22:14:02 -07:00
Max Radermacher
af03b70346
Migrate blocked recipients to dedicated table 2024-08-21 18:03:22 -05:00
Max Radermacher
07baa170f7
Remove “collection” concept from database types 2024-08-20 18:22:00 -05:00
Harry
32b9c5e5c7
Add MessageBackupMessageAttachmentArchiver and implement StandardMessage body attachment restoring 2024-08-09 10:24:02 -07:00
Sasha Weiss
921bdf6c24
Add support for incoming message edits in Backups 2024-08-07 16:16:20 -07:00
Ehren Kret
06000fc070 minor CryptoKit related cleanup 2024-08-06 08:38:43 -05:00
Ehren Kret
3f04087244 replace Cryptography.computeSHA256Digest with CryptoKit.SHA256.hash(data:) 2024-08-05 12:29:18 -05:00
Harry
82862885c3
Add BackupAttachmentDownloadStore 2024-08-01 10:25:36 -07:00
Harry
2700cfe624
Block on migrating TSAttachments before creating backups 2024-07-31 15:33:11 -07:00
Max Radermacher
f2eb7f5a22
Extract LinkPreviewFetcher into its own type 2024-07-26 21:45:22 -05:00
Sasha Weiss
3646e27b03
An attempt to document the remaining Backup contents 2024-07-26 11:47:05 -07:00
Max Radermacher
f3423d64f8
Move some GroupsV2 methods to better places 2024-07-25 02:02:32 -05:00
Sasha Weiss
421c1afa2d
Add "expiration timer chat updates" to Backups 2024-07-16 09:45:24 -07:00
Pete Walters
4bcb56954a
Add the archive side of MOB payment backup 2024-07-11 10:35:40 -05:00
Pete Walters
6c5780dd59
Add ArchivedPayment table and data store 2024-07-11 10:10:44 -05:00
Adam Sharp
41896018a9
Delete unused video duration code 2024-07-10 09:40:10 -04:00
Adam Sharp
34a8cf2bda
Rename owsAssert to owsPrecondition 2024-07-09 10:42:56 -04:00
Sasha Weiss
4c937a722a
Stabilize timestamps in Backups story-dlist test 2024-07-01 09:20:57 -07:00
Max Radermacher
dc910cfa7f
Remove OWSDeviceManager cache 2024-06-27 14:06:46 -05:00
Harry
d7f75cbe2b
Touch attachment owners after finishing downloading 2024-06-26 09:05:42 -07:00
Harry
8a03b3fef3
Check attachment download eligibility due to ongoing call, pending message request, auto-download settings. 2024-06-26 09:02:53 -07:00
Harry
bb083ca39c
Fold SignalCoreKit into SignalServiceKit
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-06-26 08:44:41 -07:00
Harry
2d09e01b15
Source downloads of stickers from installed sticker if available 2024-06-24 14:14:52 -07:00
Harry
045c37b59f
Begin downloading attachments on app launch 2024-06-24 10:46:46 -07:00
Harry
add221d0f4
Source downloads of quote thumbnails from local stream if available 2024-06-24 10:46:10 -07:00
Harry
2f25b11410
Load queued downloads from database 2024-06-24 09:09:05 -07:00
Harry
93540c5984
Support cancelling attachment downloads 2024-06-21 14:40:13 -07:00
Harry
8a6f401b67
Update Attachment state after downloading 2024-06-21 14:37:57 -07:00
Harry
af625ecf56
Validate downloaded attachments in AttachmentDownloadManager 2024-06-21 14:35:47 -07:00
Harry
1715435b21
Add AttachmentDownloadRetryRunner 2024-06-21 13:33:35 -07:00
Sasha Weiss
2769166d79
Add outgoing support for non-expiring messages in delete-sync messages 2024-06-21 12:14:27 -07:00
Sasha Weiss
2a25846480
Implement support for outgoing attachment-delete sync messages 2024-06-21 09:52:45 -07:00
Sasha Weiss
eb61c20e27
Implement support for incoming attachment-delete sync messages 2024-06-21 09:47:03 -07:00
Jordan Rose
54e4f752c9 Add OWSAuthConnectionUsingLibSignal
This is a *subclass* of OWSChatConnectionUsingLibSignal, mainly
because the authenticated/identified connection really does have
capabilities the unauth/unidentified one does not, and splitting those
out makes it easier to see which are which.

For now each websocket connection, identified and unidentified, has
its own libsignal ChatService instance, even though ChatService is
designed to manage both connections together. Later on in the
migration it'll make sense to consolidate them, but under the existing
structure of OWSChatConnection this is the easiest way to manage their
lifecycles.

Controlled by new RemoteConfig flag
"ios.experimentalTransportEnabled.libsignalAuth" (and for local
testing, UserDefaults flag UseLibsignalForIdentifiedWebsocket).
2024-06-20 15:42:00 -07:00
Harry
7c0995e658
Define AttachmentThumbnailService for v2 attachments 2024-06-18 08:43:31 -07:00
Max Radermacher
5a5cac24f4
Add basic support for creating Call Links 2024-06-17 12:15:42 -05:00
Sasha Weiss
d193a937c8
Add a capability to enable sending DeleteForMe sync messages 2024-06-13 11:12:05 -07:00