Commit Graph

99 Commits

Author SHA1 Message Date
Harry
24f5e73633
Consolidate oversize text handling 2025-07-30 13:27:06 -07:00
Harry
cad4e922b5
Consolidate oversize text byte threshold constants 2025-07-30 13:26:00 -07:00
Harry
dfd1762d78
Make AttachmentContentValidator async 2025-07-25 14:26:30 -07:00
Max Radermacher
48af5c8c35
Use the web socket in the share extension 2025-07-22 08:48:14 -05:00
Elaine
9986b21238
Re-open the attachments keyboard when cancelling an image send 2025-04-22 09:38:41 -06:00
Max Radermacher
09dad6e4db
Fix loading & progress reporting in the Share Ext 2025-04-04 17:44:07 -05:00
Sasha Weiss
bb048e8b59
One transaction type to rule them all and in the darkness bind them 2025-03-13 21:43:35 -07:00
Harry
1fd8d2ed6d
Sayonara, TSResource 2024-12-04 13:30:31 -08:00
Harry
2af0bb31dc
Remove TSResource/Stream/Pointer/Thumbnail, use v2 types directly instead 2024-12-04 13:29:06 -08:00
Ehren Kret
de32c7799d remove NSObject and Dependencies extension computed vars for SignalServiceKit 2024-10-11 23:12:59 -05:00
Sasha Weiss
78ae578aa0
Use the withDefaults pattern for TSOutgoingMessageBuilder 2024-08-06 10:22:07 -07:00
Harry
fcd6828050
V2 attachment feature flags, take 2 2024-07-19 17:23:21 -07:00
Pete Walters
3d4d422f97
Convert some writes to awaitableWrite 2024-07-18 10:55:42 -05:00
Harry
bb083ca39c
Fold SignalCoreKit into SignalServiceKit
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-06-26 08:44:41 -07:00
Harry
60819a4dce
Validate oversized text attachments 2024-06-12 14:44:14 -07:00
Harry
8d7e4c6844
Validate link preview images before sending 2024-06-12 14:40:36 -07:00
Harry
9723700039
De-Asyncify AttachmentContentValidator 2024-06-11 14:07:12 -07:00
Harry
f4b4b0dbde
Validate ContactShareDraft avatars before sending 2024-06-06 15:40:42 -07:00
Max Radermacher
bd93c4a3d9
Use kOversizeTextMessageSizeThreshold consistently 2024-05-02 15:32:36 -05:00
Harry
021b38d6c2
Add v2 AttachmentMultisend class 2024-04-22 13:00:02 -07:00
Harry
58c8d4544e
Use enum for ConversationItem.outgoingMessageClass 2024-04-19 14:22:40 -07:00
Harry
722331b9ab
Asyncify and simplify SharingThreadPickerViewController sending logic 2024-04-19 14:21:55 -07:00
Harry
42df2e2d20
Fix sharesheet attachment send progress sheet 2024-04-17 13:43:28 -05:00
Harry
eb7c1a2563
Unify TSAttachmentMultisend sharesheet and main app methods 2024-04-16 16:23:34 -07:00
Harry
bfa586f4e2
Wrap TSAttachmentMultisend transparently in TSResourceMultisend 2024-04-15 20:46:05 -07:00
Harry
fd94deb47b
Rename AttachmentMultisend->TSAttachmentMultisend 2024-04-15 20:44:45 -07:00
Ehren Kret
33c5d976a1 start simplifying share view controller 2024-04-09 10:48:17 -05:00
Harry
71f4db0c01
Split ThreadUtil.enqueue for edits vs normal messages 2024-04-04 15:34:00 -07:00
Harry
44cd5c6b88
Clean up some unused TSMessage params 2024-04-04 15:32:52 -07:00
Harry
6acaf28187
Clean up PreparedOutgoingMessage 2024-04-04 12:55:20 -07: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
16d810e9fa
Use TSResourceId in upload notifications 2024-03-29 14:44:00 -07:00
Harry
4ce5fbd7d9
Remove unsafe message getter from UnpreparedOutgoingMessage 2024-03-29 14:49:27 -05:00
Harry
600daabd6f
Build outgoing contact avatars using TSResourceManager 2024-03-29 11:36:11 -07:00
Harry
0236ac4491
Use new PreparedOutgoingMessage in attachment multisend 2024-03-28 09:51:44 -07:00
Ehren Kret
d4e17730f3 remove import SignalMessaging statements 2024-03-12 03:35:34 -05:00
Ehren Kret
9c7078b3f8 migrate OWSContactsManager to swift
as the last remaining objective-c file, this removed direct dependency
from the SignalMessaging framework headers on SignalServiceKit and
thus required adding lots of import statements
2024-03-09 10:45:55 -06:00
Harry
4600fbd440
Add initial TSResourceStore 2024-02-28 08:20:29 -08:00
Max Radermacher
03288e8be0
Introduce DisplayName for rendering names 2024-02-27 18:21:30 -06:00
Max Radermacher
473824b9b1
Update contact sharing for phone number hiding 2024-02-14 19:09:36 -06:00
Harry
00a73e072d
Use transactions in TSMessage attachment id(s) getters/setters 2024-02-06 08:50:44 -08:00
Pete Walters
5429ec20bd
Refactor CDN2 uploads 2024-02-02 12:41:21 -06:00
Max Radermacher
585a6ceb32
Remove some sneaky transaction methods 2024-02-01 11:38:31 -06:00
Max Radermacher
ba4034f5a7
Remove SSKJobQueues 2023-12-11 14:22:22 -06:00
Max Radermacher
590ff88b52
Don’t mark messages isHighPriority if they’re not 2023-12-08 14:26:13 -06:00
Igor Solomennikov
be1d8220d3
Convert OWSContact to Swift. 2023-11-07 16:21:00 -08:00
Igor Solomennikov
c7df94a5e6
Updated design for contact sharing. 2023-11-07 13:50:19 -08:00
Max Radermacher
9c564f3c67
Clean up verification state changes & ignore PNIs 2023-10-11 10:52:38 -05:00
Max Radermacher
d9aca38045
Fix untrusted identity cache 2023-08-31 09:40:13 -05:00