Commit Graph

162 Commits

Author SHA1 Message Date
Sasha Weiss
d7a3f004b3
Guard donations more closely on isRegistered 2025-09-23 09:15:55 -07:00
Max Radermacher
5a79cbfcaa
Refresh GSEs before leaving group 2025-09-10 16:29:21 -05:00
Max Radermacher
e737971864
Handle 429s & retry-after when sending messages 2025-09-10 16:28:48 -05:00
Sasha Weiss
9a35281f52
Make BkpSubMgr/redeemSubscriptionIfNecessary await interrupted-and-resumed redemptions 2025-09-10 12:55:22 -07:00
Max Radermacher
0ee384908e
NO MORE REST 2025-08-27 18:09:16 -05:00
Harry
24f5e73633
Consolidate oversize text handling 2025-07-30 13:27:06 -07:00
Max Radermacher
3e22dd19c7 Replace two comments with “use web socket” checks 2025-07-30 11:25:42 -05:00
Max Radermacher
a79d45e371 Remove unused variable 2025-07-23 12:29:17 -05:00
Max Radermacher
06eda4b70b
Retry message sends when opening a socket 2025-07-22 16:48:02 -05:00
Sasha Weiss
c3ef21ddd8
Convert the remaining TSThread/updateWith... methods to Swift 2025-07-16 09:52:22 -07:00
Sasha Weiss
4f4c79f532
Add BackupTestFlightEntitlementManager 2025-07-16 08:36:15 -07:00
Sasha Weiss
b7df52ec77
Download offloaded attachments before disabling Backups 2025-07-14 10:32:33 -07:00
Max Radermacher
c16fa016bd Require certain generic parameters to be Sendable 2025-07-02 14:33:49 -05:00
Sasha Weiss
0103dae13b
Add and use BackupPlanManager to consolidate side-effects of setting BackupPlan 2025-06-30 22:25:05 -07:00
Sasha Weiss
be281ae37d
Start the upload queue when setting paid BackupPlan, add UploadEraStore 2025-06-25 16:19:29 -07:00
Max Radermacher
bb2d89e55a
Update to LibSignal v0.75.0 2025-06-17 14:02:29 -05:00
Harry
94e291ed16
Update to LibSignal v0.74.1 (Backup.LocatorInfo.integrityCheck)
Co-authored-by: Max Radermacher <max@signal.org>
2025-06-16 16:03:35 -07:00
Max Radermacher
2dbe56cd0e
Wait until all pending messages are sent 2025-06-13 20:44:28 -05:00
Max Radermacher
9f0d943575
Send contact syncs via MessageSenderJobQueue 2025-06-13 20:31:01 -05:00
Sasha Weiss
93d2a9274d
Add optional network/5xx retries to NetworkManager 2025-06-04 14:21:42 -07:00
Sasha Weiss
7940684421
More directly set BackupPlan = .paid when re/enabling Backups 2025-05-30 10:41:36 -07:00
Sasha Weiss
eeb4741be7
Suppress 409s for one-time boosts 2025-05-28 15:28:45 -07:00
Sasha Weiss
d13e5afb1a
Make BackupPlan more detailed, set in response to more events 2025-05-28 12:50:07 -07:00
Sasha Weiss
81ad376eb1
Avoid enqueuing multiple donation-redemption jobs for a single period 2025-05-15 16:43:44 -07:00
Sasha Weiss
7d6edb6412
Bulk rename MessageBackup types 2025-05-13 11:35:52 -07:00
Sasha Weiss
389f4a1c2b
Some fixes to Backup subscription redemption 2025-05-02 14:37:48 -07:00
Max Radermacher
4dc6c9ff33
Update default value for maxAverageBackoff 2025-04-30 11:58:50 -05:00
Max Radermacher
5acf0c273f
Use Preconditions for waitForFetchingAndProcessing 2025-04-28 18:14:19 -05:00
Max Radermacher
8ab351e759
Asyncify contact sync processing 2025-04-21 11:29:26 -05:00
Max Radermacher
f15537472d
Use clampedNanoseconds where it’s useful 2025-04-08 15:30:36 -05:00
Sasha Weiss
969b0db854
Add SubscriptionFetcher, decoupled from donations 2025-04-07 12:52:44 -07:00
Sasha Weiss
64a66d7f03
Don't limit "payment still processing" retries in donation redemption jobs 2025-03-28 17:49:29 -07:00
Sasha Weiss
92df9c0b69
Allow clearing erroneous local "payment processing" donation state 2025-03-28 13:43:21 -07:00
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
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
a94efa2d32
Clean up SDSAnyWriteTransaction finalization blocks 2025-03-13 21:37:17 -07:00
Max Radermacher
ff8f0c1cdd
Remove various TSGroupThread return values 2025-03-07 15:56:35 -06:00
Pete Walters
c6e3692633
Asyncify Stripe methods 2025-03-07 12:29:07 -06:00
Max Radermacher
3d1439237f
Remove some places that call userErrorDescription 2025-03-06 23:41:00 -06:00
Sasha Weiss
1082e08786
Always suppress 409 errors from donation subscription-redemption jobs 2025-03-05 12:28:37 -08:00
Ehren Kret
0eac9a39e3
convert promises to async/await in BadgeGiftingConfirmationViewController+Paypal.swift 2025-02-25 15:38:26 -06:00
Max Radermacher
23f0d543ac
Remove handling for unsupported messages 2025-02-11 14:32:26 -06:00
Ehren Kret
3c159a4ec6
convert Paypal+API from promises to async-await 2025-02-11 10:35:33 -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
Max Radermacher
243fc80b8b
Improve sync message naming & type enforcement 2025-01-28 17:13:43 -06:00
Max Radermacher
cac2e748ba
Remove unused result from “leave group” job 2025-01-22 19:00:51 -06:00
Sasha Weiss
6e9d06bab6
Clear cached Backup auth credentials on subscription redemption 2025-01-10 14:28:26 -08:00