Commit Graph

33348 Commits

Author SHA1 Message Date
Sasha Weiss
c26ad8a4e5
Add an "inactive linked device" megaphone 2024-04-24 11:28:33 -07:00
Ehren Kret
70ac6f28d0 migrate NSString+SSK to swift 2024-04-24 09:26:12 -05:00
Ehren Kret
b753e0e6e2 move substring(Before|After)Range: to swift 2024-04-24 07:37:21 -05:00
Ehren Kret
15d4b83b85 expire iOS 13 and iOS 14 support 2024-04-23 22:50:25 -05:00
Max Radermacher
d6aaa92ca3
Add DBWriteTransaction.addSyncCompletion 2024-04-23 15:49:03 -05:00
Max Radermacher
dd42e10e88
Smoosh together various places that fetch profiles 2024-04-23 15:22:37 -05:00
Pete Walters
6a5cb5bdcd
Limit gradient points and colors 2024-04-23 15:16:43 -05:00
Max Radermacher
456f2037ee
Stop putting kLocalProfileUniqueId in addresses 2024-04-23 13:58:27 -05:00
Marissa Le Coz
4412a4763d
Add reaction send support for internal 2024-04-23 14:48:17 -04:00
Pete Walters
7ee4a1e48c
Add message backup zkparams 2024-04-23 11:16:14 -07:00
Ehren Kret
b489ab7353 remove unused swift to objc exports 2024-04-23 08:33:28 -05:00
Ehren Kret
f7582117d7 fix swiftlint warning 2024-04-23 08:19:14 -05:00
Ehren Kret
f1a74bd720 use screen scale for point dimensions 2024-04-23 08:15:02 -05:00
Ehren Kret
1dafc38d02 add missing format params 2024-04-23 07:58:23 -05:00
Ehren Kret
5068cd3782 finish migrating UIImage+OWS to swift 2024-04-23 07:47:47 -05:00
Ehren Kret
b31bdbc91a migrate resizedImageToSize: to swift 2024-04-22 22:01:29 -05:00
Marissa Le Coz
501a734a0e
Add option to force dark theme in emoji picker and sheet 2024-04-22 21:35:15 -04:00
Ehren Kret
43748e64c3 remove unnecessary image normalization 2024-04-22 17:26:11 -05:00
Ehren Kret
f1ff2da960 migrate resizedImageToFillPixelSize: to swift 2024-04-22 17:26:11 -05:00
Ehren Kret
7b370f0602 remove unused resizedWithQuality:rate: method 2024-04-22 17:26:11 -05:00
Ehren Kret
0c554525f9 migrate normalizedImage to swift 2024-04-22 17:26:11 -05:00
Harry
b9413d882f
Move TSAttachment->SignalAttachment 'cloning' into dedicated class(es) 2024-04-22 15:16:41 -07:00
Ehren Kret
154132839f migrate validJpegDataFromAvatarData: to swift 2024-04-22 16:09:33 -05:00
Harry
e34e0190b5
Send messages in AttachmentMultisend 2024-04-22 13:52:29 -07:00
Harry
e3dce9b017
Prepare messages in AttachmentMultisend 2024-04-22 13:04:48 -07:00
Harry
021b38d6c2
Add v2 AttachmentMultisend class 2024-04-22 13:00:02 -07:00
Harry
cb0b0c666f
Dedupe private story send messages at creation time 2024-04-22 12:58:53 -07:00
Ehren Kret
d0587cc262 add missing third-party code attribution 2024-04-22 14:38:31 -05:00
Ehren Kret
672f8b9b5c move pixelWidth, pixelHeight, and pixelSize properties to swift 2024-04-22 14:31:13 -05:00
Harry
74ffef36eb
Clean up async image api signature 2024-04-22 10:16:04 -07:00
Max Radermacher
3300dfb266
Update to LibSignal v0.45.0 2024-04-22 12:08:33 -05:00
Jordan Rose
f78a4dfaa5 OWSChatConnection: disable shadowing requests under CC
The previous comment describes the planned behavior, but it isn't
actually working yet.
2024-04-22 10:01:13 -07:00
Jordan Rose
4afddfe93d
Add a RemoteConfig flag to turn off libsignal unauth request shadowing
It's not likely we'll need this, but just in case.
2024-04-22 10:00:54 -07:00
Harry
eaf36878a4
Update media gallery view on the main thread 2024-04-22 09:57:31 -07:00
Jordan Rose
c3da50e5d5 OWSChatConnection: Bump the libsignal shadowing timeout to 3sec
Most requests on good networks happen well under 2sec, but there have
been a few timeouts that seem spurious (distinct from a series of
timeouts all happening in a row on the libsignal websocket).
2024-04-22 09:49:58 -07:00
Harry
e06e8e9fad
Fix view once downloads 2024-04-22 11:29:33 -05:00
Pete Walters
9dd6e3f8c1
Limit the number of gradient points for a TextAttachment 2024-04-22 11:52:00 -04:00
Ehren Kret
3b51f00f6a migrate two factory methods of UIImage+OWS to swift 2024-04-22 00:17:31 -05:00
Ehren Kret
e18aab9798 remove unused @objc attributes 2024-04-21 23:42:55 -05:00
Ehren Kret
ccf8bcc257 remove unused macro 2024-04-21 23:34:52 -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
Ehren Kret
110a880d6c remove and disallow warnings in SignalServiceKitTests target 2024-04-21 09:55:30 -05:00
Ehren Kret
338a4134bc treat warnings as errors for Signal target 2024-04-21 09:37:48 -05:00
Ehren Kret
cc172f5ca0 use new API for reading notification settings
This addresses a deprecation warning on the Signal target. Note that
the new code follows the logic of the old code where it only checks
alerts, badges, and sounds settings for notifications. It may be
desirable at some point to revisit the definition of the function
`isSusceptibleToFailedPushRegistration` and decide what the correct
intentions of this code should be.
2024-04-21 09:35:04 -05:00
Ehren Kret
7ef51cc823 remove deprecated conformance to UIViewControllerPreviewingDelegate
The context menu interaction is already hooked up on
CLVTableDataSource using the internal methods so the extension is
retained but conformance to the deprecated protocol is no longer
required so it is removed.
2024-04-21 08:23:45 -05:00
Ehren Kret
2a08f7454c use secure coding unarchiving for user defaults 2024-04-20 21:50:01 -05:00
Ehren Kret
e0d0b5e3df add description to XCTFail 2024-04-20 15:12:41 -05:00
Ehren Kret
4461711f61 fix warnings in SignalPerformanceTests target 2024-04-20 14:29:28 -05:00
Ehren Kret
f41749cc9d fix warnings in SignalUI 2024-04-20 14:17:44 -05:00
Ehren Kret
12b450886f fix warnings in SignalTests target 2024-04-20 13:55:48 -05:00