Commit Graph

43 Commits

Author SHA1 Message Date
Sasha Weiss
413fb46062
Update all presentThread APIs to take a threadUniqueId 2025-03-05 12:29:02 -08:00
Ehren Kret
c0249b8e8a Revert "use the callback based PKPushRegistryDelegate method instead of synchronously blocking"
This reverts commit 67e1a4afda. It seems
Apple has not properly implemented this method asynchronously so if it
reaches an await before the call to notify the system of an incoming
VoIP call the app may be killed.
2025-03-03 14:53:02 -06:00
Ehren Kret
67e1a4afda use the callback based PKPushRegistryDelegate method instead of synchronously blocking 2025-03-03 11:24:51 -06:00
Talon Brown
6268f7f80a Quote-reply when responding via a notification action 2025-02-07 11:09:49 -08:00
Max Radermacher
60dc4a8dc0
Don’t pass around TSGroupThread in group calls 2025-01-07 16:40:13 -06:00
Elaine
ff7b8bea36
Schedule notification when new device is linked 2024-12-17 13:34:37 -07:00
Max Radermacher
3c9fa13b2f
Add MainActor annotations for db change observers 2024-12-13 17:14:49 -06:00
Max Radermacher
6044620b6a
Remove VoIP push handling 2024-11-20 18:26:31 -06:00
Sasha Weiss
6326b4eb61
Prune a couple ImplRef properties off SSKEnvironment 2024-11-07 17:33:17 -08:00
Max Radermacher
c3cd9f13cc
Clean up some noisy lines 2024-11-01 17:33:38 -05:00
Harry
b3b14bc97f
Protocolize+make public DatabaseChangeObserver 2024-10-22 10:42:16 -07:00
Ehren Kret
538f5064a6 remove Dependencies protocol entirely 2024-10-12 00:26:22 -05:00
Ehren Kret
a4d65d6119 remove Dependencies+MainApp.swift 2024-10-11 23:47:02 -05:00
Ehren Kret
de32c7799d remove NSObject and Dependencies extension computed vars for SignalServiceKit 2024-10-11 23:12:59 -05:00
Max Radermacher
d96a16a921
Add call link support for group call notifications 2024-10-11 11:40:56 -05:00
Ehren Kret
5ea36cd91b enable internal imports by default 2024-09-29 20:03:17 -05:00
Harry Sanabria
a58fe0cd25 Pass AppReadiness around tons of view controllers 2024-09-27 17:38:06 -07:00
Harry Sanabria
831866f26b Pass AppReadiness to NotificationActionHandler 2024-09-27 15:07:38 -07:00
Harry Sanabria
044f277a28 Pass AppReadiness instance to a ton of classes that need to retain it as an instance var 2024-09-27 15:03:52 -07:00
Harry
fd0a34909e
Add non-global AppReadiness protocol + impl 2024-09-27 12:36:15 -07:00
Ehren Kret
37cbabbb3c remove MainActor assumptions from ReadyFlag and propagate upwards 2024-09-26 20:56:20 -05:00
Max Radermacher
929d9eeaef
Remove deprecated VoIP token logic 2024-08-29 15:27:52 -05:00
Harry
6fe99bd69b
Add support for versioned DM expire timer updates 2024-08-22 14:02:03 -07:00
Max Radermacher
07baa170f7
Remove “collection” concept from database types 2024-08-20 18:22:00 -05:00
Sasha Weiss
78ae578aa0
Use the withDefaults pattern for TSOutgoingMessageBuilder 2024-08-06 10:22:07 -07:00
Sasha Weiss
3cdf735b40
Pare down TSInteraction initializers 2024-08-06 10:06:20 -07:00
Adam Sharp
f28c245c16 Remove debug assert after registering legacy voip token 2024-07-11 11:47:06 -04:00
Adam Sharp
a7dae0e859
Remove NSE feature flag and unused VOIP token registration code 2024-07-10 09:40:13 -04:00
Max Radermacher
9526b52cb6
Clean up REST message fetch observation 2024-06-27 14:05:17 -05:00
Harry
bb083ca39c
Fold SignalCoreKit into SignalServiceKit
Co-authored-by: Adam Sharp <sharplet@signal.org>
2024-06-26 08:44:41 -07:00
Max Radermacher
2d9f375e50
Add CallMode.callLink 2024-06-06 14:59:30 -05:00
Max Radermacher
ca1b5f4751
Remove SignalCall.thread 2024-05-29 11:47:01 -05:00
Max Radermacher
50ba587dc9
Simplify PushKit handling for calls 2024-05-22 23:21:58 -05:00
Max Radermacher
503d5c635e
Rip out a bunch of NonCallKitCallUIAdaptee 2024-05-16 18:24:04 -05:00
Max Radermacher
34eca8a139
Fix some dependency cycles with CallService 2024-05-14 11:46:52 -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
Max Radermacher
bc74ec3953
Tweak or remove redundant/noisy info lines 2024-04-16 19:37:25 -05:00
Max Radermacher
2b85069f8e
Don’t use inheritance with CallService 2024-04-16 19:36:24 -05:00
Max Radermacher
5bad8c00e4
Use async-await for a few notification methods 2024-04-11 18:47:02 -05:00
Max Radermacher
22c254eecd
Rename NotificationPresenter-related types 2024-04-11 18:45:25 -05:00
Harry
b8c55601dd
Update a few simple callsites to use PreparedOutgoingMessage 2024-03-28 10:37:00 -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
2e91c8d92c
Move around a bunch of files in Signal/ 2024-03-25 13:26:31 -05:00