Commit Graph

147 Commits

Author SHA1 Message Date
Ehren Kret
c6492caae7 Negate negated 2026-06-02 12:38:07 -05:00
Igor Solomennikov
8bd7055130
Modernize payments screens for iOS 26. 2026-05-07 11:14:56 -07:00
Max Radermacher
624ee6359d
Add memory safe localized string method 2026-04-03 16:20:31 -05:00
Max Radermacher
13d5fe93dc
Run swiftformat . using v0.60.1 2026-03-26 17:10:38 -05:00
Max Radermacher
b1c09018b4
Rename cached anyFetch to fetchViaCache 2026-02-19 18:17:41 -06:00
Max Radermacher
963fe5aeb0
Uncodegen TSPaymentModel 2026-02-19 18:17:03 -06:00
Max Radermacher
5c83af37f8
Swiftify OutgoingPaymentSyncMessage 2026-01-22 00:24:33 -06:00
Sasha Weiss
d267ec8305
Run swiftformat . 2025-12-30 11:34:05 -08:00
Sasha Weiss
7ddd3ca9fa
Avoid Any?-typed responseBodyJson for all but one caller 2025-10-24 12:57:56 -07:00
Harry
24f5e73633
Consolidate oversize text handling 2025-07-30 13:27:06 -07:00
Max Radermacher
2c07274369
Remove most TestableFlags 2025-07-24 12:11:18 -05:00
Max Radermacher
c9f521f408
Asyncify updateConversionRates 2025-07-23 12:27:10 -05:00
Henry Holtzman
5bc9f60375
[Payments] Add mobilecoin enclave measurements for v7.x 2025-07-21 16:54:30 -07:00
Max Radermacher
795cee625d Asyncify getAccountActivity 2025-07-10 14:53:42 -05:00
Max Radermacher
665129132f Asyncify getOutgoingTransactionStatus 2025-07-10 14:53:42 -05:00
Max Radermacher
64573765ec Asyncify submitTransaction 2025-07-10 14:53:42 -05:00
Max Radermacher
ea6f9d0e83 Extract withTimeoutAndErrorConversion 2025-07-10 14:53:42 -05:00
Max Radermacher
93b9cce792 Asyncify initiateOutgoingPayment 2025-07-10 14:53:42 -05:00
Max Radermacher
95e017becd Asyncify blockOnOutgoingVerification 2025-07-10 14:53:42 -05:00
Max Radermacher
ed918eff42 Asyncify defragmentIfNecessary 2025-07-09 13:34:08 -05:00
Max Radermacher
e3a48629f0 Asyncify getMobileCoinAPI 2025-07-09 13:34:08 -05:00
Max Radermacher
9d6a5ac080 Asyncify fetchPublicAddress 2025-07-09 13:34:08 -05:00
Max Radermacher
468f6480cc Asyncify prepareOutgoingPayment 2025-07-09 13:34:08 -05:00
Max Radermacher
115385ea15
Asyncify Payments.getCurrentBalance() 2025-07-09 11:05:32 -05:00
Max Radermacher
0e58dd5b45
Asyncify getEstimatedFee 2025-07-01 09:32:26 -05:00
Max Radermacher
5adac2c9ee
Asyncify maximumPaymentAmount and related code 2025-05-21 12:28:14 -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
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
Ehren Kret
ab5736c61a remove another firstly 2025-02-26 05:44:10 -06:00
Ehren Kret
56cc44fa04 remove objc compat code from PaymentsFormat 2025-02-11 05:48:36 -06:00
Ehren Kret
0a5677997e
remove NSDate OWS objc category 2025-02-05 11:06:42 -06:00
Max Radermacher
243fc80b8b
Improve sync message naming & type enforcement 2025-01-28 17:13:43 -06:00
Pete Walters
d2e6ebceea
Don't mark restored payments as new on first ipad reconcile 2025-01-28 15:26:38 -06:00
Max Radermacher
5eedea4ddd
Apply fixes from latest version of swiftlint 2025-01-03 17:59:45 -06:00
Max Radermacher
3c9fa13b2f
Add MainActor annotations for db change observers 2024-12-13 17:14:49 -06:00
Max Radermacher
4de9951ea6
Enable some production code in debug builds 2024-11-18 14:35:24 -06:00
Pete Walters
0c3b89c2ed Fix missing KeyValueStore change 2024-11-18 08:27:49 -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
Adam Sharp
f19110add6 Add TSMutex to replace UnfairLock
Renames UnfairLock to TSMutex and refreshes its interface to remove methods
that are unused except in tests.

TSMutex has a generic parameter State that supports non-sendable and
non-copyable values. UnfairLock is a type alias of TSMutex<Void>.

The withLock() function is also no longer inherited from NSLocking, instead
being implemented to be similar to OSAllocatedUnfairLock's API.

Finally, the class is audited for sendability and compiles without warnings
under strict concurrency checking.
2024-11-15 16:31:03 -05:00
Max Radermacher
6d14b97ab6
Use new async OWSUrlSession methods 2024-11-04 15:29:53 -06:00
Max Radermacher
c3d787242a
Fix assertions after disabling payments 2024-10-28 16:12:44 -05:00
Max Radermacher
a16c13d1b9
De-OWSOperation PaymentProcessingOperation 2024-10-25 13:10:19 -05:00
Max Radermacher
fcc46d3aa6
Asyncify PaymentProcessingOperation 2024-10-25 13:09:23 -05:00
Harry
b3b14bc97f
Protocolize+make public DatabaseChangeObserver 2024-10-22 10:42:16 -07:00
Max Radermacher
7965356ae9
Asyncify PaymentsReconciliation 2024-10-18 13:32:53 -05:00
Ehren Kret
538f5064a6 remove Dependencies protocol entirely 2024-10-12 00:26:22 -05:00