btcpayserver/BTCPayServer/Views/UIManage
Dennis Reimann c97b859963 Refactor QR functionality
Based on the `ur-registry` upgrade I refactored the `CameraScanner` and `ShowQR` partials: Besides general code changes, the main change is that most of the configuration and result handling now happens on the outer view.
Those partials and functions are now generalized and don't know about their purpose (like handling PSBTs): They can be instantiated with simple data (e.g. for displaying a plain QR code) or different modes (like showing a static and the UR version of a QR code) and the result handling is done via callback.

The callbacks can now also distinguish between the different results (data as plain string vs. UR-type objects for wallet data or PSBT) and also handle the specific type of data. For instance: Before it wasn't possible to strip the leading derivation path from an xpub when scanning the QR code, because the scanner didn't know about the type of data it was handling. Now that the data is handled in the callback, we can implement that functionality for the scan view only.
2022-09-13 10:17:12 +02:00
..
_Nav.cshtml Sticky header updates (#3471) 2022-02-21 11:05:42 +09:00
_ViewImports.cshtml
_ViewStart.cshtml
AddApiKey.cshtml CI test fixes (#3609) 2022-04-08 18:58:01 +09:00
APIKeys.cshtml Refactor QR functionality 2022-09-13 10:17:12 +02:00
AuthorizeAPIKey.cshtml Fix empty permissions case 2022-06-29 15:36:54 +02:00
ChangePassword.cshtml Adapt desktop breakpoints in views (#3358) 2022-01-27 11:56:46 +09:00
ConfirmAPIKey.cshtml Better handling of confirm case (existing API key) 2022-06-29 15:36:54 +02:00
EnableAuthenticator.cshtml Update app store links, add Authy as two factor app 2022-08-04 12:49:53 +09:00
GenerateRecoveryCodes.cshtml
Index.cshtml Move ConfirmModel to Abstractions (#3964) 2022-07-15 12:38:33 +09:00
LoginCodes.cshtml QR container display fixes 2022-03-04 10:49:36 +00:00
ManageNavPages.cs Support LNURL Auth 2022-01-14 13:26:30 +01:00
NotificationSettings.cshtml Adapt desktop breakpoints in views (#3358) 2022-01-27 11:56:46 +09:00
SetPassword.cshtml Content Consistency Updates (1.4.0) (#3316) 2022-01-18 10:19:27 +09:00
TwoFactorAuthentication.cshtml Move ConfirmModel to Abstractions (#3964) 2022-07-15 12:38:33 +09:00