Commit Graph

58 Commits

Author SHA1 Message Date
Ehren Kret
9d24c6b111 add asyncRequest method to NetworkManager to deprecate Promises 2024-10-22 10:57:19 -05:00
Max Radermacher
b902790b93
Add & use global.messageQueueTime remote config 2024-10-18 15:07:10 -05:00
Max Radermacher
c0b31c02df
Asyncify uploadQueue 2024-10-18 13:28:19 -05:00
Ehren Kret
de32c7799d remove NSObject and Dependencies extension computed vars for SignalServiceKit 2024-10-11 23:12:59 -05:00
Harry
4e5e570421
Add necessary media tier list methods to AttachmentUploadStore 2024-10-07 07:56:36 -07:00
Harry
a760f35b6d
Split AttachmentStore and AttachmentUploadStore 2024-10-07 07:55:58 -07:00
Harry
ba2f10732e
Parametrize transaction type in DB v2 protocol 2024-10-04 16:12:52 -07:00
Ehren Kret
5ea36cd91b enable internal imports by default 2024-09-29 20:03:17 -05:00
Harry
4d87719397
Fix backup copy to media tier request 2024-09-25 19:12:48 -05:00
Harry
b94a5faece
Wipe transit tier info off attachment table if we know the upload is gone 2024-09-23 15:06:29 -07:00
Harry
011a321b2d
Clean up AttachmentUploadManager media tier upload method 2024-09-23 12:46:49 -07:00
Harry
29511cdf1a
Generate thumbnails for backup attachment uploads 2024-09-20 10:11:22 -07:00
Harry
70fc593581
Use correct upload form for backup media 2024-09-19 11:42:39 -05:00
Harry
2889d51077
Send correct encryption key when forwarding an attachment with rotated transit tier info 2024-09-18 09:33:16 -05:00
Harry
86ef1d52bc
Migration to split incrementalMac attachment columns to separate media and transit tier values 2024-09-09 16:52:02 -07:00
Pete Walters
7cb672c15a
Add media tier attachment uploads 2024-08-27 10:59:56 -05:00
Pete Walters
d134b222c7
Move around some code in prep for media tier uploads 2024-08-22 11:04:13 -05:00
Pete Walters
2bf340e858
Add persistent resumable upload support 2024-08-15 11:14:28 -05:00
Pete Walters
f22154db54
Add AttachmentUploadRecord 2024-08-15 10:50:41 -05:00
Pete Walters
731237981f
Move some v2 upload code 2024-07-26 09:39:45 -07:00
Max Radermacher
2344354d2b
Consolidate “download too large” code 2024-07-25 02:37:38 -05:00
Pete Walters
c5136aae64
Extract form request to an external method. 2024-07-19 09:08:40 -07:00
Pete Walters
9c735f5c49
Don't delete the persisted attachment file after v2 upload 2024-07-18 16:46:20 -07:00
Harry
d279676916
Move BlurHash method into TSAttachmentUploadManager 2024-07-03 19:35:40 -05:00
Harry
9e6f9ab1d4
Throw on enumerate method instead of swallowing errors 2024-06-21 14:39:42 -07:00
Harry
dfda999430
Add unencryptedByteCount field to Attachment.TransitTierInfo 2024-06-21 14:14:45 -07:00
Harry
ff1a62475c
Throw on method to mark attachment as uploaded 2024-05-28 15:44:05 -07:00
Harry
9348405216
Take Attachment.TransitTierInfo instead of fanned out params 2024-05-28 15:43:28 -07:00
Harry
e5787cd5a1
Define Attachment and AttachmentReference Record types for reading/writing to the database 2024-05-23 09:13:13 -07:00
Sasha Weiss
5e218e8546
Add support for plaintext backup import/export 2024-05-17 10:40:21 -07:00
Pete Walters
a2e5c7dc55
Add support for uploading backups.
Co-authored-by: Harry <109690906+harry-signal@users.noreply.github.com>
2024-04-30 16:39:25 -05:00
Pete Walters
9527382fd7
Build backup metadata for upload 2024-04-29 19:17:00 -05:00
Pete Walters
6283e2a3fb
Support different types of upload metadata 2024-04-29 18:27:26 -05:00
Pete Walters
41e7fb9218
Support passing in the upload form to attachments 2024-04-29 10:37:41 -05:00
Pete Walters
5bc53062c6
Request backup auth credentials and make initial requests. 2024-04-26 09:40:42 -05:00
Harry
4b48f11636
Typo fix unenecrypted->unencrypted 2024-04-25 15:44:52 -07:00
Harry
17c025f40a
More easy TSAttachment bridging removals 2024-04-25 10:25:26 -07:00
Ehren Kret
fd94424be0 start migrating MIMETypeUtil to swift 2024-04-11 22:19:16 -05:00
Harry
101f2982d0
Add separate transit tier encryption info 2024-04-02 09:57:59 -07:00
Harry
408be986d6
Group related cdn Attachment fields 2024-04-02 09:40:25 -07:00
Harry
dd99474d04
Support transient in-memory uploads in AttachmentUploadManager 2024-04-01 12:32:39 -07:00
Harry
85f08fdabe
Add TSResourceUploadManager and AttachmentUploadManager 2024-03-29 18:20:00 -07:00
Harry
16d810e9fa
Use TSResourceId in upload notifications 2024-03-29 14:44:00 -07:00
Harry
ca54b1d54f
rename UploadManager->TSAttachmentUploadManager 2024-03-29 15:43:41 -05:00
Pete Walters
ac17e14d9f
Skip checking the upload progress on the first upload attempt. 2024-03-21 10:50:20 -05:00
Jordan Rose
a4bbe75320
Rename OWSWebSocket -> OWSChatConnection, SocketManager -> ChatConnectionManager
Plus some small cleanups in OWSChatConnection.
2024-03-20 16:36:20 -07:00
Harry
5b07f51722
Rename OWSAttachmentDownloads->TSAttachmentDownloadManager 2024-03-08 15:10:35 -08:00
Harry
1efb793d33
Define TSResourceManager 2024-03-05 09:43:36 -08:00
Harry
4600fbd440
Add initial TSResourceStore 2024-02-28 08:20:29 -08:00
Pete Walters
8fe89c26b1
Don't delete the temporary file before we upload it. 2024-02-27 22:01:56 -06:00