Commit Graph
11 Commits
Author SHA1 Message Date
Jeppe B 9450c7902d Harden edge gateway workspace cache 2026-06-02 00:08:20 +02:00
Jeppe Bundgaard 3a7fef11ef Implement subuser password policy validation and update related components 2026-05-27 19:16:26 +02:00
Jeppe Bundgaard d69c474655 Add multilingual glossary and phrases for i18n, including terms, attributes, and compatibility across da, de, en, no, and sv locales. 2026-05-19 08:03:39 +02:00
Jeppe Bundgaard 75cde6a355 Enhance Passkey Authentication Logic and Error Handling
- Added `customerNumber` parameter to `getAuthenticationChallenge` and `authenticateWithPasskey` functions.
- Introduced challenge token usage in `verifyAuthentication` to align with OpenAPI spec.
- Improved error handling in `LoginForm.vue` with detailed error checks and logging.
- Ensured support for session tokens in `SubuserLoginForm.vue`.
2026-02-24 00:34:07 +01:00
Jeppe Bundgaard b2a6ede616 Add Two-Factor Authentication (2FA) to login and profile management
- Integrated 2FA check and handling in user and employee login workflows with `TwoFactorVerify` component.
- Added 2FA setup, enable, and disable functionalities in `UserProfile` and related management views.
- Enhanced internationalization files with 2FA-related translations for multiple locales.
- Created `TwoFactorAuthService.js` to handle API calls for 2FA setup and verification processes.
2026-02-23 22:22:36 +01:00
Jeppe Bundgaard be60ce8fdf Integrate passkey authentication and management
- Added passkey support for secure, passwordless authentication using WebAuthn.
- Implemented passkey management in user profiles, enabling users to add, rename, and delete passkeys.
- Updated authentication forms to support passkey login, including feature detection and login flow.
- Enhanced internationalization files with passkey-related translations for multiple locales.
- Introduced new components and services for handling passkey operations and WebAuthn interactions.
2026-02-23 21:59:01 +01:00
Jeppe Bundgaard 7614ef482d Add force enable/disable machine actions to ActionSettingsWheelButton
- Implemented new actions for force enabling and disabling machines in `ActionSettingsWheelButton.vue`.
- Display success message on login in `LoginForm.vue` and handle reload with delay.
- Adjusted form input handling and error/success message display across auth-related components and forms.
- Included form ID attributes and improved message visibility for user feedback.
2026-02-23 19:44:29 +01:00
Jeppe Bundgaard 887c0df238 Auto-select single grant for subusers and improve phone input handling
- Added logic in `SubuserGrantSelector.vue` to auto-select the grant if the subuser only has one available.
- Replaced country code sanitization watcher in `SubuserLoginForm.vue` with a focusout handler for improved performance and simplicity.
- Updated styles and input attributes in login form for better usability and layout consistency.
2026-02-18 13:10:57 +01:00
Jeppe Bundgaard a8862cfa22 Expand Swedish translations and improve phone login usability in SubuserLoginForm
- Added new Swedish translations for `auth` section in `sv.json` and aligned with `en.json` for consistency.
- Enhanced phone login fields with sanitized country code input handling in `SubuserLoginForm.vue`.
- Improved layout for country code and phone number inputs for better user experience.
2026-02-18 12:55:36 +01:00
Jeppe Bundgaard 3129d9398f Update Danish translations and refactor i18n usage in subuser login form
- Expanded and improved Danish translations in `da.json` for `auth` and `common` sections.
- Refactored `SubuserLoginForm.vue` to utilize `useI18n` for dynamic text rendering.
- Enhanced i18n key usage for labels and placeholders in the form.
2026-02-18 12:50:05 +01:00
Jeppe Bundgaard b41d839258 Introduce Subuser Grant Selector and Chauffør Login Integration
- Added `SubuserGrantSelector.vue` for subuser grant management with dynamic customer selection and associated permissions display.
- Implemented `SubuserLogin.vue` and supporting `SubuserLoginForm.vue` to enable chauffeur login functionality.
- Enhanced `SessionUser` to include grant selection logic, with methods for managing selected customer numbers, persisting selections, and header handling for authenticated requests.
- Integrated new `subuserlogin` route into `router.js`.
- Updated `authenticatedRequest.vue` to include `X-Customer-Number` header for subuser-specific requests.
2026-02-12 17:17:22 +01:00