Commit Graph

10181 Commits

Author SHA1 Message Date
Harry
c5e142019f
Update variable names from builder->constructionparams for attachments 2024-05-24 13:52:46 -07:00
Harry
3bc52c4954
Add a bunch of AttachmentStore tests 2024-05-24 13:52:06 -07:00
Harry
f41a1709a8
Implement v2 WallpaperImageStoreImpl 2024-05-24 13:11:54 -07:00
Max Radermacher
7f1bcbf991
Stop tracking pending calls at the app layer 2024-05-24 14:39:57 -05:00
Max Radermacher
fe82d248e1
Rename to CurrentCallProvider 2024-05-24 14:36:14 -05:00
Max Radermacher
3eec477bf1
Process some missed call events more quickly 2024-05-24 14:16:55 -05:00
Max Radermacher
e1b903c711
Move some of IndividualCall to CallEventInserter 2024-05-24 14:09:37 -05:00
Harry
37c5fa83e4
Factor out AttachmentStoreImpl methods for testing 2024-05-24 11:19:55 -07:00
Harry
5bd57c6559
Move AttachmentReference.OwnerBuilder to a different file 2024-05-24 11:16:23 -07:00
Harry
0ac8f86603
Add AttachmentReference.ConstructionParams 2024-05-24 11:13:22 -07:00
Harry
3f9b412ab2
Add Attachment.Builder 2024-05-24 11:01:20 -07:00
Harry
5ccd1c3ce1
Make AttachmentStore write methods throw 2024-05-24 10:48:24 -07:00
Sasha Weiss
750b1c2a40
Move JobRecords to co-locate with JobQueues 2024-05-23 12:10:36 -07:00
Harry
e6c47c9250
Initialize Attachment.Record from Attachment 2024-05-23 09:14:28 -07:00
Harry
e5787cd5a1
Define Attachment and AttachmentReference Record types for reading/writing to the database 2024-05-23 09:13:13 -07:00
Harry
0d85470991
Create V2 Attachment table (+ friends) migration 2024-05-23 09:12:22 -07:00
Max Radermacher
50ba587dc9
Simplify PushKit handling for calls 2024-05-22 23:21:58 -05:00
Max Radermacher
ac887c5014
Remove some unnecessary file existence checks 2024-05-22 23:19:31 -05:00
Max Radermacher
68268dc16f
Clean up device transfer move operations 2024-05-22 17:20:38 -05:00
Max Radermacher
e8b3a9f85d
Use Swift-native approach for truncating Strings
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-05-22 17:07:21 -05:00
Max Radermacher
be974a2551
Rip out unused device transfer code 2024-05-22 15:35:22 -05:00
Sasha Weiss
47a02e1e6a
Remove now-obsolete warning when sending an edit 2024-05-22 13:33:23 -07:00
Max Radermacher
1ef3a956d6
Update to LibSignal v0.47.0 2024-05-22 13:48:32 -05:00
Adam Sharp
f245dcc2d7
Address unused variable warnings in SignalServiceKit 2024-05-22 12:04:52 -04:00
Adam Sharp
bcc31cbc4f
Double Tap to Edit 2024-05-21 15:15:59 -04:00
Harry
ebb626ea10
Split raw attachment reference owner enums by their containing table 2024-05-21 10:37:57 -07:00
Harry
5c31047c54
Split out and clean up thread wallpaper image storage 2024-05-21 10:37:05 -07:00
Harry
0331807a05
Handle TSResource in AudioPlayer, take 2 2024-05-21 10:14:07 -07:00
Marissa Le Coz
139e2eabd2
Productionize CallMemberView for remote group members 2024-05-20 17:56:30 -04:00
Sasha Weiss
0abdf5793b
Integrate shared Message Backup integration test repo 2024-05-20 14:37:05 -07:00
Sasha Weiss
fefbf7e5c3
Validate incoming edit message target timestamp 2024-05-20 14:14:14 -07:00
Harry
d8a48c67c6
Don't create two attachments every time we get an edit message sync transcript 2024-05-20 14:07:44 -07:00
Jordan Rose
cbaae3fb08 Tighten up checks for PublicKey.init(keyBytes:)
For historical reasons libsignal's PublicKey.init(_:) allows trailing
data, because the type byte specifies how much of the data is relevant
anyway. init(keyBytes:), however, should not be so lax, since it's
assuming the key data is a Curve25519 public point.
2024-05-20 10:18:42 -07:00
Jordan Rose
0ac5558493 Move libsignal-net proxy handling into SignalProxy
Since this already affects more than just the chat connection, having
it in OWSChatConnection isn't really the best choice. This way we can
be sure the libsignal Net instance's proxy settings will be updated
before any notifications go out.
2024-05-17 16:20:13 -07:00
Jordan Rose
9defb935a0 0 is not a valid TLS proxy port 2024-05-17 16:20:13 -07:00
Sasha Weiss
3ffcc47a66
Scaffold for Backup integration tests 2024-05-17 13:59:49 -07:00
Max Radermacher
3526c2b650
Remove unused canBuildWebSocket 2024-05-17 13:53:08 -05:00
Sasha Weiss
5e218e8546
Add support for plaintext backup import/export 2024-05-17 10:40:21 -07:00
Max Radermacher
503d5c635e
Rip out a bunch of NonCallKitCallUIAdaptee 2024-05-16 18:24:04 -05:00
Max Radermacher
cab7fb76f4
Fix a typo related to storedPrimaryFolderName 2024-05-16 17:58:53 -05:00
Harry
96ffe02d8b
Clean up new group info message events 2024-05-16 14:11:32 -07:00
Max Radermacher
bcfd4c51a8
Fix crash after using device transfer 2024-05-16 16:01:15 -05:00
Sasha Weiss
47c6f80c27
Track which field is missing in SDSError.missingRequiredField 2024-05-16 12:38:13 -07:00
Max Radermacher
354dc28451
Fix flaky PniDistributionParameterBuilderTest 2024-05-16 13:21:44 -05:00
Harry
a910f3d0e7
Don't mark non-animated images invalid just because we checked isAnimatedContent at some point 2024-05-15 11:05:16 -07:00
Harry
36837c4e78
Respect updateStorageService param when updating my story 2024-05-14 14:39:03 -07:00
Harry
6835de9ba5
Always treat OWSPaymentMessages as having renderable content 2024-05-14 14:31:47 -07:00
Adam Sharp
585da625a1 Audit remaining strings for "audio call" -> "voice call"
In addition to updating the remaining English occurrences of "audio call", this
unifies all string constants, localisation comments and UI-level variable names
to use the new "voice call" terminology.

Anything that was obviously protocol-level or related to persistence is still
using the term "audio call", which appears to be a term of art at that layer.

Fixes: https://signalmessenger.atlassian.net/browse/IOS-4850
2024-05-14 13:36:27 -04:00
Max Radermacher
34eca8a139
Fix some dependency cycles with CallService 2024-05-14 11:46:52 -05:00
Harry
e472f501d8
Revert recent AudioPlayer TSResource changes 2024-05-13 16:15:11 -07:00