Commit Graph

10679 Commits

Author SHA1 Message Date
Sasha Weiss
41d153bf6f
Refactor EditManagerImpl to improve clarity 2024-08-07 15:04:48 -07:00
Adam Sharp
641738c84d
Enable Filter by Unread for internal builds 2024-08-07 18:02:54 -04:00
Sasha Weiss
0afca3aec7
Add receivedAtTimestamp to message builders 2024-08-07 14:58:50 -07:00
Sasha Weiss
6c44bf955e
Fixes for restoring a Group from Backups 2024-08-07 14:57:02 -07:00
Adam Sharp
ba3098d18c Save selected unread filter to KeyValueStore 2024-08-07 17:52:49 -04:00
Ehren Kret
780a131560 use diskPageSize constant in place of 8192 literal 2024-08-07 16:19:51 -05:00
Ehren Kret
1fe73e8a22 update comments on LocalFileHandle 2024-08-07 16:16:53 -05:00
Ehren Kret
99a58e93ec prefer lseek for returning file offset rather than locally tracking it 2024-08-07 16:16:53 -05:00
Ehren Kret
44e0031770 use reusable buffers for sha256 and attachment encryption 2024-08-07 16:16:53 -05:00
Ehren Kret
3a228ba708 change implementation from UnsafeMutablePointer<FILE> to System/FileDescriptor 2024-08-07 16:16:53 -05:00
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