Commit Graph

30567 Commits

Author SHA1 Message Date
Max Radermacher
27da071f71 Improve isRunningTests check 2023-03-27 11:29:49 -07:00
Max Radermacher
4457f6fa90
Swiftify storeLocalNumber 2023-03-27 10:41:10 -07:00
Evan Hahn
1b358ac179
New registration: show correct charset switcher text on PIN screen
We shouldn't say things like "Create alphanumeric PIN" if you're
entering an existing PIN.
2023-03-27 12:37:40 -05:00
Adam Mork
f1378081e6
[Payments] Fix Incorrect Payments State after QR Code Transfer, possible loss of funds
* re-warm caches if payments are disabled, additionally, if re-enabling prefer old payments entropy before generating new payments entropy.

* change implementation of isRegisteredAndReady to use a transaction. Also re-warm caches on registration state changes

* linting
2023-03-27 10:34:10 -07:00
Evan Hahn
4e45c4e50e
Swiftify AppVersion.hardwareInfoString 2023-03-27 10:20:05 -07:00
Evan Hahn
782ef2d3d0
New registration: show (most of) remaining UI on PIN screen
All user-visible changes are on the "existing PIN" operation, but the
other two operations needed some refactors.
2023-03-27 12:07:28 -05:00
Evan Hahn
2b12f3cea7
New registration: apply updates to PIN screen 2023-03-27 11:17:49 -05:00
Evan Hahn
43320fdd44 Swiftify recipient picker "no contacts view" creation
This change should have no user impact and is just a manual translation
from Objective-C to Swift.
2023-03-27 09:32:27 -05:00
automated-signal
cc863d229d "Bump build to 6.19.0.4." (nightly-03-25-2023) 2023-03-25 04:01:10 -07:00
Harry
76b31992b2
Collected nits from registration PR stack
* nits

* remove obsolete assert
2023-03-24 19:40:58 -07:00
Sasha Weiss
56381af023
Ignore AccountRecord.E164 if we are PNP capable 2023-03-24 15:33:28 -07:00
Evan Hahn
a87f6b042d Tidy App Store URL code
This change should have no user impact.

- `appStoreUpdateURL` is now just `appStoreUrl`
- Changed from `var` to `let`
- Removed some redundant re-declarations of the URL
2023-03-24 16:58:33 -05:00
Harry
ebea21b124
Migrate users in the middle of legacy re-reg 2023-03-24 14:42:08 -07:00
Evan Hahn
4b4c908203 Remove @objc attributes from expiration nag view
This change should have no user impact. It just removes some unnecessary
annotations.

I also imported `Foundation`.
2023-03-24 16:28:37 -05:00
Sasha Weiss
ca0fc64fbd
Remove debug flag for some verbose logging 2023-03-24 14:14:18 -07:00
Evan Hahn
690bea4349
Improve handling of ambiguously-typed audio messages from Android
See <https://github.com/signalapp/Signal-iOS/issues/3590>.
2023-03-24 16:13:31 -05:00
Harry
45d7ce2a1a
Add exit functionality to reglock timeout screen
* wipe pending change number state on service error response

* add unable to exit case to reglock timeout controller

* take action on reglock timeout acknowledgement
2023-03-24 13:51:54 -07:00
Harry
b6e781fa24
Allow switching to secondary device linking from new registration and vice versa
* add copy pasted RegistrationConfirmModeSwitchViewController

* enable switching registration and secondary device linking back and forth
2023-03-24 13:51:05 -07:00
Harry
4b3c75385d
Small change number cleanups
* crash the app if we fail to load last registration mode

* explicitly update local account on storage service after a change number
2023-03-24 13:50:14 -07:00
Harry
cd4d48eae2
Avoid wiping tsAccountManager state so we can exit reregistration
* add non-failable resetForReRegistration method to tsAccountManager

* shim out tsaccountmanager resetForReRegistration

* Don't wipe tsaccountmanager state in re-registration until necessary. gate exiting re-registration on this step

* fix tests
2023-03-24 13:48:44 -07:00
george-signal
7cda68a53f
Add MediaGalleryAccessoriesHelper. 2023-03-24 13:43:38 -07:00
Harry
71d87518bf
disallow change number when deregistered 2023-03-24 13:38:08 -07:00
Harry
18594f53f1
Add buttons to exit re-registration and change number
* add UI to exit registration

