Commit Graph

1093 Commits

Author SHA1 Message Date
Harry
95326feaf2
Add some shim methods to EditManager 2024-04-05 11:25:56 -07:00
Elaine
659e897dc9
Allow nicknames to be saved and displayed 2024-04-05 09:35:57 -06:00
Pete Walters
e76251c9d6
Remove unecessary finalize from ChunkedInputStream 2024-04-04 17:45:07 -05:00
Harry
c235c2b62a
Clean up EditMessageWrapper API 2024-04-04 15:31:59 -07:00
Harry
738a3bd199
Clean up EditManager API methods 2024-04-04 13:44:27 -07:00
Harry
63999b8dba
Give EditManager AttachmentStore and TSResourceManager 2024-04-04 13:43:43 -07:00
Harry
2c2c839cd0
Clean up EditManager shims 2024-04-04 13:00:01 -07:00
Harry
741e52c119
Make EditManager a protocol + impl 2024-04-04 12:57:31 -07:00
Harry
6acaf28187
Clean up PreparedOutgoingMessage 2024-04-04 12:55:20 -07:00
Max Radermacher
ec2866f576
Create PhoneNumberUtil instance for each test 2024-04-02 16:10:08 -05:00
Harry
4abfa3ec8c
Remove legacy attachment Ids from new prepared message types 2024-04-02 15:51:15 -05:00
Max Radermacher
fd27c212d5
Remove NSCoding conformance from SignalAccount 2024-04-02 13:52:16 -05:00
Max Radermacher
4cdae7175f
Stop using NSKeyedArchiver in SignalAccounts 2024-04-02 13:48:57 -05:00
Max Radermacher
ee490fbdf4
Standardize Contact nullability for primary/linked 2024-04-02 13:38:55 -05:00
Max Radermacher
c06d92f163
Split Contact & SystemContact 2024-04-02 13:37:36 -05:00
Max Radermacher
638e4f9421
Simplify & stabilize system contact parsing 2024-04-02 12:54:03 -05:00
Harry
101f2982d0
Add separate transit tier encryption info 2024-04-02 09:57:59 -07:00
Harry
dd99474d04
Support transient in-memory uploads in AttachmentUploadManager 2024-04-01 12:32:39 -07:00
Harry
85f08fdabe
Add TSResourceUploadManager and AttachmentUploadManager 2024-03-29 18:20:00 -07:00
Harry
ca54b1d54f
rename UploadManager->TSAttachmentUploadManager 2024-03-29 15:43:41 -05:00
Harry
0e24aa35ff
Add edit message as an explicit type in the new message send preparers 2024-03-29 11:24:18 -07:00
Harry
71f06fc3c2
Remove OutgoingMessagePreparer from MessageSendJobQueue 2024-03-28 10:38:12 -07:00
Max Radermacher
413e1411be
Call modern function for country names 2024-03-28 03:01:56 -05:00
Jordan Rose
3df4d465fe Remove AtomicLock; it was just a simple wrapper around UnfairLock 2024-03-27 10:57:32 -07:00
Jordan Rose
2727a70b90 Make AtomicValue's lock-sharing explicit
Also:
- Remove AtomicUInt's @objc, it's no longer used from ObjC
- Remove Codable conformances, they would implicitly use shared locks
  and weren't used in practice
2024-03-27 10:57:32 -07:00
Max Radermacher
e10faa8593
Remove src/ prefix from SignalServiceKit files 2024-03-27 12:22:52 -05:00
Sasha Weiss
a1d91d8392
Rename isPlaceholderModel on TSGroupModel 2024-03-26 14:29:54 -07:00
Jordan Rose
377c340aa8
Asyncify ChatConnectionManager.makeRequest(_:) 2024-03-26 13:48:51 -07:00
Harry
8090e47a73
Use an explicit enum on MessageSenderJobRecord 2024-03-26 13:26:47 -07:00
Pete Walters
43901289ca
Decrypt/unzip backup files 2024-03-26 09:23:56 -05:00
Jordan Rose
95776b610f ChatConnectionManager: only expose state of identified connection
Nobody was using the unidentified connection, and also we expect the
unidentified connection to be allowed to go idle in a way the
identified one does not.
2024-03-25 14:20:58 -07:00
Max Radermacher
e26c9f6322
Move AuthCredential logic to its own class 2024-03-22 16:58:36 -05:00
Harry
fe3f5bae2f
Mark attachment id as legacy on StickerMessage 2024-03-21 17:08:48 -07:00
Harry
360cc7e224
Add MessageSticker serialization test 2024-03-21 18:35:23 -05:00
Harry
129393e2a8
Push easy parts of OWSContact avatar logic into TSResourceStore/Manager 2024-03-21 14:49:50 -07:00
Harry
ac33fcfe24
Remove unused isProfileAvatar field 2024-03-21 14:46:37 -07:00
Harry
870d82d371
Add OWSContactSerializationTest 2024-03-21 14:45:53 -07:00
Harry
1df68c2b32
Remove link preview extension 2024-03-21 14:45:03 -07:00
Sasha Weiss
7c85428f7b
Add unit tests for CallRecordMissedCallManager 2024-03-21 11:07:36 -07:00
Sasha Weiss
2b791566d9
Mark calls as read when opening the relevant conversation 2024-03-21 10:18:40 -07:00
Pete Walters
ac17e14d9f
Skip checking the upload progress on the first upload attempt. 2024-03-21 10:50:20 -05:00
Jordan Rose
a4bbe75320
Rename OWSWebSocket -> OWSChatConnection, SocketManager -> ChatConnectionManager
Plus some small cleanups in OWSChatConnection.
2024-03-20 16:36:20 -07:00
Harry
7e1d8e0fca
Remove mimeType and sourceFilename from quoted reply info; fetch directly from the attachment everywhere 2024-03-20 11:25:12 -07:00
Harry
b6598a0248
Add OWSAttachmentInfoSerializationTest 2024-03-20 11:23:29 -07:00
Sasha Weiss
3f686ef5e3
Move CallRecord+ConversationId into a mockable adapter 2024-03-20 08:57:59 -07:00
Max Radermacher
42c704a4e3
Remove some debug/verbose lines 2024-03-19 19:24:54 -05:00
Harry
48f631cbc6
Allow attachment builder finalizing to throw 2024-03-19 17:21:23 -07:00
Sasha Weiss
2dd9eb6b83
Add outgoing support for call identifiers in CallLogEvent sync messages 2024-03-19 14:45:28 -07:00
Harry
daf8f12b55
Build outgoing OWSLinkPreviews using LinkPreviewManager/TSResourceManager 2024-03-19 13:48:31 -07:00
Harry
1fbdaac124
Migrate link preview creation from proto to LinkPreviewManager 2024-03-19 13:47:15 -07:00