Commit Graph

11784 Commits

Author SHA1 Message Date
Pete Walters
3af50ddfd3
Add basic support for QuickRestore 2025-03-31 13:02:44 -05:00
Pete Walters
b4295d7839
Extend ProvisioningSocketManager to handle quick restore message types 2025-03-31 12:33:12 -05:00
Pete Walters
5c1eddd411
Fix upload backoff behavior for some specific error cases 2025-03-31 11:27:08 -05:00
Pete Walters
b82d49478d
Refactor device provisioning 2025-03-31 11:24:51 -05:00
Sasha Weiss
64a66d7f03
Don't limit "payment still processing" retries in donation redemption jobs 2025-03-28 17:49:29 -07:00
Max Radermacher
e12f95bbb4
Add an AppNotificationUserInfo type 2025-03-28 17:11:51 -05:00
Max Radermacher
ab0ad79fbe
Generalize some logic into ObjectRetainer 2025-03-28 17:07:05 -05:00
Max Radermacher
e36052614d
Split apart custom/default notification actions 2025-03-28 17:02:24 -05:00
Sasha Weiss
92df9c0b69
Allow clearing erroneous local "payment processing" donation state 2025-03-28 13:43:21 -07:00
Max Radermacher
1a6a7ae223
Wait for profile names when showing notifications 2025-03-28 13:20:46 -05:00
Max Radermacher
8a402c8a4c
Migrate story recipients to a dedicated table 2025-03-27 21:14:10 -05:00
Max Radermacher
cb4c2b9464
Remove unused Envelope.Types 2025-03-27 20:54:58 -05:00
Sasha Weiss
8394080dfc
Only enqueue new downloads for backup-restored media in willBecomeVisible 2025-03-27 15:55:47 -07:00
Pete Walters
35f47af53a
Remove PreKeyManager.MessageProcessor shims 2025-03-27 14:23:32 -05:00
Sasha Weiss
80d1d3d6e7
Sanitize voice messages that also erroneously contain text, during Backup export 2025-03-27 12:22:57 -07:00
Max Radermacher
cf0b3ea9b3
Optimize blocked recipient checks when archiving 2025-03-27 13:17:43 -05:00
Max Radermacher
09d5030455
Fix typo: “ap” → “Map” 2025-03-27 13:17:00 -05:00
Max Radermacher
efacbf8fac
Unprotocolize Blocked(Group|Recipient)Store 2025-03-27 13:15:39 -05:00
Max Radermacher
ea4ac52ae0
Downgrade missing push token to warning 2025-03-27 13:14:45 -05:00
Max Radermacher
4be87bcec5
Fix bug when archiving the local recipient 2025-03-27 13:13:31 -05:00
Pete Walters
b167d00ef7
Update AttachmentUploadTests to cover both CDN2 and CDN3 2025-03-27 09:09:59 -05:00
Pete Walters
ba37657558
Migrate AttachmenUpload tests to SwiftTesting 2025-03-27 08:38:56 -05:00
Max Radermacher
b97ab24fb5
Asyncify NotificationService 2025-03-26 22:57:49 -05:00
Pete Walters
a3e8141ba9
Asyncify DonationSubscriptionManager (part 2)
Co-authored-by: Ehren Kret <ehren@signal.org>
2025-03-25 16:59:45 -05:00
Max Radermacher
f554de15e8
Clean up a few things with attachment errors 2025-03-25 16:18:14 -05:00
Max Radermacher
94fae982df
Simplify and rename updateConversionRates 2025-03-25 12:23:12 -05:00
Pete Walters
b678f66d05
Disallow editing of voice messages 2025-03-25 11:57:29 -05:00
Sasha Weiss
f6d17ae18d
Re-add test of RecipientMerger notifications 2025-03-25 09:54:13 -07:00
Sasha Weiss
2b8ceab276
Exclude messages with <24h timers from Backup exports 2025-03-25 09:53:36 -07:00
Sasha Weiss
3e76c97c19
Use a single timestamp through Backup import/export 2025-03-24 14:51:21 -07:00
Max Radermacher
14d5cd132f
Conform LocalDeviceId to CustomStringConvertible 2025-03-24 14:06:49 -05:00
Max Radermacher
4c97e7e193
Make a few MessageSender things private 2025-03-24 12:44:38 -05:00
Max Radermacher
1ddf5cf736
Increase chance of primary/linked test failures 2025-03-24 12:43:11 -05:00
Max Radermacher
b84884a7ed
Don’t use DeviceId in CallManager delegate 2025-03-22 00:13:50 -05:00
Max Radermacher
9fa8f99629
Fix race condition with “empty queue” notification 2025-03-22 00:02:27 -05:00
Max Radermacher
c5734733fa Upgrade info to warning for self-sent messages 2025-03-21 23:56:38 -05:00
sashaweiss-signal
3c79403c27 Put DeviceId uint32Value into request parameters, not the Swift type 2025-03-21 18:10:01 -07: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
3b77464098
Remove some waitForProcessing code 2025-03-21 17:03:49 -05:00
Max Radermacher
293d981c84
Remove AuthedDevice.DeviceId enum 2025-03-21 17:02:15 -05:00
Max Radermacher
13e3dfd6cf
Validate DeviceIds using same criteria as server 2025-03-21 17:01:06 -05:00
Max Radermacher
279a11f742
Add DeviceId type 2025-03-21 16:49:38 -05:00
Max Radermacher
5445d2a62a
Migrate OWSRecipientIdentity to SDSCodableModel 2025-03-21 16:47:24 -05:00
Max Radermacher
fe31e73eef Partially revert "Don't block prekey operations If message processing is idle."
This partially reverts commit 684a952905.
2025-03-21 14:40:15 -05:00
Max Radermacher
10cb6f69f7
Use HttpHeaders in more places 2025-03-21 13:53:38 -05:00
Max Radermacher
8029e258f7
Rename OWSHttpHeaders → HttpHeaders 2025-03-21 13:52:25 -05:00
Max Radermacher
5e5b9f92c4
Convert OWSHttpHeaders to a struct 2025-03-21 13:28:13 -05:00
Max Radermacher
8962d119d0
Handle 422s instead of 403s when rotating pre keys 2025-03-21 13:27:09 -05:00
Max Radermacher
39bd3662be
Update call link colors to match spec 2025-03-21 13:26:21 -05:00