Releases: AppsDevTeam/fancyadmin
Releases · AppsDevTeam/fancyadmin
v1.0.58: Fixes: Class alias for OnetimeToken
Removes class alias for OnetimeToken entity due to a naming conflict. The original alias shadowed the real `ADT\DoctrineAuthenticator\OTP\OnetimeToken` class from `doctrine-authenticator`, breaking the application wherever the proper implementation of OnetimeToken was expected.
v1.0.57: Simplifies file entity handling
Refactors file entity and trait to streamline the implementation. Removes unnecessary inheritance and simplifies the trait definition for better code maintainability.
v1.0.56: Adds OTP IdentityTrait
Adds the `ADT\DoctrineAuthenticator\OTP\IdentityTrait` to the `IdentityTrait` to incorporate OTP functionality. This allows entities using the `IdentityTrait` to leverage one-time password authentication.
v1.0.55: Merge pull request #21 from AppsDevTeam/feat/add-created-by-attribute
feat: add created by attribute
v1.0.54: Refactors account selection logic
Consolidates account retrieval and formatting into a single method for improved readability and maintainability. This change simplifies the account selection process in forms by centralizing the logic for fetching accounts, creating account pairs, and adding the admin settings option.
v1.0.53: Flushes entity manager after account selection
Ensures changes to the selected account are persisted to the database immediately after a user selects or deselects an account. This guarantees data consistency.
v1.0.52: Avoids error when parent account is null
Prevents a potential error by using the nullsafe operator when accessing the parent account. This ensures the application doesn't crash if the selected account doesn't have a parent.
v1.0.51: Adds sub-account functionality
Enables users to manage and access sub-accounts by introducing the concept of hierarchical accounts. This change introduces `getSubaccounts()` methods to the `Account` and `Identity` entities and traits to retrieve sub-accounts. It also updates the account selection form to include sub-accounts, providing users with a consolidated view of their accounts, and modifies the layout to display the account selection form when a user has access to multiple accounts or sub-accounts.
v1.0.50: Refactors: Removes direct OTP usage
Removes direct usage of OnetimeTokenQueryFactory from FancyAdmin module. It now uses the IdentityQueryFactory from DoctrineAuthenticator which has been extended.
v1.0.49: Updates imports for OTP functionality
Updates the imports to use the correct namespace for the OnetimeToken entity. This resolves a potential issue where the incorrect OnetimeToken class was being referenced, leading to errors or unexpected behavior.