Commit Graph

11354 Commits

Author SHA1 Message Date
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
Harry
f36a4965b8
Final ezpz TSAttachment cleanups 2024-12-04 14:26:36 -08:00
Harry
10c8f35fe6
Adios, MediaGalleryRecord 2024-12-04 14:26:00 -08:00
Harry
fedb96ec75
Arrivederci, TSAttachment 2024-12-04 13:33:14 -08:00
Harry
89b6db602f
Deprecate attachmentIds TSInteraction column 2024-12-04 13:32:16 -08:00
Harry
39557cf5b8
Drop TSAttachment fields from JobRecords 2024-12-04 13:31:41 -08:00
Harry
6390423c59
Clean up some TSAttachment-adjacent code 2024-12-04 13:31:05 -08:00
Harry
1fd8d2ed6d
Sayonara, TSResource 2024-12-04 13:30:31 -08:00
Harry
69ec72428a
Remove TSResourceReference, use v2 types directly instead 2024-12-04 13:29:48 -08:00
Harry
2af0bb31dc
Remove TSResource/Stream/Pointer/Thumbnail, use v2 types directly instead 2024-12-04 13:29:06 -08:00
Harry
06f1e2ec9d
Delete TSAttachment managers and other intermediaries 2024-12-04 13:28:12 -08:00
Max Radermacher
0ee7557d3b
Remove unnecessary cleanup filtering 2024-12-04 11:05:06 -06:00
Sasha Weiss
af76e0b9d3
Assume all clients are delete-sync-capable 2024-12-03 16:33:29 -08:00
Harry
7d88672c21
Remove versioned expire timer capability checking 2024-12-02 14:07:53 -08:00
Max Radermacher
7bfe049f30
Improve URLSession error handling 2024-12-02 15:17:19 -06:00
Max Radermacher
2d35b03866
Don’t auto refresh blocked groups 2024-12-02 15:14:26 -06:00