Harry
|
b93411b375
|
Implement AttachmentThumbnailService
|
2024-06-18 08:45:57 -07:00 |
|
Harry
|
bb81eea884
|
Generate thumbnail cache file urls
|
2024-06-18 08:45:03 -07:00 |
|
Harry
|
04ff253927
|
Move around thumbnail constants to new file
|
2024-06-18 08:44:17 -07:00 |
|
Harry
|
7c0995e658
|
Define AttachmentThumbnailService for v2 attachments
|
2024-06-18 08:43:31 -07:00 |
|
Sasha Weiss
|
27e12e3106
|
Preserve known-nil values for clientUuid in V2 attachments
Co-authored-by: Harry <109690906+harry-signal@users.noreply.github.com>
|
2024-06-17 15:02:05 -07:00 |
|
Sasha Weiss
|
a28a18158a
|
Add clientUuid field to attachments
|
2024-06-17 11:56:26 -07:00 |
|
Sasha Weiss
|
98f7cccac0
|
Remove unused TSAttachment initializer
|
2024-06-14 14:30:02 -07:00 |
|
Harry
|
c6b5bd7645
|
Cleanups from attachment prep code
|
2024-06-14 09:39:50 -07:00 |
|
Harry
|
153289a2fc
|
Tiny fixes that let v2 attachment validate in practice
|
2024-06-14 09:39:05 -07:00 |
|
Harry
|
d563e1a9ac
|
Implement easy AttachmentReference protocol method
|
2024-06-12 15:17:32 -07:00 |
|
Harry
|
b6c2f926ba
|
Remove unused methods
|
2024-06-12 15:16:54 -07:00 |
|
Harry
|
7f079bafd8
|
Implement quoted reply attachment creation in AttachmentManager
|
2024-06-12 15:16:07 -07:00 |
|
Harry
|
8cafb12cde
|
Construct quoted reply attachments from QuotedReplyAttachmentDataSource in AttachmentManager
|
2024-06-12 15:15:36 -07:00 |
|
Harry
|
243208af7c
|
Prepare DraftQuotedReplyModel for sending in QuotedReplyManager
|
2024-06-12 15:14:53 -07:00 |
|
Harry
|
8b40242bd9
|
Prepare quoted reply thumbnails in AttachmentContentValidator
|
2024-06-12 15:13:36 -07:00 |
|
Harry
|
edc436b236
|
Add QuotedReplyAttachmentDataSource
|
2024-06-12 15:12:52 -07:00 |
|
Harry
|
1c21f2bee9
|
Remove unused method
|
2024-06-12 15:10:09 -07:00 |
|
Harry
|
bbaa81f06d
|
Push up unwrapping message row id another level
|
2024-06-12 15:09:31 -07:00 |
|
Harry
|
f965a8c67a
|
Delete some obsolete quoted reply handling code
|
2024-06-12 15:08:35 -07:00 |
|
Harry
|
f2311d00ae
|
Use fallbacks for easier handling of quoting v1 attachments as v2 attachments
|
2024-06-12 15:07:20 -07:00 |
|
Harry
|
e168704676
|
Add originalAttachmentIdForQuotedReply column to Attachment table
|
2024-06-12 15:05:49 -07:00 |
|
Harry
|
56fb5f00a1
|
Implement pending attachment insertion
|
2024-06-12 15:04:59 -07:00 |
|
Harry
|
8866458d33
|
Add OrphanedAttachmentStore to access table using a DBWriteTransaction
|
2024-06-12 15:03:57 -07:00 |
|
Harry
|
23fed9d786
|
Add convenience validation from data (instead of going through DataSourceValue)
|
2024-06-12 15:03:14 -07:00 |
|
Harry
|
7838adccb2
|
Add rendering flag to PendingAttachment
|
2024-06-12 15:02:21 -07:00 |
|
Harry
|
a88f811860
|
Remove unecessary restriction that existing attachment sources must be streams
|
2024-06-12 15:01:47 -07:00 |
|
Harry
|
38a7f66e58
|
Create attachment streams from existing attachments
|
2024-06-12 15:01:06 -07:00 |
|
Harry
|
3ab662fad2
|
Clean up and simplify AttachmentDataSource
|
2024-06-12 15:00:21 -07:00 |
|
Harry
|
2b515edf7e
|
Rename legacy TSResourceDataSource cases
|
2024-06-12 14:58:59 -07:00 |
|
Harry
|
6e310a9ce9
|
Split existing attachment TSResourceDataSource case between v2 and legacy
|
2024-06-12 14:58:16 -07:00 |
|
Harry
|
856afdc330
|
Don't create TSResourceDataSource from DataSource except through TSAttachmentDataSource
|
2024-06-12 14:50:14 -07:00 |
|
Harry
|
c4bb73eb5f
|
Remove unused TSResourceDataSource method
|
2024-06-12 14:49:40 -07:00 |
|
Harry
|
5ed5ee8b18
|
Remove unused (and unwanted) unvalidated data source cases from AttachmentDataSource
|
2024-06-12 14:47:48 -07:00 |
|
Harry
|
60819a4dce
|
Validate oversized text attachments
|
2024-06-12 14:44:14 -07:00 |
|
Harry
|
8d7e4c6844
|
Validate link preview images before sending
|
2024-06-12 14:40:36 -07:00 |
|
Harry
|
9723700039
|
De-Asyncify AttachmentContentValidator
|
2024-06-11 14:07:12 -07:00 |
|
Harry
|
c50ae90118
|
Fix quote replying messages with undownloaded attachments
|
2024-06-10 09:05:23 -07:00 |
|
Harry
|
37b1af34ea
|
Add PendingAttachment to AttachmentDataSource
|
2024-06-06 15:36:08 -07:00 |
|
Harry
|
fa1c9d9369
|
Consume data sources in AttachmentContentValidator
|
2024-06-06 15:34:58 -07:00 |
|
Harry
|
cf4dbedaf7
|
Remove unused caption param (all callers pass nil)
|
2024-06-06 15:34:06 -07:00 |
|
Harry
|
36e2fea835
|
Prepare attachment files in AttachmentValidator
|
2024-06-06 15:33:15 -07:00 |
|
Harry
|
b4672579cc
|
Don't leak weakly-referenced database pool in OrphanedAttachmentCleaner
|
2024-06-06 08:18:18 -07:00 |
|
Harry
|
cea8dee608
|
Add validator method to encrypt ancillary attachment files
|
2024-06-05 16:55:14 -07:00 |
|
Harry
|
f5d47412fe
|
Add validator method to encrypt an attachment file
|
2024-06-05 16:54:12 -07:00 |
|
Harry
|
f12bf8e06d
|
Add validator method to compute attachment plaintext hash
|
2024-06-05 16:53:31 -07:00 |
|
Harry
|
ea6f268bf0
|
Compute blurhashes in AttachmentContentValidator
|
2024-06-05 16:52:50 -07:00 |
|
Harry
|
c4330c3d49
|
Validate digest for encrypted attachment input files
|
2024-06-05 16:52:10 -07:00 |
|
Harry
|
6352cbea9c
|
Prepare pending audio waveform and video still frame files during validation
|
2024-06-05 16:51:35 -07:00 |
|
Harry
|
cf8a8cdd6a
|
Generate attachment file paths
|
2024-06-05 16:50:40 -07:00 |
|
Harry
|
fd0077b15c
|
Add pending attachment methods to OrphanedAttachmentCleaner
|
2024-06-05 16:46:32 -07:00 |
|