Ehren Kret
5ea36cd91b
enable internal imports by default
2024-09-29 20:03:17 -05:00
Harry Sanabria
d43b2846b0
Pass AppReadiness to JobQueue methods
2024-09-27 16:30:12 -07:00
Harry Sanabria
044f277a28
Pass AppReadiness instance to a ton of classes that need to retain it as an instance var
2024-09-27 15:03:52 -07:00
Harry
b94a5faece
Wipe transit tier info off attachment table if we know the upload is gone
2024-09-23 15:06:29 -07:00
Harry
29511cdf1a
Generate thumbnails for backup attachment uploads
2024-09-20 10:11:22 -07:00
Max Radermacher
960e3db81f
Asyncify some 2FA code
2024-09-10 19:04:17 -05:00
Ehren Kret
cb27389cef
enable swiftlint mark rule
2024-08-30 22:05:59 -05:00
Max Radermacher
99ff1a6858
Swiftify OWSRequestFactory
2024-08-28 16:05:58 -05:00
Pete Walters
7cb672c15a
Add media tier attachment uploads
2024-08-27 10:59:56 -05:00
Pete Walters
ec1206743b
Add store method to update attachment media tier thumbnail info
2024-08-26 11:10:57 -05:00
Pete Walters
d134b222c7
Move around some code in prep for media tier uploads
2024-08-22 11:04:13 -05:00
Pete Walters
ba78d5aab7
Add mediaTier AttachmentStore methods
2024-08-21 15:10:35 -05:00
Pete Walters
d81fe02845
Add AttachmentUploadStore
2024-08-15 11:14:00 -05:00
Ehren Kret
e1cfd116a2
rename OWSAES256Key in swift to Aes256Key
2024-08-02 09:29:55 -05:00
Ehren Kret
69bd0af9ad
migrate OWSAES256Key from objc to swift
2024-07-31 12:23:25 -05:00
Max Radermacher
f2eb7f5a22
Extract LinkPreviewFetcher into its own type
2024-07-26 21:45:22 -05:00
Harry
d279676916
Move BlurHash method into TSAttachmentUploadManager
2024-07-03 19:35:40 -05:00
Max Radermacher
63bd233f7d
Don’t cycle sockets when changing number
2024-06-25 14:12:24 -05:00
Harry
dfda999430
Add unencryptedByteCount field to Attachment.TransitTierInfo
2024-06-21 14:14:45 -07: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
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
Sasha Weiss
6ff76dd7e6
Do away with some ObjC test infra
2024-05-06 09:57:21 -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
6acaf28187
Clean up PreparedOutgoingMessage
2024-04-04 12:55:20 -07:00
Harry
4abfa3ec8c
Remove legacy attachment Ids from new prepared message types
2024-04-02 15:51:15 -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
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
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
Max Radermacher
64b970f40d
Consolidate initialization code in AppSetup
2024-03-12 16:39:49 -05: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