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
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
be4cada92d
Clean up some info lines
2024-03-27 12:08:43 -05:00
Elaine
1a5bacd220
Create Nicknames View Controller
2024-03-27 10:38:03 -06:00
Elaine
0887f70f1e
Streamline using a text view in a table view
2024-03-26 10:55:28 -06:00
Max Radermacher
8910fc4d5b
Move around files in SignalUI/ and the share ext
2024-03-25 14:22:28 -05:00
Elaine
1aad6898ac
Simplify using OWSTextField in OWSTableItem
2024-03-21 14:19:08 -06:00
Max Radermacher
42c704a4e3
Remove some debug/verbose lines
2024-03-19 19:24:54 -05:00
Marissa Le Coz
1139af694a
Add tooltip notifying that flip cam moved to pip
2024-03-19 17:11:30 -04:00
Harry
a55476d667
Modernize LinkPreviewManager
2024-03-19 13:46:09 -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
c84c97268c
Add thumbnail image generation methods to TSResourceStream
2024-03-08 19:28:12 -06:00
Elaine
192ee39f8c
Allow username QR codes to be scanned from main in-app camera
2024-03-08 15:59:30 -07:00
Max Radermacher
03288e8be0
Introduce DisplayName for rendering names
2024-02-27 18:21:30 -06:00
Max Radermacher
16f234026b
Swiftify part of ContactsManagerProtocol
2024-02-27 16:58:09 -06:00
Elaine
46d835422d
Update style of New Call contact picker
2024-02-21 13:11:10 -07:00
Elaine
b63ecb804a
Keep keyboard up after invalid username or phone number search
2024-02-20 10:21:13 -07:00
Elaine
b00ee5336e
Fix contact access banner background
2024-02-14 17:58:06 -07:00
Harry
6f2c97a413
Add v2 attachment reference value to OWSLinkPreview
2024-02-14 16:49:56 -08:00
Harry
53d1a6e441
Load text story link preview attachments at the same time we load image attachments
2024-02-14 16:49:01 -08:00
Harry
ae4d0a6287
Fix mention view reentrancy
2024-02-14 09:45:32 -08:00
Elaine
0f12ee5cc7
Add verified checkmark to profile spoofing prevention sheet
2024-02-13 15:19:23 -07:00
Elaine
b9969f676e
Add full screen avatars to contact spoofing prevention sheet
2024-02-12 14:35:26 -07:00
Elaine
3007bae76d
Profile spoofing message request UI
2024-02-09 09:44:34 -07:00
Elaine
9ef87b28c0
Update name conflict UI
2024-02-08 08:41:55 -07:00
Harry
79dacfb040
Pngs can be animated
2024-02-01 21:05:03 -05:00
Max Radermacher
9ab48596ca
Stop abusing SignalAccount to cache connections
2024-02-01 12:23:00 -06:00