Commit Graph

382 Commits

Author SHA1 Message Date
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
Max Radermacher
3d495e0eb3
Simplify 1:1 name collision detection 2024-02-01 11:55:13 -06:00
Max Radermacher
585a6ceb32
Remove some sneaky transaction methods 2024-02-01 11:38:31 -06:00
Elaine
fcec78006a
Add contact details sheet to disambiguate accounts with similar profiles 2024-01-31 09:41:53 -07:00
Harry
a97772265d
Add -MimeType suffix to TSAttachment getters that exclusively use MimeType 2024-01-30 09:38:48 -08:00
Max Radermacher
d24c370cb1
Convert OWSUserProfile to SDSCodableModel 2024-01-24 17:14:10 -06:00
Elaine
a28346ffb8
Fix username confirmation stalling when username link tooltip is showing 2024-01-19 11:30:06 -07:00
Elaine
58ada9a9fe
Update username link error style 2024-01-10 10:13:43 -07:00
Igor Solomennikov
444d7046cb
Update "Add to System Contacts" for contact shares.
Always present the flow modally + simplify code.
2024-01-07 17:18:33 -08:00
Elaine
c507e53530
Adjust screen brightness when showing username QR code 2023-12-22 10:33:58 -07:00
Elaine
742b2a22a4
Animate "share your username" tooltip 2023-12-18 13:10:22 -07:00
Igor Solomennikov
8b5e737098
Re-worked Add to System Contacts flow.
The main user-visible change is that adding to system contacts UI will now always be presented modally instead of views being pushed onto current navigation stack.

I have refactored repeated permissions check + view presentation code from individual call sites into a new "flow" class that is now also responsible for presenting contact editing UI.

These changes also fix two issues:
• "Add to Existing Contact" option was missing from group participant's info sheet.
• "Contact Details" was opened in editing mode from individual chat settings screen.
2023-12-08 13:20:42 -08:00
Harry
2f8542a9cf
Fix "lost cursor" issue for german users 2023-12-04 18:27:41 -05:00
Marissa Le Coz
4b84bf9859
Fix toast crasher 2023-11-27 13:53:05 -05:00
Max Radermacher
208e234692
Remove a bunch of debug()/verbose() lines 2023-11-17 16:40:49 -06:00
Max Radermacher
dc6057f69c
Remove some remote configs that aren’t needed 2023-11-15 19:04:09 -06:00
Igor Solomennikov
208579c6de
Convert ContactViewHelper to Swift. 2023-11-14 20:27:25 -08:00
Igor Solomennikov
d923b145b9
Separate text for alert when attempting to share a contact with no permissions. 2023-11-14 20:20:20 -08:00
Igor Solomennikov
619bd49970
Tweak appearance of contact cells in Share Contact picker 2023-11-14 10:56:45 -06:00
Marissa Le Coz
16205f5a0f
Make toasts respect keyboard 2023-10-31 13:13:56 -04:00
Igor Solomennikov
6c7a2699f4
Show address book picture for contacts in "Share Contact" picker.
Address book picture will have lower priority than Signal avatar.
2023-10-30 16:20:02 -07:00
Marissa Le Coz
4c0d40b4e1
[Recip hiding] Update recip list immediately after recip is hidden for real this time 2023-10-25 17:21:34 -04:00