Commit Graph

1178 Commits

Author SHA1 Message Date
Harry
dfda999430
Add unencryptedByteCount field to Attachment.TransitTierInfo 2024-06-21 14:14:45 -07:00
Sasha Weiss
2769166d79
Add outgoing support for non-expiring messages in delete-sync messages 2024-06-21 12:14:27 -07:00
Sasha Weiss
2a25846480
Implement support for outgoing attachment-delete sync messages 2024-06-21 09:52:45 -07:00
Sasha Weiss
688a7411c5
Add stable-decoding test for DeleteForMeOutgoingSyncMessage 2024-06-18 14:22:06 -07:00
Sasha Weiss
d193a937c8
Add a capability to enable sending DeleteForMe sync messages 2024-06-13 11:12:05 -07:00
Sasha Weiss
f55ba3682e
Exhaustively enumerate errors in ParamParser 2024-06-13 11:10:11 -07:00
sashaweiss-signal
ff459d6256 Temporarily disable flaking Backup integration test 2024-06-12 16:58:59 -07:00
Harry
e168704676
Add originalAttachmentIdForQuotedReply column to Attachment table 2024-06-12 15:05:49 -07:00
Harry
8d7e4c6844
Validate link preview images before sending 2024-06-12 14:40:36 -07:00
Pete Walters
84295351e8
Update Signal-Message-Backup-Tests pointer 2024-06-11 16:32:46 -07:00
Max Radermacher
c1f486a48d
Remove TestModel from the database 2024-06-07 14:05:13 -05:00
Pete Walters
c8f9883e5d
Archive/Restore of story distribution lists 2024-06-05 16:55:35 -05:00
Sasha Weiss
e31fb4a8b2
Batch the contents of DeleteForMe sync messages 2024-06-04 15:20:07 -07:00
Sasha Weiss
4a7be90003
Send support for DeleteForMe sync messages 2024-06-04 15:18:39 -07:00
Sasha Weiss
af12f210cb
Receive support for DeleteForMe sync messages 2024-06-04 15:15:24 -07:00
Sasha Weiss
11e9404d76
Add ThreadSoftDeleteManager 2024-06-04 14:58:58 -07:00
Sasha Weiss
2c5f47e95e
Consolidate similar InteractionFinder methods 2024-06-04 14:55:36 -07:00
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