Commit Graph

430 Commits

Author SHA1 Message Date
Elaine
317226629c
Allow call link name to be edited in-call 2024-10-01 16:49:11 -06:00
Marissa Le Coz
9b7902a829
Add preview support for call links in drafted messages 2024-10-01 15:19:49 -04:00
Sasha Weiss
210a46037f
Conditionally set group invite link preview strings 2024-10-01 09:23:33 -07:00
Ehren Kret
5ea36cd91b enable internal imports by default 2024-09-29 20:03:17 -05:00
Harry
8a6fce53bc
Kill OWSPaymentsLock.shared 2024-09-27 08:48:51 -07:00
Adam Sharp
a813352029
Remove conditional compiler directives 2024-09-18 12:00:57 -04:00
Elaine
a972874cb6
Call link approval details sheet 2024-09-17 11:31:51 -06:00
andrew-signal
dec5691c72
Remove the user agent from the CaptchaView WebView (#9604) 2024-09-13 11:20:03 -04:00
Harry
7b0e11bb36
Handle long audio files without using sourceFilename 2024-09-10 14:37:09 -07:00
Ehren Kret
1298bc414f migrate NSString+OWS to swift 2024-09-10 12:26:09 -05:00
Max Radermacher
28d06ebc1b
Add extension to fix long audio files 2024-09-05 16:53:08 -05:00
Elaine
6c3818587c
Call link member approval 2024-09-04 13:42:28 -06:00
Ehren Kret
cb27389cef enable swiftlint mark rule 2024-08-30 22:05:59 -05:00
Ehren Kret
372db4eba4 cleanup biometry type related code 2024-08-29 15:33:58 -05:00
Harry
4ccfb958f6
Disable ai writing tools on all text fields in the app 2024-08-27 09:53:07 -07:00
Adam Sharp
1a8c9fb5c6
Fix iOS 18 crash on launch due to offscreen rendering
Creating a UIImageView outside a view hierarchy now crashes on iOS 18. We can
avoid this offscreen rendering technique by removing UIImage.asTintedImage(),
configuring the tint colour and template rendering on the UIImage directly, and
rendering with UIGraphicsImageRenderer instead of lower-level Core Graphics
APIs.
2024-08-20 10:47:28 -04:00
Ehren Kret
fc350cb88a convert PhoneNumber to swift 2024-08-07 16:16:02 -05:00
Adam Sharp
b9a72a000e Update CaptchaView to use async delegate methods 2024-08-05 10:29:39 -04:00
Elaine
ed35c95216
Update call header for controls drawer 2024-07-22 13:35:04 -06:00
Adam Sharp
d5b8ec648d
Remove simple availability checks for iOS 15 2024-07-10 09:40:13 -04:00
Adam Sharp
ce9e1594ec
Fix attachment/media keyboard not appearing
Scaling the system keyboard height eagerly meant that if the window was not
set, the keyboard height would be set to 0.  Defer scaling the system keyboard
height until layout time when the view has been added to a view hierarchy.
2024-07-09 12:17:37 -04:00
Adam Sharp
03e018de09
Raise deployment target to iOS 15
The only remaining code using API deprecated in iOS 15 is navigation bar
styling code that never runs on iOS 15.
2024-07-08 16:04:03 -04:00
Adam Sharp
1dd76032c6 Replace AppContext.interfaceOrientation with UIWindowScene equivalent 2024-07-08 15:58:31 -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
Adam Sharp
0835dd1fc7 Make retroactive conformances conditional on compiler version 2024-07-03 11:28:45 -04:00
Harry
bb083ca39c
Fold SignalCoreKit into SignalServiceKit
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-06-26 08:44:41 -07:00
Elaine
d600ae8055
Add raise hand toast feature flag 2024-06-21 12:48:33 -06:00
Adam Sharp
3f0405e9fb
When editing a message, prompt before discarding current draft 2024-06-03 12:23:09 -04:00
Harry
0331807a05
Handle TSResource in AudioPlayer, take 2 2024-05-21 10:14:07 -07:00
Harry
e472f501d8
Revert recent AudioPlayer TSResource changes 2024-05-13 16:15:11 -07:00
Adam Sharp
5f1820748e Don't ignore theme changes when switching to system interface style
When switching to the "system" theme mode, if the effective appearance matched
the previous overridden theme mode, the theme change would be ignored. By
comparing the mode instead of just the effective appearance, we properly react
to system appearance changes.

Additionally, rework the transition animation for changing themes to match the
animation of system appearance changes (i.e., a 0.5-second cross-dissolve).

Fixes: https://signalmessenger.atlassian.net/browse/IOS-4431
2024-05-13 16:16:53 -05:00
Ehren Kret
13a1637608 migrate AppContext protoocl to swift 2024-05-08 07:37:37 -05:00
Harry
427ee2b087
Use TSResource in ViewOnceMessageViewController 2024-05-07 15:04:01 -07:00
Harry
ca5bd9702a
Set UIView image on main thread 2024-05-06 12:07:11 -05:00
Harry
67ad7494f4
Use TSResourceStream.avAsset directly in AudioPlayer 2024-05-03 14:44:06 -07:00
Harry
633014ae72
Remove a few easy TSAttachmentStream bridges 2024-05-03 14:33:53 -07:00
Max Radermacher
0b3d2a8f18
Remove and fix confusing substring methods 2024-05-01 15:46:25 -05:00
Ehren Kret
30424e19ae remove OWSNavigationControllerBase
This appears to have been a hack for something that may have been
necessary in older versions of iOS. Current iOS seems to just return
true with no side-effects from this super call so there's no reason to
retain this hack apparent.
2024-04-28 23:19:43 -05:00
Harry
e8939fa928
Some final easy story TSAttachment bridging removals 2024-04-25 10:22:30 -07: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
Ehren Kret
3b51f00f6a migrate two factory methods of UIImage+OWS to swift 2024-04-22 00:17:31 -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
Elaine
8d9d04af42
Add nickname tooltip to contact about sheet 2024-04-18 15:05:44 -06:00
Max Radermacher
972bb6d37a
Tweak some info and warning lines 2024-04-16 18:10:49 -05:00
Harry
ec181d09b8
TSAttachment->TSResource cleanups 2024-04-15 09:44:21 -07:00
Elaine
2eea4e9060
Add character limit label to profile note editor 2024-04-10 09:55:23 -06:00
Elaine
ef8e838553
Allow contact notes to be viewed and edited from the contact about sheet 2024-04-09 16:31:25 -06:00
Elaine
659e897dc9
Allow nicknames to be saved and displayed 2024-04-05 09:35:57 -06: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