Max Radermacher
cf248af8b4
Implement more of CreateCallLinkViewController
2024-08-19 14:52:24 -05:00
Sasha Weiss
3e92166fe8
Update Backup.proto to latest
2024-08-16 15:30:10 -07:00
Marissa Le Coz
cd2bb5c90a
Put flip cam button in alt location when alone in group call
2024-08-16 16:30:25 -04:00
Adam Sharp
4b4fc8beb4
Enable Xcode user script sandboxing by default
2024-08-16 11:00:59 -04:00
Pete Walters
f22154db54
Add AttachmentUploadRecord
2024-08-15 10:50:41 -05:00
Sasha Weiss
853bf45b8a
Split TSInfoMessage+Swift into extension files
2024-08-14 16:51:00 -07:00
Adam Sharp
3e5cee2ea0
Maintain section titles when unread filter is active
...
Previously, section titles were enabled dynamically based on whether both the
pinned & unpinned sections had chats in them. This meant that if the unread
filter was active, section titles might disappear, making it unclear whether
the chat is pinned or not.
Section titles are now always turned on when there is at least one pinned chat,
and continue to be displayed when the unread filter is active.
2024-08-14 17:03:18 -04:00
Ehren Kret
cbd5d860bc
networking code cleanup and improvements
2024-08-14 15:30:39 -05:00
Sasha Weiss
5b35301892
Enable the Backup comparator for chat update tests
2024-08-13 15:52:25 -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
Max Radermacher
46a3e9c58a
Extract cooperative timeout & cancellation logic
2024-08-12 13:46:37 -05:00
Harry
32b9c5e5c7
Add MessageBackupMessageAttachmentArchiver and implement StandardMessage body attachment restoring
2024-08-09 10:24:02 -07:00
Sasha Weiss
921bdf6c24
Add support for incoming message edits in Backups
2024-08-07 16:16:20 -07:00
Adam Sharp
ba3098d18c
Save selected unread filter to KeyValueStore
2024-08-07 17:52:49 -04:00
Ehren Kret
fc350cb88a
convert PhoneNumber to swift
2024-08-07 16:16:02 -05:00
Adam Sharp
1ad2f51b5f
Animate between compact & empty states of unread filter
2024-08-06 19:47:53 -04:00
Ehren Kret
2ae3657765
remove KeyBackup.proto reference in project file
2024-08-06 12:38:22 -05:00
Sasha Weiss
78ae578aa0
Use the withDefaults pattern for TSOutgoingMessageBuilder
2024-08-06 10:22:07 -07: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
ff785f18e7
remove HmacContext
2024-08-05 12:29:18 -05:00
Ehren Kret
eddffc615e
delete Sha256DigestContext
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
657e7d25df
add unit test for Sha256DigestContext
2024-08-02 11:15:19 -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
6d79450518
move CipherContext into its own file
2024-08-02 09:29:55 -05:00
Ehren Kret
48149f0b5e
move HmacContext into its own file
2024-08-02 09:29:55 -05:00
Ehren Kret
e4147c9e4d
split SHA256DigestContext out to its own file
2024-08-02 09:29:55 -05:00
Ehren Kret
7320874263
move OWSAES256Key to its own file
2024-08-02 09:29:55 -05:00
Sasha Weiss
79d5ff9340
Remove MBInteractionArchiver protocol in favor of direct archiver access
2024-08-01 14:55:33 -07:00
Ehren Kret
557d6a67cc
migrate Cryptography over to swift
...
`srand` is not accessible in swift. Remove `srand` anyhow as anything
using `rand` for any actual randomness should be considered a bug in
need of fixing rather than viewing `srand` as an acceptable workaround.
2024-08-01 14:43:34 -05:00
Ehren Kret
fa1cef674c
migrate Randomness to swift
2024-08-01 13:26:07 -05:00
Harry
82862885c3
Add BackupAttachmentDownloadStore
2024-08-01 10:25:36 -07:00
Harry
5a7d154d16
Add BackupAttachmentDownloadQueue table
2024-08-01 10:24:27 -07:00
Max Radermacher
4d9d555941
Clean up link preview rendering code
2024-08-01 12:21:48 -05:00
Sasha Weiss
5fa7a81444
Implement archive/restore for learned profile chat updates
2024-08-01 09:45:26 -07:00
Harry
2700cfe624
Block on migrating TSAttachments before creating backups
2024-07-31 15:33:11 -07:00
Ehren Kret
c091e083d0
crypto cleanup
2024-07-30 14:40:33 -07:00
Max Radermacher
c1a67e3fa9
Remove unused protobuf file
2024-07-30 16:34:52 -05:00
Sasha Weiss
d87164a073
Replace Wire with Swift-Protobuf for Backups
2024-07-29 15:26:01 -07:00
Max Radermacher
b9f49023ad
Send call link link previews
2024-07-26 22:00:54 -05:00
Max Radermacher
f2eb7f5a22
Extract LinkPreviewFetcher into its own type
2024-07-26 21:45:22 -05:00
Sasha Weiss
3646e27b03
An attempt to document the remaining Backup contents
2024-07-26 11:47:05 -07:00
Adam Sharp
6138a58756
Replace Archived Chats button with Clear Filter while filtering
2024-07-26 14:37:10 -04:00
Adam Sharp
97dc9a380b
Extract CLVViewInfo into its own file
2024-07-26 11:50:16 -04:00
Max Radermacher
f0d0e43060
Asyncify group avatar downloads
2024-07-25 02:17:58 -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
685d2b2157
Add new container for v2 attachment feature flags
2024-07-24 16:45:27 -07:00
Sasha Weiss
0ff29d510b
Add support for session switchover events to Backups
2024-07-22 15:02:09 -07:00