IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
- Introduced REST_API_INFO class variable to Handler and various ModelHandler subclasses to provide metadata for auto-generated APIs.
- Updated api_helpers to utilize REST_API_INFO for dynamic naming and descriptions.
- Enhanced API response generation functions to include OData parameters and improved request body descriptions.
- Added checks in UserServiceManager to prevent actions on already removed services.
- Cleaned up code formatting and comments for better readability.
- Removed unnecessary conditional imports for Django models.
- Updated type hints from 'Model' to 'models.Model' for better clarity and consistency.
- Added missing imports for 'models' in various files to ensure proper type checking.
- Cleaned up import statements by consolidating related imports.
- Enhanced readability and maintainability of the codebase by standardizing import styles.
- Changed attribute names from `name` to `NAME` and `path` to `PATH` in various REST handler classes for consistency.
- Removed commented-out code related to table titles and fields in multiple methods.
- Introduced a new `actor.py` file to define `NotifyActionType` enum for better organization.
- Updated references to help paths and help text in the `Stats` and `System` classes.
- Cleaned up the `Permissions` class by removing old commented-out code.
- Adjusted the `ServersManagement` and `ServicesPoolGroups` classes to use the new attribute naming convention.
- Updated various REST methods to replace `table_title` and `table_fields` with a unified `table_info` structure.
- Enhanced the `table_info` to encapsulate title, fields, and row styles in a single object, improving code clarity and maintainability.
- Adjusted the `DetailHandler` and `ModelHandler` classes to accommodate the new `table_info` structure.
- Removed deprecated methods related to table title and fields, streamlining the codebase.
- Ensured backward compatibility by maintaining the existing functionality while transitioning to the new structure.
- Changed various item classes from ItemDictType to BaseRestItem for consistency.
- Updated ManagedObjectDictType to ManagedObjectItem.
- Replaced ensure_has_access method calls with check_access for improved clarity.
- Refactored GUI composition methods to utilize the new GuiBuilder utility.
- Adjusted return types in get_items methods to use ItemsResult for better type safety.
- Removed deprecated field handling in BaseModelHandler.
- Enhanced type annotations across multiple modules for better type checking.
- Added new translation strings for various UI elements and error messages in translations-fakejs.js.
- Removed duplicate and unnecessary translation entries to streamline the code.
- Updated the integrity and timestamp for module preload links in the index.html file to ensure the latest resources are loaded.
- Introduced ServicesUsageItem class to encapsulate service usage details.
- Updated ServicesUsage to utilize ServicesUsageItem for type safety.
- Enhanced Transports and TunnelServers classes with improved GUI handling using StockField.
- Added StockField and related fields for consistent UI element definitions.
- Refactored get_gui methods to return structured GUI elements.
- Improved type hints across various methods for better clarity and type safety.
- Added utility functions for creating common UI fields.
- Updated documentation and comments for clarity and maintainability.
- Updated `AuthenticatorItem`, `NetworkItem`, `NotifierItem`, `AccessCalendarItem`, `ActionCalendarItem`, `OsManagerItem`, `ProviderItem`, `ReportItem`, `TokenItem`, `ServerItem`, `GroupItem`, `ServiceItem`, `ServicePoolItem`, and `TransportItem` to inherit from `ManagedObjectDictType` for improved type safety.
- Refactored `BaseModelHandler` and `ModelHandler` to use generic types for better type inference.
- Modified `DetailHandler` to extend `BaseModelHandler` with generics.
- Adjusted return types in various methods to utilize the new item types, ensuring consistent type usage across the REST API.
- Introduced `ManagedObjectDictType` to represent managed objects in the REST API, including fields for type and instance.