Commit Graph

1161 Commits

Author SHA1 Message Date
Sasha Weiss
0f4289fc73
Replace interaction anyRemove with InteractionDeleteManager 2024-06-04 14:51:52 -07:00
Harry
e9038e0a38
Abstract ImageMetadata loading so it can use more than just in memory Data 2024-05-30 15:29:15 -07:00
Harry
ef62e06c82
Build AttachmentReference.OwnerBuilder into a full Owner object 2024-05-29 19:55:37 -07:00
Max Radermacher
17ab8a1e66
Simplify CallMessageHandler 2024-05-29 11:55:42 -05:00
Max Radermacher
ca1b5f4751
Remove SignalCall.thread 2024-05-29 11:47:01 -05:00
Harry
ff1a62475c
Throw on method to mark attachment as uploaded 2024-05-28 15:44:05 -07:00
Harry
9348405216
Take Attachment.TransitTierInfo instead of fanned out params 2024-05-28 15:43:28 -07:00
Harry
a9e8866956
Change attachment owner duplication method signature 2024-05-28 15:41:49 -07:00
Adam Sharp
c675ec09c7
Resolve designated initializer warnings in SignalServiceKit 2024-05-28 10:47:15 -04: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
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
Sasha Weiss
47a02e1e6a
Remove now-obsolete warning when sending an edit 2024-05-22 13:33:23 -07:00
Harry
5c31047c54
Split out and clean up thread wallpaper image storage 2024-05-21 10:37:05 -07:00
Sasha Weiss
0abdf5793b
Integrate shared Message Backup integration test repo 2024-05-20 14:37:05 -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
Sasha Weiss
3ffcc47a66
Scaffold for Backup integration tests 2024-05-17 13:59:49 -07:00
Max Radermacher
354dc28451
Fix flaky PniDistributionParameterBuilderTest 2024-05-16 13:21:44 -05:00
Pete Walters
0c2ec56809
Add HMAC validation to backup import. 2024-05-08 12:22:45 -05:00
Ehren Kret
12e9d554a4 migrate PhoneNumberUtilTest remaining tests to swift 2024-05-08 08:05:22 -05:00
Ehren Kret
4364907c3e move AppContext globals to swift 2024-05-08 07:37:37 -05:00
Max Radermacher
fa48dd4b5d
Fix LocalProfileChecker avatar mismatch handling 2024-05-07 17:04:54 -05:00
Sasha Weiss
6ff76dd7e6
Do away with some ObjC test infra 2024-05-06 09:57:21 -07:00
Sasha Weiss
a25868491f
Make defaults in TSIncomingMessageBuilder explicit and complete 2024-05-02 15:56:02 -07:00
Max Radermacher
0b3d2a8f18
Remove and fix confusing substring methods 2024-05-01 15:46:25 -05:00
Pete Walters
6283e2a3fb
Support different types of upload metadata 2024-04-29 18:27:26 -05:00
Sasha Weiss
b9852224d8
Backup/Restore local group state 2024-04-29 13:49:51 -07:00
Ehren Kret
25335708f0 move ensureArabicNumerals test into the tests for the target where it is defined 2024-04-27 13:33:46 -05:00
Ehren Kret
b63a2d6bf4 migrate NSData+Image to swift 2024-04-26 05:24:55 -05:00
Harry
4b48f11636
Typo fix unenecrypted->unencrypted 2024-04-25 15:44:52 -07:00
Sasha Weiss
4b97d0bb16
Ensure we've refreshed at least once before finding inactive devices 2024-04-25 11:10:39 -07:00
Harry
17c025f40a
More easy TSAttachment bridging removals 2024-04-25 10:25:26 -07:00
Harry
237bf46219
Remove TSAttachment bridging in TSMessage methods 2024-04-25 10:24:00 -07:00
Sasha Weiss
50e0e6a3ab
More aggressively mark group call records as .ringingAccepted 2024-04-24 12:25:24 -07:00
Sasha Weiss
c26ad8a4e5
Add an "inactive linked device" megaphone 2024-04-24 11:28:33 -07:00
Ehren Kret
70ac6f28d0 migrate NSString+SSK to swift 2024-04-24 09:26:12 -05:00
Max Radermacher
dd42e10e88
Smoosh together various places that fetch profiles 2024-04-23 15:22:37 -05:00
Max Radermacher
456f2037ee
Stop putting kLocalProfileUniqueId in addresses 2024-04-23 13:58:27 -05:00
Ehren Kret
3b51f00f6a migrate two factory methods of UIImage+OWS to swift 2024-04-22 00:17:31 -05:00
Ehren Kret
110a880d6c remove and disallow warnings in SignalServiceKitTests target 2024-04-21 09:55:30 -05:00
Sasha Weiss
f1f4e6977d
Do away with ensureGroupIdMapping 2024-04-19 15:46:18 -07:00
Sasha Weiss
d8627324fa
Require a V2 group model for group creation 2024-04-19 15:37:45 -07:00
Pete Walters
c9fb03a211
Add random IV to backup file 2024-04-19 13:11:43 -05:00
Pete Walters
b58a7e0411
Change from Compression.framework to zlib 2024-04-19 12:39:44 -05:00
Harry
e9c8d71a53
Rename BroadcastMediaMessageJob->TSAttachmentMultisendJob 2024-04-15 20:45:26 -07:00
Harry
7c1578f0db
Remove some easy-peasy TSAttachment usages 2024-04-15 19:37:30 -05:00