From fc61789a87050ae5fe9e20eaa18b97b9e2e5cd0e Mon Sep 17 00:00:00 2001 From: mjkatgithub Date: Fri, 8 May 2026 20:40:01 +0200 Subject: [PATCH 1/4] Add Account Verification Panel and Recovery Key Bootstrap Functionality - Introduced a new `AccountVerificationPanel.vue` component for managing device verification processes, including emoji comparison and recovery key input. - Implemented recovery key bootstrap logic in `recoveryKeyBootstrap.ts`, allowing users to restore cross-signing secrets using their recovery keys. - Enhanced internationalization support in `useAppI18n.ts` with new messages related to verification and recovery key processes in both English and German. - Updated the account settings page to integrate the new verification panel, improving user experience during the verification process. - Added unit tests for the recovery key bootstrap functionality to ensure robust error handling and verification logic. --- .../settings/AccountVerificationPanel.vue | 673 ++++++++++++++++++ .../matrix/recoveryKeyBootstrap.ts | 228 ++++++ app/composables/useAppI18n.ts | 74 +- app/pages/settings/account.vue | 539 +------------- .../composables/recoveryKeyBootstrap.spec.ts | 182 +++++ 5 files changed, 1157 insertions(+), 539 deletions(-) create mode 100644 app/components/settings/AccountVerificationPanel.vue create mode 100644 app/composables/matrix/recoveryKeyBootstrap.ts create mode 100644 tests/unit/composables/recoveryKeyBootstrap.spec.ts diff --git a/app/components/settings/AccountVerificationPanel.vue b/app/components/settings/AccountVerificationPanel.vue new file mode 100644 index 0000000..ea41a39 --- /dev/null +++ b/app/components/settings/AccountVerificationPanel.vue @@ -0,0 +1,673 @@ + + +