Commit Graph

11369 Commits

Author SHA1 Message Date
Harry
63ee40e011
Suspend message processing until link'n'sync finishes 2024-12-13 11:20:03 -06:00
Max Radermacher
194b98758e Fix a few warnings 2024-12-12 16:58:56 -06:00
Harry
401c361db0
Don't block on failure to delete TSAttachment folder 2024-12-12 14:45:23 -08:00
Pete Walters
5b67c1e7dc
Add internal debug logging for uploads 2024-12-12 16:33:47 -06:00
Pete Walters
128d683a1b
Differentiate some upload logging based on error type 2024-12-12 14:32:59 -06:00
Harry
b1f8858f5d
Clean up post-link'n'sync step UX 2024-12-12 12:27:20 -08:00
Harry
9e21d73317
Order backup restore profile fetches by latest message 2024-12-12 12:26:57 -08:00
Harry
d3bb029a90
Don't fail TSAttachment migration on quoted reply validation errors 2024-12-12 10:25:59 -08:00
Max Radermacher
8320c13887
Fix Mexico number contraction handling 2024-12-11 15:14:27 -06:00
Max Radermacher
650f1fdc59
Look up both Argentinian number formats 2024-12-11 15:13:32 -06:00
Max Radermacher
bccde24b7b
Look up both Benin phone number formats 2024-12-11 15:12:43 -06:00
Max Radermacher
41b863ebaa
Update libPhoneNumber metadata to 8.13.51 2024-12-11 15:11:24 -06:00
Max Radermacher
67e5ed7907
Simplify & consolidate example phone numbers 2024-12-11 14:56:58 -06:00
Max Radermacher
5c38ebf6a1
Update libPhoneNumber-unsupported country codes 2024-12-11 14:56:06 -06:00
Max Radermacher
f4e8ccd3bd
Parse phone numbers using country codes
Co-authored-by: Harry <109690906+harry-signal@users.noreply.github.com>
2024-12-11 14:52:27 -06:00
Max Radermacher
04dd202878
Use libPhoneNumber to parse calling codes 2024-12-11 14:26:36 -06:00
Max Radermacher
039149618a
Improve default country code selection logic
Co-authored-by: Harry <109690906+harry-signal@users.noreply.github.com>
2024-12-11 14:24:26 -06:00
Max Radermacher
de677ee7b2
Reuse registration parsing logic for change number 2024-12-11 14:13:47 -06:00
Max Radermacher
fafec28429
Remove duplicate dual-country parsing logic 2024-12-11 14:12:29 -06:00
Max Radermacher
45abbc7c2c
Remove redundant parsing calls when given an e164 2024-12-11 14:10:58 -06:00
Max Radermacher
6fa84d3f2b
Make the raw phone number parsing method private 2024-12-10 16:32:01 -06:00
Max Radermacher
25651588ad
Rename callingCode method 2024-12-10 16:29:43 -06:00
Max Radermacher
beeee9baf4
Fix some countryCode/callingCode confusion 2024-12-10 16:28:46 -06:00
Max Radermacher
965447291c
Clean up some more phone number parsing code 2024-12-10 16:27:05 -06:00
Harry
aba1bc9ac7
Block link'n'sync device sleep on main actor 2024-12-10 14:26:11 -08:00
Sasha Weiss
f94673f9f1
Rotate the provisioning QR code every 45s 2024-12-10 14:18:09 -08:00
Harry
7ba9aee871
Update backup proto and integration tests 2024-12-10 09:51:13 -08:00
Harry
dcef13c7ed
Use OWSProgress in Attachment Upload and Download Managers 2024-12-10 09:29:30 -08:00
Sasha Weiss
f10f759a98
Add incoming support for DeviceNameChange sync messages 2024-12-10 09:18:56 -08:00
Harry
8eb012ee04
Use HEAD request to peek attachment download size 2024-12-10 09:08:35 -08:00
Harry
070009ac5f
Disallow restoring from a backup twice 2024-12-10 09:07:04 -08:00
Harry
76c171a1b5
Ensure device stays awake during link'n'sync 2024-12-09 17:05:38 -08:00
Marissa Le Coz
c2d2629316
[Quick Restore] Add new QR code screen for registration 2024-12-09 14:29:49 -05:00
Harry
6073e5e05f
Use UInt64 instead of UInt32 for OWSProgress 2024-12-09 09:44:14 -06:00
Elaine
63a72d4697
Allow linked device names to be edited 2024-12-06 15:33:32 -07:00
Harry
6e00af6a8d
When deleting attachment references, filter by idInOwner 2024-12-06 13:16:05 -08:00
Sasha Weiss
e47a864a1a
Protocolize and asyncify OWSDevicesService 2024-12-06 12:39:05 -08:00
Harry
bdd7a734c3
Report link'n'sync export errors to linked device via server endpoint 2024-12-06 11:06:57 -08:00
Harry
26c2c712e8
Use OWSProgress in MessageBackupManager 2024-12-06 09:19:45 -08:00
Harry
08258d820a
Add OWSProgress utility to periodically update with a task and estimated completion time 2024-12-06 09:19:11 -08:00
Harry
41c47c1235
Add OWSProgress for be used for backup progress tracking 2024-12-06 09:18:30 -08:00
Harry
3312ce6e5e
Convert incoming messages from self into outgoing messages in backup export 2024-12-06 09:18:02 -08:00
Harry
8b49b1ee22
Include app version in backup error display 2024-12-05 21:20:31 -06:00
Harry
d62d96424e
Reduce memory usage of TSAttachment migration 2024-12-05 16:40:42 -08:00
Sasha Weiss
c42557903a
Make Backup subscription redemption durable 2024-12-05 14:43:11 -08:00
Harry
835febb7ef
Include expiring messages in deviceTransfer backups 2024-12-05 13:23:23 -08:00
Harry
13bf549a0e
Fix issue where we skipped backing up expiring messages with unstarted timers 2024-12-05 13:22:29 -08:00
Harry
b76fae88ba
Don't fail when unable to read quote image in TSAttachment migration 2024-12-05 14:47:47 -06:00
Sasha Weiss
6756489f03
Exclusively use the new linked device view 2024-12-05 12:02:29 -08:00
Harry
7916859ee3
Thread merge MessageAttachmentReferences 2024-12-04 14:27:16 -08:00