Commit Graph

252 Commits

Author SHA1 Message Date
Harry
b805a89876
Enable TSMessage TSAttachment migration in prod 2024-08-20 15:07:57 -07:00
Marissa Le Coz
7db9f4eec5
Add join 'card' to create call link sheet 2024-08-19 18:30:39 -04:00
Sasha Weiss
0d17a073e2
Enable ComparableBackup check in ExpirationTimerChatUpdate test 2024-08-13 10:53:06 -07:00
Adam Sharp
f8bcb88467
Work around AVAssetExportSession.export(to:as:) not being back-deployed
In Xcode 16 beta 4, this API was marked as back-deployed before iOS 18, but
that changed in beta 5. Because calling the older export() API now generates a
(possibly spurious) warning about the export session leaving its isolation,
introduce a wrapper that's available before iOS 18 and uses the proper
isolation.
2024-08-12 20:49:08 -04:00
Harry
8a6b3e4c00
Don't accept directories as attachment files in TSAttachment migration 2024-08-12 17:09:45 -07:00
Max Radermacher
b36195157f
Asyncify gv2 restore operation 2024-08-12 13:17:13 -05:00
Harry
dfb006f39e
Enable message TSAttachment migration for internal builds 2024-08-11 09:58:46 -07:00
Harry
83ebf96c0d
Add media tier attachment download source enum cases 2024-08-07 15:43:38 -07:00
Adam Sharp
641738c84d
Enable Filter by Unread for internal builds 2024-08-07 18:02:54 -04:00
Sasha Weiss
6c44bf955e
Fixes for restoring a Group from Backups 2024-08-07 14:57:02 -07:00
Marissa Le Coz
f31c3ef910
Enable call drawer for prod 2024-08-07 16:20:21 -04:00
Marissa Le Coz
6244b5a474
Enable call drawer for beta 2024-08-07 14:54:05 -04:00
Adam Sharp
1ad2f51b5f Animate between compact & empty states of unread filter 2024-08-06 19:47:53 -04:00
Sasha Weiss
78ae578aa0
Use the withDefaults pattern for TSOutgoingMessageBuilder 2024-08-06 10:22:07 -07:00
Ehren Kret
06000fc070 minor CryptoKit related cleanup 2024-08-06 08:38:43 -05:00
Ehren Kret
aa8eb2390b fix local var vs let warnings for cipher context 2024-08-05 15:58:28 -05:00
Marissa Le Coz
5fa37b52da
Turn on call drawer for 1:1 calls internally 2024-08-05 15:47:44 -04:00
Ehren Kret
9d904d7de7 replace CommonCrypto with CryptoKit in AvatarBuilder 2024-08-05 12:29:18 -05:00
Ehren Kret
214683960a replace Cryptography.computeSHA256HMAC(_🔑truncatedToBytes:) with CryptoKit 2024-08-05 12:29:18 -05:00
Ehren Kret
f0a1d5cb3b switch from HmacContext to CryptoKit in HmacStreamTransform 2024-08-05 12:29:18 -05:00
Ehren Kret
8487781856 rewrite MetadataStreamTransform to use CryptoKit 2024-08-05 12:29:18 -05:00
Ehren Kret
3f04087244 replace Cryptography.computeSHA256Digest with CryptoKit.SHA256.hash(data:) 2024-08-05 12:29:18 -05:00
Ehren Kret
6a06a9ec53 replace CommonCrypto with CryptoKit in HmacContext 2024-08-02 11:14:29 -05:00
Ehren Kret
12ae11c728 use let for CipherContext now that it correctly uses reference semantics 2024-08-02 09:29:55 -05:00
Ehren Kret
829b9cac7e rename SHA256DigestContext to Sha256DigestContext 2024-08-02 09:29:55 -05:00
Ehren Kret
e1cfd116a2 rename OWSAES256Key in swift to Aes256Key 2024-08-02 09:29:55 -05:00
Harry
493973279a
Only allow backup export in dev builds 2024-07-31 15:43:05 -07:00
Ehren Kret
69bd0af9ad migrate OWSAES256Key from objc to swift 2024-07-31 12:23:25 -05:00
Sasha Weiss
a817a93be6
Introduce 'learned profile key' info messages 2024-07-29 14:42:00 -07:00
Harry
eb6dcd421a
Enable v2 message attachments via toggle in internal settings 2024-07-29 14:37:03 -07:00
Max Radermacher
f2eb7f5a22
Extract LinkPreviewFetcher into its own type 2024-07-26 21:45:22 -05:00
Harry
74437f2452
Avoid constantly recomputing ImageMetadata for hasStickerLikeProperties check 2024-07-25 17:21:14 -07: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
f0d0e43060
Asyncify group avatar downloads 2024-07-25 02:17:58 -05:00
Harry
685d2b2157
Add new container for v2 attachment feature flags 2024-07-24 16:45:27 -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
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
Max Radermacher
a5074f84c5
Remove suggestedStickerCache 2024-07-22 14:43:11 -05:00
Max Radermacher
be00816e6c
Fix owsFailDebug when installing stickers 2024-07-22 13:05:21 -05:00
Harry
fcd6828050
V2 attachment feature flags, take 2 2024-07-19 17:23:21 -07:00
Harry
75919050c4
Collapse v2 attachment FeatureFlags into one 2024-07-18 16:53:13 -07:00
Harry
36a047f5b4
Add IncrementalMessageTSAttachmentMigrator to run in a BGProcessingTask 2024-07-18 16:48:58 -07:00
Harry
19eb942755
Enable v2 attachment wallpapers + wallpaper migration 2024-07-18 08:52:29 -07:00
Harry
46dac08b46
Don't fail validation for gifs larger than the max static image size 2024-07-16 18:04:11 -07:00
Sasha Weiss
e20be373df
Update init args for OWSDisappearingConfigUpdateInfoMsg 2024-07-16 09:34:39 -07:00
Sasha Weiss
8ae61d1e9e
Require a TSContactThread to insert a DM-timer-change info message 2024-07-15 10:02:39 -07:00
Sasha Weiss
bffc980d53
Clean up disappearing message timer methods in GroupManager 2024-07-11 10:10:38 -07:00