* fix tests

* cleanup and dismiss context menu on dismiss view
2023-03-24 13:15:40 -07:00
Jim Gustafson
9b16b81eea Update to RingRTC v2.26.0 2023-03-24 13:12:05 -07:00
Evan Hahn
45c65af500 Update video rewind/fast-forward icons
No code changes. Just updated icons.
2023-03-24 14:45:50 -05:00
Harry
4ee467be2b
Add screens unique to change number to new registration flow
* Add splash controller for change number flow

* Add copy of change number phone number entry controller

* add copy of change number confirmation view controller

* hook up change number phone number entry screens

* fix header color

* fix change number error view

* add some spacing before error label

* run auto genstrings

* actually fix string comment
2023-03-24 12:32:59 -07:00
Sasha Weiss
5d7241d038
Add parsing support for the pni capability 2023-03-24 10:07:39 -07:00
Evan Hahn
87b4fb1f06 Use old "update local phone number" method to fix build 2023-03-24 10:10:04 -05:00
automated-signal
6c31e7904f "Bump build to 6.19.0.3." (nightly-03-24-2023) 2023-03-24 04:01:05 -07:00
Sasha Weiss
56ba9f3d7a
Atomically persist values from change-number 2023-03-23 16:50:59 -07:00
Max Radermacher
b83902774e
Clean up RecipientMerger.mergeHighTrust 2023-03-23 14:48:47 -07:00
Max Radermacher
cf8593bbe3
Add tests for 2-way contact merging logic 2023-03-23 14:00:52 -07:00
Max Radermacher
ebf6b8f5e7
Support PNIs in SignalServiceAddress 2023-03-23 12:43:01 -07:00
Sasha Weiss
be4b132ea6
Rename StorageServiceManagerProtocol 2023-03-23 09:29:38 -07:00
automated-signal
f425df152a "Bump build to 6.19.0.2." (nightly-03-23-2023) 2023-03-23 04:01:04 -07:00
Max Radermacher
fa7f0e98fa
Clear “display badge” when your last badge expires
Also, explicitly track “old badges” vs. “new badges” when redeeming.
2023-03-23 00:32:42 -07:00
Max Radermacher
64e5ad5019 Stop using deprecated UILocalNotification API 2023-03-22 18:34:39 -07:00
Max Radermacher
4f64cf1c12 "Bump build to 6.19.0.1." (nightly-03-22-2023) 2023-03-22 16:35:58 -07:00
Max Radermacher
09d38fcf68 Update to Xcode 14.2 2023-03-22 16:34:51 -07:00
Sasha Weiss
8d1340b2da
Pass argument through to recursive call to processingCompletePromise 2023-03-22 14:38:04 -07:00
Max Radermacher
ca1e4e1202 Update Fastlane to 2.212.1 2023-03-22 14:20:34 -07:00
Evan Hahn
997de810b8 New registration PIN screen: move button to bottom 2023-03-22 15:00:26 -05:00
Max Radermacher
ae2b290a07
Use ServiceId in message sending code
Co-authored-by: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com>
2023-03-22 12:25:05 -07:00
Evan Hahn
5477d1706f "Bump build to 6.19.0.0." (nightly-03-22-2023) 2023-03-22 12:36:31 -05:00
Evan Hahn
054487ea53
Update translations 2023-03-22 12:36:05 -05:00
Evan Hahn
dbfca63178
Update release notes 2023-03-22 12:33:15 -05:00
Harry
19c69db4cf
Allow device transfer from reg bravo 2023-03-22 10:20:56 -07:00
Harry
c0444ff246
Wait a short time for push challenges before preferring captcha 2023-03-22 09:33:41 -07:00
Harry
59c164d849
Show reg bravo loading controller between all steps 2023-03-22 09:24:14 -07:00
Harry
68f34d10cd
Let the user change e164 after entering one in registration bravo
* Allow changing e164 after entering one + tests

* hook up back to change number from sms code verification screen

* nit

Co-authored-by: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com>

* nit 2

Co-authored-by: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com>

---------

Co-authored-by: Evan Hahn <69474926+EvanHahn-Signal@users.noreply.github.com>
2023-03-22 07:52:34 -07:00