Commit Graph

11749 Commits

Author SHA1 Message Date
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
Max Radermacher
810499d87d
Add one retry when fetching messages in the NSE 2025-03-21 13:25:51 -05:00
Sasha Weiss
8fba406b84
Update Backup.proto with latest contents 2025-03-21 09:45:45 -07:00
Sasha Weiss
ad5d03d45a
Clean up MessageBackup+Shims 2025-03-20 15:34:37 -07:00
Sasha Weiss
b136ee2ebd
Sync "default avatar colors" across devices 2025-03-20 15:18:11 -07:00
Sasha Weiss
221b6eccfa
Clean up AvatarHistoryManager 2025-03-20 15:10:31 -07:00
Max Radermacher
64697c01f3
Remove impossible-to-throw error 2025-03-20 13:02:35 -05:00
Max Radermacher
3b8449efd8 Revert "Remove redundant avatar download invocations"
This reverts commit 2d25f13ee1.
2025-03-20 12:04:19 -05:00
Pete Walters
8e584b9399
Keep some SVR state around when updating to a new master key 2025-03-20 08:45:13 -05:00
Max Radermacher
ba107e5f33
Remove unused capabilities 2025-03-20 00:11:10 -05:00
Sasha Weiss
e5604d29dc
Set the uploadTimestamp on outgoing attachment pointer protos 2025-03-19 14:24:43 -07:00
Sasha Weiss
cd14242316
Avoid enqueuing auto-downloads for messages the user manually canceled 2025-03-18 16:33:14 -07:00
Pete Walters
a96fdd3933
Fix issue with missing media key before backup download 2025-03-18 10:02:45 -05:00
Max Radermacher
28c1d1fbef
Clean up unused redeemReceipt code 2025-03-18 09:03:43 -05:00
Max Radermacher
c3e7d19712
Asyncify pre keys’ waitForMessageProcessing(…) 2025-03-17 11:17:31 -05:00
Max Radermacher
212c1f0138
Remove throws that doesn’t throw 2025-03-17 11:16:21 -05:00
Max Radermacher
41d7439eec
Remove @escaping for non-escaping block 2025-03-17 11:16:01 -05:00
Max Radermacher
d403c16796
Remove Promise-based database methods 2025-03-14 12:32:19 -05:00
Jordan Rose
97c18dfc02
CancellableContinuation internal improvements
- Make it a struct: Its state already has reference semantics, it doesn't need an extra layer. 
- Make the states explicit using an enum.
- Explicitly forbid calling wait more than once.
2025-03-14 09:35:09 -07:00
Ehren Kret
d71f61ee35 fix warnings 2025-03-14 10:33:20 -05:00
Ehren Kret
277098b2ca fix missing implementation on SDSDatabaseStorage 2025-03-14 10:03:21 -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
e5eabf1110
Remove GRDBTransaction extensions for accessing Database 2025-03-13 21:39:23 -07:00
Sasha Weiss
047e3a38df
Clean up SDSAnyWriteTransaction async completion 2025-03-13 21:38:21 -07:00
Sasha Weiss
a94efa2d32
Clean up SDSAnyWriteTransaction finalization blocks 2025-03-13 21:37:17 -07:00
Max Radermacher
95c18efb2d
Consolidate TSRequest auth into a single type 2025-03-13 13:35:35 -05:00
Pete Walters
f6ee99fe33
Enable AccountEntropyPool 2025-03-13 08:22:25 -05:00
Jordan Rose
46346d17d9 Revert "Mitigate unidentified connection assertion"
This reverts commit f93be49c1a
now that the libsignal bug has been addressed.
2025-03-12 16:09:26 -07:00
Max Radermacher
f93be49c1a
Mitigate unidentified connection assertion 2025-03-12 09:01:38 -05:00
Jordan Rose
647b715263 Report networkDidChange event to libsignal even when in the background
...or during app start
2025-03-11 17:07:44 -07:00
Jordan Rose
ced06cb832 Update to libsignal v0.67.4, stub out server alert support 2025-03-11 16:49:30 -07:00
Max Radermacher
36d511ca05
Fix RemoteConfigManager assertion 2025-03-11 18:23:05 -05:00
Max Radermacher
97e631aea8
improve regional networking options 2025-03-11 18:03:32 -05:00
andrew-signal
9c983aeb7a
Update invalid configuration 2025-03-11 15:56:20 -04:00
Elaine
1d715beb58
Format phone numbers when used as display names 2025-03-11 11:01:25 -06:00