Commit Graph

68 Commits

Author SHA1 Message Date
Pete Walters
a3e8141ba9
Asyncify DonationSubscriptionManager (part 2)
Co-authored-by: Ehren Kret <ehren@signal.org>
2025-03-25 16:59:45 -05:00
Sasha Weiss
1a5cbd9183
Rename postNotificationNameAsync to postOnMainThread 2025-03-21 15:28:35 -07:00
Sasha Weiss
be619eb10b
Make DBWriteTransaction only take sync completions 2025-03-21 15:27:42 -07:00
Max Radermacher
10cb6f69f7
Use HttpHeaders in more places 2025-03-21 13:53:38 -05:00
Ehren Kret
7c0c2de8d3 convert some donation logic from promises to swift concurrency 2025-03-14 09:24:33 -05:00
Sasha Weiss
bb048e8b59
One transaction type to rule them all and in the darkness bind them 2025-03-13 21:43:35 -07:00
Sasha Weiss
047e3a38df
Clean up SDSAnyWriteTransaction async completion 2025-03-13 21:38:21 -07:00
Max Radermacher
95c18efb2d
Consolidate TSRequest auth into a single type 2025-03-13 13:35:35 -05:00
Max Radermacher
6abe506cb0
Asyncify fetchLocalUsersProfile 2025-03-10 13:51:00 -05:00
Pete Walters
c6e3692633
Asyncify Stripe methods 2025-03-07 12:29:07 -06:00
Max Radermacher
c2070943a5
Prefer infallible String → Data construct 2025-03-06 13:56:16 -06:00
Sasha Weiss
1082e08786
Always suppress 409 errors from donation subscription-redemption jobs 2025-03-05 12:28:37 -08:00
Max Radermacher
ed57c5fb49
Asyncify Paypal.AuthSession 2025-02-12 18:25:37 -06:00
Ehren Kret
3c159a4ec6
convert Paypal+API from promises to async-await 2025-02-11 10:35:33 -06:00
Pete Walters
515b5f1a28
Add support for supplying explicit credentials to storage service request 2025-02-11 10:26:52 -06:00
Ehren Kret
6ed390c381 remove unused objc compat code on OWSRetryableSubscriptionError 2025-02-10 10:37:48 -06:00
Ehren Kret
c9f4b83ffb remove DonationSubscriptionManager objc compat 2025-02-10 08:05:36 -06:00
Ehren Kret
83b37e74a3 remove unused objc compat 2025-02-07 05:30:56 -06:00
Ehren Kret
0a5677997e
remove NSDate OWS objc category 2025-02-05 11:06:42 -06:00
Sasha Weiss
45658e6454
Some subscription cleanup 2025-01-17 13:59:12 -08:00
Sasha Weiss
eaac266d0f
Only redeem active subscriptions if no entitlement found 2025-01-13 13:10:40 -06:00
Max Radermacher
b7dedf2c0d
Remove last remnants of OWSUserProfile caching 2025-01-08 21:15:10 -06:00
Sasha Weiss
33189a6d95
Use info from WhoAmI to decide if we need to redeem our subscription 2025-01-03 11:17:40 -08:00
Sasha Weiss
c42557903a
Make Backup subscription redemption durable 2024-12-05 14:43:11 -08:00
Sasha Weiss
2aacc6c939
Hook up BackupSubscriptionManager to Storage Service 2024-11-26 13:06:50 -05:00
Sasha Weiss
7675a14766
Refactor BackupSubscriptionManager 2024-11-26 13:02:08 -05:00
Sasha Weiss
f14361530b
Add SubscriptionRedemptionNecessaryChecker 2024-11-26 12:50:40 -05:00
Pete Walters
a1d2399ea3
Add a handler for the fallback iDEAL callback 2024-11-25 15:38:06 -06:00
Sasha Weiss
cceb974afc
Allow canceling past-due subscriptions 2024-11-21 21:28:19 -08:00
Max Radermacher
f751866219
Remove throws from serverPublicParams() 2024-11-19 18:45:04 -06:00
Max Radermacher
f9554761e4
Adopt non-deprecated NSKeyedUnarchiver method 2024-11-19 16:44:02 -06:00
Ehren Kret
25c0f4a4c8 convert badge code from promises to swift concurrency 2024-11-19 12:06:39 -06:00
Sasha Weiss
2000b82c0b
One KeyValueStore to rule them all 2024-11-15 18:47:54 -06:00
Sasha Weiss
dadca9e032
Directly adopt KeyValueStore in SDSKeyValueStore 2024-11-15 14:54:30 -08:00
Max Radermacher
6d14b97ab6
Use new async OWSUrlSession methods 2024-11-04 15:29:53 -06:00
Sasha Weiss
46b5b4a9e4
Prefix donations-related types with Donations 2024-10-25 10:14:56 -07:00
Sasha Weiss
ed6a75e10f
Remove the SubscriptionManager protocol 2024-10-25 10:13:10 -07:00
Sasha Weiss
734ca937fe
Add BackupSubscriptionManager 2024-10-22 12:50:03 -07:00
Sasha Weiss
90e0e6a5a7
Genericize receipt credential requesting in SubMgrImpl 2024-10-22 12:48:41 -07:00
Ehren Kret
538f5064a6 remove Dependencies protocol entirely 2024-10-12 00:26:22 -05:00
Ehren Kret
de32c7799d remove NSObject and Dependencies extension computed vars for SignalServiceKit 2024-10-11 23:12:59 -05:00
Chris Eager
e7ff2cbdea
Remove deprecated LevelConfiguration#name 2024-10-10 13:34:55 -07:00
Ehren Kret
5ea36cd91b enable internal imports by default 2024-09-29 20:03:17 -05:00
Harry
13cd59a2a0
Pass AppReadiness instance to a bunch of usage sites that are only 1 layer deep 2024-09-27 14:02:07 -07:00
Harry
fd0a34909e
Add non-global AppReadiness protocol + impl 2024-09-27 12:36:15 -07:00
Ehren Kret
5d3ca7fb3c convert OWSProfileManager from objc to swift 2024-08-30 15:14:30 -05:00
Max Radermacher
527280f78f
Use RemoteConfig as an instance type 2024-08-23 14:59:44 -05:00
Ehren Kret
8db47c5f62 inline Cryptography.generateRandomBytes 2024-08-01 15:33:26 -05:00
Adam Sharp
d5b8ec648d
Remove simple availability checks for iOS 15 2024-07-10 09:40:13 -04:00
Adam Sharp
34a8cf2bda
Rename owsAssert to owsPrecondition 2024-07-09 10:42:56 -04:00