- Add GET /users/{user_id}/tenant-count endpoint
- Add scope query param (current|all) to DELETE /users/{user_id}
- UserService.delete_user now supports scope='all' to deactivate/remove
user from all tenants
- Frontend users.ts: getTenantCount(), delete() accepts scope param
- Frontend +page.svelte: async openDeleteDialog fetches tenant count,
shows 4-button dialog when user belongs to >1 tenant
- docker-entrypoint.sh: Keycloak wait now conditional on WAIT_FOR_KEYCLOAK=1
- Updated user statistics endpoint to include access token and hub tenant ID for improved data retrieval.
- Refactored user listing functionality to support access token and hub tenant ID, ensuring accurate user data from the Hub.
- Introduced new methods in UserService for fetching users with additional information from the Hub.
- Enhanced security functions to ensure user-tenant relationships are maintained and synchronized with the Hub.
- Improved frontend logic to handle company initialization and user authentication more effectively.
- Added a new `isCreate` prop to manage the invoice creation state in the invoice top fields component.
- Implemented a conditional invoice type selection for the export operation in the invoice top fields.
- Updated sidebar module links to simplify URL parameters for invoice exports.
- Refactored invoice type handling in the dashboard to improve dynamic title generation based on operation type and invoice type.
- Adjusted server-side logic to enforce required parameters for invoice creation based on operation type.
- Cleaned up unused filters in the invoice page to streamline the user interface.
- Introduced utility functions for managing access tokens in cookies, including setting, getting, and clearing tokens.
- Updated various components and server routes to utilize the new access token functions for better consistency and maintainability.
- Removed redundant cookie handling code across the application, streamlining the authentication process.
- Updated SQLAlchemy imports for better clarity and organization in invoice service.
- Refactored dropdown menu components to improve state management and accessibility.
- Adjusted invoice year filter logic for consistency in dashboard components.
- Improved internationalization handling in invoice titles and headers.
- Removed derived error state in manifest page.
- Updated column creation logic in various general catalog components to streamline permissions handling.
- Enhanced type safety in selected item logic across components.
- Improved search functionality and state management in identifiers, concepts, and other catalog pages.