Commit Graph

399 Commits

Author SHA1 Message Date
Harry
bb083ca39c
Fold SignalCoreKit into SignalServiceKit
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-06-26 08:44:41 -07:00
Max Radermacher
5a5cac24f4
Add basic support for creating Call Links 2024-06-17 12:15:42 -05:00
Sasha Weiss
41d2a3d1b2
Informational UX for delete syncs 2024-06-11 16:39:22 -07:00
Max Radermacher
76b027a038
Refactor GroupCall lobby method for call links 2024-06-07 15:28:15 -05:00
Max Radermacher
c4286aa3e5
Fix crash when backgrounding on iOS 16 2024-06-07 13:34:18 -05:00
Adam Sharp
3f0405e9fb
When editing a message, prompt before discarding current draft 2024-06-03 12:23:09 -04:00
Max Radermacher
7f1bcbf991
Stop tracking pending calls at the app layer 2024-05-24 14:39:57 -05:00
Adam Sharp
bcc31cbc4f
Double Tap to Edit 2024-05-21 15:15:59 -04:00
Max Radermacher
34eca8a139
Fix some dependency cycles with CallService 2024-05-14 11:46:52 -05: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
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
Ehren Kret
98063956b0 disallow swift code to call weak timer selector methods 2024-04-27 05:24:46 -05:00
Ehren Kret
3b51f00f6a migrate two factory methods of UIImage+OWS to swift 2024-04-22 00:17:31 -05: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
bd3413b3eb
Sync Nicknames with Storage Service 2024-04-08 17:35:31 -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
Max Radermacher
27b6a62be8
Reformat ModalActivityIndicatorViewController 2024-04-01 15:28:51 -05: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
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
f7f9d1ef82
Update existing bar button items using the new convenience methods 2024-03-25 12:20:19 -06:00
Max Radermacher
147cd56441
Remove debug-only RegistrationValues 2024-03-22 13:03:46 -05:00
Elaine
e0ded06335
Add convenience methods for creating bar buttons 2024-03-22 09:28:55 -06: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
Harry
a55476d667
Modernize LinkPreviewManager 2024-03-19 13:46:09 -07:00
Max Radermacher
0a78b646f8
Rename getCountryCode to getCallingCode 2024-03-18 14:24:54 -05:00
Max Radermacher
6761ffe414
Swiftify parts of PhoneNumberUtil 2024-03-18 14:00:30 -05:00
Elaine
f98c56e207
Update contact finding style 2024-03-13 09:23:06 -06:00
Max Radermacher
06de9a77b6
Clean up PhoneNumberUtil a bit 2024-03-12 16:15:01 -05: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
Elaine
192ee39f8c
Allow username QR codes to be scanned from main in-app camera 2024-03-08 15:59:30 -07:00
Max Radermacher
0a24b7b357
Clean up recipient searches 2024-03-07 11:57:45 -06:00
Max Radermacher
e066676772
Fix layout of Disappearing Messages w/large font 2024-03-05 12:49:45 -06:00
Max Radermacher
6ec2ab3b51
Remove PNP, usernames, and CDSI flags 2024-03-05 12:48:25 -06:00
Elaine
8d7d04bb1f
Add Scan QR Code button to Find by Username 2024-03-04 16:44:36 -07:00
Max Radermacher
9d807ac0cd
Filter Unknown contacts in the recipient picker 2024-02-27 18:24:44 -06:00
Max Radermacher
03288e8be0
Introduce DisplayName for rendering names 2024-02-27 18:21:30 -06:00
Elaine
897b61c5e5
Allow video calls to be started from the New Call contact picker 2024-02-27 13:36:55 -07:00
Elaine
048c6661ee
Add context menu options to New Call flow 2024-02-26 15:55:08 -07: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
25e06a36ab
Search for username with keyboard return in Find by Username view 2024-02-16 16:09:03 -07:00
Elaine
03f7f8c66b
Refresh "Find by Phone Number" view 2024-02-16 13:42:03 -07:00
Elaine
32223bfd3d
Move "Find by Username" button behind feature flag 2024-02-16 10:49:32 -07:00
Elaine
b00ee5336e
Fix contact access banner background 2024-02-14 17:58:06 -07:00
Elaine
5591a4a9fe
Add "Find by Username" view 2024-02-12 16:14:19 -07:00
Max Radermacher
9ab48596ca
Stop abusing SignalAccount to cache connections 2024-02-01 12:23:00 -06:00