Commit Graph

10669 Commits

Author SHA1 Message Date
Ehren Kret
99cb4b5ebe remove toE164 method from PhoneNumber 2024-08-07 16:16:02 -05:00
Ehren Kret
fc350cb88a convert PhoneNumber to swift 2024-08-07 16:16:02 -05: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
fca19c0c78
Represent serverTimestamp as a UInt64 in IncomingMessageBuilder 2024-08-06 12:28:41 -07:00
Sasha Weiss
dc64d534ca
Avoid using inline default values in message builders 2024-08-06 10:33:33 -07:00
Sasha Weiss
7adc7d2d95
Use @objcMembers in message builders 2024-08-06 10:31:30 -07:00
Sasha Weiss
78ae578aa0
Use the withDefaults pattern for TSOutgoingMessageBuilder 2024-08-06 10:22:07 -07:00
Sasha Weiss
3cdf735b40
Pare down TSInteraction initializers 2024-08-06 10:06:20 -07:00
Harry
7a9bd74fd8
Wrap sql/filesystem errors in OWSAssertionErrors 2024-08-06 09:07:45 -07:00
Harry
6078f715a8
Treat message TSAttachment rows we can't parse as if they don't exist, possibly producing invalid TSMessages 2024-08-06 09:06:13 -07:00
Harry
4e8ea9d65a
Mark file invalid instead of throwing when failing to parse audio duration 2024-08-06 09:05:04 -07:00
Harry
0dcf34e5b5
Fall back to quote stubs for more migration quoted reply errors 2024-08-06 09:04:11 -07:00
Harry
4f5d8c8450
Skip messages with easily skippable migration errors 2024-08-06 09:03:01 -07:00
Harry
fffbbe9886
Ignore blob columns that fail to unarchive when migrating TSAttachments 2024-08-06 09:01:57 -07:00
Harry
2b587ac3cf
Don't uneccessarily throw in archive method 2024-08-06 08:57:21 -07:00
Ehren Kret
5c405b4981 convert ContactsManagerProtocol from objc to swift 2024-08-06 09:14:11 -05:00
Ehren Kret
1374ce7edd remove unnecessary forward class declarations 2024-08-06 08:57:26 -05:00
Ehren Kret
06000fc070 minor CryptoKit related cleanup 2024-08-06 08:38:43 -05:00
Ehren Kret
5103a84e60 remove dead code 2024-08-05 16:07:20 -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
Adam Sharp
e3cdbb7e6a
Asyncify VideoEditorModel 2024-08-05 14:51:25 -04:00
Ehren Kret
9d904d7de7 replace CommonCrypto with CryptoKit in AvatarBuilder 2024-08-05 12:29:18 -05:00
Ehren Kret
98672608aa replace CommonCrypto with CryptoKit in OWSFingerprint 2024-08-05 12:29:18 -05:00
Ehren Kret
99b52c05b2 replace Cryptography.computeSHA256HMAC(_🔑) with CryptoKit 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
ff785f18e7 remove HmacContext 2024-08-05 12:29:18 -05:00
Ehren Kret
5e84ac1661 replace HmacContext in Cryptography 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
eddffc615e delete Sha256DigestContext 2024-08-05 12:29:18 -05:00
Ehren Kret
d708761bbc replace Sha256DigestContext with SHA256 from CryptoKit 2024-08-05 12:29:18 -05:00
Ehren Kret
0ddbc9e5bc replace use of Sha256DigestContext in Cryptography with CryptoKit 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
ba3ae61d5c fix potential bug if .read(upToCount:) had read less than requested 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
897d2441f5 continue splitting apart Cryptography.swift 2024-08-05 12:29:18 -05:00
Ehren Kret
c083decbc9 remove CommonCrypto from Cryptography.swift 2024-08-05 12:29:18 -05:00
Harry
a48353d658
Drop duplicate TSAttachments on a single TSMessage in the migration 2024-08-02 14:49:47 -07:00
Ehren Kret
db49fc1fe4 migrate Sha256DigestContext from CommonCrypto to CryptoKit 2024-08-02 11:15:19 -05:00
Ehren Kret
657e7d25df add unit test for Sha256DigestContext 2024-08-02 11:15:19 -05:00
Ehren Kret
6a06a9ec53 replace CommonCrypto with CryptoKit in HmacContext 2024-08-02 11:14:29 -05:00
Ehren Kret
dad6e14cf9 add unit test for HmacContext using RFC 4231 test vectors 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
4bfde67015 reduce visibility of enumerateInBlocks extension func 2024-08-02 09:29:55 -05:00
Ehren Kret
2048c1161a stop memory leak if CipherContext is not used all the way to finalize 2024-08-02 09:29:55 -05:00
Ehren Kret
4a0617a62d use new let syntax 2024-08-02 09:29:55 -05:00
Ehren Kret
715b76e153 remove unused cipher algorithms 2024-08-02 09:29:55 -05:00
Ehren Kret
6d79450518 move CipherContext into its own file 2024-08-02 09:29:55 -05:00