Commit graph

156 commits

Author SHA1 Message Date
Artem
a863369675
Merge pull request #2 from remnawave/development
Add new endpoints and update SDK features
2025-08-27 00:29:11 +02:00
Artem
f9d9af7f27 feat: обновить версию SDK до 2.1.4 и добавить поддержку запроса перезапуска всех узлов 2025-08-27 00:27:29 +02:00
Artem
9d7f1ab0d9 feat: добавить поддержку пользовательских заголовков в инициализацию RemnawaveSDK 2025-08-25 15:55:17 +02:00
Artem
b8db6a9241 feat: добавить параметр ssl_ignore в инициализацию RemnawaveSDK для управления проверкой SSL 2025-08-25 15:46:37 +02:00
Artem
d3ad6ea330 feat: добавить модель GetRawSubscriptionByShortUuidResponseDto в модуль подписок 2025-08-25 15:40:44 +02:00
Artem
8e34b50c6c feat: добавить модель TagUserResponseDto и обновить контроллер пользователей для использования новой модели 2025-08-25 15:38:14 +02:00
Artem
8a84503191
feat: добавить эндпоинт для получения сырой подписки по короткому UUID и обновить модели подписки 2025-08-21 23:58:28 +02:00
Artem
cd024a7794
Merge pull request #1 from remnawave/development
Updated to be fully compatible with Remnawave API v2.1.1 with new endpoints, extended host functionality and simplified validations.
2025-08-15 23:19:57 +02:00
Artem
94a13687a6 feat: обновить версию SDK до 2.1.1 и изменить описание в соответствии с новой версией API 2025-08-15 23:12:43 +02:00
Artem
a117f61204 feat: добавить модель GetInternalSquadAccessibleNodesResponseDto и эндпоинт для получения доступных узлов внутренней группы 2025-08-15 23:11:16 +02:00
Artem
08f2146d41 feat: add nodes metrics endpoint - метод get_nodes_metrics()
feat: add host tags management - метод get_hosts_tags()
feat: add advanced host options - поля tag, isHidden, muxParams, sockoptParams
update: relax validation - username min 3 chars, node name min 3 chars
update: reduce host description - max 30 chars (было 50)
update: add name fields - для config profiles и internal squads

