Commit Graph

30553 Commits

Author SHA1 Message Date
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
Evan Hahn
0c5ab8b09d
New registration: confirm "skip PIN" 2023-03-22 09:43:37 -05:00
automated-signal
6aa32eb483 "Bump build to 6.18.0.6." (nightly-03-22-2023) 2023-03-22 04:00:58 -07:00
Evan Hahn
492284cab6
New registration: warn about remaining PIN attempts 2023-03-21 17:37:06 -05:00
Pete Walters
fdaf6764e3
Fix stuck voice memo UI (#6050) 2023-03-21 15:36:01 -05:00
Igor Solomennikov
e4b2ad1757
Add Rewind and Fast Forward buttons to video player for videos over 30 sec long. 2023-03-21 11:29:22 -07:00
Evan Hahn
0cda2d601f New registration: show generic error for unretained self
I missed a spot in faa8569d4a.
2023-03-21 12:22:05 -05:00
Evan Hahn
5959701090 Remove two "TODO" comments we've already addressed
This change should have no user impact. It's just removing TODOs.
2023-03-21 12:21:34 -05:00
Evan Hahn
9ba0be7ecc
New registration: gate phone number discoverability on feature flag 2023-03-21 12:20:34 -05:00
Evan Hahn
1eb840737c New registration verification code screen: show validation errors 2023-03-21 12:12:11 -05:00
Evan Hahn
15c27437e9
Remove websocket feature flag
This change should have no user impact.

This has been enabled for almost a year (see
1ef694e241). Let's assume it's always
enabled and remove it.
2023-03-21 09:28:45 -07:00
Evan Hahn
319582e7cb
Use unsigned ints for PIN attempts
This change should have no user impact. I think it's useful on its own
but it also makes a future task easier.

You can't ever have a negative number of remaining PIN attempts, so I
made sure we're using unsigned ints everywhere.

We also had two identifiers for "remaining attempts" (`triesRemaining`
and `remainingAttempts`) so I standardized it.
2023-03-21 08:57:26 -07:00
Evan Hahn
eff8c4c2a3 Support attributed strings in action sheet messages
This change should have no user impact, but makes a future change
easier.

`ActionSheetController` supports string messages, but now it also
supports `NSAttributedString` messages. That lets us include styling
(like bold) and links.
2023-03-21 10:55:46 -05:00
Evan Hahn
6083ddd456 Clean up OWSActionSheets
This change should have no user impact.

This makes a few changes to `OWSActionSheets`:

- `OWSActionSheets` is now an enum (with an Objective-C bridge)
- Some unnecessary methods were removed
- Fixed some long lines

It also removes the payment-specific
`OWSActionSheets.showPaymentsOutdatedClientSheetIfNeeded` extension. It
didn't add much and required passing a global object, so I removed it.
2023-03-21 10:55:46 -05:00
Evan Hahn
edf1963428
New registration PIN entry: update "learn more" and "skip" UI 2023-03-21 08:55:02 -07:00