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
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
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
Pete Walters
6283e2a3fb
Support different types of upload metadata
2024-04-29 18:27:26 -05:00
Harry
4b48f11636
Typo fix unenecrypted->unencrypted
2024-04-25 15:44:52 -07:00
Harry
17c025f40a
More easy TSAttachment bridging removals
2024-04-25 10:25:26 -07:00
Ehren Kret
110a880d6c
remove and disallow warnings in SignalServiceKitTests target
2024-04-21 09:55:30 -05:00
Harry
80dd665843
Eliminate TSAttachment constructors from DebugUI and tests
2024-04-10 20:17:58 -07: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
Jordan Rose
377c340aa8
Asyncify ChatConnectionManager.makeRequest(_:)
2024-03-26 13:48:51 -07: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
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
bee12c5305
Define AttachmentStream
2024-03-05 09:47:27 -08:00
Harry
1efb793d33
Define TSResourceManager
2024-03-05 09:43:36 -08:00
Harry
4600fbd440
Add initial TSResourceStore
2024-02-28 08:20:29 -08:00
Max Radermacher
c5c94aea4d
Add real SocketManager.waitForOpen method
2024-02-13 11:51:27 -06:00
Pete Walters
d80c39d102
Switch fully over to v4/attachments endpoint for uploads
2024-02-08 19:49:34 -06:00
Max Radermacher
e2701aec74
Always use lowercase keys in OWSHttpHeaders
2024-02-07 12:36:28 -06:00
Pete Walters
cb14534834
Add CDN2 Upload tests
2024-02-06 10:22:34 -06:00