‼️ fix: remove tokenDescription - убрано из CreateApiTokenRequestDto
2025-08-14 15:01:15 +02:00
Artem
9a3dff13cb chore: initial commit after migration from sm1ky/remnawave-api 2025-07-29 17:12:53 +02:00
Artem
cb599df003
feat: Добавить тесты для валидации вебхука в test_utils.py 2025-07-09 03:01:35 +02:00
Artem
950a7ffab3
Add Pydantic models for nodes usage history, subscriptions, and user management
- Implemented models for nodes usage history including NodeInfoDto, GetUserAccessibleNodesResponse, and usage statistics.
- Created subscription-related models such as UserSubscription, SubscriptionInfoData, and various response DTOs for subscription information.
- Developed models for subscription settings, templates, and system statistics, enhancing the API's capability to manage and retrieve subscription configurations.
- Introduced user management models including CreateUserRequestDto, UpdateUserRequestDto, and various response DTOs for user actions.
- Added bulk actions for user updates and statistics tracking, improving the efficiency of user management operations.
- Established a base controller for handling API requests and responses, along with decorators for HTTP methods to streamline API interactions.
- Included utility functions for serialization using orjson for better performance with Pydantic models.
2025-07-03 12:22:16 +02:00
Artem
6e90ab89e9
feat: Восстановить тест revoke_user_subscription в test_users.py 2025-07-02 23:04:34 +02:00
Artem
93b15cb254
feat: Обновить раздел "Комплексное тестирование" в MIGRATION_V2.md, удалив информацию о тестах 2025-07-01 15:09:40 +02:00
Artem
f782ecbd46
feat: Обновить файл .env.test, добавив переменную REMNAWAVE_CONFIG_PROFILE_UUID 2025-07-01 15:07:57 +02:00
Artem
41389d4205
Refactor SDK for Remnawave API v2.0.0 compatibility
- Updated models and response structures to align with API v2.0.0 specifications.
- Enhanced response handling to support both wrapped and unwrapped API responses.
- Added new controllers for ConfigProfiles, InternalSquads, InfraBilling, and NodesUsageHistory.
- Implemented RootModel patterns for list responses, allowing direct iteration and indexing.
- Updated tests to validate new models and endpoints, ensuring 20 out of 21 tests pass with real API integration.
- Fixed various bugs related to response handling and model validation.
- Documented migration path and breaking changes for users upgrading from v1.x to v2.0.0.
2025-07-01 15:06:07 +02:00
Artem
060b2f2d70
feat: Обновить модели для поддержки новых типов данных и улучшить валидацию полей 2025-06-21 23:41:57 +02:00
Artem
641d70a495
feat: Обновить модель HWIDUserResponseDtoList, изменив поле response на devices 2025-06-18 04:05:28 +02:00
Artem
63d9980a8d
feat: Обновить совместимые версии в таблице README.md для версии 1.1.2 2025-06-06 21:03:04 +02:00
Artem
7c671b86ee
feat: Добавить новые поля в модели SubscriptionSettingsResponseDto и UpdateSubscriptionSettingsRequestDto 2025-05-19 22:08:30 +02:00
Artem
ccdaf96510
feat: Увеличить максимальную длину имени пользователя до 36 символов в CreateUserRequestDto 2025-05-19 17:54:19 +02:00
Artem
2cbc9f1c1e
feat: Обновить модели пользователей, добавив новые поля для сети и безопасности, а также временные метки создания и обновления (c74fa1ccc4) 2025-05-19 17:10:46 +02:00
Artem
4507d9a60b
feat: Добавить поддержку OAuth2 Telegram и новые модели для тегов и отзыва пользователей 2025-05-17 15:03:40 +02:00
Artem
5f86d7383c
feat: Обновить совместимые версии в таблице README.md для добавления версии 1.6.2 [skip publish] 2025-05-14 17:43:14 +02:00
Artem
991fb80dbd
feat: Обновить ссылки в pyproject.toml, заменив документацию на страницу панели 2025-05-11 15:46:21 +02:00
Artem
03aa34bfb7
feat: Удалить упоминание о проверке библиотеки с Remnawave v1.6.0 из README.md [skip publish] 2025-05-11 15:44:21 +02:00
Artem
3a2e87897a
feat: Обновить модель пользователя для поддержки тега и добавить новый эндпоинт для получения пользователей по тегу 2025-05-11 15:42:50 +02:00
Artem
f04d2afe4a
feat: Удалить шаг инспекции METADATA из рабочего процесса публикации 2025-05-10 21:14:45 +02:00
Artem
4d44461949
feat: Добавить раздел совместимых версий в README.md [skip publish] 2025-05-10 21:13:30 +02:00
Artem
8f1a8583b9
feat: Обновить инструкции установки в README.md для установки dev-версии 2025-05-08 17:18:36 +02:00
Artem
44dfb1b010
feat: Добавить тесты для HWIDUserController, включая методы получения, добавления и удаления HWID 2025-05-08 15:53:31 +02:00
Artem
e45324075d
feat: Изменить инициализацию WebhookUtility без клиента; добавить HWIDUserController 2025-05-08 15:06:31 +02:00
Artem
b238672b9b
feat: Добавить HWIDUserController и WebhookUtility в класс RemnawaveSDK 2025-05-08 14:54:56 +02:00
Artem
05e456936d
feat: Добавить зависимость pydantic в pyproject.toml для обеспечения совместимости 2025-05-05 16:03:54 +02:00
Artem
ac45a0b964
feat: Update .gitignore to include requirements.txt and requirements.in; modify dependencies in pyproject.toml for pydantic and pydantic-core 2025-05-05 15:36:43 +02:00
Artem
80664e2d03
feat: Update library version to 1.1.0 and README for compatibility with Remnawave v1.6.0 2025-05-02 17:40:42 +02:00
Artem
c64756aed1
feat: Add HWIDUserController to the API controllers; update __all__ exports
fix: Remove unused BulkDeleteUsersByStatusRequestDto and BulkDeleteUsersRequestDto from models
2025-05-02 17:19:31 +02:00
Artem
42f1bfa066
feat: Refactor API endpoints and models for HWID management; add new HWID user controller and models 2025-05-02 15:05:31 +02:00
Artem
2b29f74087
feat: Update user models with new fields and types; add support for hwidDeviceLimit and HappCrypto 2025-04-29 23:51:20 +02:00
Artem
15ae9e6a20
feat: Update version to 1.0.7 in pyproject.toml; add WebhookUtility for webhook validation 2025-04-27 00:23:57 +02:00
Artem
167eca47de
fix: Remove unnecessary parameters from PyPI publish action in upload workflow. Enable Trusted Publisher 2025-04-24 21:46:08 +02:00
Artem
da24ecdf14
feat: Update version to 1.0.6 in pyproject.toml; enhance UsersController with pagination parameters 2025-04-24 21:43:39 +02:00
Artem
ab4fe9d399
feat: Bump version to 1.0.5 in pyproject.toml; refactor UsersController to use default parameters for pagination 2025-04-24 19:50:41 +02:00
Artem
15cfb16c67
feat: Update README and pyproject.toml for version 1.0.4; enhance UsersController with pagination support 2025-04-24 19:46:48 +02:00
Artem
adc37ab126
feat: Update SDK initialization to include caddy_token and enhance header preparation (Issue #6) 2025-04-24 19:39:16 +02:00
Artem
19d085d8da
docs: Clarify installation instructions in README.md 2025-04-24 12:25:35 +02:00
Artem
45cd100042
feat: Update version to 1.0.2 in pyproject.toml 2025-04-23 17:29:56 +02:00
Artem
930f9f1c1d
feat: Update dependencies in pyproject.toml and add test.py to .gitignore 2025-04-23 17:29:05 +02:00