Commit Graph

175 Commits

Author SHA1 Message Date
Max Radermacher
221043a998
Compute mediaName dynamically 2026-06-10 13:51:02 -05:00
Sasha Weiss
eb533a72a2
Return PENDING, not TERMINAL, error when attempting to backfill offloaded media 2026-06-08 11:35:45 -07:00
Max Radermacher
3a348a5ea1
Consolidate code to update transit tier info 2026-05-11 11:36:09 -05:00
Max Radermacher
8489cef5c8
Remove outdated comment 2026-05-08 17:58:46 -05:00
Sasha Weiss
7e95b65681
Remove unused Backups internal settings 2026-05-04 11:27:41 -07:00
Max Radermacher
cb23291721
Rename digestSHA256Ciphertext → ciphertextDigest 2026-05-02 00:28:16 -05:00
Max Radermacher
4617abda31
Rename sha256ContentHash → plaintextHash 2026-05-02 00:26:43 -05:00
Sasha Weiss
c23eaa6bfc
Remove associated values from Attachment/ContentType
Co-authored-by: Pete Walters <pete@signal.org>
2026-04-30 09:16:49 -07:00
Pete Walters
9307f2bc53
Upload existing local thumbnail instead of generating a fresh one 2026-04-30 10:08:48 -05:00
Pete Walters
689cb28267
Remove the upload record on any media tier copy error 2026-04-21 08:39:11 -05:00
Max Radermacher
dc8aabc6f6
Use is5xxServiceResponse in a few places 2026-04-16 13:39:52 -05:00
Pete Walters
12c6075d52
Use typed API for attachment upload form requests 2026-04-08 16:48:28 -05:00
Igor Solomennikov
682d86de16
Use CircularProgressView to show media download/upload progress. 2026-04-07 15:23:30 -07:00
Max Radermacher
0758c26868
Structure concurrency for OWSUrlSession’s progress 2026-04-03 16:19:24 -05:00
Pete Walters
eb1286dd02
Pass uploadLength on upload form requests 2026-04-01 15:20:11 -05:00
Sasha Weiss
ec972806cb
Mutate Attachment instances directly, instead of using ConstructionParams 2026-03-30 15:48:06 -07:00
Max Radermacher
13d5fe93dc
Run swiftformat . using v0.60.1 2026-03-26 17:10:38 -05:00
Pete Walters
88af0c5b6b
Fix CDN2 chunked upload response handling 2026-03-26 08:31:25 -05:00
Max Radermacher
a305029f9a
Add missing imports 2026-03-24 16:09:03 -05:00
Sasha Weiss
035db65d68
Remove progress: nil extensions 2026-03-13 09:40:28 -07:00
Pete Walters
a23b30bcb3
Log the upload size 2026-03-03 14:20:14 -06:00
Pete Walters
36e5d86c26
Dial back the upload chunk size to avoid running into limits 2026-03-03 14:19:54 -06:00
Pete Walters
652dcd4b86
Treat 'badArgument' the same as 'sourceObjectNotFound' and reupload 2026-02-17 15:39:21 -08:00
Pete Walters
b198b9e8a9
Fix a permissions issue related to validating media tier attachments. 2026-02-06 15:18:24 -06:00
Sasha Weiss
076dc980e8
Stricter rules for when we exclude an attachment from Backups 2026-01-28 13:39:33 -08:00
Max Radermacher
9fa40c2d89
Remove unnecessary upload size check 2026-01-27 09:49:25 -06:00
Max Radermacher
03ed6db0f3 Prefer constants for durations 2026-01-26 15:32:29 -06:00
Max Radermacher
baae314b17 Fix typo in comment 2026-01-26 15:32:29 -06:00
Max Radermacher
6e5d93a891
Remove redundant attachment upload check 2026-01-26 15:31:43 -06:00
Max Radermacher
9d20237b9c
Don’t retry errors by default 2026-01-26 12:47:51 -06:00
Max Radermacher
112dd440ad
Prefer OWSGenericError in a few places 2026-01-23 20:15:42 -06:00
Max Radermacher
2ba0110d9d
Remove unused stream transform logic 2026-01-23 14:05:48 -06:00
Max Radermacher
7b34072667
Remove (mostly) unused protocol requirement 2026-01-22 15:25:48 -06:00
Max Radermacher
c2523668ed
Add new attachment limits in internal builds 2026-01-22 13:43:57 -06:00
Max Radermacher
2216ef8eec
Use UInt64 for attachment size limits 2026-01-12 10:41:56 -06:00
Sasha Weiss
0762b71098
Move AttachmentStore-adjacent types around 2026-01-09 10:45:52 -08:00
Sasha Weiss
4b90e9c52b
Deprotocolize AttachmentUploadStore, use failIfThrows 2026-01-08 16:18:56 -08:00
Sasha Weiss
2dacbd370e
Use failIfThrows in code downstream of BackupListMediaManager 2026-01-08 15:50:46 -08:00
Sasha Weiss
d267ec8305
Run swiftformat . 2025-12-30 11:34:05 -08:00
Sasha Weiss
d5dca601a6
Use failIfThrows in some Attachments code, remove unused code 2025-12-30 11:21:26 -08:00
Max Radermacher
c712942889
Remove DataSource protocol 2025-12-10 13:57:27 -06:00
Sasha Weiss
22a6aabf83
Avoid non-ASCII in source code 2025-12-05 12:24:14 -08:00
Max Radermacher
0977510e1f
Throw OWSHTTPError for unexpected status codes 2025-11-25 09:32:58 -06:00
Max Radermacher
d639897f31
Use DataSourcePath explicitly for a few uploads 2025-11-14 21:07:50 -06:00
Max Radermacher
9efc1cea74
Throw errors in fileSize(of: …) 2025-11-13 18:07:34 -06:00
Sasha Weiss
40d9577d7c
Use same timestamp for LastBackupDetails as in Backup header 2025-11-13 15:19:48 -08:00
Pete Walters
41813b9c6c
Add the ability to tag requests with extra logging data 2025-11-07 09:18:11 -06:00
sashaweiss-signal
aa1abe6b07 Two warn -> info log lines in AttachmentUpload 2025-11-04 15:40:56 -08:00
Pete Walters
7970156a44
Log response codes for CDN errors 2025-10-22 17:50:06 -05:00
Max Radermacher
1f7c55776d
Add & use AttachmentKey 2025-10-17 11:22:16 -05:00