Commit Graph

60 Commits

Author SHA1 Message Date
Max Radermacher
5b27faae8e
Fix infinite spinner on group link previews 2024-07-25 02:59:55 -05:00
Max Radermacher
9719909fbd
Clean up group link preview rendering code 2024-07-25 02:45:48 -05:00
Max Radermacher
a56b9e9be5
Pass around GroupSecretParams instead of Data 2024-07-25 02:12:07 -05:00
Max Radermacher
f3423d64f8
Move some GroupsV2 methods to better places 2024-07-25 02:02:32 -05:00
Harry
932b3ae163
Pass along user-visible filename to sharesheet for v2 attachments 2024-07-24 17:09:21 -07:00
Harry
b04032f44a
Small fixes for generic file attachments for v2
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-07-24 10:44:36 -07:00
Sasha Weiss
40835a7f2f
Implement Backup of "thread merge" chat updates 2024-07-22 14:40:27 -07:00
Harry
cb6dcc0b9d
Don't reuse currently-owned media views 2024-07-18 14:20:46 -05:00
Sasha Weiss
9f84665630
Add support for profile change chat updates to Backups 2024-07-16 10:08:53 -07:00
Pete Walters
2482a02c51
Add UI for displaying restored payments in chats 2024-07-11 14:20:34 -05:00
Adam Sharp
017072f968
Fix conversations being marked as read after being closed 2024-07-08 13:24:26 -04:00
Adam Sharp
b42710cf90 Work around use of deprecated UIButton API
The old UIButton API is still functional as long as we don't use
UIButton.Configuration, so we can safely ignore these warnings until we're
ready to adopt the configuration API across the codebase.
2024-07-03 14:27:48 -04:00
Sasha Weiss
6e539fa9f0
Add a wrapper for phone number change info in info messages 2024-07-02 17:37:34 -07:00
Max Radermacher
aef8b3563d
Move JoinCall string to a common place 2024-06-28 17:52:05 -05:00
Sasha Weiss
26d2d4f498
Remove direct uses of verificationState on OWSVerStateChangeMsg 2024-06-26 13:15:48 -07:00
Harry
bb083ca39c
Fold SignalCoreKit into SignalServiceKit
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-06-26 08:44:41 -07:00
Harry
e3c15ecb99
Collapse "enqueued" and "downloading" AttachmentDownloadState cases into single "enqueuedOrDownloading" case 2024-06-21 13:03:33 -07:00
Harry
685edc2e4e
Spot fix for tapping conversation view header name 2024-05-31 17:21:30 -05:00
Max Radermacher
ca1b5f4751
Remove SignalCall.thread 2024-05-29 11:47:01 -05:00
Harry
918b2d5ffe
Handle message bubble single-tap (dismiss keyboard) vs double-tap (edit message) conflicts 2024-05-23 12:30:28 -07:00
Adam Sharp
bcc31cbc4f
Double Tap to Edit 2024-05-21 15:15:59 -04:00
Igor Solomennikov
f83859557f
Improve swipe to reply UX.
Don't animate position changes when user drags the bubble horizontally - that makes reactions bubble lag behind noticeably. Animations aren't needed when change in position is interactive.
2024-05-09 10:36:47 -07:00
Igor Solomennikov
d5cf41671e Remove duplicate word in a comment. 2024-05-08 16:40:38 -07:00
Harry
36784dcced
Add invalid v2 Attachment content type 2024-05-07 15:06:59 -07:00
Harry
82efa4eb7f
Audit usages of TSResource.mimeType to ensure we check contentType first 2024-05-07 15:06:11 -07:00
Max Radermacher
ae04b37ad6
Avoid addresses in OWSGroupCallMessage 2024-05-07 12:31:52 -05:00
Harry
768040273e
Create StickerMetadata from TSResourceStream 2024-05-03 16:26:01 -07:00
Harry
c5a861e640
Make decrypted copies of v2 attachments for QLPreviewController 2024-05-03 14:45:19 -07:00
Harry
9a39ae8b9f
Don't rely on local file extension for naming 2024-05-03 14:44:41 -07:00
Harry
633014ae72
Remove a few easy TSAttachmentStream bridges 2024-05-03 14:33:53 -07:00
Harry
025b88e35b
AttachmentSharing for v2 Attachments 2024-05-03 13:03:22 -07:00
Max Radermacher
6f96ebe77d
Swiftify part of OWSGroupCallMessage 2024-05-03 13:36:04 -05:00
Harry
5aac1ec836
CVAttachmentProgressView.ProgressType.downloading doesn't always mean downloading 2024-04-30 13:30:18 -04:00
Harry
f6f5fa6966
Don't put the download button on attachment streams 2024-04-26 16:11:17 -07:00
Ehren Kret
b63a2d6bf4 migrate NSData+Image to swift 2024-04-26 05:24:55 -05:00
Harry
4b48f11636
Typo fix unenecrypted->unencrypted 2024-04-25 15:44:52 -07:00
Harry
b26bc0af7b
Define v2 AttachmentDownloadState 2024-04-25 15:44:02 -07:00
Harry
237bf46219
Remove TSAttachment bridging in TSMessage methods 2024-04-25 10:24:00 -07:00
Harry
7bf53f305a
Remove some TSAttachment bridges 2024-04-25 10:21:13 -07:00
Harry
5b9fb46243
Delete CloneAsSignalAttachmentRequest, implement SignalAttachmentCloner 2024-04-25 10:20:27 -07:00
Ehren Kret
b753e0e6e2 move substring(Before|After)Range: to swift 2024-04-24 07:37:21 -05:00
Harry
e06e8e9fad
Fix view once downloads 2024-04-22 11:29:33 -05:00
Ehren Kret
039d2625b9 convert OWSMath.h to swift
OWSMath.swift overlaps somewhat with Math+OWS.swift but no worse than
OWSMath.h did previously. There are future refactoring efforts that
should occur there to use more of the extensions of Math+OWS.swift and
less of the extensions from OWSMath.swift
2024-04-21 23:26:16 -05:00
Max Radermacher
a241f40621
Fix a few build warnings 2024-04-17 19:11:13 -05:00
Harry
d3362e2e77
Explicit compute vs cached value for TSResourceContentType metadata 2024-04-15 19:39:39 -05:00
Harry Sanabria
ce14200d4a Fix story loading 2024-04-15 12:47:40 -07:00
Harry
0be599960e
Add isVisualMedia equivalent to TSResourceStream 2024-04-15 09:44:57 -07:00
Harry
ec181d09b8
TSAttachment->TSResource cleanups 2024-04-15 09:44:21 -07:00
Harry
40af904a24
Another chunk of TSResource type migrations for conversation view classes 2024-04-15 09:15:27 -07:00
Harry
4fca9517f4
Update a ton of CV code from TSAttachment->TSResource 2024-04-15 09:12:59 -07:00