Commit Graph

10574 Commits

Author SHA1 Message Date
Pete Walters
731237981f
Move some v2 upload code 2024-07-26 09:39:45 -07:00
Harry
e2b72383b9
Check if video SignalAttachments are too large so that we early exit 2024-07-25 17:21:56 -07:00
Harry
74437f2452
Avoid constantly recomputing ImageMetadata for hasStickerLikeProperties check 2024-07-25 17:21:14 -07:00
Harry
2058a1b648
Check exif orientation for v2 attachment jpegs 2024-07-25 13:36:24 -07:00
Harry
81af67d166
Fall back to UIImage(data:) if interpreting CGImageDataSource for mime type fails 2024-07-25 09:48:30 -07:00
Ehren Kret
e2d5ea007b remove kbs migration logic as that is no longer possible 2024-07-25 09:05:38 -05:00
Max Radermacher
f7398b4e6d
Check for profile when showing phone numbers 2024-07-25 02:57:42 -05:00
Max Radermacher
2344354d2b
Consolidate “download too large” code 2024-07-25 02:37:38 -05:00
Max Radermacher
82a87d6c9f
Asyncify LinkPreviewManager 2024-07-25 02:33:13 -05:00
Max Radermacher
624786b1c8
Asyncify code to “send” group update messages 2024-07-25 02:28:04 -05:00
Max Radermacher
57016de8ac
Asyncify group update methods 2024-07-25 02:22:11 -05:00
Max Radermacher
f0d0e43060
Asyncify group avatar downloads 2024-07-25 02:17:58 -05:00
Max Radermacher
664b7781fe
Asyncify GroupV2Updates 2024-07-25 02:17:01 -05:00
Max Radermacher
a56b9e9be5
Pass around GroupSecretParams instead of Data 2024-07-25 02:12:07 -05:00
Max Radermacher
f3423d64f8
Move some GroupsV2 methods to better places 2024-07-25 02:02:32 -05:00
Max Radermacher
533d32caf8
Asyncify LaunchJobs 2024-07-25 01:48:18 -05:00
Max Radermacher
e9799fead8
Remove redundant timestamp generation 2024-07-25 01:46:15 -05:00
Max Radermacher
0ca2c7dd47
Add MessageTimestampGenerator 2024-07-25 01:45:20 -05:00
Ehren Kret
498b7ac063 remove dead code 2024-07-24 19:16:50 -05:00
Harry
932b3ae163
Pass along user-visible filename to sharesheet for v2 attachments 2024-07-24 17:09:21 -07:00
Ehren Kret
28f40b0180 remove dead code 2024-07-24 18:46:03 -05:00
Harry
685d2b2157
Add new container for v2 attachment feature flags 2024-07-24 16:45:27 -07:00
Harry
b067960086
Special case forwarding of aac audio files 2024-07-24 16:28:49 -07:00
Marissa Le Coz
d9efcc554f Turn on group call drawer support for internal 2024-07-24 19:08:49 -04:00
Marissa Le Coz
3f7ce24b40
Split drawer feature flag into two 2024-07-24 18:51:23 -04:00
Harry
8d65c34c1d
Pass along thumbnail pointer from sender to QuotedReplyAttachmentDataSource 2024-07-24 15:51:09 -07:00
Harry
7ceb336b1c
Only generate quote thumbnails for sending from streams 2024-07-24 15:38:10 -07:00
Harry
de68c80431
Use atomic types in AttachmentDownloadManager.ProgressStates which is used across multiple threads 2024-07-24 15:27:01 -07:00
Harry
84689b4439
Enable v2 attachments for stories 2024-07-24 13:35:52 -07:00
Harry
b04032f44a
Small fixes for generic file attachments for v2
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-07-24 10:44:36 -07:00
Harry
4421d31c26
Add bucketing padding when encrypting oversize text attachment 2024-07-24 09:52:06 -07:00
Harry
45b70a579a
Split transit tier info creation in AttachmentManager into its own method 2024-07-24 08:25:08 -07:00
Harry
c04dc16bc1
Short circuit and return stub if we receive non-visual quoted attachments 2024-07-24 08:06:23 -07:00
Harry
036b857ade
Preserve SignalAttachment's sourceFilename 2024-07-24 08:06:09 -07:00
Harry
53729e9001
Maintain transformed oversize text attachment owner type 2024-07-24 08:05:59 -07:00
Harry
c26b79badf
Decrypt in memory when loading entire data blob into memory anyway 2024-07-23 13:03:55 -07:00
Harry
106599da8e
Ensure some tests work both before and after message v2 attachment flags are enabled 2024-07-23 09:06:34 -07:00
Harry
7095f4b522
Propagate owner-finalize-duplication to wrapped owners 2024-07-22 15:27:28 -07:00
Sasha Weiss
0ff29d510b
Add support for session switchover events to Backups 2024-07-22 15:02:09 -07:00
Sasha Weiss
40835a7f2f
Implement Backup of "thread merge" chat updates 2024-07-22 14:40:27 -07:00
Sasha Weiss
16b28ce4f7
Organize TSInfoMessage methods 2024-07-22 14:39:18 -07:00
Max Radermacher
a5074f84c5
Remove suggestedStickerCache 2024-07-22 14:43:11 -05:00
Harry
f561f12f51
Stub out attachment downloads in StoryManagerTest 2024-07-22 13:32:08 -06:00
Max Radermacher
be00816e6c
Fix owsFailDebug when installing stickers 2024-07-22 13:05:21 -05:00
Max Radermacher
263f4724da
Fix sticker notification debouncing 2024-07-22 13:02:32 -05:00
Max Radermacher
9f7407f7c7
Clean up StickerManager 2024-07-22 13:00:21 -05:00
Harry
c57a563df6
Improve performance of encrypted AVAsset loading 2024-07-19 21:03:06 -07:00
Harry
fcd6828050
V2 attachment feature flags, take 2 2024-07-19 17:23:21 -07:00
Harry
a6f40af7d6
Handle AttachmentMultisend attachment reuse 2024-07-19 17:28:45 -05:00
Harry
b7e12d14f2
Restore story messages in send queue appropriately 2024-07-19 17:15:34 -05:00