Max Radermacher
010b02bb6f
Add devices to recipients in both decryption paths
2024-04-05 16:59:03 -05:00
Harry
9df9b17e7c
Add specific oversize attachment pointer proto initializer
2024-04-05 11:27:10 -07:00
Harry
39b1773c57
Return a v2 attachment instead of casting to Resource type
2024-04-05 11:26:33 -07:00
Harry
95326feaf2
Add some shim methods to EditManager
2024-04-05 11:25:56 -07:00
Harry
7eb91ee4ca
Combine back to back EditManager calls into one
2024-04-05 11:24:44 -07:00
Harry
fef8d8d109
Explicitly drop draft quoted replies for edits
2024-04-05 11:24:00 -07:00
Harry
9b49fd4abe
UnpreparedOutgoingMessage takes edits and builds the outgoing message later
2024-04-05 11:23:06 -07:00
Harry
90159be2ba
Split oversize text creation from media attachments
2024-04-05 11:20:51 -07:00
Harry
3380fc05df
Split UnpreparedOutgoingMessage init for edits, remove body media attachments
2024-04-05 11:19:13 -07:00
Harry
b4d6cf2670
Split oversize text from body media attachments in Unprepared message
2024-04-04 16:49:19 -07:00
Harry
c235c2b62a
Clean up EditMessageWrapper API
2024-04-04 15:31:59 -07:00
Harry
28a956937b
Add MessageEdits
2024-04-04 15:30: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
1b1fdccc2e
Add/Remove owner methods on AttachmentStore
2024-04-04 13:41:39 -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
24304e5d16
Throw on all attachment building errors
2024-04-04 12:56:42 -07:00
Harry
6acaf28187
Clean up PreparedOutgoingMessage
2024-04-04 12:55:20 -07:00
Harry
347b00b07a
Make TSMessage.hasRenderableContent safer
2024-04-03 13:28:45 -07:00
Harry
091e1e3e9b
Don't set body attachment ids on OutgoingStoryMessage
2024-04-03 13:28:13 -07:00
Harry
03cf9c22ff
Remove unused 'removeUnusedAttachments' method
2024-04-03 13:27:41 -07:00
Harry
3915fd14db
Use PreparedOutgoingMessage in MessageSender
2024-04-03 13:26:49 -07:00
Harry
ef97f3d8f1
Pre-upload contact syncs before sending
2024-04-03 13:26:05 -07:00
Pete Walters
1ba87f9587
Clean up group state messaging around invites.
2024-04-02 18:38:09 -05:00
Harry
cc441abc16
Explicitly drop serialization support for OWSSyncContactsMessage
2024-04-02 14:24:10 -07:00
Sasha Weiss
330f510545
Push the ?? 0 for expiration seconds deeper into TSMessageBuilder
2024-04-02 14:05:03 -07:00
Harry
4abfa3ec8c
Remove legacy attachment Ids from new prepared message types
2024-04-02 15:51:15 -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
408be986d6
Group related cdn Attachment fields
2024-04-02 09:40:25 -07:00
Jordan Rose
b0de59f2e2
Remove required from every init that is not dynamically dispatched
...
This included:
- Removing unavailable inits wholesale if no longer `required`
- Marking a few classes `final` so they could continue using
`Self(...)` rather than `OWSWhatever(...)`
2024-04-01 15:27:20 -07:00
Harry Sanabria
67719290aa
Fix albumMessageId on outgoing message attachments
2024-03-30 13:28:53 -07:00
Pete Walters
b365f6ffb8
Add missing TESTABLE_BUILD
2024-03-30 08:42:16 -05:00
Pete Walters
c83b75c95f
Add MessageBackupManager import call in registration step
2024-03-29 20:44:04 -05:00
Harry
85f08fdabe
Add TSResourceUploadManager and AttachmentUploadManager
2024-03-29 18:20:00 -07:00
Harry
3fce7676dc
Add row id fetcher to StoryStore/SDSCodableModel
2024-03-29 15:31:20 -07:00
Harry
a39308f9ab
Add reference enumeration to attachment store
2024-03-29 15:29:56 -07:00
Harry
ca54b1d54f
rename UploadManager->TSAttachmentUploadManager
2024-03-29 15:43:41 -05:00
Harry
4ce5fbd7d9
Remove unsafe message getter from UnpreparedOutgoingMessage
2024-03-29 14:49:27 -05:00
Harry
f7b9b6f8bc
Be more efficient fetching all attachments for a message
2024-03-29 11:42:11 -07:00
Harry
164f19cfbe
Extend AttachmentDataSource to include copying existing attachments
2024-03-29 11:41:13 -07:00
Harry
600daabd6f
Build outgoing contact avatars using TSResourceManager
2024-03-29 11:36:11 -07: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
4059335aac
Use PreparedOutgoingMessage for all transient message enqueuing
2024-03-28 10:36:24 -07:00
Harry
0236ac4491
Use new PreparedOutgoingMessage in attachment multisend
2024-03-28 09:51:44 -07:00
Harry
038a5f0ac0
Accept PreparedOutgoingMessage in MessageSenderQueue
2024-03-28 09:50:02 -07:00
Harry
83e5d80dce
[RFC] Add (Prepared/Unprepared)OutgoingMessage definition
2024-03-28 09:26:59 -07:00
Jordan Rose
3df4d465fe
Remove AtomicLock; it was just a simple wrapper around UnfairLock
2024-03-27 10:57:32 -07:00