Commit Graph

20 Commits

Author SHA1 Message Date
Harry
23fed9d786
Add convenience validation from data (instead of going through DataSourceValue) 2024-06-12 15:03:14 -07:00
Harry
40f184a576
Only copy existing sticker from pack for TSAttachment 2024-06-12 14:45:51 -07:00
Harry
77f40f61b0
Validate stickers before sending 2024-06-12 14:45:02 -07:00
Harry
e5787cd5a1
Define Attachment and AttachmentReference Record types for reading/writing to the database 2024-05-23 09:13:13 -07:00
Sasha Weiss
47c6f80c27
Track which field is missing in SDSError.missingRequiredField 2024-05-16 12:38:13 -07:00
Harry
768040273e
Create StickerMetadata from TSResourceStream 2024-05-03 16:26:01 -07:00
Harry
0e228ab878
Feature parity with desktop on lottie sticker support (aka drop support) 2024-05-03 14:59:07 -07:00
Ehren Kret
221a1c33b1 move the orphan cleaner find functions to swift 2024-05-01 10:13:12 -05:00
Ehren Kret
787ac09d4b convert processOrphansSync:shouldRemoveOrphans: to swift 2024-05-01 10:13:12 -05:00
Ehren Kret
b63a2d6bf4 migrate NSData+Image to swift 2024-04-26 05:24:55 -05:00
Max Radermacher
a241f40621
Fix a few build warnings 2024-04-17 19:11:13 -05:00
Ehren Kret
fd94424be0 start migrating MIMETypeUtil to swift 2024-04-11 22:19:16 -05:00
Harry
60738c592d
Move outgoing message attachment-owner proto building into respective managers 2024-04-09 14:02:53 -07:00
Harry
1d126c548a
Create MessageStickerManager 2024-04-09 13:59:01 -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
164f19cfbe
Extend AttachmentDataSource to include copying existing attachments 2024-03-29 11:41:13 -07:00
Harry
4059335aac
Use PreparedOutgoingMessage for all transient message enqueuing 2024-03-28 10:36:24 -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
0d8166682d
Run clang-format on SignalServiceKit/ files 2024-03-27 12:27:06 -05:00
Max Radermacher
e10faa8593
Remove src/ prefix from SignalServiceKit files 2024-03-27 12:22:52 -05:00