Commit Graph

1208 Commits

Author SHA1 Message Date
Max Radermacher
0d9e106bd8
Don’t populate the default country code repeatedly 2024-12-11 14:26:51 -06:00
Max Radermacher
04dd202878
Use libPhoneNumber to parse calling codes 2024-12-11 14:26:36 -06:00
Max Radermacher
0a276f8c46
Move RegistrationCountryState → PhoneNumberCountry 2024-12-11 14:26:00 -06:00
Max Radermacher
17055f8a69
Rename “phone number” to “national number” 2024-12-11 14:25:15 -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
beeee9baf4
Fix some countryCode/callingCode confusion 2024-12-10 16:28:46 -06:00
Elaine
379d7768c6
Add Link'n'Sync secondary device progress view 2024-12-10 10:23:43 -07: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
Elaine
bc9c2d6314
Update style of device linking sheets 2024-11-27 15:25:39 -08:00
Elaine
24f5916693
Simplify showing Xcode previews for sheets 2024-11-27 16:58:55 -06:00
Elaine
6d155d8094
Inherit navigation bar elevation when determining background color 2024-11-27 10:33:49 -07:00
Elaine
6693371edf
Add linked devices education sheet 2024-11-22 21:15:35 -07:00
Max Radermacher
54eafa1bd9
Clean up app reset method 2024-11-22 17:08:36 -06:00
Max Radermacher
6755175fe6
Clean up PhoneNumber and PhoneNumberUtil 2024-11-22 17:06:12 -06:00
Marissa Le Coz
0afc0ec568
Group too large to ring toast should not take full width on ipad 2024-11-22 16:56:27 -05:00
Max Radermacher
8439e67979
Don’t return TSGroupThreads when joining via link 2024-11-20 16:32:27 -06:00
Max Radermacher
9905ab7347
Update learn more url that was moved 2024-11-20 09:46:24 -08:00
Max Radermacher
6985cee1c6
Don’t fetch contact avatars unless necessary 2024-11-19 17:37:22 -06:00
Pete Walters
bd4fa8c757
Drop message bodies longer than 2048 bytes 2024-11-18 16:19:35 -06:00
Max Radermacher
4de9951ea6
Enable some production code in debug builds 2024-11-18 14:35:24 -06:00
Pete Walters
0c3b89c2ed Fix missing KeyValueStore change 2024-11-18 08:27:49 -06:00
Sasha Weiss
2000b82c0b
One KeyValueStore to rule them all 2024-11-15 18:47:54 -06:00
Sasha Weiss
dadca9e032
Directly adopt KeyValueStore in SDSKeyValueStore 2024-11-15 14:54:30 -08:00
Adam Sharp
f19110add6 Add TSMutex to replace UnfairLock
Renames UnfairLock to TSMutex and refreshes its interface to remove methods
that are unused except in tests.

TSMutex has a generic parameter State that supports non-sendable and
non-copyable values. UnfairLock is a type alias of TSMutex<Void>.

The withLock() function is also no longer inherited from NSLocking, instead
being implemented to be similar to OSAllocatedUnfairLock's API.

Finally, the class is audited for sendability and compiles without warnings
under strict concurrency checking.
2024-11-15 16:31:03 -05:00
Harry
abd68d89a9
Update backup proto with view once quote type 2024-11-14 08:55:47 -08:00
Elaine
aefb384f57
Device linking redesign 2024-11-13 19:03:28 -07:00
Elaine
66e4548102
Update navigation bar style based on SwiftUI content offset 2024-11-13 16:02:36 -07:00
Ehren Kret
d1aff678c4 migrate to async swift for ProvisioningController continue button 2024-11-12 08:58:22 -06:00
Sasha Weiss
f890ca7bac
Fully Swiftify StorageServiceManager 2024-11-07 17:32:41 -08:00
Max Radermacher
219df32636
Asyncify CDS lookups 2024-11-06 19:01:28 -06:00
Harry
ad31d13457
Unmark text when setting to nil 2024-11-06 09:13:43 -06:00
Elaine
8819d7675e
Update Signal colors for SwiftUI 2024-11-05 15:03:21 -07:00
Elaine
e12c415bdb
Update Signal logo 2024-11-05 15:02:37 -07:00
Elaine
7aa5ccbe56
Update app colors 2024-11-05 15:02:19 -07:00
Elaine
ae989db97a
Add Signal colors 2024-11-05 14:27:57 -07:00
Max Radermacher
0d655f9e1a
Consolidate error handling for OWSURLSession 2024-11-04 15:49:11 -06:00
Max Radermacher
6d14b97ab6
Use new async OWSUrlSession methods 2024-11-04 15:29:53 -06:00
Max Radermacher
ddf65f314a
Clean up DeviceSleepManager 2024-11-04 14:34:57 -06:00
Max Radermacher
c3cd9f13cc
Clean up some noisy lines 2024-11-01 17:33:38 -05:00
Adam Sharp
8a9f7ebe4e
Increase default size of filter icon, adjust animation timing 2024-10-29 19:17:23 -04:00
Elaine
11243584b0
Redesign device linking scanner with photo picker 2024-10-29 10:56:12 -06:00
Max Radermacher
c3d787242a
Fix assertions after disabling payments 2024-10-28 16:12:44 -05:00
Adam Sharp
c6989e6154
Update title & icon of menu item to clear unread filter 2024-10-28 16:57:19 -04:00
Max Radermacher
a16c13d1b9
De-OWSOperation PaymentProcessingOperation 2024-10-25 13:10:19 -05:00
Max Radermacher
fcc46d3aa6
Asyncify PaymentProcessingOperation 2024-10-25 13:09:23 -05:00
Elaine
a1f11374e0
Add device authentication for device linking behind a feature flag 2024-10-25 10:52:44 -06:00