Commit Graph

34354 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
4b2b118e9e
[Call drawer] Cap min alphas to 0.1 during crossfade 2024-08-07 16:20:54 -04:00
Marissa Le Coz
f31c3ef910
Enable call drawer for prod 2024-08-07 16:20:21 -04:00
Pete Walters
a386f85531
Add some performance improvements around joining/leaving calls 2024-08-07 14:01:44 -05:00
Marissa Le Coz
6244b5a474
Enable call drawer for beta 2024-08-07 14:54:05 -04:00
Pete Walters
b465f762e4
Move the grid animation to animate alongside the sheet presentation. 2024-08-07 11:11:07 -05:00
Adam Sharp
1ad2f51b5f Animate between compact & empty states of unread filter 2024-08-06 19:47:53 -04:00
Elaine
2687cc1d01
Correct raise hand toast width 2024-08-06 19:23:19 -04:00
Pete Walters
b6d53fddf8
Update to LibSignal v0.54.2 2024-08-06 16:46:46 -05:00
Sasha Weiss
fca19c0c78
Represent serverTimestamp as a UInt64 in IncomingMessageBuilder 2024-08-06 12:28:41 -07:00
Adam Sharp
9caaa0d592 Add an expanded empty state to unread filter footer 2024-08-06 13:53:16 -04:00
Ehren Kret
2ae3657765 remove KeyBackup.proto reference in project file 2024-08-06 12:38:22 -05: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
96913ad197
Don't immediately reschedule attachment migration after error 2024-08-06 08:59:04 -07:00
Harry
2b587ac3cf
Don't uneccessarily throw in archive method 2024-08-06 08:57:21 -07:00
Adam Sharp
ca212c5532
Fix incorrect section indices in chat list
If a new section happened to be inserted at the beginning of the chat list, all
the pinned & unpinned chat sections can have their section indices changed.
This was *almost* handled correctly, except when a chat is changing in the same
transaction as a section is being inserted or removed.

The fix is to dynamically compute the section index from either the new or old
CLVRenderState, depending on the table view change operation being animated.
2024-08-06 11:23:31 -04:00
Adam Sharp
e67d70a523
Always allow animated changes when clearing unread filter
Even if there are currently no visible rows, or no rows have changes, clearing
the unread filter should still be an animated transition.
2024-08-06 11:01:11 -04:00
Adam Sharp
6e8bc8875d Rename ChatListButtonCell to ChatListFilterFooterCell 2024-08-06 10:43:19 -04: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
Elaine
ce12aa0e40
Fix a few bugs in InteractiveSheetViewController
Co-authored-by: Max Radermacher <max@signal.org>
2024-08-05 15:36:55 -06: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
Adam Sharp
d6dfa9dd9a
Fix warning about missing await for isolated actor property 2024-08-05 16:46:19 -04:00
Marissa Le Coz
5fa37b52da
Turn on call drawer for 1:1 calls internally 2024-08-05 15:47:44 -04:00
Marissa Le Coz
55bb79d775
Timeout and interaction mgmt for 1:1 call drawer 2024-08-05 15:47:12 -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