style: Implement MongoDB connection and user collection retrieval in server steering
style: Add version management methods for advanced and email packages
style: Update instance editing functionality for new package options
style: Update binary image file in static resources
- Removed tenant configuration management code including TenantConfigManager and related functions.
- Deleted tenant resolver and guards for module access control.
- Eliminated tenant-aware error handling and associated HTML templates.
- Cleaned up main application file by removing tenant-related imports and context processors.
- Removed tenant configuration JSON file and related unit tests.
Co-authored-by: Copilot <copilot@github.com>
- Added tenant verification checklist in TENANT_VERIFICATION.md for system validation.
- Created tenant_config.py to manage tenant-specific configurations with global defaults and per-tenant overrides.
- Introduced tenant_guards.py for route protection based on module availability.
- Developed tenant_resolver.py for identifying active tenants from requests using subdomains and headers.
- Added tenant_templates.py for Jinja2 template helpers to check module visibility.
- Created error_403.html for custom 403 error handling.
- Defined tenants.json for tenant configurations and module management.
- Implemented unit tests in test_tenant_system.py to ensure functionality of tenant system components.
Co-authored-by: Copilot <copilot@github.com>
- Removed the JWT authentication setup and related access token handling.
- Deleted the test license activation functionality and associated routes.
- Removed the admin license management interface and related templates.
- Cleaned up the appointments page by removing test license options.
- Updated various templates to reflect changes in terminology from "license" to "instance".
- Removed the verify module and its associated functions for license key management.
- Deleted unused templates related to license management.
- Added a new empty JSON file for licenses backup.