Signal-iOS/SignalUI/Views
Adam Mork 728862da6f
[Payments] Biometry Payments Lock
* payment lock

* add 30 day timeout to showing the payment lock suggestion

* fix linting

* update comment

* Payment Lock: Fix project file & submodules (#4878)

* revert ringrtc changes

* revert pods changes

* fix project file

* PR Comment suggestions and fixes

* PR suggestions

* revert screen lock to previous implementation

* rename OWSPaymentLock to OWSPaymentsLock (missing plural s), remove
super-class dependency. Make OWSPaymentsLock more "swifty".

* revert changes to call-site for OWSScreenLock

* update call-sites for OWSPaymentsLock

* forgot to add PaymentOnboarding class and localization comment improvements

* change function call-site

* Remove OWSLocalAuthentication from project

* remove OWSLocalAuth from project file

* make edge-case default more secure if storage not ready

* fix project file

* lint fix

* fix linting errors

* Revert compact format style for OWSLocalizedString

* fix localization call-sites to use literals, update localization file after autogen

* Add new Payments Lock Prompt view to be shown after activating payments. Factor out the BiometryType "current biometry" into its own class with helpers to easily getting the devices current setup.

* fix linting issues, sort project file, and autogen localizations

* require payments lock to look at the recovery phrase

* fix linting issue

* fix missing localizations (caused by dynamic creation in previous commit)

* use Pods commit from signal/main

* re-run linter on latest commits

* new header comments for new branch files

* update submodule commits

* Use existing secondsInDay constant kDayInterval, use weak self guard statement instead of optional self in escaping closure.

* Revert submodule changes

* Remove duplicate copyright headers

* Revert copyright header changes

* Restore some missing translations

* Add localization for unknown LocalAuthentication error/state.

* remove Pods changes

* linting

* use submodule commits from main

* subclass the old Objc OWSViewController super-class, should fix CICD

* change capitalized Passcode to lower-case in non-title situation.

* remove early exit guard from biometryType computed function. Reason being that the type can be gathered from a policy that evaluates to false. In a case where the user has a FaceID phone but its disabled, the messaging would be incorrect. removing the early exit evaluates the biometryType which apple provides even if the policy returns false.

* inline snooze date

* inject write transaction to some convenience methods to reduce database overhead when multiple calls need to happen at the same time.

* make combined set and snooze function, update combined call-site

* rename long function

* use false instead of sender.on to avoid sneaky view issues

* add tryToUnlockPromise function to clean up call sites

* change superclass, fix Promise statement

* call super class function

* remove objc

* add unlock failed action sheet helper class and put at all relevant call-sites, still need to test though.

* add unlock failed action sheet helper class and put at all relevant call-sites, still need to test though. linting

* project file changes for new file

* re-render payments lock toggle after failure to change setting.

re-render payments lock toggle after failure to change setting.

* move around action sheet call-site to account for an action sheet already being presented. remove unecc. return

* fix merge conflicts, linting

* re-gen strings file

---------

Co-authored-by: Max Radermacher <max@signal.org>
2023-02-03 12:56:54 -08:00
..
ConversationView Fix unreadable search result highlighting 2023-02-02 10:17:38 -06:00
ImageEditor Update SignalCoreKit 2023-01-31 12:34:07 -08:00
Link Preview Update SignalCoreKit 2023-01-31 12:34:07 -08:00
Mentions Fix vertical alignment of text in chat input bar. 2023-01-11 15:27:33 -08:00
Tooltips Change license to AGPL 2022-10-13 08:25:37 -05:00
VideoEditor Dismissing spinner shouldn't require callback 2023-01-20 18:11:55 -06:00
AvatarImageView.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
BezierPathView.swift Convert OWSBezierPathView to Swift. 2022-11-30 16:16:36 -08:00
CaptchaView.swift Prefer isEmpty with strings 2022-11-01 17:53:46 -05:00
CircleButton.swift Add a button to share your username from profile settings 2023-01-27 16:22:34 -08:00
CircleView.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
ColorPickerBar.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
ContactCell.swift Improve collation methods in ContactsPicker 2023-01-10 14:43:09 -08:00
ContactCellView.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
ContactReminderTableViewCell.swift Add .notAllowed to editingAuthorization for iPad 2023-02-01 11:33:37 -08:00
ContactsViewHelper.h Refactor contact access code 2023-01-12 09:55:30 -08:00
ContactsViewHelper.m Simplify fetching "All Signal Connections" 2023-01-30 12:05:11 -08:00
ContactsViewHelper.swift Add .notAllowed to editingAuthorization for iPad 2023-02-01 11:33:37 -08:00
ContactTableViewCell.swift Clean up recipient picker contact/group cells 2022-11-07 13:02:45 -08:00
ConversationAvatarView.swift Consolidate one-time & monthly donation screens 2022-11-08 16:27:50 -06:00
CustomKeyboard.swift Don't let large custom keyboards break attachment keyboard height 2022-12-23 14:55:31 -08:00
DirectionalPanGestureRecognizer.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
DisappearingTimerConfigurationView.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
GalleryRailView.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
GradientView.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
GroupTableViewCell.swift Import SignalMessaging where it’s needed 2022-10-24 10:19:06 -07:00
InputAccessoryViewPlaceholder.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
LinkingTextView.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
LoopingVideoView.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
ManualLayoutView.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
ManualStackView.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
MediaTextView.swift Update text overlay UI in photo editor to match text story composer UI. 2022-11-08 11:26:54 -08:00
NonContactTableViewCell.swift Clean up recipient picker contact/group cells 2022-11-07 13:02:45 -08:00
OWSActionSheets.swift Prefer isEmpty with strings 2022-11-01 17:53:46 -05:00
OWSBubbleShapeView.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSBubbleView.h Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSButton.swift Add a button to share your username from profile settings 2023-01-27 16:22:34 -08:00
OWSFlatButton.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSLayerView.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSNavigationBar.swift Use solid color for dark theme navbar 2022-12-23 11:43:45 -08:00
OWSSearchBar.h Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSSearchBar.m Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSStackView.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSTextField.swift Swiftify OWSTextField 2022-11-28 17:51:27 -06:00
OWSTextView.swift Convert OWSTextView to Swift 2022-11-29 23:06:14 -08:00
PaymentActionSheets.swift [Payments] Biometry Payments Lock 2023-02-03 12:56:54 -08:00
PaymentOnboarding.swift [Payments] Biometry Payments Lock 2023-02-03 12:56:54 -08:00
PrimaryImageView.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
ReminderView.swift Handle theme changes in ReminderView 2022-10-31 15:45:06 -07:00
ResizingScrollView.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
RoundMediaButton.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
TappableStackView.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
TappableView.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
TextAttachmentView.swift Switify some code related to ConversationInputToolbar. 2022-11-07 16:32:59 -08:00
TextFieldWithPlaceholder.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
TextViewWithPlaceholder.swift Prefer isEmpty with strings 2022-11-01 17:53:46 -05:00
ThemeHeaderView.swift Change background color (#5724) 2023-01-26 14:46:30 -08:00
Toast.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
VideoPlayerView.swift Change license to AGPL 2022-10-13 08:25:37 -05:00